2025-10-22 06:06:58,619 - INFO - Domain Default found not creating 2025-10-22 06:06:58,750 - INFO - Project ctest-TestRouters-55813835 not found, creating it 2025-10-22 06:06:59,175 - INFO - Created Project:ctest-TestRouters-55813835, ID : 6317c373-38bf-46f0-b1eb-711aaa34550a 2025-10-22 06:07:00,559 - INFO - ================================================================================ 2025-10-22 06:07:00,559 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-22 06:07:00,559 - 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-22 06:07:00,816 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-22 06:07:00,816 - INFO - Initial checks done. Running the testcase now 2025-10-22 06:07:00,816 - INFO - 2025-10-22 06:07:01,363 - DEBUG - Response for create_network : {'network': {'id': '085970d9-beab-456b-87af-d87e94506308', 'name': 'ctest-vn1-03538348', 'tenant_id': '6317c37338bf46f0b1eb711aaa34550a', 'project_id': '6317c37338bf46f0b1eb711aaa34550a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-55813835', 'ctest-vn1-03538348'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 06:07:01,537 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4dcad2f-397e-43d8-9143-cc0a3aad74ee', 'name': '', 'tenant_id': '6317c37338bf46f0b1eb711aaa34550a', 'network_id': '085970d9-beab-456b-87af-d87e94506308', 'ip_version': 4, 'cidr': '77.43.83.0/26', 'allocation_pools': [{'start': '77.43.83.2', 'end': '77.43.83.62'}], 'gateway_ip': '77.43.83.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.43.83.2', 'tags': [], 'project_id': '6317c37338bf46f0b1eb711aaa34550a'}} 2025-10-22 06:07:01,554 - INFO - Created VN ctest-vn1-03538348 2025-10-22 06:07:01,605 - DEBUG - VN ctest-vn1-03538348 UUID is 085970d9-beab-456b-87af-d87e94506308 2025-10-22 06:07:01,934 - DEBUG - Response for create_network : {'network': {'id': 'a088781b-caa2-4a08-b127-6f3903b5a656', 'name': 'ctest-vn2-25555677', 'tenant_id': '6317c37338bf46f0b1eb711aaa34550a', 'project_id': '6317c37338bf46f0b1eb711aaa34550a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-55813835', 'ctest-vn2-25555677'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 06:07:02,095 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b996cf23-935d-4794-b7ce-24352568c99c', 'name': '', 'tenant_id': '6317c37338bf46f0b1eb711aaa34550a', 'network_id': 'a088781b-caa2-4a08-b127-6f3903b5a656', 'ip_version': 4, 'cidr': '27.121.202.0/26', 'allocation_pools': [{'start': '27.121.202.2', 'end': '27.121.202.62'}], 'gateway_ip': '27.121.202.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.121.202.2', 'tags': [], 'project_id': '6317c37338bf46f0b1eb711aaa34550a'}} 2025-10-22 06:07:02,118 - INFO - Created VN ctest-vn2-25555677 2025-10-22 06:07:02,169 - DEBUG - VN ctest-vn2-25555677 UUID is a088781b-caa2-4a08-b127-6f3903b5a656 2025-10-22 06:07:02,420 - DEBUG - Services list from nova: [, , ] 2025-10-22 06:07:03,397 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4411-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4411-1) 2025-10-22 06:07:04,569 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4411-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4411-1) 2025-10-22 06:07:04,630 - INFO - Adding interface with subnet_id b4dcad2f-397e-43d8-9143-cc0a3aad74ee, port_id None to router 2302e54e-8b47-408a-a6d7-1440a8d0685a 2025-10-22 06:07:04,895 - INFO - Waiting for VM ctest-vn1-vm1-03319887 to be up.. 2025-10-22 06:07:05,008 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 06:07:10,078 - DEBUG - VM is in ACTIVE state now 2025-10-22 06:07:10,078 - INFO - VM name : ctest-vn1-vm1-03319887 2025-10-22 06:07:10,146 - DEBUG - VM ctest-vn1-vm1-03319887 ID is 99b490d8-3815-4863-9f07-323a31fdce15 2025-10-22 06:07:10,164 - DEBUG - VM ctest-vn1-vm1-03319887 launched on Node cn-jenkins-deploy-platform-ansible-os-4411-1 2025-10-22 06:07:10,235 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/99b490d8-3815-4863-9f07-323a31fdce15 2025-10-22 06:07:10,527 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/99b490d8-3815-4863-9f07-323a31fdce15 2025-10-22 06:07:10,554 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/26454634-d22b-43ca-9292-fc0de58a10d2 2025-10-22 06:07:13,796 - 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 1020ms') 2025-10-22 06:07:13,797 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03319887 failed! 2025-10-22 06:07:13,857 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-55813835:ctest-vn1-03538348 is 77.43.83.1 and allocation pool is NOT set 2025-10-22 06:07:15,920 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.405 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.405/1.739/3.073/1.334 ms') 2025-10-22 06:07:15,920 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03319887 passed 2025-10-22 06:07:16,069 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 06:07:16,070 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-03319887, IP 77.43.83.3, Port 22 2025-10-22 06:07:16,221 - DEBUG - VM ctest-vn1-vm1-03319887 is ready for SSH connections 2025-10-22 06:07:16,221 - INFO - Waiting for VM ctest-vn2-vm1-76654586 to be up.. 2025-10-22 06:07:16,289 - DEBUG - VM is in ACTIVE state now 2025-10-22 06:07:16,289 - INFO - VM name : ctest-vn2-vm1-76654586 2025-10-22 06:07:16,351 - DEBUG - VM ctest-vn2-vm1-76654586 ID is 10063de9-4a4f-4920-a3c1-3b23b7a8e1e6 2025-10-22 06:07:16,351 - DEBUG - VM ctest-vn2-vm1-76654586 launched on Node cn-jenkins-deploy-platform-ansible-os-4411-1 2025-10-22 06:07:16,414 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/10063de9-4a4f-4920-a3c1-3b23b7a8e1e6 2025-10-22 06:07:16,421 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d99e6e5e-1887-492a-b791-bd776df19f3a 2025-10-22 06:07:17,654 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.468 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.468/1.604/2.740/1.136 ms') 2025-10-22 06:07:17,654 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-76654586 passed 2025-10-22 06:07:17,801 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 06:07:17,802 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-76654586, IP 27.121.202.3, Port 22 2025-10-22 06:07:17,967 - DEBUG - VM ctest-vn2-vm1-76654586 is ready for SSH connections 2025-10-22 06:07:17,967 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 06:07:17,967 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.121.202.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 06:07:17,967 - DEBUG - ping -s 56 -c 3 -W 1 27.121.202.3 2025-10-22 06:07:22,612 - DEBUG - PING 27.121.202.3 (27.121.202.3): 56 data bytes --- 27.121.202.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 06:07:22,612 - WARNING - Ping to IP 27.121.202.3 from VM ctest-vn1-vm1-03319887 failed 2025-10-22 06:07:22,612 - INFO - Adding interface with subnet_id b996cf23-935d-4794-b7ce-24352568c99c, port_id None to router 2302e54e-8b47-408a-a6d7-1440a8d0685a 2025-10-22 06:07:22,853 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 06:07:22,854 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.121.202.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 06:07:22,854 - DEBUG - ping -s 56 -c 3 -W 1 27.121.202.3 2025-10-22 06:07:25,058 - DEBUG - PING 27.121.202.3 (27.121.202.3): 56 data bytes 64 bytes from 27.121.202.3: seq=0 ttl=63 time=2.437 ms 64 bytes from 27.121.202.3: seq=1 ttl=63 time=0.814 ms 64 bytes from 27.121.202.3: seq=2 ttl=63 time=1.026 ms --- 27.121.202.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.814/1.425/2.437 ms 2025-10-22 06:07:25,058 - INFO - Ping to IP 27.121.202.3 from VM ctest-vn1-vm1-03319887 passed 2025-10-22 06:07:25,058 - INFO - Deleting interface with subnet_id b4dcad2f-397e-43d8-9143-cc0a3aad74ee, port_id None from router 2302e54e-8b47-408a-a6d7-1440a8d0685a 2025-10-22 06:07:25,164 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 06:07:25,164 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.121.202.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 06:07:25,164 - DEBUG - ping -s 56 -c 3 -W 1 27.121.202.3 2025-10-22 06:07:28,377 - DEBUG - PING 27.121.202.3 (27.121.202.3): 56 data bytes --- 27.121.202.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 06:07:28,377 - WARNING - Ping to IP 27.121.202.3 from VM ctest-vn1-vm1-03319887 failed 2025-10-22 06:07:28,377 - INFO - Adding interface with subnet_id b4dcad2f-397e-43d8-9143-cc0a3aad74ee, port_id None to router 2302e54e-8b47-408a-a6d7-1440a8d0685a 2025-10-22 06:07:28,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 06:07:28,562 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.121.202.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 06:07:28,562 - DEBUG - ping -s 56 -c 3 -W 1 27.121.202.3 2025-10-22 06:07:31,759 - DEBUG - PING 27.121.202.3 (27.121.202.3): 56 data bytes 64 bytes from 27.121.202.3: seq=1 ttl=63 time=1.430 ms 64 bytes from 27.121.202.3: seq=2 ttl=63 time=0.893 ms --- 27.121.202.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.893/1.161/1.430 ms 2025-10-22 06:07:31,760 - WARNING - Ping to IP 27.121.202.3 from VM ctest-vn1-vm1-03319887 failed 2025-10-22 06:07:32,760 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.121.202.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 06:07:32,761 - DEBUG - ping -s 56 -c 3 -W 1 27.121.202.3 2025-10-22 06:07:34,960 - DEBUG - PING 27.121.202.3 (27.121.202.3): 56 data bytes 64 bytes from 27.121.202.3: seq=0 ttl=63 time=1.257 ms 64 bytes from 27.121.202.3: seq=1 ttl=63 time=0.791 ms 64 bytes from 27.121.202.3: seq=2 ttl=63 time=0.904 ms --- 27.121.202.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.791/0.984/1.257 ms 2025-10-22 06:07:34,960 - INFO - Ping to IP 27.121.202.3 from VM ctest-vn1-vm1-03319887 passed 2025-10-22 06:07:34,960 - INFO - Deleting interface with subnet_id b996cf23-935d-4794-b7ce-24352568c99c, port_id None from router 2302e54e-8b47-408a-a6d7-1440a8d0685a 2025-10-22 06:07:35,070 - INFO - Deleting interface with subnet_id b4dcad2f-397e-43d8-9143-cc0a3aad74ee, port_id None from router 2302e54e-8b47-408a-a6d7-1440a8d0685a 2025-10-22 06:07:35,220 - INFO - Deleting VM ctest-vn2-vm1-76654586 2025-10-22 06:07:35,291 - INFO - Deleting VM ctest-vn1-vm1-03319887 2025-10-22 06:07:35,366 - INFO - Deleting VN ctest-vn2-25555677 2025-10-22 06:07:35,403 - DEBUG - VN a088781b-caa2-4a08-b127-6f3903b5a656 still in use: Unable to complete operation on network a088781b-caa2-4a08-b127-6f3903b5a656. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5448c5fc-78d6-4228-ae97-78c5676f8462'] 2025-10-22 06:07:35,403 - WARNING - Deleting VN ctest-vn2-25555677 failed..Will retry 2025-10-22 06:07:37,493 - DEBUG - Response for deleting network () 2025-10-22 06:07:37,493 - INFO - Deleting VN ctest-vn1-03538348 2025-10-22 06:07:37,609 - DEBUG - Response for deleting network () 2025-10-22 06:07:37,867 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 06:07:37,867 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-10-22 06:07:37,867 - INFO - -------------------------------------------------------------------------------- 2025-10-22 06:07:38,556 - INFO - Deleted project: ctest-TestRouters-55813835, ID : 6317c373-38bf-46f0-b1eb-711aaa34550a