2026-05-20 14:11:31,183 - INFO - Domain Default found not creating 2026-05-20 14:11:31,417 - INFO - Project ctest-TestRouters-05354825 not found, creating it 2026-05-20 14:11:31,972 - INFO - Created Project:ctest-TestRouters-05354825, ID : d8dd75a8-69e7-44b8-87e7-912b8c91f7ad 2026-05-20 14:11:33,757 - INFO - ================================================================================ 2026-05-20 14:11:33,758 - INFO - STARTING TEST : test_basic_router_behavior 2026-05-20 14:11:33,758 - 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-20 14:11:34,026 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.17': '0'}} with 2026-05-20 14:11:34,026 - INFO - Initial checks done. Running the testcase now 2026-05-20 14:11:34,026 - INFO - 2026-05-20 14:11:34,748 - DEBUG - Response for create_network : {'network': {'id': '85b2393d-0db1-4307-ae47-bdbc40b6840b', 'name': 'ctest-vn1-04043276', 'tenant_id': 'd8dd75a869e744b887e7912b8c91f7ad', 'project_id': 'd8dd75a869e744b887e7912b8c91f7ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-05354825', 'ctest-vn1-04043276'], 'port_security_enabled': True, 'description': ''}} 2026-05-20 14:11:34,933 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b7c8c19-80e0-41a3-a97f-730a164d5df7', 'name': '', 'tenant_id': 'd8dd75a869e744b887e7912b8c91f7ad', 'network_id': '85b2393d-0db1-4307-ae47-bdbc40b6840b', 'ip_version': 4, 'cidr': '207.169.52.0/26', 'allocation_pools': [{'start': '207.169.52.2', 'end': '207.169.52.62'}], 'gateway_ip': '207.169.52.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.169.52.2', 'tags': [], 'project_id': 'd8dd75a869e744b887e7912b8c91f7ad'}} 2026-05-20 14:11:34,953 - INFO - Created VN ctest-vn1-04043276 2026-05-20 14:11:35,010 - DEBUG - VN ctest-vn1-04043276 UUID is 85b2393d-0db1-4307-ae47-bdbc40b6840b 2026-05-20 14:11:35,347 - DEBUG - Response for create_network : {'network': {'id': '3fbe1d71-0385-4e77-9d60-56a9e7995d08', 'name': 'ctest-vn2-34173598', 'tenant_id': 'd8dd75a869e744b887e7912b8c91f7ad', 'project_id': 'd8dd75a869e744b887e7912b8c91f7ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-05354825', 'ctest-vn2-34173598'], 'port_security_enabled': True, 'description': ''}} 2026-05-20 14:11:35,519 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9a535e7-b3bc-4a0b-90c0-8b351e549726', 'name': '', 'tenant_id': 'd8dd75a869e744b887e7912b8c91f7ad', 'network_id': '3fbe1d71-0385-4e77-9d60-56a9e7995d08', 'ip_version': 4, 'cidr': '213.104.142.192/26', 'allocation_pools': [{'start': '213.104.142.194', 'end': '213.104.142.254'}], 'gateway_ip': '213.104.142.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.104.142.194', 'tags': [], 'project_id': 'd8dd75a869e744b887e7912b8c91f7ad'}} 2026-05-20 14:11:35,542 - INFO - Created VN ctest-vn2-34173598 2026-05-20 14:11:35,594 - DEBUG - VN ctest-vn2-34173598 UUID is 3fbe1d71-0385-4e77-9d60-56a9e7995d08 2026-05-20 14:11:35,783 - DEBUG - Services list from nova: [, , ] 2026-05-20 14:11:36,943 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5801-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5801-1) 2026-05-20 14:11:38,317 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5801-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5801-1) 2026-05-20 14:11:38,406 - INFO - Adding interface with subnet_id 4b7c8c19-80e0-41a3-a97f-730a164d5df7, port_id None to router 1c1dc456-bae8-40ec-b498-1f92e1b6b2b5 2026-05-20 14:11:38,697 - INFO - Waiting for VM ctest-vn1-vm1-25066237 to be up.. 2026-05-20 14:11:38,820 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-20 14:11:43,913 - DEBUG - VM is in ACTIVE state now 2026-05-20 14:11:43,913 - INFO - VM name : ctest-vn1-vm1-25066237 2026-05-20 14:11:44,011 - DEBUG - VM ctest-vn1-vm1-25066237 ID is 8b759a98-886e-409d-96c7-1445300d12ef 2026-05-20 14:11:44,032 - DEBUG - VM ctest-vn1-vm1-25066237 launched on Node cn-jenkins-deploy-platform-ansible-os-5801-1 2026-05-20 14:11:44,120 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/8b759a98-886e-409d-96c7-1445300d12ef 2026-05-20 14:11:44,436 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/8b759a98-886e-409d-96c7-1445300d12ef 2026-05-20 14:11:44,479 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/76f7ac7a-afcc-4d51-9618-3edc7f318af8 2026-05-20 14:11:47,752 - 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 1025ms') 2026-05-20 14:11:47,753 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25066237 failed! 2026-05-20 14:11:47,806 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-05354825:ctest-vn1-04043276 is 207.169.52.1 and allocation pool is NOT set 2026-05-20 14:11:49,867 - 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.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.536 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.536/2.014/3.493/1.478 ms') 2026-05-20 14:11:49,867 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25066237 passed 2026-05-20 14:11:50,026 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 14:11:50,026 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-25066237, IP 207.169.52.3, Port 22 2026-05-20 14:11:50,182 - DEBUG - VM ctest-vn1-vm1-25066237 is ready for SSH connections 2026-05-20 14:11:50,182 - INFO - Waiting for VM ctest-vn2-vm1-28438733 to be up.. 2026-05-20 14:11:50,268 - DEBUG - VM is in ACTIVE state now 2026-05-20 14:11:50,268 - INFO - VM name : ctest-vn2-vm1-28438733 2026-05-20 14:11:50,346 - DEBUG - VM ctest-vn2-vm1-28438733 ID is e657e16e-1bce-4bc6-909b-9f0f56098654 2026-05-20 14:11:50,346 - DEBUG - VM ctest-vn2-vm1-28438733 launched on Node cn-jenkins-deploy-platform-ansible-os-5801-1 2026-05-20 14:11:50,432 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/e657e16e-1bce-4bc6-909b-9f0f56098654 2026-05-20 14:11:50,442 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/d9ba195a-a4be-4761-a22d-1ae868b0f2b7 2026-05-20 14:11:51,695 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.92 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 = 1.923/2.628/3.333/0.705 ms') 2026-05-20 14:11:51,695 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-28438733 passed 2026-05-20 14:11:51,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 14:11:51,850 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-28438733, IP 213.104.142.195, Port 22 2026-05-20 14:11:51,916 - 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-20 14:11:52,010 - DEBUG - VM ctest-vn2-vm1-28438733 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-20 14:11:57,011 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 14:11:57,011 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-28438733, IP 213.104.142.195, Port 22 2026-05-20 14:11:57,170 - DEBUG - VM ctest-vn2-vm1-28438733 is ready for SSH connections 2026-05-20 14:11:57,170 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 14:11:57,170 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.104.142.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-05-20 14:11:57,170 - DEBUG - ping -s 56 -c 3 -W 1 213.104.142.195 2026-05-20 14:12:02,267 - DEBUG - PING 213.104.142.195 (213.104.142.195): 56 data bytes --- 213.104.142.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-20 14:12:02,267 - WARNING - Ping to IP 213.104.142.195 from VM ctest-vn1-vm1-25066237 failed 2026-05-20 14:12:02,268 - INFO - Adding interface with subnet_id b9a535e7-b3bc-4a0b-90c0-8b351e549726, port_id None to router 1c1dc456-bae8-40ec-b498-1f92e1b6b2b5 2026-05-20 14:12:02,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 14:12:02,573 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.104.142.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-05-20 14:12:02,573 - DEBUG - ping -s 56 -c 3 -W 1 213.104.142.195 2026-05-20 14:12:05,815 - DEBUG - PING 213.104.142.195 (213.104.142.195): 56 data bytes 64 bytes from 213.104.142.195: seq=1 ttl=63 time=3.365 ms 64 bytes from 213.104.142.195: seq=2 ttl=63 time=0.889 ms --- 213.104.142.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.889/2.127/3.365 ms 2026-05-20 14:12:05,815 - WARNING - Ping to IP 213.104.142.195 from VM ctest-vn1-vm1-25066237 failed 2026-05-20 14:12:06,816 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.104.142.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-05-20 14:12:06,816 - DEBUG - ping -s 56 -c 3 -W 1 213.104.142.195 2026-05-20 14:12:09,057 - DEBUG - PING 213.104.142.195 (213.104.142.195): 56 data bytes 64 bytes from 213.104.142.195: seq=0 ttl=63 time=1.641 ms 64 bytes from 213.104.142.195: seq=1 ttl=63 time=1.014 ms 64 bytes from 213.104.142.195: seq=2 ttl=63 time=1.527 ms --- 213.104.142.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.014/1.394/1.641 ms 2026-05-20 14:12:09,057 - INFO - Ping to IP 213.104.142.195 from VM ctest-vn1-vm1-25066237 passed 2026-05-20 14:12:09,057 - INFO - Deleting interface with subnet_id 4b7c8c19-80e0-41a3-a97f-730a164d5df7, port_id None from router 1c1dc456-bae8-40ec-b498-1f92e1b6b2b5 2026-05-20 14:12:09,219 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 14:12:09,219 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.104.142.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-05-20 14:12:09,219 - DEBUG - ping -s 56 -c 3 -W 1 213.104.142.195 2026-05-20 14:12:12,533 - DEBUG - PING 213.104.142.195 (213.104.142.195): 56 data bytes --- 213.104.142.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-20 14:12:12,533 - WARNING - Ping to IP 213.104.142.195 from VM ctest-vn1-vm1-25066237 failed 2026-05-20 14:12:12,533 - INFO - Adding interface with subnet_id 4b7c8c19-80e0-41a3-a97f-730a164d5df7, port_id None to router 1c1dc456-bae8-40ec-b498-1f92e1b6b2b5 2026-05-20 14:12:12,806 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 14:12:12,806 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.104.142.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-05-20 14:12:12,806 - DEBUG - ping -s 56 -c 3 -W 1 213.104.142.195 2026-05-20 14:12:15,036 - DEBUG - PING 213.104.142.195 (213.104.142.195): 56 data bytes 64 bytes from 213.104.142.195: seq=0 ttl=63 time=2.072 ms 64 bytes from 213.104.142.195: seq=1 ttl=63 time=1.135 ms 64 bytes from 213.104.142.195: seq=2 ttl=63 time=1.134 ms --- 213.104.142.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.134/1.447/2.072 ms 2026-05-20 14:12:15,037 - INFO - Ping to IP 213.104.142.195 from VM ctest-vn1-vm1-25066237 passed 2026-05-20 14:12:15,037 - INFO - Deleting interface with subnet_id b9a535e7-b3bc-4a0b-90c0-8b351e549726, port_id None from router 1c1dc456-bae8-40ec-b498-1f92e1b6b2b5 2026-05-20 14:12:15,189 - INFO - Deleting interface with subnet_id 4b7c8c19-80e0-41a3-a97f-730a164d5df7, port_id None from router 1c1dc456-bae8-40ec-b498-1f92e1b6b2b5 2026-05-20 14:12:15,393 - INFO - Deleting VM ctest-vn2-vm1-28438733 2026-05-20 14:12:15,495 - INFO - Deleting VM ctest-vn1-vm1-25066237 2026-05-20 14:12:15,603 - INFO - Deleting VN ctest-vn2-34173598 2026-05-20 14:12:15,649 - DEBUG - VN 3fbe1d71-0385-4e77-9d60-56a9e7995d08 still in use: Unable to complete operation on network 3fbe1d71-0385-4e77-9d60-56a9e7995d08. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-42859aef-f46a-4d40-a865-feef26d6fb49'] 2026-05-20 14:12:15,649 - WARNING - Deleting VN ctest-vn2-34173598 failed..Will retry 2026-05-20 14:12:17,757 - DEBUG - Response for deleting network () 2026-05-20 14:12:17,757 - INFO - Deleting VN ctest-vn1-04043276 2026-05-20 14:12:17,893 - DEBUG - Response for deleting network () 2026-05-20 14:12:18,164 - DEBUG - No XMPP flaps were noticed during the test 2026-05-20 14:12:18,164 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:45] 2026-05-20 14:12:18,164 - INFO - -------------------------------------------------------------------------------- 2026-05-20 14:12:18,911 - INFO - Deleted project: ctest-TestRouters-05354825, ID : d8dd75a8-69e7-44b8-87e7-912b8c91f7ad