2025-10-23 23:37:20,492 - INFO - Domain Default found not creating 2025-10-23 23:37:20,685 - INFO - Project ctest-TestRouters-33459369 not found, creating it 2025-10-23 23:37:21,200 - INFO - Created Project:ctest-TestRouters-33459369, ID : 86d70aee-316d-42a0-bf93-5c80acc1a0a7 2025-10-23 23:37:23,199 - INFO - ================================================================================ 2025-10-23 23:37:23,199 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-23 23:37:23,200 - 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 2025-10-23 23:37:23,468 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2025-10-23 23:37:23,468 - INFO - Initial checks done. Running the testcase now 2025-10-23 23:37:23,468 - INFO - 2025-10-23 23:37:24,201 - DEBUG - Response for create_network : {'network': {'id': '073e41c6-594a-441d-9c57-9db3ff09ec9a', 'name': 'ctest-vn1-30272969', 'tenant_id': '86d70aee316d42a0bf935c80acc1a0a7', 'project_id': '86d70aee316d42a0bf935c80acc1a0a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-33459369', 'ctest-vn1-30272969'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 23:37:24,443 - DEBUG - Response for create_subnet : {'subnet': {'id': '22a80611-c5e2-4ddd-8db2-af1ede7e286a', 'name': '', 'tenant_id': '86d70aee316d42a0bf935c80acc1a0a7', 'network_id': '073e41c6-594a-441d-9c57-9db3ff09ec9a', 'ip_version': 4, 'cidr': '182.199.153.64/26', 'allocation_pools': [{'start': '182.199.153.66', 'end': '182.199.153.126'}], 'gateway_ip': '182.199.153.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.199.153.66', 'tags': [], 'project_id': '86d70aee316d42a0bf935c80acc1a0a7'}} 2025-10-23 23:37:24,462 - INFO - Created VN ctest-vn1-30272969 2025-10-23 23:37:24,520 - DEBUG - VN ctest-vn1-30272969 UUID is 073e41c6-594a-441d-9c57-9db3ff09ec9a 2025-10-23 23:37:24,858 - DEBUG - Response for create_network : {'network': {'id': '29d5cb70-6c7a-46c3-9698-d79e71fae94a', 'name': 'ctest-vn2-47906938', 'tenant_id': '86d70aee316d42a0bf935c80acc1a0a7', 'project_id': '86d70aee316d42a0bf935c80acc1a0a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-33459369', 'ctest-vn2-47906938'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 23:37:25,060 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f0cfa315-2ff6-4e2a-b9ef-4b19aea1e058', 'name': '', 'tenant_id': '86d70aee316d42a0bf935c80acc1a0a7', 'network_id': '29d5cb70-6c7a-46c3-9698-d79e71fae94a', 'ip_version': 4, 'cidr': '174.94.98.192/26', 'allocation_pools': [{'start': '174.94.98.194', 'end': '174.94.98.254'}], 'gateway_ip': '174.94.98.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.94.98.194', 'tags': [], 'project_id': '86d70aee316d42a0bf935c80acc1a0a7'}} 2025-10-23 23:37:25,078 - INFO - Created VN ctest-vn2-47906938 2025-10-23 23:37:25,132 - DEBUG - VN ctest-vn2-47906938 UUID is 29d5cb70-6c7a-46c3-9698-d79e71fae94a 2025-10-23 23:37:25,309 - DEBUG - Services list from nova: [, , ] 2025-10-23 23:37:26,472 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4471-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4471-1) 2025-10-23 23:37:27,913 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4471-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4471-1) 2025-10-23 23:37:28,029 - INFO - Adding interface with subnet_id 22a80611-c5e2-4ddd-8db2-af1ede7e286a, port_id None to router ed5e0091-59bd-4fce-b1e0-dd4c207c3a48 2025-10-23 23:37:28,365 - INFO - Waiting for VM ctest-vn1-vm1-67921307 to be up.. 2025-10-23 23:37:28,476 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 23:37:33,584 - DEBUG - VM is in ACTIVE state now 2025-10-23 23:37:33,585 - INFO - VM name : ctest-vn1-vm1-67921307 2025-10-23 23:37:33,683 - DEBUG - VM ctest-vn1-vm1-67921307 ID is e4712928-21f3-4e2a-b166-6ebfca9a82d0 2025-10-23 23:37:33,711 - DEBUG - VM ctest-vn1-vm1-67921307 launched on Node cn-jenkins-deploy-platform-ansible-os-4471-1 2025-10-23 23:37:33,807 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/e4712928-21f3-4e2a-b166-6ebfca9a82d0 2025-10-23 23:37:34,149 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/e4712928-21f3-4e2a-b166-6ebfca9a82d0 2025-10-23 23:37:34,183 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/379925a4-e94f-4d2d-a042-9c452f7573d8 2025-10-23 23:37:37,450 - 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 1018ms') 2025-10-23 23:37:37,450 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67921307 failed! 2025-10-23 23:37:37,508 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-33459369:ctest-vn1-30272969 is 182.199.153.65 and allocation pool is NOT set 2025-10-23 23:37:39,573 - 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=4.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.804 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.804/2.889/4.975/2.085 ms') 2025-10-23 23:37:39,573 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67921307 passed 2025-10-23 23:37:39,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 23:37:39,732 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-67921307, IP 182.199.153.67, Port 22 2025-10-23 23:37:39,887 - DEBUG - VM ctest-vn1-vm1-67921307 is ready for SSH connections 2025-10-23 23:37:39,887 - INFO - Waiting for VM ctest-vn2-vm1-29991133 to be up.. 2025-10-23 23:37:39,999 - DEBUG - VM is in ACTIVE state now 2025-10-23 23:37:39,999 - INFO - VM name : ctest-vn2-vm1-29991133 2025-10-23 23:37:40,101 - DEBUG - VM ctest-vn2-vm1-29991133 ID is 82b759b1-7815-450b-bbee-534e3ebde31e 2025-10-23 23:37:40,101 - DEBUG - VM ctest-vn2-vm1-29991133 launched on Node cn-jenkins-deploy-platform-ansible-os-4471-1 2025-10-23 23:37:40,192 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/82b759b1-7815-450b-bbee-534e3ebde31e 2025-10-23 23:37:40,202 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/c6ace45f-360f-4494-bff5-82daa731a3a3 2025-10-23 23:37:41,450 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.52 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.520/3.678/3.837/0.158 ms') 2025-10-23 23:37:41,450 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-29991133 passed 2025-10-23 23:37:41,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 23:37:41,600 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-29991133, IP 174.94.98.195, Port 22 2025-10-23 23:37:41,756 - DEBUG - VM ctest-vn2-vm1-29991133 is ready for SSH connections 2025-10-23 23:37:41,756 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 23:37:41,756 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.94.98.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-23 23:37:41,756 - DEBUG - ping -s 56 -c 3 -W 1 174.94.98.195 2025-10-23 23:37:46,858 - DEBUG - PING 174.94.98.195 (174.94.98.195): 56 data bytes --- 174.94.98.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 23:37:46,858 - WARNING - Ping to IP 174.94.98.195 from VM ctest-vn1-vm1-67921307 failed 2025-10-23 23:37:46,858 - INFO - Adding interface with subnet_id f0cfa315-2ff6-4e2a-b9ef-4b19aea1e058, port_id None to router ed5e0091-59bd-4fce-b1e0-dd4c207c3a48 2025-10-23 23:37:47,137 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 23:37:47,138 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.94.98.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-23 23:37:47,138 - DEBUG - ping -s 56 -c 3 -W 1 174.94.98.195 2025-10-23 23:37:50,384 - DEBUG - PING 174.94.98.195 (174.94.98.195): 56 data bytes 64 bytes from 174.94.98.195: seq=1 ttl=63 time=3.344 ms 64 bytes from 174.94.98.195: seq=2 ttl=63 time=1.205 ms --- 174.94.98.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.205/2.274/3.344 ms 2025-10-23 23:37:50,385 - WARNING - Ping to IP 174.94.98.195 from VM ctest-vn1-vm1-67921307 failed 2025-10-23 23:37:51,385 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.94.98.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-23 23:37:51,385 - DEBUG - ping -s 56 -c 3 -W 1 174.94.98.195 2025-10-23 23:37:53,626 - DEBUG - PING 174.94.98.195 (174.94.98.195): 56 data bytes 64 bytes from 174.94.98.195: seq=0 ttl=63 time=1.789 ms 64 bytes from 174.94.98.195: seq=1 ttl=63 time=0.856 ms 64 bytes from 174.94.98.195: seq=2 ttl=63 time=1.084 ms --- 174.94.98.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.856/1.243/1.789 ms 2025-10-23 23:37:53,626 - INFO - Ping to IP 174.94.98.195 from VM ctest-vn1-vm1-67921307 passed 2025-10-23 23:37:53,626 - INFO - Deleting interface with subnet_id 22a80611-c5e2-4ddd-8db2-af1ede7e286a, port_id None from router ed5e0091-59bd-4fce-b1e0-dd4c207c3a48 2025-10-23 23:37:53,748 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 23:37:53,749 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.94.98.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-23 23:37:53,749 - DEBUG - ping -s 56 -c 3 -W 1 174.94.98.195 2025-10-23 23:37:56,971 - DEBUG - PING 174.94.98.195 (174.94.98.195): 56 data bytes --- 174.94.98.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 23:37:56,971 - WARNING - Ping to IP 174.94.98.195 from VM ctest-vn1-vm1-67921307 failed 2025-10-23 23:37:56,971 - INFO - Adding interface with subnet_id 22a80611-c5e2-4ddd-8db2-af1ede7e286a, port_id None to router ed5e0091-59bd-4fce-b1e0-dd4c207c3a48 2025-10-23 23:37:57,213 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 23:37:57,213 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.94.98.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-23 23:37:57,213 - DEBUG - ping -s 56 -c 3 -W 1 174.94.98.195 2025-10-23 23:37:59,451 - DEBUG - PING 174.94.98.195 (174.94.98.195): 56 data bytes 64 bytes from 174.94.98.195: seq=0 ttl=63 time=1.778 ms 64 bytes from 174.94.98.195: seq=1 ttl=63 time=1.247 ms 64 bytes from 174.94.98.195: seq=2 ttl=63 time=1.120 ms --- 174.94.98.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.120/1.381/1.778 ms 2025-10-23 23:37:59,451 - INFO - Ping to IP 174.94.98.195 from VM ctest-vn1-vm1-67921307 passed 2025-10-23 23:37:59,452 - INFO - Deleting interface with subnet_id f0cfa315-2ff6-4e2a-b9ef-4b19aea1e058, port_id None from router ed5e0091-59bd-4fce-b1e0-dd4c207c3a48 2025-10-23 23:37:59,591 - INFO - Deleting interface with subnet_id 22a80611-c5e2-4ddd-8db2-af1ede7e286a, port_id None from router ed5e0091-59bd-4fce-b1e0-dd4c207c3a48 2025-10-23 23:37:59,836 - INFO - Deleting VM ctest-vn2-vm1-29991133 2025-10-23 23:37:59,931 - INFO - Deleting VM ctest-vn1-vm1-67921307 2025-10-23 23:38:00,034 - INFO - Deleting VN ctest-vn2-47906938 2025-10-23 23:38:00,078 - DEBUG - VN 29d5cb70-6c7a-46c3-9698-d79e71fae94a still in use: Unable to complete operation on network 29d5cb70-6c7a-46c3-9698-d79e71fae94a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ca660dbd-0738-4e55-817f-50eb9d580af7'] 2025-10-23 23:38:00,078 - WARNING - Deleting VN ctest-vn2-47906938 failed..Will retry 2025-10-23 23:38:02,192 - DEBUG - Response for deleting network () 2025-10-23 23:38:02,193 - INFO - Deleting VN ctest-vn1-30272969 2025-10-23 23:38:02,311 - DEBUG - Response for deleting network () 2025-10-23 23:38:02,565 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 23:38:02,565 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-10-23 23:38:02,565 - INFO - -------------------------------------------------------------------------------- 2025-10-23 23:38:03,282 - INFO - Deleted project: ctest-TestRouters-33459369, ID : 86d70aee-316d-42a0-bf93-5c80acc1a0a7