2025-09-22 02:09:51,596 - INFO - Domain Default found not creating 2025-09-22 02:09:51,731 - INFO - Project ctest-TestRouters-12928958 not found, creating it 2025-09-22 02:09:52,181 - INFO - Created Project:ctest-TestRouters-12928958, ID : da8f350e-d309-4144-868a-9627e9f399bd 2025-09-22 02:09:53,563 - INFO - ================================================================================ 2025-09-22 02:09:53,563 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-22 02:09:53,563 - INFO - TEST DESCRIPTION : Validate a router is able to route packets between two VNs Create a router Create 2 VNs, and a VM in each Add router port from each VN Ping between VMs 2025-09-22 02:09:53,817 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.209': '0'}} with 2025-09-22 02:09:53,817 - INFO - Initial checks done. Running the testcase now 2025-09-22 02:09:53,817 - INFO - 2025-09-22 02:09:54,354 - DEBUG - Response for create_network : {'network': {'id': 'cb93da2c-343e-4599-8e6a-7564cac50477', 'name': 'ctest-vn1-71932197', 'tenant_id': 'da8f350ed3094144868a9627e9f399bd', 'project_id': 'da8f350ed3094144868a9627e9f399bd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-12928958', 'ctest-vn1-71932197'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 02:09:54,563 - DEBUG - Response for create_subnet : {'subnet': {'id': '7fdddee9-dbbe-43b2-86ae-6dfca2adc587', 'name': '', 'tenant_id': 'da8f350ed3094144868a9627e9f399bd', 'network_id': 'cb93da2c-343e-4599-8e6a-7564cac50477', 'ip_version': 4, 'cidr': '115.117.55.192/26', 'allocation_pools': [{'start': '115.117.55.194', 'end': '115.117.55.254'}], 'gateway_ip': '115.117.55.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.117.55.194', 'tags': [], 'project_id': 'da8f350ed3094144868a9627e9f399bd'}} 2025-09-22 02:09:54,578 - INFO - Created VN ctest-vn1-71932197 2025-09-22 02:09:54,627 - DEBUG - VN ctest-vn1-71932197 UUID is cb93da2c-343e-4599-8e6a-7564cac50477 2025-09-22 02:09:54,964 - DEBUG - Response for create_network : {'network': {'id': '8e2c28b3-22fb-4ba4-94b9-f1ceabff3d49', 'name': 'ctest-vn2-67679377', 'tenant_id': 'da8f350ed3094144868a9627e9f399bd', 'project_id': 'da8f350ed3094144868a9627e9f399bd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-12928958', 'ctest-vn2-67679377'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 02:09:55,196 - DEBUG - Response for create_subnet : {'subnet': {'id': '4bf849df-f682-4e63-9934-63c6ef2391bc', 'name': '', 'tenant_id': 'da8f350ed3094144868a9627e9f399bd', 'network_id': '8e2c28b3-22fb-4ba4-94b9-f1ceabff3d49', 'ip_version': 4, 'cidr': '125.105.226.192/26', 'allocation_pools': [{'start': '125.105.226.194', 'end': '125.105.226.254'}], 'gateway_ip': '125.105.226.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.105.226.194', 'tags': [], 'project_id': 'da8f350ed3094144868a9627e9f399bd'}} 2025-09-22 02:09:55,215 - INFO - Created VN ctest-vn2-67679377 2025-09-22 02:09:55,267 - DEBUG - VN ctest-vn2-67679377 UUID is 8e2c28b3-22fb-4ba4-94b9-f1ceabff3d49 2025-09-22 02:09:55,516 - DEBUG - Services list from nova: [, , ] 2025-09-22 02:09:56,505 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4162-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4162-1) 2025-09-22 02:09:57,732 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4162-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4162-1) 2025-09-22 02:09:57,808 - INFO - Adding interface with subnet_id 7fdddee9-dbbe-43b2-86ae-6dfca2adc587, port_id None to router 76698cc5-5bb1-4ace-8c47-aa1ca87dcae9 2025-09-22 02:09:58,077 - INFO - Waiting for VM ctest-vn1-vm1-67323772 to be up.. 2025-09-22 02:09:58,194 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-22 02:10:03,269 - DEBUG - VM is in ACTIVE state now 2025-09-22 02:10:03,269 - INFO - VM name : ctest-vn1-vm1-67323772 2025-09-22 02:10:03,342 - DEBUG - VM ctest-vn1-vm1-67323772 ID is cb588e0a-7a2f-4551-ae89-7bf66fd43529 2025-09-22 02:10:03,360 - DEBUG - VM ctest-vn1-vm1-67323772 launched on Node cn-jenkins-deploy-platform-ansible-os-4162-1 2025-09-22 02:10:03,429 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/cb588e0a-7a2f-4551-ae89-7bf66fd43529 2025-09-22 02:10:03,719 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/cb588e0a-7a2f-4551-ae89-7bf66fd43529 2025-09-22 02:10:03,749 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/312f01ac-1a5c-4efa-b325-1ccc8ef8acc6 2025-09-22 02:10:06,991 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2025-09-22 02:10:06,991 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67323772 failed! 2025-09-22 02:10:07,047 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-12928958:ctest-vn1-71932197 is 115.117.55.193 and allocation pool is NOT set 2025-09-22 02:10:09,111 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.477 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.477/2.087/3.697/1.610 ms') 2025-09-22 02:10:09,111 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67323772 passed 2025-09-22 02:10:09,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:10:09,259 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-67323772, IP 115.117.55.195, Port 22 2025-09-22 02:10:09,410 - DEBUG - VM ctest-vn1-vm1-67323772 is ready for SSH connections 2025-09-22 02:10:09,410 - INFO - Waiting for VM ctest-vn2-vm1-78582918 to be up.. 2025-09-22 02:10:09,480 - DEBUG - VM is in ACTIVE state now 2025-09-22 02:10:09,480 - INFO - VM name : ctest-vn2-vm1-78582918 2025-09-22 02:10:09,551 - DEBUG - VM ctest-vn2-vm1-78582918 ID is 54902e1d-019e-40c3-a8db-30bbbccbdc0a 2025-09-22 02:10:09,551 - DEBUG - VM ctest-vn2-vm1-78582918 launched on Node cn-jenkins-deploy-platform-ansible-os-4162-1 2025-09-22 02:10:09,619 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/54902e1d-019e-40c3-a8db-30bbbccbdc0a 2025-09-22 02:10:09,628 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/023de99c-22cb-4397-a73a-d484930632af 2025-09-22 02:10:10,861 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.471 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.471/1.658/2.845/1.187 ms') 2025-09-22 02:10:10,861 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-78582918 passed 2025-09-22 02:10:11,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:10:11,015 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-78582918, IP 125.105.226.195, Port 22 2025-09-22 02:10:11,184 - DEBUG - VM ctest-vn2-vm1-78582918 is ready for SSH connections 2025-09-22 02:10:11,185 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:10:11,185 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.105.226.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-22 02:10:11,185 - DEBUG - ping -s 56 -c 3 -W 1 125.105.226.195 2025-09-22 02:10:16,136 - DEBUG - PING 125.105.226.195 (125.105.226.195): 56 data bytes --- 125.105.226.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-22 02:10:16,136 - WARNING - Ping to IP 125.105.226.195 from VM ctest-vn1-vm1-67323772 failed 2025-09-22 02:10:16,136 - INFO - Adding interface with subnet_id 4bf849df-f682-4e63-9934-63c6ef2391bc, port_id None to router 76698cc5-5bb1-4ace-8c47-aa1ca87dcae9 2025-09-22 02:10:16,381 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:10:16,381 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.105.226.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-22 02:10:16,381 - DEBUG - ping -s 56 -c 3 -W 1 125.105.226.195 2025-09-22 02:10:19,583 - DEBUG - PING 125.105.226.195 (125.105.226.195): 56 data bytes 64 bytes from 125.105.226.195: seq=1 ttl=63 time=2.919 ms 64 bytes from 125.105.226.195: seq=2 ttl=63 time=0.983 ms --- 125.105.226.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.983/1.951/2.919 ms 2025-09-22 02:10:19,583 - WARNING - Ping to IP 125.105.226.195 from VM ctest-vn1-vm1-67323772 failed 2025-09-22 02:10:20,584 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.105.226.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-22 02:10:20,584 - DEBUG - ping -s 56 -c 3 -W 1 125.105.226.195 2025-09-22 02:10:22,779 - DEBUG - PING 125.105.226.195 (125.105.226.195): 56 data bytes 64 bytes from 125.105.226.195: seq=0 ttl=63 time=1.471 ms 64 bytes from 125.105.226.195: seq=1 ttl=63 time=0.816 ms 64 bytes from 125.105.226.195: seq=2 ttl=63 time=0.819 ms --- 125.105.226.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.816/1.035/1.471 ms 2025-09-22 02:10:22,779 - INFO - Ping to IP 125.105.226.195 from VM ctest-vn1-vm1-67323772 passed 2025-09-22 02:10:22,780 - INFO - Deleting interface with subnet_id 7fdddee9-dbbe-43b2-86ae-6dfca2adc587, port_id None from router 76698cc5-5bb1-4ace-8c47-aa1ca87dcae9 2025-09-22 02:10:22,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:10:22,892 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.105.226.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-22 02:10:22,892 - DEBUG - ping -s 56 -c 3 -W 1 125.105.226.195 2025-09-22 02:10:26,090 - DEBUG - PING 125.105.226.195 (125.105.226.195): 56 data bytes --- 125.105.226.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-22 02:10:26,090 - WARNING - Ping to IP 125.105.226.195 from VM ctest-vn1-vm1-67323772 failed 2025-09-22 02:10:26,090 - INFO - Adding interface with subnet_id 7fdddee9-dbbe-43b2-86ae-6dfca2adc587, port_id None to router 76698cc5-5bb1-4ace-8c47-aa1ca87dcae9 2025-09-22 02:10:26,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:10:26,293 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.105.226.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-22 02:10:26,293 - DEBUG - ping -s 56 -c 3 -W 1 125.105.226.195 2025-09-22 02:10:28,497 - DEBUG - PING 125.105.226.195 (125.105.226.195): 56 data bytes 64 bytes from 125.105.226.195: seq=0 ttl=63 time=1.346 ms 64 bytes from 125.105.226.195: seq=1 ttl=63 time=0.944 ms 64 bytes from 125.105.226.195: seq=2 ttl=63 time=0.834 ms --- 125.105.226.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.834/1.041/1.346 ms 2025-09-22 02:10:28,497 - INFO - Ping to IP 125.105.226.195 from VM ctest-vn1-vm1-67323772 passed 2025-09-22 02:10:28,497 - INFO - Deleting interface with subnet_id 4bf849df-f682-4e63-9934-63c6ef2391bc, port_id None from router 76698cc5-5bb1-4ace-8c47-aa1ca87dcae9 2025-09-22 02:10:28,600 - INFO - Deleting interface with subnet_id 7fdddee9-dbbe-43b2-86ae-6dfca2adc587, port_id None from router 76698cc5-5bb1-4ace-8c47-aa1ca87dcae9 2025-09-22 02:10:28,745 - INFO - Deleting VM ctest-vn2-vm1-78582918 2025-09-22 02:10:28,807 - INFO - Deleting VM ctest-vn1-vm1-67323772 2025-09-22 02:10:28,875 - INFO - Deleting VN ctest-vn2-67679377 2025-09-22 02:10:28,906 - DEBUG - VN 8e2c28b3-22fb-4ba4-94b9-f1ceabff3d49 still in use: Unable to complete operation on network 8e2c28b3-22fb-4ba4-94b9-f1ceabff3d49. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-09b4d77d-29cb-4f49-a997-695885220a49'] 2025-09-22 02:10:28,906 - WARNING - Deleting VN ctest-vn2-67679377 failed..Will retry 2025-09-22 02:10:31,002 - DEBUG - Response for deleting network () 2025-09-22 02:10:31,002 - INFO - Deleting VN ctest-vn1-71932197 2025-09-22 02:10:31,089 - DEBUG - Response for deleting network () 2025-09-22 02:10:31,347 - DEBUG - No XMPP flaps were noticed during the test
2025-09-22 02:10:31,347 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-09-22 02:10:31,347 - INFO - -------------------------------------------------------------------------------- 2025-09-22 02:10:31,980 - INFO - Deleted project: ctest-TestRouters-12928958, ID : da8f350e-d309-4144-868a-9627e9f399bd