2025-12-08 22:44:10,064 - INFO - Domain Default found not creating 2025-12-08 22:44:10,201 - INFO - Project ctest-TestRouters-81724939 not found, creating it 2025-12-08 22:44:10,645 - INFO - Created Project:ctest-TestRouters-81724939, ID : 387b8edd-57c2-4fd9-bc6e-51d398b6aff0 2025-12-08 22:44:12,079 - INFO - ================================================================================ 2025-12-08 22:44:12,079 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-08 22:44:12,079 - 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-12-08 22:44:12,335 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.25': '0'}} with 2025-12-08 22:44:12,336 - INFO - Initial checks done. Running the testcase now 2025-12-08 22:44:12,336 - INFO - 2025-12-08 22:44:12,889 - DEBUG - Response for create_network : {'network': {'id': '77f40605-8fd2-4988-90d9-3140e722129b', 'name': 'ctest-vn1-08809272', 'tenant_id': '387b8edd57c24fd9bc6e51d398b6aff0', 'project_id': '387b8edd57c24fd9bc6e51d398b6aff0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-81724939', 'ctest-vn1-08809272'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 22:44:13,107 - DEBUG - Response for create_subnet : {'subnet': {'id': '0effaf56-e2e6-4f27-ae11-c182bf37637b', 'name': '', 'tenant_id': '387b8edd57c24fd9bc6e51d398b6aff0', 'network_id': '77f40605-8fd2-4988-90d9-3140e722129b', 'ip_version': 4, 'cidr': '143.202.193.64/26', 'allocation_pools': [{'start': '143.202.193.66', 'end': '143.202.193.126'}], 'gateway_ip': '143.202.193.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.202.193.66', 'tags': [], 'project_id': '387b8edd57c24fd9bc6e51d398b6aff0'}} 2025-12-08 22:44:13,132 - INFO - Created VN ctest-vn1-08809272 2025-12-08 22:44:13,183 - DEBUG - VN ctest-vn1-08809272 UUID is 77f40605-8fd2-4988-90d9-3140e722129b 2025-12-08 22:44:13,461 - DEBUG - Response for create_network : {'network': {'id': '8005442c-2181-43fa-b9a3-f2b4a3673a41', 'name': 'ctest-vn2-98937527', 'tenant_id': '387b8edd57c24fd9bc6e51d398b6aff0', 'project_id': '387b8edd57c24fd9bc6e51d398b6aff0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-81724939', 'ctest-vn2-98937527'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 22:44:13,643 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b2782e4d-91a2-401d-af37-5da4e162c1dc', 'name': '', 'tenant_id': '387b8edd57c24fd9bc6e51d398b6aff0', 'network_id': '8005442c-2181-43fa-b9a3-f2b4a3673a41', 'ip_version': 4, 'cidr': '195.144.109.128/26', 'allocation_pools': [{'start': '195.144.109.130', 'end': '195.144.109.190'}], 'gateway_ip': '195.144.109.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.144.109.130', 'tags': [], 'project_id': '387b8edd57c24fd9bc6e51d398b6aff0'}} 2025-12-08 22:44:13,665 - INFO - Created VN ctest-vn2-98937527 2025-12-08 22:44:13,718 - DEBUG - VN ctest-vn2-98937527 UUID is 8005442c-2181-43fa-b9a3-f2b4a3673a41 2025-12-08 22:44:13,915 - DEBUG - Services list from nova: [, , ] 2025-12-08 22:44:15,024 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4862-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4862-1) 2025-12-08 22:44:16,097 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4862-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4862-1) 2025-12-08 22:44:16,171 - INFO - Adding interface with subnet_id 0effaf56-e2e6-4f27-ae11-c182bf37637b, port_id None to router 1ec58d21-b5cd-409f-a30e-0b20c2fd6629 2025-12-08 22:44:16,431 - INFO - Waiting for VM ctest-vn1-vm1-52512197 to be up.. 2025-12-08 22:44:16,526 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-08 22:44:21,596 - DEBUG - VM is in ACTIVE state now 2025-12-08 22:44:21,596 - INFO - VM name : ctest-vn1-vm1-52512197 2025-12-08 22:44:21,667 - DEBUG - VM ctest-vn1-vm1-52512197 ID is 29fbb62c-e9ae-4d43-9fe1-1c56f005bf96 2025-12-08 22:44:21,683 - DEBUG - VM ctest-vn1-vm1-52512197 launched on Node cn-jenkins-deploy-platform-ansible-os-4862-1 2025-12-08 22:44:21,745 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/29fbb62c-e9ae-4d43-9fe1-1c56f005bf96 2025-12-08 22:44:22,045 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/29fbb62c-e9ae-4d43-9fe1-1c56f005bf96 2025-12-08 22:44:22,077 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/a64603a0-12e7-4cfa-a263-808ebc653fda 2025-12-08 22:44:25,322 - 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 1023ms') 2025-12-08 22:44:25,322 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52512197 failed! 2025-12-08 22:44:25,378 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-81724939:ctest-vn1-08809272 is 143.202.193.65 and allocation pool is NOT set 2025-12-08 22:44:27,434 - 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.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.342 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.342/1.904/3.466/1.562 ms') 2025-12-08 22:44:27,434 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52512197 passed 2025-12-08 22:44:27,587 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 22:44:27,587 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52512197, IP 143.202.193.67, Port 22 2025-12-08 22:44:27,742 - DEBUG - VM ctest-vn1-vm1-52512197 is ready for SSH connections 2025-12-08 22:44:27,742 - INFO - Waiting for VM ctest-vn2-vm1-59778862 to be up.. 2025-12-08 22:44:27,820 - DEBUG - VM is in ACTIVE state now 2025-12-08 22:44:27,820 - INFO - VM name : ctest-vn2-vm1-59778862 2025-12-08 22:44:27,884 - DEBUG - VM ctest-vn2-vm1-59778862 ID is 2bd6566f-c541-4a02-a204-c74f3ffb1cb0 2025-12-08 22:44:27,884 - DEBUG - VM ctest-vn2-vm1-59778862 launched on Node cn-jenkins-deploy-platform-ansible-os-4862-1 2025-12-08 22:44:27,951 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/2bd6566f-c541-4a02-a204-c74f3ffb1cb0 2025-12-08 22:44:27,959 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/fa229138-0e11-4dc8-8b26-ef32bbed50f1 2025-12-08 22:44:29,185 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.511 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.511/1.544/2.578/1.033 ms') 2025-12-08 22:44:29,185 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-59778862 passed 2025-12-08 22:44:29,338 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 22:44:29,339 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-59778862, IP 195.144.109.131, Port 22 2025-12-08 22:44:29,490 - DEBUG - VM ctest-vn2-vm1-59778862 is ready for SSH connections 2025-12-08 22:44:29,490 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 22:44:29,490 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.144.109.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-08 22:44:29,490 - DEBUG - ping -s 56 -c 3 -W 1 195.144.109.131 2025-12-08 22:44:34,121 - DEBUG - PING 195.144.109.131 (195.144.109.131): 56 data bytes --- 195.144.109.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-08 22:44:34,121 - WARNING - Ping to IP 195.144.109.131 from VM ctest-vn1-vm1-52512197 failed 2025-12-08 22:44:34,121 - INFO - Adding interface with subnet_id b2782e4d-91a2-401d-af37-5da4e162c1dc, port_id None to router 1ec58d21-b5cd-409f-a30e-0b20c2fd6629 2025-12-08 22:44:34,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 22:44:34,353 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.144.109.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-08 22:44:34,353 - DEBUG - ping -s 56 -c 3 -W 1 195.144.109.131 2025-12-08 22:44:36,564 - DEBUG - PING 195.144.109.131 (195.144.109.131): 56 data bytes 64 bytes from 195.144.109.131: seq=0 ttl=63 time=2.229 ms 64 bytes from 195.144.109.131: seq=1 ttl=63 time=0.826 ms 64 bytes from 195.144.109.131: seq=2 ttl=63 time=1.103 ms --- 195.144.109.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.826/1.386/2.229 ms 2025-12-08 22:44:36,564 - INFO - Ping to IP 195.144.109.131 from VM ctest-vn1-vm1-52512197 passed 2025-12-08 22:44:36,564 - INFO - Deleting interface with subnet_id 0effaf56-e2e6-4f27-ae11-c182bf37637b, port_id None from router 1ec58d21-b5cd-409f-a30e-0b20c2fd6629 2025-12-08 22:44:36,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 22:44:36,664 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.144.109.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-08 22:44:36,664 - DEBUG - ping -s 56 -c 3 -W 1 195.144.109.131 2025-12-08 22:44:39,862 - DEBUG - PING 195.144.109.131 (195.144.109.131): 56 data bytes --- 195.144.109.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-08 22:44:39,862 - WARNING - Ping to IP 195.144.109.131 from VM ctest-vn1-vm1-52512197 failed 2025-12-08 22:44:39,862 - INFO - Adding interface with subnet_id 0effaf56-e2e6-4f27-ae11-c182bf37637b, port_id None to router 1ec58d21-b5cd-409f-a30e-0b20c2fd6629 2025-12-08 22:44:40,057 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 22:44:40,057 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.144.109.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-08 22:44:40,058 - DEBUG - ping -s 56 -c 3 -W 1 195.144.109.131 2025-12-08 22:44:43,244 - DEBUG - PING 195.144.109.131 (195.144.109.131): 56 data bytes 64 bytes from 195.144.109.131: seq=1 ttl=63 time=1.354 ms 64 bytes from 195.144.109.131: seq=2 ttl=63 time=0.747 ms --- 195.144.109.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.747/1.050/1.354 ms 2025-12-08 22:44:43,244 - WARNING - Ping to IP 195.144.109.131 from VM ctest-vn1-vm1-52512197 failed 2025-12-08 22:44:44,245 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.144.109.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-08 22:44:44,245 - DEBUG - ping -s 56 -c 3 -W 1 195.144.109.131 2025-12-08 22:44:46,442 - DEBUG - PING 195.144.109.131 (195.144.109.131): 56 data bytes 64 bytes from 195.144.109.131: seq=0 ttl=63 time=2.843 ms 64 bytes from 195.144.109.131: seq=1 ttl=63 time=0.898 ms 64 bytes from 195.144.109.131: seq=2 ttl=63 time=0.686 ms --- 195.144.109.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.686/1.475/2.843 ms 2025-12-08 22:44:46,443 - INFO - Ping to IP 195.144.109.131 from VM ctest-vn1-vm1-52512197 passed 2025-12-08 22:44:46,443 - INFO - Deleting interface with subnet_id b2782e4d-91a2-401d-af37-5da4e162c1dc, port_id None from router 1ec58d21-b5cd-409f-a30e-0b20c2fd6629 2025-12-08 22:44:46,551 - INFO - Deleting interface with subnet_id 0effaf56-e2e6-4f27-ae11-c182bf37637b, port_id None from router 1ec58d21-b5cd-409f-a30e-0b20c2fd6629 2025-12-08 22:44:46,702 - INFO - Deleting VM ctest-vn2-vm1-59778862 2025-12-08 22:44:46,763 - INFO - Deleting VM ctest-vn1-vm1-52512197 2025-12-08 22:44:46,831 - INFO - Deleting VN ctest-vn2-98937527 2025-12-08 22:44:46,867 - DEBUG - VN 8005442c-2181-43fa-b9a3-f2b4a3673a41 still in use: Unable to complete operation on network 8005442c-2181-43fa-b9a3-f2b4a3673a41. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-74521ccd-4c0c-4f59-bbf9-31a3b3ea6caf'] 2025-12-08 22:44:46,867 - WARNING - Deleting VN ctest-vn2-98937527 failed..Will retry 2025-12-08 22:44:48,967 - DEBUG - Response for deleting network () 2025-12-08 22:44:48,967 - INFO - Deleting VN ctest-vn1-08809272 2025-12-08 22:44:49,057 - DEBUG - Response for deleting network () 2025-12-08 22:44:49,313 - DEBUG - No XMPP flaps were noticed during the test
2025-12-08 22:44:49,313 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-12-08 22:44:49,313 - INFO - -------------------------------------------------------------------------------- 2025-12-08 22:44:50,098 - INFO - Deleted project: ctest-TestRouters-81724939, ID : 387b8edd-57c2-4fd9-bc6e-51d398b6aff0