2026-08-14 14:30:06,554 - INFO - Domain Default found not creating 2026-08-14 14:30:06,717 - INFO - Project ctest-TestRouters-96128830 not found, creating it 2026-08-14 14:30:07,210 - INFO - Created Project:ctest-TestRouters-96128830, ID : e7411ea1-9a1f-4af2-862f-f5097133d0fd 2026-08-14 14:30:08,844 - INFO - ================================================================================ 2026-08-14 14:30:08,844 - INFO - STARTING TEST : test_basic_router_behavior 2026-08-14 14:30:08,844 - 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-08-14 14:30:09,106 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.25': '0'}} with 2026-08-14 14:30:09,106 - INFO - Initial checks done. Running the testcase now 2026-08-14 14:30:09,106 - INFO - 2026-08-14 14:30:09,723 - DEBUG - Response for create_network : {'network': {'id': 'd18a9f87-ea01-4499-96a2-5470c224d6b7', 'name': 'ctest-vn1-49991639', 'tenant_id': 'e7411ea19a1f4af2862ff5097133d0fd', 'project_id': 'e7411ea19a1f4af2862ff5097133d0fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-96128830', 'ctest-vn1-49991639'], 'port_security_enabled': True, 'description': ''}} 2026-08-14 14:30:09,915 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d87a73d-c6f3-4659-9914-40b1fe270327', 'name': '', 'tenant_id': 'e7411ea19a1f4af2862ff5097133d0fd', 'network_id': 'd18a9f87-ea01-4499-96a2-5470c224d6b7', 'ip_version': 4, 'cidr': '129.244.4.64/26', 'allocation_pools': [{'start': '129.244.4.66', 'end': '129.244.4.126'}], 'gateway_ip': '129.244.4.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.244.4.66', 'tags': [], 'project_id': 'e7411ea19a1f4af2862ff5097133d0fd'}} 2026-08-14 14:30:09,932 - INFO - Created VN ctest-vn1-49991639 2026-08-14 14:30:09,983 - DEBUG - VN ctest-vn1-49991639 UUID is d18a9f87-ea01-4499-96a2-5470c224d6b7 2026-08-14 14:30:10,320 - DEBUG - Response for create_network : {'network': {'id': '3f00bd65-cbe5-453e-8aee-f5daf8993198', 'name': 'ctest-vn2-23379006', 'tenant_id': 'e7411ea19a1f4af2862ff5097133d0fd', 'project_id': 'e7411ea19a1f4af2862ff5097133d0fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-96128830', 'ctest-vn2-23379006'], 'port_security_enabled': True, 'description': ''}} 2026-08-14 14:30:10,489 - DEBUG - Response for create_subnet : {'subnet': {'id': '66a607b0-01ab-4ccb-b820-1bd448ef6815', 'name': '', 'tenant_id': 'e7411ea19a1f4af2862ff5097133d0fd', 'network_id': '3f00bd65-cbe5-453e-8aee-f5daf8993198', 'ip_version': 4, 'cidr': '19.12.34.64/26', 'allocation_pools': [{'start': '19.12.34.66', 'end': '19.12.34.126'}], 'gateway_ip': '19.12.34.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.12.34.66', 'tags': [], 'project_id': 'e7411ea19a1f4af2862ff5097133d0fd'}} 2026-08-14 14:30:10,510 - INFO - Created VN ctest-vn2-23379006 2026-08-14 14:30:10,567 - DEBUG - VN ctest-vn2-23379006 UUID is 3f00bd65-cbe5-453e-8aee-f5daf8993198 2026-08-14 14:30:10,877 - DEBUG - Services list from nova: [, , ] 2026-08-14 14:30:11,270 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6163-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6163-1) 2026-08-14 14:30:11,849 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6163-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6163-1) 2026-08-14 14:30:11,919 - INFO - Adding interface with subnet_id 4d87a73d-c6f3-4659-9914-40b1fe270327, port_id None to router d82c9aa5-9927-4d2f-a186-fab838315f95 2026-08-14 14:30:12,186 - INFO - Waiting for VM ctest-vn1-vm1-69647655 to be up.. 2026-08-14 14:30:12,246 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 14:30:17,297 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 14:30:22,375 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 14:30:27,450 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 14:30:32,533 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 14:30:37,617 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 14:30:42,695 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 14:30:47,776 - DEBUG - VM is in ACTIVE state now 2026-08-14 14:30:47,776 - INFO - VM name : ctest-vn1-vm1-69647655 2026-08-14 14:30:47,860 - DEBUG - VM ctest-vn1-vm1-69647655 ID is 5803ff57-2608-4b9e-8604-a86f5e65c065 2026-08-14 14:30:47,883 - DEBUG - VM ctest-vn1-vm1-69647655 launched on Node cn-jenkins-deploy-platform-ansible-os-6163-1 2026-08-14 14:30:47,959 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/5803ff57-2608-4b9e-8604-a86f5e65c065 2026-08-14 14:30:48,284 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/5803ff57-2608-4b9e-8604-a86f5e65c065 2026-08-14 14:30:48,315 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/2659e548-aec5-4ec7-a9cb-2b279f12a2ed 2026-08-14 14:30:51,571 - 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-08-14 14:30:51,571 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-69647655 failed! 2026-08-14 14:30:51,627 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-96128830:ctest-vn1-49991639 is 129.244.4.65 and allocation pool is NOT set 2026-08-14 14:30:53,688 - 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=7.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.515 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.515/4.174/7.834/3.659 ms') 2026-08-14 14:30:53,688 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-69647655 passed 2026-08-14 14:30:53,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 14:30:53,843 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-69647655, IP 129.244.4.67, Port 22 2026-08-14 14:30:53,998 - DEBUG - VM ctest-vn1-vm1-69647655 is ready for SSH connections 2026-08-14 14:30:53,998 - INFO - Waiting for VM ctest-vn2-vm1-58710006 to be up.. 2026-08-14 14:30:54,079 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 14:30:59,154 - DEBUG - VM is in ACTIVE state now 2026-08-14 14:30:59,154 - INFO - VM name : ctest-vn2-vm1-58710006 2026-08-14 14:30:59,225 - DEBUG - VM ctest-vn2-vm1-58710006 ID is 604852dc-804d-4734-ae1d-8420d837180a 2026-08-14 14:30:59,225 - DEBUG - VM ctest-vn2-vm1-58710006 launched on Node cn-jenkins-deploy-platform-ansible-os-6163-1 2026-08-14 14:30:59,298 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/604852dc-804d-4734-ae1d-8420d837180a 2026-08-14 14:30:59,308 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/d8076673-38d0-4b03-a9f3-8c016868ee74 2026-08-14 14:31:00,556 - 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=9.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.20 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 3.198/6.547/9.896/3.349 ms') 2026-08-14 14:31:00,556 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-58710006 passed 2026-08-14 14:31:00,707 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 14:31:00,707 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-58710006, IP 19.12.34.67, Port 22 2026-08-14 14:31:00,774 - 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-08-14 14:31:00,854 - DEBUG - VM ctest-vn2-vm1-58710006 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-14 14:31:05,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 14:31:05,855 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-58710006, IP 19.12.34.67, Port 22 2026-08-14 14:31:06,011 - DEBUG - VM ctest-vn2-vm1-58710006 is ready for SSH connections 2026-08-14 14:31:06,011 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 14:31:06,011 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.12.34.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-08-14 14:31:06,012 - DEBUG - ping -s 56 -c 3 -W 1 19.12.34.67 2026-08-14 14:31:10,954 - DEBUG - PING 19.12.34.67 (19.12.34.67): 56 data bytes --- 19.12.34.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-08-14 14:31:10,954 - WARNING - Ping to IP 19.12.34.67 from VM ctest-vn1-vm1-69647655 failed 2026-08-14 14:31:10,954 - INFO - Adding interface with subnet_id 66a607b0-01ab-4ccb-b820-1bd448ef6815, port_id None to router d82c9aa5-9927-4d2f-a186-fab838315f95 2026-08-14 14:31:11,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 14:31:11,204 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.12.34.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-08-14 14:31:11,204 - DEBUG - ping -s 56 -c 3 -W 1 19.12.34.67 2026-08-14 14:31:14,328 - DEBUG - PING 19.12.34.67 (19.12.34.67): 56 data bytes 64 bytes from 19.12.34.67: seq=1 ttl=63 time=3.160 ms 64 bytes from 19.12.34.67: seq=2 ttl=63 time=0.866 ms --- 19.12.34.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.866/2.013/3.160 ms 2026-08-14 14:31:14,328 - WARNING - Ping to IP 19.12.34.67 from VM ctest-vn1-vm1-69647655 failed 2026-08-14 14:31:15,329 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.12.34.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-08-14 14:31:15,329 - DEBUG - ping -s 56 -c 3 -W 1 19.12.34.67 2026-08-14 14:31:17,449 - DEBUG - PING 19.12.34.67 (19.12.34.67): 56 data bytes 64 bytes from 19.12.34.67: seq=0 ttl=63 time=2.072 ms 64 bytes from 19.12.34.67: seq=1 ttl=63 time=0.902 ms 64 bytes from 19.12.34.67: seq=2 ttl=63 time=1.109 ms --- 19.12.34.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.902/1.361/2.072 ms 2026-08-14 14:31:17,450 - INFO - Ping to IP 19.12.34.67 from VM ctest-vn1-vm1-69647655 passed 2026-08-14 14:31:17,450 - INFO - Deleting interface with subnet_id 4d87a73d-c6f3-4659-9914-40b1fe270327, port_id None from router d82c9aa5-9927-4d2f-a186-fab838315f95 2026-08-14 14:31:17,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 14:31:17,584 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.12.34.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-08-14 14:31:17,584 - DEBUG - ping -s 56 -c 3 -W 1 19.12.34.67 2026-08-14 14:31:20,707 - DEBUG - PING 19.12.34.67 (19.12.34.67): 56 data bytes --- 19.12.34.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-08-14 14:31:20,707 - WARNING - Ping to IP 19.12.34.67 from VM ctest-vn1-vm1-69647655 failed 2026-08-14 14:31:20,707 - INFO - Adding interface with subnet_id 4d87a73d-c6f3-4659-9914-40b1fe270327, port_id None to router d82c9aa5-9927-4d2f-a186-fab838315f95 2026-08-14 14:31:20,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 14:31:20,933 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.12.34.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-08-14 14:31:20,933 - DEBUG - ping -s 56 -c 3 -W 1 19.12.34.67 2026-08-14 14:31:23,063 - DEBUG - PING 19.12.34.67 (19.12.34.67): 56 data bytes 64 bytes from 19.12.34.67: seq=0 ttl=63 time=1.499 ms 64 bytes from 19.12.34.67: seq=1 ttl=63 time=0.959 ms 64 bytes from 19.12.34.67: seq=2 ttl=63 time=0.844 ms --- 19.12.34.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.844/1.100/1.499 ms 2026-08-14 14:31:23,063 - INFO - Ping to IP 19.12.34.67 from VM ctest-vn1-vm1-69647655 passed 2026-08-14 14:31:23,063 - INFO - Deleting interface with subnet_id 66a607b0-01ab-4ccb-b820-1bd448ef6815, port_id None from router d82c9aa5-9927-4d2f-a186-fab838315f95 2026-08-14 14:31:23,186 - INFO - Deleting interface with subnet_id 4d87a73d-c6f3-4659-9914-40b1fe270327, port_id None from router d82c9aa5-9927-4d2f-a186-fab838315f95 2026-08-14 14:31:23,386 - INFO - Deleting VM ctest-vn2-vm1-58710006 2026-08-14 14:31:23,460 - INFO - Deleting VM ctest-vn1-vm1-69647655 2026-08-14 14:31:23,528 - INFO - Deleting VN ctest-vn2-23379006 2026-08-14 14:31:23,565 - DEBUG - VN 3f00bd65-cbe5-453e-8aee-f5daf8993198 still in use: Unable to complete operation on network 3f00bd65-cbe5-453e-8aee-f5daf8993198. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1516fba9-7127-4b1c-ab0f-7830942e5c48'] 2026-08-14 14:31:23,566 - WARNING - Deleting VN ctest-vn2-23379006 failed..Will retry 2026-08-14 14:31:25,605 - DEBUG - VN 3f00bd65-cbe5-453e-8aee-f5daf8993198 still in use: Unable to complete operation on network 3f00bd65-cbe5-453e-8aee-f5daf8993198. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-81e0d610-7462-41b6-b295-a141e3dbc1c7'] 2026-08-14 14:31:25,605 - WARNING - Deleting VN ctest-vn2-23379006 failed..Will retry 2026-08-14 14:31:27,728 - DEBUG - Response for deleting network () 2026-08-14 14:31:27,728 - INFO - Deleting VN ctest-vn1-49991639 2026-08-14 14:31:27,856 - DEBUG - Response for deleting network () 2026-08-14 14:31:28,118 - DEBUG - No XMPP flaps were noticed during the test 2026-08-14 14:31:28,118 - INFO - END TEST : test_basic_router_behavior : PASSED[0:01:20] 2026-08-14 14:31:28,118 - INFO - -------------------------------------------------------------------------------- 2026-08-14 14:31:28,883 - INFO - Deleted project: ctest-TestRouters-96128830, ID : e7411ea1-9a1f-4af2-862f-f5097133d0fd