2026-05-28 14:34:56,065 - INFO - Domain Default found not creating 2026-05-28 14:34:56,276 - INFO - Project ctest-TestRouters-61614886 not found, creating it 2026-05-28 14:34:56,821 - INFO - Created Project:ctest-TestRouters-61614886, ID : 39693d1d-5078-4832-8f2e-cbcb55ff8ac2 2026-05-28 14:34:58,723 - INFO - ================================================================================ 2026-05-28 14:34:58,723 - INFO - STARTING TEST : test_basic_router_behavior 2026-05-28 14:34:58,723 - 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-28 14:34:58,998 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-05-28 14:34:58,999 - INFO - Initial checks done. Running the testcase now 2026-05-28 14:34:58,999 - INFO - 2026-05-28 14:34:59,752 - DEBUG - Response for create_network : {'network': {'id': '944327d2-a9c8-4098-8567-28817cc40cf5', 'name': 'ctest-vn1-87849674', 'tenant_id': '39693d1d507848328f2ecbcb55ff8ac2', 'project_id': '39693d1d507848328f2ecbcb55ff8ac2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-61614886', 'ctest-vn1-87849674'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 14:35:00,006 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b69b2bbf-8cf7-47f7-a0f3-5202812bd46d', 'name': '', 'tenant_id': '39693d1d507848328f2ecbcb55ff8ac2', 'network_id': '944327d2-a9c8-4098-8567-28817cc40cf5', 'ip_version': 4, 'cidr': '89.75.245.192/26', 'allocation_pools': [{'start': '89.75.245.194', 'end': '89.75.245.254'}], 'gateway_ip': '89.75.245.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.75.245.194', 'tags': [], 'project_id': '39693d1d507848328f2ecbcb55ff8ac2'}} 2026-05-28 14:35:00,034 - INFO - Created VN ctest-vn1-87849674 2026-05-28 14:35:00,092 - DEBUG - VN ctest-vn1-87849674 UUID is 944327d2-a9c8-4098-8567-28817cc40cf5 2026-05-28 14:35:00,473 - DEBUG - Response for create_network : {'network': {'id': 'd1bc8353-724e-4390-9079-866a0c600998', 'name': 'ctest-vn2-54696223', 'tenant_id': '39693d1d507848328f2ecbcb55ff8ac2', 'project_id': '39693d1d507848328f2ecbcb55ff8ac2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-61614886', 'ctest-vn2-54696223'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 14:35:00,690 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a7d280b5-321d-44d9-88cb-3d1fa3b1ee13', 'name': '', 'tenant_id': '39693d1d507848328f2ecbcb55ff8ac2', 'network_id': 'd1bc8353-724e-4390-9079-866a0c600998', 'ip_version': 4, 'cidr': '164.218.165.0/26', 'allocation_pools': [{'start': '164.218.165.2', 'end': '164.218.165.62'}], 'gateway_ip': '164.218.165.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.218.165.2', 'tags': [], 'project_id': '39693d1d507848328f2ecbcb55ff8ac2'}} 2026-05-28 14:35:00,716 - INFO - Created VN ctest-vn2-54696223 2026-05-28 14:35:00,772 - DEBUG - VN ctest-vn2-54696223 UUID is d1bc8353-724e-4390-9079-866a0c600998 2026-05-28 14:35:00,994 - DEBUG - Services list from nova: [, , ] 2026-05-28 14:35:02,248 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5844-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5844-1) 2026-05-28 14:35:03,748 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5844-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5844-1) 2026-05-28 14:35:03,865 - INFO - Adding interface with subnet_id b69b2bbf-8cf7-47f7-a0f3-5202812bd46d, port_id None to router 699cd1d6-6bee-4bd4-bb49-2a83cc53fffa 2026-05-28 14:35:04,301 - INFO - Waiting for VM ctest-vn1-vm1-63850584 to be up.. 2026-05-28 14:35:04,450 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-28 14:35:09,555 - DEBUG - VM is in ACTIVE state now 2026-05-28 14:35:09,555 - INFO - VM name : ctest-vn1-vm1-63850584 2026-05-28 14:35:09,645 - DEBUG - VM ctest-vn1-vm1-63850584 ID is 796815af-4b43-46b6-b771-d9865cf4fe5b 2026-05-28 14:35:09,667 - DEBUG - VM ctest-vn1-vm1-63850584 launched on Node cn-jenkins-deploy-platform-ansible-os-5844-1 2026-05-28 14:35:09,762 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/796815af-4b43-46b6-b771-d9865cf4fe5b 2026-05-28 14:35:10,068 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/796815af-4b43-46b6-b771-d9865cf4fe5b 2026-05-28 14:35:10,115 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/999430a7-0c15-414c-80e5-d27136edea79 2026-05-28 14:35:13,388 - 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 1021ms') 2026-05-28 14:35:13,388 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63850584 failed! 2026-05-28 14:35:13,443 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-61614886:ctest-vn1-87849674 is 89.75.245.193 and allocation pool is NOT set 2026-05-28 14:35:15,506 - 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.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.83 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.829/2.439/3.050/0.610 ms') 2026-05-28 14:35:15,506 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63850584 passed 2026-05-28 14:35:15,660 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 14:35:15,660 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-63850584, IP 89.75.245.195, Port 22 2026-05-28 14:35:15,738 - 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-05-28 14:35:15,858 - DEBUG - VM ctest-vn1-vm1-63850584 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-28 14:35:20,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 14:35:20,860 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-63850584, IP 89.75.245.195, Port 22 2026-05-28 14:35:21,015 - DEBUG - VM ctest-vn1-vm1-63850584 is ready for SSH connections 2026-05-28 14:35:21,015 - INFO - Waiting for VM ctest-vn2-vm1-97372911 to be up.. 2026-05-28 14:35:21,097 - DEBUG - VM is in ACTIVE state now 2026-05-28 14:35:21,097 - INFO - VM name : ctest-vn2-vm1-97372911 2026-05-28 14:35:21,196 - DEBUG - VM ctest-vn2-vm1-97372911 ID is 5767e57b-d7d4-42e7-8434-5924d0ee1a45 2026-05-28 14:35:21,196 - DEBUG - VM ctest-vn2-vm1-97372911 launched on Node cn-jenkins-deploy-platform-ansible-os-5844-1 2026-05-28 14:35:21,295 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/5767e57b-d7d4-42e7-8434-5924d0ee1a45 2026-05-28 14:35:21,307 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/cd89e895-6cce-44df-8b2a-d3b0308597b6 2026-05-28 14:35:22,558 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.506 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.506/1.894/3.282/1.388 ms') 2026-05-28 14:35:22,558 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-97372911 passed 2026-05-28 14:35:22,720 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 14:35:22,720 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-97372911, IP 164.218.165.3, Port 22 2026-05-28 14:35:22,876 - DEBUG - VM ctest-vn2-vm1-97372911 is ready for SSH connections 2026-05-28 14:35:22,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 14:35:22,876 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.218.165.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-05-28 14:35:22,876 - DEBUG - ping -s 56 -c 3 -W 1 164.218.165.3 2026-05-28 14:35:28,043 - DEBUG - PING 164.218.165.3 (164.218.165.3): 56 data bytes --- 164.218.165.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-28 14:35:28,043 - WARNING - Ping to IP 164.218.165.3 from VM ctest-vn1-vm1-63850584 failed 2026-05-28 14:35:28,044 - INFO - Adding interface with subnet_id a7d280b5-321d-44d9-88cb-3d1fa3b1ee13, port_id None to router 699cd1d6-6bee-4bd4-bb49-2a83cc53fffa 2026-05-28 14:35:28,384 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 14:35:28,385 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.218.165.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-05-28 14:35:28,385 - DEBUG - ping -s 56 -c 3 -W 1 164.218.165.3 2026-05-28 14:35:30,639 - DEBUG - PING 164.218.165.3 (164.218.165.3): 56 data bytes 64 bytes from 164.218.165.3: seq=0 ttl=63 time=3.544 ms 64 bytes from 164.218.165.3: seq=1 ttl=63 time=0.983 ms 64 bytes from 164.218.165.3: seq=2 ttl=63 time=1.136 ms --- 164.218.165.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.983/1.887/3.544 ms 2026-05-28 14:35:30,639 - INFO - Ping to IP 164.218.165.3 from VM ctest-vn1-vm1-63850584 passed 2026-05-28 14:35:30,640 - INFO - Deleting interface with subnet_id b69b2bbf-8cf7-47f7-a0f3-5202812bd46d, port_id None from router 699cd1d6-6bee-4bd4-bb49-2a83cc53fffa 2026-05-28 14:35:30,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 14:35:30,776 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.218.165.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-05-28 14:35:30,776 - DEBUG - ping -s 56 -c 3 -W 1 164.218.165.3 2026-05-28 14:35:34,011 - DEBUG - PING 164.218.165.3 (164.218.165.3): 56 data bytes --- 164.218.165.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-28 14:35:34,012 - WARNING - Ping to IP 164.218.165.3 from VM ctest-vn1-vm1-63850584 failed 2026-05-28 14:35:34,012 - INFO - Adding interface with subnet_id b69b2bbf-8cf7-47f7-a0f3-5202812bd46d, port_id None to router 699cd1d6-6bee-4bd4-bb49-2a83cc53fffa 2026-05-28 14:35:34,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 14:35:34,267 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.218.165.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-05-28 14:35:34,268 - DEBUG - ping -s 56 -c 3 -W 1 164.218.165.3 2026-05-28 14:35:36,499 - DEBUG - PING 164.218.165.3 (164.218.165.3): 56 data bytes 64 bytes from 164.218.165.3: seq=0 ttl=63 time=2.172 ms 64 bytes from 164.218.165.3: seq=1 ttl=63 time=1.376 ms 64 bytes from 164.218.165.3: seq=2 ttl=63 time=1.120 ms --- 164.218.165.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.120/1.556/2.172 ms 2026-05-28 14:35:36,500 - INFO - Ping to IP 164.218.165.3 from VM ctest-vn1-vm1-63850584 passed 2026-05-28 14:35:36,500 - INFO - Deleting interface with subnet_id a7d280b5-321d-44d9-88cb-3d1fa3b1ee13, port_id None from router 699cd1d6-6bee-4bd4-bb49-2a83cc53fffa 2026-05-28 14:35:36,660 - INFO - Deleting interface with subnet_id b69b2bbf-8cf7-47f7-a0f3-5202812bd46d, port_id None from router 699cd1d6-6bee-4bd4-bb49-2a83cc53fffa 2026-05-28 14:35:36,912 - INFO - Deleting VM ctest-vn2-vm1-97372911 2026-05-28 14:35:37,009 - INFO - Deleting VM ctest-vn1-vm1-63850584 2026-05-28 14:35:37,103 - INFO - Deleting VN ctest-vn2-54696223 2026-05-28 14:35:37,148 - DEBUG - VN d1bc8353-724e-4390-9079-866a0c600998 still in use: Unable to complete operation on network d1bc8353-724e-4390-9079-866a0c600998. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0b2919cf-a750-4024-99f6-b405be3f004b'] 2026-05-28 14:35:37,148 - WARNING - Deleting VN ctest-vn2-54696223 failed..Will retry 2026-05-28 14:35:39,264 - DEBUG - Response for deleting network () 2026-05-28 14:35:39,265 - INFO - Deleting VN ctest-vn1-87849674 2026-05-28 14:35:39,377 - DEBUG - Response for deleting network () 2026-05-28 14:35:39,635 - DEBUG - No XMPP flaps were noticed during the test
2026-05-28 14:35:39,635 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:41]
2026-05-28 14:35:39,635 - INFO - -------------------------------------------------------------------------------- 2026-05-28 14:35:40,374 - INFO - Deleted project: ctest-TestRouters-61614886, ID : 39693d1d-5078-4832-8f2e-cbcb55ff8ac2