2026-03-27 14:55:27,106 - INFO - Domain Default found not creating 2026-03-27 14:55:27,338 - INFO - Project ctest-TestRouters-24772022 not found, creating it 2026-03-27 14:55:27,860 - INFO - Created Project:ctest-TestRouters-24772022, ID : 4e543e38-6378-4f2a-a057-06c7648d54c7 2026-03-27 14:55:29,752 - INFO - ================================================================================ 2026-03-27 14:55:29,752 - INFO - STARTING TEST : test_basic_router_behavior 2026-03-27 14:55:29,753 - 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-03-27 14:55:30,035 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2026-03-27 14:55:30,035 - INFO - Initial checks done. Running the testcase now 2026-03-27 14:55:30,035 - INFO - 2026-03-27 14:55:30,775 - DEBUG - Response for create_network : {'network': {'id': '54ec65d3-e99d-490e-a292-41fb7c2a9e20', 'name': 'ctest-vn1-04665416', 'tenant_id': '4e543e3863784f2aa05706c7648d54c7', 'project_id': '4e543e3863784f2aa05706c7648d54c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-24772022', 'ctest-vn1-04665416'], 'port_security_enabled': True, 'description': ''}} 2026-03-27 14:55:30,965 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ecc6581b-da2e-428b-9eaf-0c6d8fd3737c', 'name': '', 'tenant_id': '4e543e3863784f2aa05706c7648d54c7', 'network_id': '54ec65d3-e99d-490e-a292-41fb7c2a9e20', 'ip_version': 4, 'cidr': '202.217.97.0/26', 'allocation_pools': [{'start': '202.217.97.2', 'end': '202.217.97.62'}], 'gateway_ip': '202.217.97.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.217.97.2', 'tags': [], 'project_id': '4e543e3863784f2aa05706c7648d54c7'}} 2026-03-27 14:55:30,989 - INFO - Created VN ctest-vn1-04665416 2026-03-27 14:55:31,046 - DEBUG - VN ctest-vn1-04665416 UUID is 54ec65d3-e99d-490e-a292-41fb7c2a9e20 2026-03-27 14:55:31,488 - DEBUG - Response for create_network : {'network': {'id': '58ab14a3-7238-4d6e-a0d3-affd5751bb34', 'name': 'ctest-vn2-84931015', 'tenant_id': '4e543e3863784f2aa05706c7648d54c7', 'project_id': '4e543e3863784f2aa05706c7648d54c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-24772022', 'ctest-vn2-84931015'], 'port_security_enabled': True, 'description': ''}} 2026-03-27 14:55:31,688 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e77daf9-0017-4f6c-8740-1708e905f5c6', 'name': '', 'tenant_id': '4e543e3863784f2aa05706c7648d54c7', 'network_id': '58ab14a3-7238-4d6e-a0d3-affd5751bb34', 'ip_version': 4, 'cidr': '138.235.14.0/26', 'allocation_pools': [{'start': '138.235.14.2', 'end': '138.235.14.62'}], 'gateway_ip': '138.235.14.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.235.14.2', 'tags': [], 'project_id': '4e543e3863784f2aa05706c7648d54c7'}} 2026-03-27 14:55:31,710 - INFO - Created VN ctest-vn2-84931015 2026-03-27 14:55:31,766 - DEBUG - VN ctest-vn2-84931015 UUID is 58ab14a3-7238-4d6e-a0d3-affd5751bb34 2026-03-27 14:55:31,996 - DEBUG - Services list from nova: [, , ] 2026-03-27 14:55:33,304 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5555-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5555-1) 2026-03-27 14:55:34,806 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5555-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5555-1) 2026-03-27 14:55:34,887 - INFO - Adding interface with subnet_id ecc6581b-da2e-428b-9eaf-0c6d8fd3737c, port_id None to router 9612c7f8-899c-47c0-b97d-08dc1dfbdd04 2026-03-27 14:55:35,307 - INFO - Waiting for VM ctest-vn1-vm1-25617405 to be up.. 2026-03-27 14:55:35,598 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-27 14:55:40,692 - DEBUG - VM is in ACTIVE state now 2026-03-27 14:55:40,692 - INFO - VM name : ctest-vn1-vm1-25617405 2026-03-27 14:55:40,793 - DEBUG - VM ctest-vn1-vm1-25617405 ID is 129c9982-eb81-47eb-a037-5eb075098869 2026-03-27 14:55:40,816 - DEBUG - VM ctest-vn1-vm1-25617405 launched on Node cn-jenkins-deploy-platform-ansible-os-5555-1 2026-03-27 14:55:40,912 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/129c9982-eb81-47eb-a037-5eb075098869 2026-03-27 14:55:41,235 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/129c9982-eb81-47eb-a037-5eb075098869 2026-03-27 14:55:41,282 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/b46dea7e-ebfe-45b5-80bb-c623e11aac7d 2026-03-27 14:55:44,583 - 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 1028ms') 2026-03-27 14:55:44,583 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25617405 failed! 2026-03-27 14:55:44,655 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-24772022:ctest-vn1-04665416 is 202.217.97.1 and allocation pool is NOT set 2026-03-27 14:55:46,736 - 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=8.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.23 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 = 2.232/5.257/8.283/3.025 ms') 2026-03-27 14:55:46,736 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25617405 passed 2026-03-27 14:55:46,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 14:55:46,902 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-25617405, IP 202.217.97.3, Port 22 2026-03-27 14:55:46,968 - 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-03-27 14:55:47,075 - DEBUG - VM ctest-vn1-vm1-25617405 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-27 14:55:52,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 14:55:52,076 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-25617405, IP 202.217.97.3, Port 22 2026-03-27 14:55:52,260 - DEBUG - VM ctest-vn1-vm1-25617405 is ready for SSH connections 2026-03-27 14:55:52,260 - INFO - Waiting for VM ctest-vn2-vm1-13602838 to be up.. 2026-03-27 14:55:52,364 - DEBUG - VM is in ACTIVE state now 2026-03-27 14:55:52,365 - INFO - VM name : ctest-vn2-vm1-13602838 2026-03-27 14:55:52,467 - DEBUG - VM ctest-vn2-vm1-13602838 ID is 7b69e132-b54e-46bb-9a8d-66ad90b8f437 2026-03-27 14:55:52,467 - DEBUG - VM ctest-vn2-vm1-13602838 launched on Node cn-jenkins-deploy-platform-ansible-os-5555-1 2026-03-27 14:55:52,561 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7b69e132-b54e-46bb-9a8d-66ad90b8f437 2026-03-27 14:55:52,573 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d9d953b4-cdc4-4070-8bcb-39bd5a102ef9 2026-03-27 14:55:53,834 - 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=4.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.559 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.559/2.287/4.015/1.728 ms') 2026-03-27 14:55:53,834 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-13602838 passed 2026-03-27 14:55:54,002 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 14:55:54,002 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-13602838, IP 138.235.14.3, Port 22 2026-03-27 14:55:54,166 - DEBUG - VM ctest-vn2-vm1-13602838 is ready for SSH connections 2026-03-27 14:55:54,167 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 14:55:54,167 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.235.14.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-03-27 14:55:54,167 - DEBUG - ping -s 56 -c 3 -W 1 138.235.14.3 2026-03-27 14:55:59,479 - DEBUG - PING 138.235.14.3 (138.235.14.3): 56 data bytes --- 138.235.14.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-27 14:55:59,480 - WARNING - Ping to IP 138.235.14.3 from VM ctest-vn1-vm1-25617405 failed 2026-03-27 14:55:59,480 - INFO - Adding interface with subnet_id 5e77daf9-0017-4f6c-8740-1708e905f5c6, port_id None to router 9612c7f8-899c-47c0-b97d-08dc1dfbdd04 2026-03-27 14:55:59,806 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 14:55:59,806 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.235.14.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-03-27 14:55:59,806 - DEBUG - ping -s 56 -c 3 -W 1 138.235.14.3 2026-03-27 14:56:02,069 - DEBUG - PING 138.235.14.3 (138.235.14.3): 56 data bytes 64 bytes from 138.235.14.3: seq=0 ttl=63 time=3.748 ms 64 bytes from 138.235.14.3: seq=1 ttl=63 time=1.252 ms 64 bytes from 138.235.14.3: seq=2 ttl=63 time=1.094 ms --- 138.235.14.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.094/2.031/3.748 ms 2026-03-27 14:56:02,069 - INFO - Ping to IP 138.235.14.3 from VM ctest-vn1-vm1-25617405 passed 2026-03-27 14:56:02,069 - INFO - Deleting interface with subnet_id ecc6581b-da2e-428b-9eaf-0c6d8fd3737c, port_id None from router 9612c7f8-899c-47c0-b97d-08dc1dfbdd04 2026-03-27 14:56:02,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 14:56:02,229 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.235.14.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-03-27 14:56:02,229 - DEBUG - ping -s 56 -c 3 -W 1 138.235.14.3 2026-03-27 14:56:05,487 - DEBUG - PING 138.235.14.3 (138.235.14.3): 56 data bytes --- 138.235.14.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-27 14:56:05,487 - WARNING - Ping to IP 138.235.14.3 from VM ctest-vn1-vm1-25617405 failed 2026-03-27 14:56:05,487 - INFO - Adding interface with subnet_id ecc6581b-da2e-428b-9eaf-0c6d8fd3737c, port_id None to router 9612c7f8-899c-47c0-b97d-08dc1dfbdd04 2026-03-27 14:56:05,760 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 14:56:05,760 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.235.14.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-03-27 14:56:05,760 - DEBUG - ping -s 56 -c 3 -W 1 138.235.14.3 2026-03-27 14:56:08,019 - DEBUG - PING 138.235.14.3 (138.235.14.3): 56 data bytes 64 bytes from 138.235.14.3: seq=0 ttl=63 time=3.302 ms 64 bytes from 138.235.14.3: seq=1 ttl=63 time=1.514 ms 64 bytes from 138.235.14.3: seq=2 ttl=63 time=1.168 ms --- 138.235.14.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.168/1.994/3.302 ms 2026-03-27 14:56:08,020 - INFO - Ping to IP 138.235.14.3 from VM ctest-vn1-vm1-25617405 passed 2026-03-27 14:56:08,020 - INFO - Deleting interface with subnet_id 5e77daf9-0017-4f6c-8740-1708e905f5c6, port_id None from router 9612c7f8-899c-47c0-b97d-08dc1dfbdd04 2026-03-27 14:56:08,213 - INFO - Deleting interface with subnet_id ecc6581b-da2e-428b-9eaf-0c6d8fd3737c, port_id None from router 9612c7f8-899c-47c0-b97d-08dc1dfbdd04 2026-03-27 14:56:08,429 - INFO - Deleting VM ctest-vn2-vm1-13602838 2026-03-27 14:56:08,533 - INFO - Deleting VM ctest-vn1-vm1-25617405 2026-03-27 14:56:08,628 - INFO - Deleting VN ctest-vn2-84931015 2026-03-27 14:56:08,684 - DEBUG - VN 58ab14a3-7238-4d6e-a0d3-affd5751bb34 still in use: Unable to complete operation on network 58ab14a3-7238-4d6e-a0d3-affd5751bb34. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-86c98206-1946-4c3e-94ff-c08ea357c536'] 2026-03-27 14:56:08,684 - WARNING - Deleting VN ctest-vn2-84931015 failed..Will retry 2026-03-27 14:56:10,827 - DEBUG - Response for deleting network () 2026-03-27 14:56:10,827 - INFO - Deleting VN ctest-vn1-04665416 2026-03-27 14:56:10,949 - DEBUG - Response for deleting network () 2026-03-27 14:56:11,224 - DEBUG - No XMPP flaps were noticed during the test
2026-03-27 14:56:11,224 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:42]
2026-03-27 14:56:11,224 - INFO - -------------------------------------------------------------------------------- 2026-03-27 14:56:12,054 - INFO - Deleted project: ctest-TestRouters-24772022, ID : 4e543e38-6378-4f2a-a057-06c7648d54c7