2026-05-19 15:42:28,445 - INFO - Domain Default found not creating 2026-05-19 15:42:28,623 - INFO - Project ctest-TestRouters-94534980 not found, creating it 2026-05-19 15:42:29,126 - INFO - Created Project:ctest-TestRouters-94534980, ID : c652490f-79bd-4a10-9ffa-e457bb143855 2026-05-19 15:42:31,332 - INFO - ================================================================================ 2026-05-19 15:42:31,333 - INFO - STARTING TEST : test_basic_router_behavior 2026-05-19 15:42:31,333 - 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-05-19 15:42:31,593 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with 2026-05-19 15:42:31,594 - INFO - Initial checks done. Running the testcase now 2026-05-19 15:42:31,594 - INFO - 2026-05-19 15:42:32,201 - DEBUG - Response for create_network : {'network': {'id': 'da3c43bd-aaac-47eb-a6b3-5e61ce9c92fd', 'name': 'ctest-vn1-34085234', 'tenant_id': 'c652490f79bd4a109ffae457bb143855', 'project_id': 'c652490f79bd4a109ffae457bb143855', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-94534980', 'ctest-vn1-34085234'], 'port_security_enabled': True, 'description': ''}} 2026-05-19 15:42:32,360 - DEBUG - Response for create_subnet : {'subnet': {'id': '521ad113-d127-4e5f-ac59-508d6d732017', 'name': '', 'tenant_id': 'c652490f79bd4a109ffae457bb143855', 'network_id': 'da3c43bd-aaac-47eb-a6b3-5e61ce9c92fd', 'ip_version': 4, 'cidr': '216.189.71.192/26', 'allocation_pools': [{'start': '216.189.71.194', 'end': '216.189.71.254'}], 'gateway_ip': '216.189.71.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.189.71.194', 'tags': [], 'project_id': 'c652490f79bd4a109ffae457bb143855'}} 2026-05-19 15:42:32,383 - INFO - Created VN ctest-vn1-34085234 2026-05-19 15:42:32,438 - DEBUG - VN ctest-vn1-34085234 UUID is da3c43bd-aaac-47eb-a6b3-5e61ce9c92fd 2026-05-19 15:42:32,748 - DEBUG - Response for create_network : {'network': {'id': 'de98ce32-0d93-4126-8db7-c24afacafcbc', 'name': 'ctest-vn2-82855818', 'tenant_id': 'c652490f79bd4a109ffae457bb143855', 'project_id': 'c652490f79bd4a109ffae457bb143855', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-94534980', 'ctest-vn2-82855818'], 'port_security_enabled': True, 'description': ''}} 2026-05-19 15:42:32,916 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0a5fb42-9a88-4319-b3d4-f24fd37ae541', 'name': '', 'tenant_id': 'c652490f79bd4a109ffae457bb143855', 'network_id': 'de98ce32-0d93-4126-8db7-c24afacafcbc', 'ip_version': 4, 'cidr': '155.173.255.192/26', 'allocation_pools': [{'start': '155.173.255.194', 'end': '155.173.255.254'}], 'gateway_ip': '155.173.255.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.173.255.194', 'tags': [], 'project_id': 'c652490f79bd4a109ffae457bb143855'}} 2026-05-19 15:42:32,934 - INFO - Created VN ctest-vn2-82855818 2026-05-19 15:42:32,986 - DEBUG - VN ctest-vn2-82855818 UUID is de98ce32-0d93-4126-8db7-c24afacafcbc 2026-05-19 15:42:33,164 - DEBUG - Services list from nova: [, , ] 2026-05-19 15:42:34,217 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5798-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5798-1) 2026-05-19 15:42:35,511 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5798-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5798-1) 2026-05-19 15:42:35,588 - INFO - Adding interface with subnet_id 521ad113-d127-4e5f-ac59-508d6d732017, port_id None to router 54d61f18-ebe1-4afd-a791-de6b4aca4741 2026-05-19 15:42:35,908 - INFO - Waiting for VM ctest-vn1-vm1-67915919 to be up.. 2026-05-19 15:42:36,072 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-19 15:42:41,172 - DEBUG - VM is in ACTIVE state now 2026-05-19 15:42:41,172 - INFO - VM name : ctest-vn1-vm1-67915919 2026-05-19 15:42:41,274 - DEBUG - VM ctest-vn1-vm1-67915919 ID is 86369d76-54ec-4351-991e-299adaa62103 2026-05-19 15:42:41,301 - DEBUG - VM ctest-vn1-vm1-67915919 launched on Node cn-jenkins-deploy-platform-ansible-os-5798-1 2026-05-19 15:42:41,391 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/86369d76-54ec-4351-991e-299adaa62103 2026-05-19 15:42:41,697 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/86369d76-54ec-4351-991e-299adaa62103 2026-05-19 15:42:41,740 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/b0a43215-c40e-48f7-b997-d349133d7eb7 2026-05-19 15:42:45,005 - 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 1010ms') 2026-05-19 15:42:45,005 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67915919 failed! 2026-05-19 15:42:45,062 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-94534980:ctest-vn1-34085234 is 216.189.71.193 and allocation pool is NOT set 2026-05-19 15:42:47,122 - 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.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.527 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.527/1.976/3.426/1.449 ms') 2026-05-19 15:42:47,122 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67915919 passed 2026-05-19 15:42:47,274 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-19 15:42:47,274 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-67915919, IP 216.189.71.195, Port 22 2026-05-19 15:42:47,429 - DEBUG - VM ctest-vn1-vm1-67915919 is ready for SSH connections 2026-05-19 15:42:47,430 - INFO - Waiting for VM ctest-vn2-vm1-01894881 to be up.. 2026-05-19 15:42:47,508 - DEBUG - VM is in ACTIVE state now 2026-05-19 15:42:47,508 - INFO - VM name : ctest-vn2-vm1-01894881 2026-05-19 15:42:47,592 - DEBUG - VM ctest-vn2-vm1-01894881 ID is 72811219-d741-4952-bca2-ac5d0a3efc46 2026-05-19 15:42:47,592 - DEBUG - VM ctest-vn2-vm1-01894881 launched on Node cn-jenkins-deploy-platform-ansible-os-5798-1 2026-05-19 15:42:47,670 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/72811219-d741-4952-bca2-ac5d0a3efc46 2026-05-19 15:42:47,679 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/5f0f18c5-473f-4e64-b488-e775aabc65bf 2026-05-19 15:42:48,918 - 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=6.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.11 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 = 3.112/4.784/6.457/1.672 ms') 2026-05-19 15:42:48,918 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-01894881 passed 2026-05-19 15:42:49,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-19 15:42:49,074 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-01894881, IP 155.173.255.195, Port 22 2026-05-19 15:42:49,130 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-05-19 15:42:49,210 - DEBUG - VM ctest-vn2-vm1-01894881 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-19 15:42:54,210 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-19 15:42:54,211 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-01894881, IP 155.173.255.195, Port 22 2026-05-19 15:42:54,370 - DEBUG - VM ctest-vn2-vm1-01894881 is ready for SSH connections 2026-05-19 15:42:54,370 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-19 15:42:54,370 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.173.255.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-05-19 15:42:54,370 - DEBUG - ping -s 56 -c 3 -W 1 155.173.255.195 2026-05-19 15:42:59,398 - DEBUG - PING 155.173.255.195 (155.173.255.195): 56 data bytes --- 155.173.255.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-19 15:42:59,399 - WARNING - Ping to IP 155.173.255.195 from VM ctest-vn1-vm1-67915919 failed 2026-05-19 15:42:59,399 - INFO - Adding interface with subnet_id b0a5fb42-9a88-4319-b3d4-f24fd37ae541, port_id None to router 54d61f18-ebe1-4afd-a791-de6b4aca4741 2026-05-19 15:42:59,672 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-19 15:42:59,672 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.173.255.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-05-19 15:42:59,672 - DEBUG - ping -s 56 -c 3 -W 1 155.173.255.195 2026-05-19 15:43:02,902 - DEBUG - PING 155.173.255.195 (155.173.255.195): 56 data bytes 64 bytes from 155.173.255.195: seq=1 ttl=63 time=3.272 ms 64 bytes from 155.173.255.195: seq=2 ttl=63 time=0.901 ms --- 155.173.255.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.901/2.086/3.272 ms 2026-05-19 15:43:02,902 - WARNING - Ping to IP 155.173.255.195 from VM ctest-vn1-vm1-67915919 failed 2026-05-19 15:43:03,903 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.173.255.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-05-19 15:43:03,904 - DEBUG - ping -s 56 -c 3 -W 1 155.173.255.195 2026-05-19 15:43:06,121 - DEBUG - PING 155.173.255.195 (155.173.255.195): 56 data bytes 64 bytes from 155.173.255.195: seq=0 ttl=63 time=1.530 ms 64 bytes from 155.173.255.195: seq=1 ttl=63 time=1.010 ms 64 bytes from 155.173.255.195: seq=2 ttl=63 time=1.016 ms --- 155.173.255.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.010/1.185/1.530 ms 2026-05-19 15:43:06,121 - INFO - Ping to IP 155.173.255.195 from VM ctest-vn1-vm1-67915919 passed 2026-05-19 15:43:06,121 - INFO - Deleting interface with subnet_id 521ad113-d127-4e5f-ac59-508d6d732017, port_id None from router 54d61f18-ebe1-4afd-a791-de6b4aca4741 2026-05-19 15:43:06,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-19 15:43:06,241 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.173.255.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-05-19 15:43:06,241 - DEBUG - ping -s 56 -c 3 -W 1 155.173.255.195 2026-05-19 15:43:09,460 - DEBUG - PING 155.173.255.195 (155.173.255.195): 56 data bytes --- 155.173.255.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-19 15:43:09,460 - WARNING - Ping to IP 155.173.255.195 from VM ctest-vn1-vm1-67915919 failed 2026-05-19 15:43:09,460 - INFO - Adding interface with subnet_id 521ad113-d127-4e5f-ac59-508d6d732017, port_id None to router 54d61f18-ebe1-4afd-a791-de6b4aca4741 2026-05-19 15:43:09,679 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-19 15:43:09,679 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.173.255.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-05-19 15:43:09,679 - DEBUG - ping -s 56 -c 3 -W 1 155.173.255.195 2026-05-19 15:43:11,931 - DEBUG - PING 155.173.255.195 (155.173.255.195): 56 data bytes 64 bytes from 155.173.255.195: seq=0 ttl=63 time=1.722 ms 64 bytes from 155.173.255.195: seq=1 ttl=63 time=1.191 ms 64 bytes from 155.173.255.195: seq=2 ttl=63 time=0.998 ms --- 155.173.255.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.998/1.303/1.722 ms 2026-05-19 15:43:11,932 - INFO - Ping to IP 155.173.255.195 from VM ctest-vn1-vm1-67915919 passed 2026-05-19 15:43:11,932 - INFO - Deleting interface with subnet_id b0a5fb42-9a88-4319-b3d4-f24fd37ae541, port_id None from router 54d61f18-ebe1-4afd-a791-de6b4aca4741 2026-05-19 15:43:12,068 - INFO - Deleting interface with subnet_id 521ad113-d127-4e5f-ac59-508d6d732017, port_id None from router 54d61f18-ebe1-4afd-a791-de6b4aca4741 2026-05-19 15:43:12,264 - INFO - Deleting VM ctest-vn2-vm1-01894881 2026-05-19 15:43:12,344 - INFO - Deleting VM ctest-vn1-vm1-67915919 2026-05-19 15:43:12,423 - INFO - Deleting VN ctest-vn2-82855818 2026-05-19 15:43:12,464 - DEBUG - VN de98ce32-0d93-4126-8db7-c24afacafcbc still in use: Unable to complete operation on network de98ce32-0d93-4126-8db7-c24afacafcbc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-190d5c1f-2b6c-42a5-8e58-dd73648ecbb0'] 2026-05-19 15:43:12,464 - WARNING - Deleting VN ctest-vn2-82855818 failed..Will retry 2026-05-19 15:43:14,576 - DEBUG - Response for deleting network () 2026-05-19 15:43:14,576 - INFO - Deleting VN ctest-vn1-34085234 2026-05-19 15:43:14,720 - DEBUG - Response for deleting network () 2026-05-19 15:43:14,981 - DEBUG - No XMPP flaps were noticed during the test
2026-05-19 15:43:14,981 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:43]
2026-05-19 15:43:14,981 - INFO - -------------------------------------------------------------------------------- 2026-05-19 15:43:15,694 - INFO - Deleted project: ctest-TestRouters-94534980, ID : c652490f-79bd-4a10-9ffa-e457bb143855