2026-04-23 02:03:34,145 - INFO - Domain Default found not creating 2026-04-23 02:03:34,329 - INFO - Project ctest-TestRouters-67951402 not found, creating it 2026-04-23 02:03:34,835 - INFO - Created Project:ctest-TestRouters-67951402, ID : 22716785-362b-40eb-8425-060803de7b8c 2026-04-23 02:03:36,456 - INFO - ================================================================================ 2026-04-23 02:03:36,456 - INFO - STARTING TEST : test_basic_router_behavior 2026-04-23 02:03:36,456 - 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-04-23 02:03:36,721 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.14': '0'}} with 2026-04-23 02:03:36,721 - INFO - Initial checks done. Running the testcase now 2026-04-23 02:03:36,721 - INFO - 2026-04-23 02:03:37,415 - DEBUG - Response for create_network : {'network': {'id': '00827461-f2e4-461c-9c34-0fc41f9909a9', 'name': 'ctest-vn1-19213117', 'tenant_id': '22716785362b40eb8425060803de7b8c', 'project_id': '22716785362b40eb8425060803de7b8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-67951402', 'ctest-vn1-19213117'], 'port_security_enabled': True, 'description': ''}} 2026-04-23 02:03:37,649 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd1702af1-f26c-4cd8-b331-15cd5b5e1ec3', 'name': '', 'tenant_id': '22716785362b40eb8425060803de7b8c', 'network_id': '00827461-f2e4-461c-9c34-0fc41f9909a9', 'ip_version': 4, 'cidr': '56.190.128.0/26', 'allocation_pools': [{'start': '56.190.128.2', 'end': '56.190.128.62'}], 'gateway_ip': '56.190.128.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.190.128.2', 'tags': [], 'project_id': '22716785362b40eb8425060803de7b8c'}} 2026-04-23 02:03:37,670 - INFO - Created VN ctest-vn1-19213117 2026-04-23 02:03:37,723 - DEBUG - VN ctest-vn1-19213117 UUID is 00827461-f2e4-461c-9c34-0fc41f9909a9 2026-04-23 02:03:38,058 - DEBUG - Response for create_network : {'network': {'id': '46148cd8-842e-41b5-bc26-f94a9d625bbf', 'name': 'ctest-vn2-61733699', 'tenant_id': '22716785362b40eb8425060803de7b8c', 'project_id': '22716785362b40eb8425060803de7b8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-67951402', 'ctest-vn2-61733699'], 'port_security_enabled': True, 'description': ''}} 2026-04-23 02:03:38,233 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3ae77ad-5226-4fc7-a5f6-78aa5047a239', 'name': '', 'tenant_id': '22716785362b40eb8425060803de7b8c', 'network_id': '46148cd8-842e-41b5-bc26-f94a9d625bbf', 'ip_version': 4, 'cidr': '67.173.65.0/26', 'allocation_pools': [{'start': '67.173.65.2', 'end': '67.173.65.62'}], 'gateway_ip': '67.173.65.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.173.65.2', 'tags': [], 'project_id': '22716785362b40eb8425060803de7b8c'}} 2026-04-23 02:03:38,254 - INFO - Created VN ctest-vn2-61733699 2026-04-23 02:03:38,307 - DEBUG - VN ctest-vn2-61733699 UUID is 46148cd8-842e-41b5-bc26-f94a9d625bbf 2026-04-23 02:03:38,511 - DEBUG - Services list from nova: [, , ] 2026-04-23 02:03:39,766 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5673-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5673-1) 2026-04-23 02:03:41,026 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5673-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5673-1) 2026-04-23 02:03:41,101 - INFO - Adding interface with subnet_id d1702af1-f26c-4cd8-b331-15cd5b5e1ec3, port_id None to router bd597033-f8aa-4c1a-b2be-c9b096ce234c 2026-04-23 02:03:41,419 - INFO - Waiting for VM ctest-vn1-vm1-83883277 to be up.. 2026-04-23 02:03:41,523 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-23 02:03:46,620 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-23 02:03:51,707 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-23 02:03:56,800 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-23 02:04:01,895 - DEBUG - VM is in ACTIVE state now 2026-04-23 02:04:01,895 - INFO - VM name : ctest-vn1-vm1-83883277 2026-04-23 02:04:02,006 - DEBUG - VM ctest-vn1-vm1-83883277 ID is 43ccd96c-23b0-4dd5-a600-0473affedd5e 2026-04-23 02:04:02,041 - DEBUG - VM ctest-vn1-vm1-83883277 launched on Node cn-jenkins-deploy-platform-ansible-os-5673-1 2026-04-23 02:04:02,165 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/43ccd96c-23b0-4dd5-a600-0473affedd5e 2026-04-23 02:04:02,471 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/43ccd96c-23b0-4dd5-a600-0473affedd5e 2026-04-23 02:04:02,510 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/199676c1-3f95-4b0c-8176-128d085da452 2026-04-23 02:04:05,763 - 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 1008ms') 2026-04-23 02:04:05,763 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83883277 failed! 2026-04-23 02:04:05,818 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-67951402:ctest-vn1-19213117 is 56.190.128.1 and allocation pool is NOT set 2026-04-23 02:04:07,881 - 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=6.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.501 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.501/3.466/6.431/2.965 ms') 2026-04-23 02:04:07,881 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83883277 passed 2026-04-23 02:04:08,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:04:08,031 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-83883277, IP 56.190.128.3, Port 22 2026-04-23 02:04:08,098 - 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-04-23 02:04:08,202 - DEBUG - VM ctest-vn1-vm1-83883277 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-23 02:04:13,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:04:13,203 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-83883277, IP 56.190.128.3, Port 22 2026-04-23 02:04:13,362 - DEBUG - VM ctest-vn1-vm1-83883277 is ready for SSH connections 2026-04-23 02:04:13,362 - INFO - Waiting for VM ctest-vn2-vm1-38812962 to be up.. 2026-04-23 02:04:13,442 - DEBUG - VM is in ACTIVE state now 2026-04-23 02:04:13,442 - INFO - VM name : ctest-vn2-vm1-38812962 2026-04-23 02:04:13,529 - DEBUG - VM ctest-vn2-vm1-38812962 ID is c1deb27b-bc72-4089-b936-0e95cbe31219 2026-04-23 02:04:13,529 - DEBUG - VM ctest-vn2-vm1-38812962 launched on Node cn-jenkins-deploy-platform-ansible-os-5673-1 2026-04-23 02:04:13,610 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/c1deb27b-bc72-4089-b936-0e95cbe31219 2026-04-23 02:04:13,619 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/b0430eaf-8173-4a15-86b4-11210c1d1014 2026-04-23 02:04:14,871 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.512 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.512/1.903/3.295/1.391 ms') 2026-04-23 02:04:14,871 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-38812962 passed 2026-04-23 02:04:15,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:04:15,027 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-38812962, IP 67.173.65.3, Port 22 2026-04-23 02:04:15,213 - DEBUG - VM ctest-vn2-vm1-38812962 is ready for SSH connections 2026-04-23 02:04:15,213 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:04:15,214 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.173.65.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-04-23 02:04:15,214 - DEBUG - ping -s 56 -c 3 -W 1 67.173.65.3 2026-04-23 02:04:19,924 - DEBUG - PING 67.173.65.3 (67.173.65.3): 56 data bytes --- 67.173.65.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-23 02:04:19,924 - WARNING - Ping to IP 67.173.65.3 from VM ctest-vn1-vm1-83883277 failed 2026-04-23 02:04:19,925 - INFO - Adding interface with subnet_id b3ae77ad-5226-4fc7-a5f6-78aa5047a239, port_id None to router bd597033-f8aa-4c1a-b2be-c9b096ce234c 2026-04-23 02:04:20,228 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:04:20,229 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.173.65.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-04-23 02:04:20,229 - DEBUG - ping -s 56 -c 3 -W 1 67.173.65.3 2026-04-23 02:04:22,468 - DEBUG - PING 67.173.65.3 (67.173.65.3): 56 data bytes 64 bytes from 67.173.65.3: seq=0 ttl=63 time=3.248 ms 64 bytes from 67.173.65.3: seq=1 ttl=63 time=1.377 ms 64 bytes from 67.173.65.3: seq=2 ttl=63 time=1.249 ms --- 67.173.65.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.249/1.958/3.248 ms 2026-04-23 02:04:22,468 - INFO - Ping to IP 67.173.65.3 from VM ctest-vn1-vm1-83883277 passed 2026-04-23 02:04:22,468 - INFO - Deleting interface with subnet_id d1702af1-f26c-4cd8-b331-15cd5b5e1ec3, port_id None from router bd597033-f8aa-4c1a-b2be-c9b096ce234c 2026-04-23 02:04:22,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:04:22,644 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.173.65.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-04-23 02:04:22,645 - DEBUG - ping -s 56 -c 3 -W 1 67.173.65.3 2026-04-23 02:04:25,889 - DEBUG - PING 67.173.65.3 (67.173.65.3): 56 data bytes --- 67.173.65.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-23 02:04:25,889 - WARNING - Ping to IP 67.173.65.3 from VM ctest-vn1-vm1-83883277 failed 2026-04-23 02:04:25,889 - INFO - Adding interface with subnet_id d1702af1-f26c-4cd8-b331-15cd5b5e1ec3, port_id None to router bd597033-f8aa-4c1a-b2be-c9b096ce234c 2026-04-23 02:04:26,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:04:26,131 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.173.65.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-04-23 02:04:26,131 - DEBUG - ping -s 56 -c 3 -W 1 67.173.65.3 2026-04-23 02:04:28,366 - DEBUG - PING 67.173.65.3 (67.173.65.3): 56 data bytes 64 bytes from 67.173.65.3: seq=0 ttl=63 time=2.832 ms 64 bytes from 67.173.65.3: seq=1 ttl=63 time=1.103 ms 64 bytes from 67.173.65.3: seq=2 ttl=63 time=1.592 ms --- 67.173.65.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.103/1.842/2.832 ms 2026-04-23 02:04:28,366 - INFO - Ping to IP 67.173.65.3 from VM ctest-vn1-vm1-83883277 passed 2026-04-23 02:04:28,366 - INFO - Deleting interface with subnet_id b3ae77ad-5226-4fc7-a5f6-78aa5047a239, port_id None from router bd597033-f8aa-4c1a-b2be-c9b096ce234c 2026-04-23 02:04:28,518 - INFO - Deleting interface with subnet_id d1702af1-f26c-4cd8-b331-15cd5b5e1ec3, port_id None from router bd597033-f8aa-4c1a-b2be-c9b096ce234c 2026-04-23 02:04:28,742 - INFO - Deleting VM ctest-vn2-vm1-38812962 2026-04-23 02:04:28,824 - INFO - Deleting VM ctest-vn1-vm1-83883277 2026-04-23 02:04:28,905 - INFO - Deleting VN ctest-vn2-61733699 2026-04-23 02:04:28,950 - DEBUG - VN 46148cd8-842e-41b5-bc26-f94a9d625bbf still in use: Unable to complete operation on network 46148cd8-842e-41b5-bc26-f94a9d625bbf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bb72c13a-3e15-4372-b8b7-d970dfd46847'] 2026-04-23 02:04:28,950 - WARNING - Deleting VN ctest-vn2-61733699 failed..Will retry 2026-04-23 02:04:31,067 - DEBUG - Response for deleting network () 2026-04-23 02:04:31,068 - INFO - Deleting VN ctest-vn1-19213117 2026-04-23 02:04:31,195 - DEBUG - Response for deleting network () 2026-04-23 02:04:31,465 - DEBUG - No XMPP flaps were noticed during the test 2026-04-23 02:04:31,465 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:55] 2026-04-23 02:04:31,465 - INFO - -------------------------------------------------------------------------------- 2026-04-23 02:04:32,172 - INFO - Deleted project: ctest-TestRouters-67951402, ID : 22716785-362b-40eb-8425-060803de7b8c