2026-06-08 02:13:34,965 - INFO - Domain Default found not creating 2026-06-08 02:13:35,202 - INFO - Project ctest-TestRouters-15935488 not found, creating it 2026-06-08 02:13:35,837 - INFO - Created Project:ctest-TestRouters-15935488, ID : 2285eb7b-a32c-418a-b122-c102127186bb 2026-06-08 02:13:37,692 - INFO - ================================================================================ 2026-06-08 02:13:37,692 - INFO - STARTING TEST : test_basic_router_behavior 2026-06-08 02:13:37,692 - 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 2026-06-08 02:13:37,982 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.14': '0'}} with 2026-06-08 02:13:37,982 - INFO - Initial checks done. Running the testcase now 2026-06-08 02:13:37,982 - INFO - 2026-06-08 02:13:38,731 - DEBUG - Response for create_network : {'network': {'id': '8568d045-3e45-4ad3-b612-64170c798a5e', 'name': 'ctest-vn1-38033401', 'tenant_id': '2285eb7ba32c418ab122c102127186bb', 'project_id': '2285eb7ba32c418ab122c102127186bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-15935488', 'ctest-vn1-38033401'], 'port_security_enabled': True, 'description': ''}} 2026-06-08 02:13:38,921 - DEBUG - Response for create_subnet : {'subnet': {'id': '7cfd74bb-f38e-477d-a699-b0288c719291', 'name': '', 'tenant_id': '2285eb7ba32c418ab122c102127186bb', 'network_id': '8568d045-3e45-4ad3-b612-64170c798a5e', 'ip_version': 4, 'cidr': '199.40.78.0/26', 'allocation_pools': [{'start': '199.40.78.2', 'end': '199.40.78.62'}], 'gateway_ip': '199.40.78.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.40.78.2', 'tags': [], 'project_id': '2285eb7ba32c418ab122c102127186bb'}} 2026-06-08 02:13:38,947 - INFO - Created VN ctest-vn1-38033401 2026-06-08 02:13:39,008 - DEBUG - VN ctest-vn1-38033401 UUID is 8568d045-3e45-4ad3-b612-64170c798a5e 2026-06-08 02:13:39,374 - DEBUG - Response for create_network : {'network': {'id': '8a571819-4f7f-4ed5-b33b-04d569b3c89f', 'name': 'ctest-vn2-90127261', 'tenant_id': '2285eb7ba32c418ab122c102127186bb', 'project_id': '2285eb7ba32c418ab122c102127186bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-15935488', 'ctest-vn2-90127261'], 'port_security_enabled': True, 'description': ''}} 2026-06-08 02:13:39,608 - DEBUG - Response for create_subnet : {'subnet': {'id': '8142b94f-8a49-4928-82ac-212f02b8e8a9', 'name': '', 'tenant_id': '2285eb7ba32c418ab122c102127186bb', 'network_id': '8a571819-4f7f-4ed5-b33b-04d569b3c89f', 'ip_version': 4, 'cidr': '34.240.242.192/26', 'allocation_pools': [{'start': '34.240.242.194', 'end': '34.240.242.254'}], 'gateway_ip': '34.240.242.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.240.242.194', 'tags': [], 'project_id': '2285eb7ba32c418ab122c102127186bb'}} 2026-06-08 02:13:39,634 - INFO - Created VN ctest-vn2-90127261 2026-06-08 02:13:39,692 - DEBUG - VN ctest-vn2-90127261 UUID is 8a571819-4f7f-4ed5-b33b-04d569b3c89f 2026-06-08 02:13:39,906 - DEBUG - Services list from nova: [, , ] 2026-06-08 02:13:41,345 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5900-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5900-1) 2026-06-08 02:13:42,862 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5900-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5900-1) 2026-06-08 02:13:42,954 - INFO - Adding interface with subnet_id 7cfd74bb-f38e-477d-a699-b0288c719291, port_id None to router 5b117e06-1bf0-401c-8c4b-912cdca1529c 2026-06-08 02:13:43,383 - INFO - Waiting for VM ctest-vn1-vm1-91610234 to be up.. 2026-06-08 02:13:43,529 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-08 02:13:48,654 - DEBUG - VM is in ACTIVE state now 2026-06-08 02:13:48,654 - INFO - VM name : ctest-vn1-vm1-91610234 2026-06-08 02:13:48,773 - DEBUG - VM ctest-vn1-vm1-91610234 ID is ba924451-2398-457f-b58b-3e94224dd297 2026-06-08 02:13:48,806 - DEBUG - VM ctest-vn1-vm1-91610234 launched on Node cn-jenkins-deploy-platform-ansible-os-5900-1 2026-06-08 02:13:48,933 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/ba924451-2398-457f-b58b-3e94224dd297 2026-06-08 02:13:49,253 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/ba924451-2398-457f-b58b-3e94224dd297 2026-06-08 02:13:49,305 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/eb729402-ba7c-481e-ba9d-f682dacd58a6 2026-06-08 02:13:52,607 - 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 1031ms') 2026-06-08 02:13:52,607 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-91610234 failed! 2026-06-08 02:13:52,664 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-15935488:ctest-vn1-38033401 is 199.40.78.1 and allocation pool is NOT set 2026-06-08 02:13:54,728 - 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.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.33 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 = 1.327/2.686/4.046/1.359 ms') 2026-06-08 02:13:54,728 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-91610234 passed 2026-06-08 02:13:54,892 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-08 02:13:54,892 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-91610234, IP 199.40.78.3, Port 22 2026-06-08 02:13:54,957 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-08 02:13:55,048 - DEBUG - VM ctest-vn1-vm1-91610234 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-08 02:14:00,049 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-08 02:14:00,050 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-91610234, IP 199.40.78.3, Port 22 2026-06-08 02:14:00,218 - DEBUG - VM ctest-vn1-vm1-91610234 is ready for SSH connections 2026-06-08 02:14:00,218 - INFO - Waiting for VM ctest-vn2-vm1-83427731 to be up.. 2026-06-08 02:14:00,322 - DEBUG - VM is in ACTIVE state now 2026-06-08 02:14:00,322 - INFO - VM name : ctest-vn2-vm1-83427731 2026-06-08 02:14:00,420 - DEBUG - VM ctest-vn2-vm1-83427731 ID is 6d0223ce-9cd1-46b8-9562-7bc92015fab4 2026-06-08 02:14:00,421 - DEBUG - VM ctest-vn2-vm1-83427731 launched on Node cn-jenkins-deploy-platform-ansible-os-5900-1 2026-06-08 02:14:00,530 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/6d0223ce-9cd1-46b8-9562-7bc92015fab4 2026-06-08 02:14:00,544 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/1703868d-ab3d-4005-9e9a-f722716ce944 2026-06-08 02:14:01,805 - 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.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.596 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.596/1.968/3.341/1.372 ms') 2026-06-08 02:14:01,805 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-83427731 passed 2026-06-08 02:14:01,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-08 02:14:01,964 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-83427731, IP 34.240.242.195, Port 22 2026-06-08 02:14:02,134 - DEBUG - VM ctest-vn2-vm1-83427731 is ready for SSH connections 2026-06-08 02:14:02,134 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-08 02:14:02,135 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.240.242.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-06-08 02:14:02,135 - DEBUG - ping -s 56 -c 3 -W 1 34.240.242.195 2026-06-08 02:14:07,269 - DEBUG - PING 34.240.242.195 (34.240.242.195): 56 data bytes --- 34.240.242.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-08 02:14:07,269 - WARNING - Ping to IP 34.240.242.195 from VM ctest-vn1-vm1-91610234 failed 2026-06-08 02:14:07,269 - INFO - Adding interface with subnet_id 8142b94f-8a49-4928-82ac-212f02b8e8a9, port_id None to router 5b117e06-1bf0-401c-8c4b-912cdca1529c 2026-06-08 02:14:07,690 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-08 02:14:07,690 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.240.242.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-06-08 02:14:07,690 - DEBUG - ping -s 56 -c 3 -W 1 34.240.242.195 2026-06-08 02:14:10,938 - DEBUG - PING 34.240.242.195 (34.240.242.195): 56 data bytes 64 bytes from 34.240.242.195: seq=1 ttl=63 time=3.462 ms 64 bytes from 34.240.242.195: seq=2 ttl=63 time=1.503 ms --- 34.240.242.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.503/2.482/3.462 ms 2026-06-08 02:14:10,938 - WARNING - Ping to IP 34.240.242.195 from VM ctest-vn1-vm1-91610234 failed 2026-06-08 02:14:11,939 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.240.242.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-06-08 02:14:11,939 - DEBUG - ping -s 56 -c 3 -W 1 34.240.242.195 2026-06-08 02:14:14,174 - DEBUG - PING 34.240.242.195 (34.240.242.195): 56 data bytes 64 bytes from 34.240.242.195: seq=0 ttl=63 time=2.114 ms 64 bytes from 34.240.242.195: seq=1 ttl=63 time=1.239 ms 64 bytes from 34.240.242.195: seq=2 ttl=63 time=1.824 ms --- 34.240.242.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.239/1.725/2.114 ms 2026-06-08 02:14:14,175 - INFO - Ping to IP 34.240.242.195 from VM ctest-vn1-vm1-91610234 passed 2026-06-08 02:14:14,175 - INFO - Deleting interface with subnet_id 7cfd74bb-f38e-477d-a699-b0288c719291, port_id None from router 5b117e06-1bf0-401c-8c4b-912cdca1529c 2026-06-08 02:14:14,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-08 02:14:14,307 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.240.242.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-06-08 02:14:14,307 - DEBUG - ping -s 56 -c 3 -W 1 34.240.242.195 2026-06-08 02:14:17,536 - DEBUG - PING 34.240.242.195 (34.240.242.195): 56 data bytes --- 34.240.242.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-08 02:14:17,536 - WARNING - Ping to IP 34.240.242.195 from VM ctest-vn1-vm1-91610234 failed 2026-06-08 02:14:17,536 - INFO - Adding interface with subnet_id 7cfd74bb-f38e-477d-a699-b0288c719291, port_id None to router 5b117e06-1bf0-401c-8c4b-912cdca1529c 2026-06-08 02:14:17,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-08 02:14:17,781 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.240.242.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-06-08 02:14:17,781 - DEBUG - ping -s 56 -c 3 -W 1 34.240.242.195 2026-06-08 02:14:19,999 - DEBUG - PING 34.240.242.195 (34.240.242.195): 56 data bytes 64 bytes from 34.240.242.195: seq=0 ttl=63 time=2.004 ms 64 bytes from 34.240.242.195: seq=1 ttl=63 time=1.129 ms 64 bytes from 34.240.242.195: seq=2 ttl=63 time=0.911 ms --- 34.240.242.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.911/1.348/2.004 ms 2026-06-08 02:14:19,999 - INFO - Ping to IP 34.240.242.195 from VM ctest-vn1-vm1-91610234 passed 2026-06-08 02:14:19,999 - INFO - Deleting interface with subnet_id 8142b94f-8a49-4928-82ac-212f02b8e8a9, port_id None from router 5b117e06-1bf0-401c-8c4b-912cdca1529c 2026-06-08 02:14:20,130 - INFO - Deleting interface with subnet_id 7cfd74bb-f38e-477d-a699-b0288c719291, port_id None from router 5b117e06-1bf0-401c-8c4b-912cdca1529c 2026-06-08 02:14:20,330 - INFO - Deleting VM ctest-vn2-vm1-83427731 2026-06-08 02:14:20,422 - INFO - Deleting VM ctest-vn1-vm1-91610234 2026-06-08 02:14:20,513 - INFO - Deleting VN ctest-vn2-90127261 2026-06-08 02:14:20,562 - DEBUG - VN 8a571819-4f7f-4ed5-b33b-04d569b3c89f still in use: Unable to complete operation on network 8a571819-4f7f-4ed5-b33b-04d569b3c89f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-17acadfd-5660-4293-9830-a4639917a343'] 2026-06-08 02:14:20,562 - WARNING - Deleting VN ctest-vn2-90127261 failed..Will retry 2026-06-08 02:14:22,692 - DEBUG - Response for deleting network () 2026-06-08 02:14:22,693 - INFO - Deleting VN ctest-vn1-38033401 2026-06-08 02:14:22,827 - DEBUG - Response for deleting network () 2026-06-08 02:14:23,100 - DEBUG - No XMPP flaps were noticed during the test
2026-06-08 02:14:23,100 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:46]
2026-06-08 02:14:23,100 - INFO - -------------------------------------------------------------------------------- 2026-06-08 02:14:23,832 - INFO - Deleted project: ctest-TestRouters-15935488, ID : 2285eb7b-a32c-418a-b122-c102127186bb