2025-10-09 12:06:28,515 - INFO - Domain Default found not creating 2025-10-09 12:06:28,740 - INFO - Project ctest-TestRouters-55260870 not found, creating it 2025-10-09 12:06:29,330 - INFO - Created Project:ctest-TestRouters-55260870, ID : d51e853d-2de7-4d88-8a64-1e76cdad9c53 2025-10-09 12:06:31,116 - INFO - ================================================================================ 2025-10-09 12:06:31,116 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-09 12:06:31,117 - 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-10-09 12:06:31,408 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-10-09 12:06:31,409 - INFO - Initial checks done. Running the testcase now 2025-10-09 12:06:31,409 - INFO - 2025-10-09 12:06:32,102 - DEBUG - Response for create_network : {'network': {'id': 'dc33c5d8-0f9c-4e12-a7dc-e87706247413', 'name': 'ctest-vn1-79880214', 'tenant_id': 'd51e853d2de74d888a641e76cdad9c53', 'project_id': 'd51e853d2de74d888a641e76cdad9c53', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-55260870', 'ctest-vn1-79880214'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 12:06:32,300 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec1fc97a-cc83-4ed2-965f-6ddedfe2bd39', 'name': '', 'tenant_id': 'd51e853d2de74d888a641e76cdad9c53', 'network_id': 'dc33c5d8-0f9c-4e12-a7dc-e87706247413', 'ip_version': 4, 'cidr': '25.122.200.192/26', 'allocation_pools': [{'start': '25.122.200.194', 'end': '25.122.200.254'}], 'gateway_ip': '25.122.200.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.122.200.194', 'tags': [], 'project_id': 'd51e853d2de74d888a641e76cdad9c53'}} 2025-10-09 12:06:32,333 - INFO - Created VN ctest-vn1-79880214 2025-10-09 12:06:32,395 - DEBUG - VN ctest-vn1-79880214 UUID is dc33c5d8-0f9c-4e12-a7dc-e87706247413 2025-10-09 12:06:32,755 - DEBUG - Response for create_network : {'network': {'id': '9f339119-ac34-4375-95b8-189a25e8be0e', 'name': 'ctest-vn2-96395896', 'tenant_id': 'd51e853d2de74d888a641e76cdad9c53', 'project_id': 'd51e853d2de74d888a641e76cdad9c53', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-55260870', 'ctest-vn2-96395896'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 12:06:32,962 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f4433a5-7855-4698-adbc-1222507a3862', 'name': '', 'tenant_id': 'd51e853d2de74d888a641e76cdad9c53', 'network_id': '9f339119-ac34-4375-95b8-189a25e8be0e', 'ip_version': 4, 'cidr': '27.116.41.128/26', 'allocation_pools': [{'start': '27.116.41.130', 'end': '27.116.41.190'}], 'gateway_ip': '27.116.41.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.116.41.130', 'tags': [], 'project_id': 'd51e853d2de74d888a641e76cdad9c53'}} 2025-10-09 12:06:32,988 - INFO - Created VN ctest-vn2-96395896 2025-10-09 12:06:33,043 - DEBUG - VN ctest-vn2-96395896 UUID is 9f339119-ac34-4375-95b8-189a25e8be0e 2025-10-09 12:06:33,270 - DEBUG - Services list from nova: [, , ] 2025-10-09 12:06:34,494 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4259-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4259-1) 2025-10-09 12:06:36,079 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4259-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4259-1) 2025-10-09 12:06:36,189 - INFO - Adding interface with subnet_id ec1fc97a-cc83-4ed2-965f-6ddedfe2bd39, port_id None to router ab90b780-cad5-4613-9fec-e6233883ecf9 2025-10-09 12:06:36,586 - INFO - Waiting for VM ctest-vn1-vm1-03647161 to be up.. 2025-10-09 12:06:36,734 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 12:06:41,849 - DEBUG - VM is in ACTIVE state now 2025-10-09 12:06:41,849 - INFO - VM name : ctest-vn1-vm1-03647161 2025-10-09 12:06:41,962 - DEBUG - VM ctest-vn1-vm1-03647161 ID is 24614c58-c971-4c27-9753-a81062b6306c 2025-10-09 12:06:41,989 - DEBUG - VM ctest-vn1-vm1-03647161 launched on Node cn-jenkins-deploy-platform-ansible-os-4259-1 2025-10-09 12:06:42,079 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/24614c58-c971-4c27-9753-a81062b6306c 2025-10-09 12:06:42,423 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/24614c58-c971-4c27-9753-a81062b6306c 2025-10-09 12:06:42,498 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/687e50bd-c044-4932-90d6-6eb27eca8ef3 2025-10-09 12:06:45,813 - 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 1018ms') 2025-10-09 12:06:45,814 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03647161 failed! 2025-10-09 12:06:45,875 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-55260870:ctest-vn1-79880214 is 25.122.200.193 and allocation pool is NOT set 2025-10-09 12:06:49,940 - 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 1001ms') 2025-10-09 12:06:49,940 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03647161 failed! 2025-10-09 12:06:49,999 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-55260870:ctest-vn1-79880214 is 25.122.200.193 and allocation pool is NOT set 2025-10-09 12:06:52,073 - 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=4.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.725 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.725/2.786/4.848/2.061 ms') 2025-10-09 12:06:52,073 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03647161 passed 2025-10-09 12:06:52,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 12:06:52,231 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-03647161, IP 25.122.200.195, Port 22 2025-10-09 12:06:52,406 - DEBUG - VM ctest-vn1-vm1-03647161 is ready for SSH connections 2025-10-09 12:06:52,407 - INFO - Waiting for VM ctest-vn2-vm1-02319044 to be up.. 2025-10-09 12:06:52,515 - DEBUG - VM is in ACTIVE state now 2025-10-09 12:06:52,515 - INFO - VM name : ctest-vn2-vm1-02319044 2025-10-09 12:06:52,624 - DEBUG - VM ctest-vn2-vm1-02319044 ID is 02f8e61c-f34a-4dd3-b748-ee5d54256bbc 2025-10-09 12:06:52,624 - DEBUG - VM ctest-vn2-vm1-02319044 launched on Node cn-jenkins-deploy-platform-ansible-os-4259-1 2025-10-09 12:06:52,722 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/02f8e61c-f34a-4dd3-b748-ee5d54256bbc 2025-10-09 12:06:52,736 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/05ff1f3e-6e6c-457b-ba2a-8325432da923 2025-10-09 12:06:53,997 - 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=3.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.672 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.672/2.229/3.787/1.557 ms') 2025-10-09 12:06:53,997 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-02319044 passed 2025-10-09 12:06:54,159 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 12:06:54,160 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-02319044, IP 27.116.41.131, Port 22 2025-10-09 12:06:54,346 - DEBUG - VM ctest-vn2-vm1-02319044 is ready for SSH connections 2025-10-09 12:06:54,346 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 12:06:54,346 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.116.41.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-09 12:06:54,346 - DEBUG - ping -s 56 -c 3 -W 1 27.116.41.131 2025-10-09 12:06:59,583 - DEBUG - PING 27.116.41.131 (27.116.41.131): 56 data bytes --- 27.116.41.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 12:06:59,583 - WARNING - Ping to IP 27.116.41.131 from VM ctest-vn1-vm1-03647161 failed 2025-10-09 12:06:59,583 - INFO - Adding interface with subnet_id 5f4433a5-7855-4698-adbc-1222507a3862, port_id None to router ab90b780-cad5-4613-9fec-e6233883ecf9 2025-10-09 12:06:59,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 12:06:59,949 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.116.41.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-09 12:06:59,949 - DEBUG - ping -s 56 -c 3 -W 1 27.116.41.131 2025-10-09 12:07:02,264 - DEBUG - PING 27.116.41.131 (27.116.41.131): 56 data bytes 64 bytes from 27.116.41.131: seq=0 ttl=63 time=3.305 ms 64 bytes from 27.116.41.131: seq=1 ttl=63 time=1.107 ms 64 bytes from 27.116.41.131: seq=2 ttl=63 time=1.119 ms --- 27.116.41.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.107/1.843/3.305 ms 2025-10-09 12:07:02,264 - INFO - Ping to IP 27.116.41.131 from VM ctest-vn1-vm1-03647161 passed 2025-10-09 12:07:02,264 - INFO - Deleting interface with subnet_id ec1fc97a-cc83-4ed2-965f-6ddedfe2bd39, port_id None from router ab90b780-cad5-4613-9fec-e6233883ecf9 2025-10-09 12:07:02,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 12:07:02,423 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.116.41.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-09 12:07:02,423 - DEBUG - ping -s 56 -c 3 -W 1 27.116.41.131 2025-10-09 12:07:05,728 - DEBUG - PING 27.116.41.131 (27.116.41.131): 56 data bytes --- 27.116.41.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 12:07:05,729 - WARNING - Ping to IP 27.116.41.131 from VM ctest-vn1-vm1-03647161 failed 2025-10-09 12:07:05,729 - INFO - Adding interface with subnet_id ec1fc97a-cc83-4ed2-965f-6ddedfe2bd39, port_id None to router ab90b780-cad5-4613-9fec-e6233883ecf9 2025-10-09 12:07:06,063 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 12:07:06,063 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.116.41.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-09 12:07:06,063 - DEBUG - ping -s 56 -c 3 -W 1 27.116.41.131 2025-10-09 12:07:08,382 - DEBUG - PING 27.116.41.131 (27.116.41.131): 56 data bytes 64 bytes from 27.116.41.131: seq=0 ttl=63 time=3.649 ms 64 bytes from 27.116.41.131: seq=1 ttl=63 time=0.947 ms 64 bytes from 27.116.41.131: seq=2 ttl=63 time=1.376 ms --- 27.116.41.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.947/1.990/3.649 ms 2025-10-09 12:07:08,382 - INFO - Ping to IP 27.116.41.131 from VM ctest-vn1-vm1-03647161 passed 2025-10-09 12:07:08,382 - INFO - Deleting interface with subnet_id 5f4433a5-7855-4698-adbc-1222507a3862, port_id None from router ab90b780-cad5-4613-9fec-e6233883ecf9 2025-10-09 12:07:08,556 - INFO - Deleting interface with subnet_id ec1fc97a-cc83-4ed2-965f-6ddedfe2bd39, port_id None from router ab90b780-cad5-4613-9fec-e6233883ecf9 2025-10-09 12:07:08,820 - INFO - Deleting VM ctest-vn2-vm1-02319044 2025-10-09 12:07:08,924 - INFO - Deleting VM ctest-vn1-vm1-03647161 2025-10-09 12:07:09,026 - INFO - Deleting VN ctest-vn2-96395896 2025-10-09 12:07:09,077 - DEBUG - VN 9f339119-ac34-4375-95b8-189a25e8be0e still in use: Unable to complete operation on network 9f339119-ac34-4375-95b8-189a25e8be0e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e8e8b368-8c5c-46ac-a792-34202f2346c4'] 2025-10-09 12:07:09,077 - WARNING - Deleting VN ctest-vn2-96395896 failed..Will retry 2025-10-09 12:07:11,244 - DEBUG - Response for deleting network () 2025-10-09 12:07:11,244 - INFO - Deleting VN ctest-vn1-79880214 2025-10-09 12:07:11,396 - DEBUG - Response for deleting network () 2025-10-09 12:07:11,663 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 12:07:11,663 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:40] 2025-10-09 12:07:11,663 - INFO - -------------------------------------------------------------------------------- 2025-10-09 12:07:12,456 - INFO - Deleted project: ctest-TestRouters-55260870, ID : d51e853d-2de7-4d88-8a64-1e76cdad9c53