2026-01-08 01:58:43,078 - INFO - Domain Default found not creating 2026-01-08 01:58:43,264 - INFO - Project ctest-TestRouters-23436760 not found, creating it 2026-01-08 01:58:43,750 - INFO - Created Project:ctest-TestRouters-23436760, ID : f7aa2267-f2bd-4678-bc82-93a5ff6e60a8 2026-01-08 01:58:45,308 - INFO - ================================================================================ 2026-01-08 01:58:45,308 - INFO - STARTING TEST : test_basic_router_behavior 2026-01-08 01:58:45,308 - 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-01-08 01:58:45,576 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2026-01-08 01:58:45,576 - INFO - Initial checks done. Running the testcase now 2026-01-08 01:58:45,576 - INFO - 2026-01-08 01:58:46,158 - DEBUG - Response for create_network : {'network': {'id': '19664bdc-e289-475d-bc41-34b756219f7d', 'name': 'ctest-vn1-74953573', 'tenant_id': 'f7aa2267f2bd4678bc8293a5ff6e60a8', 'project_id': 'f7aa2267f2bd4678bc8293a5ff6e60a8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-23436760', 'ctest-vn1-74953573'], 'port_security_enabled': True, 'description': ''}} 2026-01-08 01:58:46,329 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f26d56a0-bae0-497e-9e5d-9565b9b7b1e5', 'name': '', 'tenant_id': 'f7aa2267f2bd4678bc8293a5ff6e60a8', 'network_id': '19664bdc-e289-475d-bc41-34b756219f7d', 'ip_version': 4, 'cidr': '94.215.158.192/26', 'allocation_pools': [{'start': '94.215.158.194', 'end': '94.215.158.254'}], 'gateway_ip': '94.215.158.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.215.158.194', 'tags': [], 'project_id': 'f7aa2267f2bd4678bc8293a5ff6e60a8'}} 2026-01-08 01:58:46,345 - INFO - Created VN ctest-vn1-74953573 2026-01-08 01:58:46,399 - DEBUG - VN ctest-vn1-74953573 UUID is 19664bdc-e289-475d-bc41-34b756219f7d 2026-01-08 01:58:46,707 - DEBUG - Response for create_network : {'network': {'id': 'cec60b9e-ea4f-4895-8df9-08f41380d089', 'name': 'ctest-vn2-03981434', 'tenant_id': 'f7aa2267f2bd4678bc8293a5ff6e60a8', 'project_id': 'f7aa2267f2bd4678bc8293a5ff6e60a8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-23436760', 'ctest-vn2-03981434'], 'port_security_enabled': True, 'description': ''}} 2026-01-08 01:58:46,931 - DEBUG - Response for create_subnet : {'subnet': {'id': '7a966649-7674-44d6-a298-1c8db03fb195', 'name': '', 'tenant_id': 'f7aa2267f2bd4678bc8293a5ff6e60a8', 'network_id': 'cec60b9e-ea4f-4895-8df9-08f41380d089', 'ip_version': 4, 'cidr': '137.16.54.128/26', 'allocation_pools': [{'start': '137.16.54.130', 'end': '137.16.54.190'}], 'gateway_ip': '137.16.54.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.16.54.130', 'tags': [], 'project_id': 'f7aa2267f2bd4678bc8293a5ff6e60a8'}} 2026-01-08 01:58:46,946 - INFO - Created VN ctest-vn2-03981434 2026-01-08 01:58:46,999 - DEBUG - VN ctest-vn2-03981434 UUID is cec60b9e-ea4f-4895-8df9-08f41380d089 2026-01-08 01:58:47,206 - DEBUG - Services list from nova: [, , ] 2026-01-08 01:58:48,369 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4979-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4979-1) 2026-01-08 01:58:49,511 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4979-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4979-1) 2026-01-08 01:58:49,584 - INFO - Adding interface with subnet_id f26d56a0-bae0-497e-9e5d-9565b9b7b1e5, port_id None to router dd537ac2-1a4d-49e8-a441-7d9929b96af4 2026-01-08 01:58:49,865 - INFO - Waiting for VM ctest-vn1-vm1-31423778 to be up.. 2026-01-08 01:58:49,970 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-08 01:58:55,039 - DEBUG - VM is in ACTIVE state now 2026-01-08 01:58:55,039 - INFO - VM name : ctest-vn1-vm1-31423778 2026-01-08 01:58:55,109 - DEBUG - VM ctest-vn1-vm1-31423778 ID is 8d55441c-8c6e-4b1d-a1bf-47d3abba47a5 2026-01-08 01:58:55,128 - DEBUG - VM ctest-vn1-vm1-31423778 launched on Node cn-jenkins-deploy-platform-ansible-os-4979-1 2026-01-08 01:58:55,206 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/8d55441c-8c6e-4b1d-a1bf-47d3abba47a5 2026-01-08 01:58:55,500 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/8d55441c-8c6e-4b1d-a1bf-47d3abba47a5 2026-01-08 01:58:55,531 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/d4c38218-a464-4fc8-b415-1d54a6732bf4 2026-01-08 01:58:58,779 - 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 1011ms') 2026-01-08 01:58:58,779 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-31423778 failed! 2026-01-08 01:58:58,831 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-23436760:ctest-vn1-74953573 is 94.215.158.193 and allocation pool is NOT set 2026-01-08 01:59:00,895 - 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.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.27 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.265/2.208/3.152/0.943 ms') 2026-01-08 01:59:00,895 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-31423778 passed 2026-01-08 01:59:01,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 01:59:01,067 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-31423778, IP 94.215.158.195, Port 22 2026-01-08 01:59:01,126 - 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-01-08 01:59:01,205 - DEBUG - VM ctest-vn1-vm1-31423778 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-08 01:59:06,205 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 01:59:06,206 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-31423778, IP 94.215.158.195, Port 22 2026-01-08 01:59:06,373 - DEBUG - VM ctest-vn1-vm1-31423778 is ready for SSH connections 2026-01-08 01:59:06,373 - INFO - Waiting for VM ctest-vn2-vm1-98663050 to be up.. 2026-01-08 01:59:06,444 - DEBUG - VM is in ACTIVE state now 2026-01-08 01:59:06,444 - INFO - VM name : ctest-vn2-vm1-98663050 2026-01-08 01:59:06,514 - DEBUG - VM ctest-vn2-vm1-98663050 ID is c8899f94-71fa-4f4a-b739-2499dc9c5493 2026-01-08 01:59:06,515 - DEBUG - VM ctest-vn2-vm1-98663050 launched on Node cn-jenkins-deploy-platform-ansible-os-4979-1 2026-01-08 01:59:06,587 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/c8899f94-71fa-4f4a-b739-2499dc9c5493 2026-01-08 01:59:06,595 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/3389d6b1-1cdd-427d-8bb7-388f3e2aaa04 2026-01-08 01:59:07,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=2.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.378 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 = 0.378/1.529/2.680/1.151 ms') 2026-01-08 01:59:07,834 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-98663050 passed 2026-01-08 01:59:07,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 01:59:07,983 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-98663050, IP 137.16.54.131, Port 22 2026-01-08 01:59:08,150 - DEBUG - VM ctest-vn2-vm1-98663050 is ready for SSH connections 2026-01-08 01:59:08,151 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 01:59:08,151 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.16.54.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-01-08 01:59:08,151 - DEBUG - ping -s 56 -c 3 -W 1 137.16.54.131 2026-01-08 01:59:12,812 - DEBUG - PING 137.16.54.131 (137.16.54.131): 56 data bytes --- 137.16.54.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-08 01:59:12,812 - WARNING - Ping to IP 137.16.54.131 from VM ctest-vn1-vm1-31423778 failed 2026-01-08 01:59:12,812 - INFO - Adding interface with subnet_id 7a966649-7674-44d6-a298-1c8db03fb195, port_id None to router dd537ac2-1a4d-49e8-a441-7d9929b96af4 2026-01-08 01:59:13,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 01:59:13,046 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.16.54.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-01-08 01:59:13,046 - DEBUG - ping -s 56 -c 3 -W 1 137.16.54.131 2026-01-08 01:59:16,245 - DEBUG - PING 137.16.54.131 (137.16.54.131): 56 data bytes 64 bytes from 137.16.54.131: seq=1 ttl=63 time=2.757 ms 64 bytes from 137.16.54.131: seq=2 ttl=63 time=0.825 ms --- 137.16.54.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.825/1.791/2.757 ms 2026-01-08 01:59:16,245 - WARNING - Ping to IP 137.16.54.131 from VM ctest-vn1-vm1-31423778 failed 2026-01-08 01:59:17,245 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.16.54.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-01-08 01:59:17,246 - DEBUG - ping -s 56 -c 3 -W 1 137.16.54.131 2026-01-08 01:59:19,462 - DEBUG - PING 137.16.54.131 (137.16.54.131): 56 data bytes 64 bytes from 137.16.54.131: seq=0 ttl=63 time=1.641 ms 64 bytes from 137.16.54.131: seq=1 ttl=63 time=1.062 ms 64 bytes from 137.16.54.131: seq=2 ttl=63 time=1.069 ms --- 137.16.54.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.062/1.257/1.641 ms 2026-01-08 01:59:19,463 - INFO - Ping to IP 137.16.54.131 from VM ctest-vn1-vm1-31423778 passed 2026-01-08 01:59:19,463 - INFO - Deleting interface with subnet_id f26d56a0-bae0-497e-9e5d-9565b9b7b1e5, port_id None from router dd537ac2-1a4d-49e8-a441-7d9929b96af4 2026-01-08 01:59:19,649 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 01:59:19,649 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.16.54.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-01-08 01:59:19,649 - DEBUG - ping -s 56 -c 3 -W 1 137.16.54.131 2026-01-08 01:59:22,854 - DEBUG - PING 137.16.54.131 (137.16.54.131): 56 data bytes --- 137.16.54.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-08 01:59:22,854 - WARNING - Ping to IP 137.16.54.131 from VM ctest-vn1-vm1-31423778 failed 2026-01-08 01:59:22,854 - INFO - Adding interface with subnet_id f26d56a0-bae0-497e-9e5d-9565b9b7b1e5, port_id None to router dd537ac2-1a4d-49e8-a441-7d9929b96af4 2026-01-08 01:59:23,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 01:59:23,061 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.16.54.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-01-08 01:59:23,061 - DEBUG - ping -s 56 -c 3 -W 1 137.16.54.131 2026-01-08 01:59:25,267 - DEBUG - PING 137.16.54.131 (137.16.54.131): 56 data bytes 64 bytes from 137.16.54.131: seq=0 ttl=63 time=1.485 ms 64 bytes from 137.16.54.131: seq=1 ttl=63 time=0.775 ms 64 bytes from 137.16.54.131: seq=2 ttl=63 time=0.992 ms --- 137.16.54.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.775/1.084/1.485 ms 2026-01-08 01:59:25,267 - INFO - Ping to IP 137.16.54.131 from VM ctest-vn1-vm1-31423778 passed 2026-01-08 01:59:25,267 - INFO - Deleting interface with subnet_id 7a966649-7674-44d6-a298-1c8db03fb195, port_id None from router dd537ac2-1a4d-49e8-a441-7d9929b96af4 2026-01-08 01:59:25,368 - INFO - Deleting interface with subnet_id f26d56a0-bae0-497e-9e5d-9565b9b7b1e5, port_id None from router dd537ac2-1a4d-49e8-a441-7d9929b96af4 2026-01-08 01:59:25,528 - INFO - Deleting VM ctest-vn2-vm1-98663050 2026-01-08 01:59:25,591 - INFO - Deleting VM ctest-vn1-vm1-31423778 2026-01-08 01:59:25,655 - INFO - Deleting VN ctest-vn2-03981434 2026-01-08 01:59:25,689 - DEBUG - VN cec60b9e-ea4f-4895-8df9-08f41380d089 still in use: Unable to complete operation on network cec60b9e-ea4f-4895-8df9-08f41380d089. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-67274a44-bb21-4c35-9265-081c784184dd'] 2026-01-08 01:59:25,689 - WARNING - Deleting VN ctest-vn2-03981434 failed..Will retry 2026-01-08 01:59:27,777 - DEBUG - Response for deleting network () 2026-01-08 01:59:27,778 - INFO - Deleting VN ctest-vn1-74953573 2026-01-08 01:59:27,866 - DEBUG - Response for deleting network () 2026-01-08 01:59:28,119 - DEBUG - No XMPP flaps were noticed during the test 2026-01-08 01:59:28,119 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:43] 2026-01-08 01:59:28,119 - INFO - -------------------------------------------------------------------------------- 2026-01-08 01:59:28,775 - INFO - Deleted project: ctest-TestRouters-23436760, ID : f7aa2267-f2bd-4678-bc82-93a5ff6e60a8