2025-07-21 12:44:48,784 - INFO - Domain Default found not creating 2025-07-21 12:44:49,358 - INFO - Project ctest-TestRouters-59867031 not found, creating it 2025-07-21 12:44:50,025 - INFO - Created Project:ctest-TestRouters-59867031, ID : 48d31e2a-3c9f-4b13-b10f-cdfe1376d5f6 2025-07-21 12:44:52,052 - INFO - ================================================================================ 2025-07-21 12:44:52,052 - INFO - STARTING TEST : test_basic_router_behavior 2025-07-21 12:44:52,052 - 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-07-21 12:44:52,372 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-21 12:44:52,372 - INFO - Initial checks done. Running the testcase now 2025-07-21 12:44:52,372 - INFO - 2025-07-21 12:44:53,106 - DEBUG - Response for create_network : {'network': {'id': 'c56ea820-7a82-4d06-a376-cfd3fb056c33', 'name': 'ctest-vn1-32177074', 'tenant_id': '48d31e2a3c9f4b13b10fcdfe1376d5f6', 'project_id': '48d31e2a3c9f4b13b10fcdfe1376d5f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-59867031', 'ctest-vn1-32177074'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 12:44:53,281 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c83d09cd-d4fc-4380-8fd1-def9d2a01ad1', 'name': '', 'tenant_id': '48d31e2a3c9f4b13b10fcdfe1376d5f6', 'network_id': 'c56ea820-7a82-4d06-a376-cfd3fb056c33', 'ip_version': 4, 'cidr': '146.217.195.128/26', 'allocation_pools': [{'start': '146.217.195.130', 'end': '146.217.195.190'}], 'gateway_ip': '146.217.195.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.217.195.130', 'tags': [], 'project_id': '48d31e2a3c9f4b13b10fcdfe1376d5f6'}} 2025-07-21 12:44:53,310 - INFO - Created VN ctest-vn1-32177074 2025-07-21 12:44:53,365 - DEBUG - VN ctest-vn1-32177074 UUID is c56ea820-7a82-4d06-a376-cfd3fb056c33 2025-07-21 12:44:53,930 - DEBUG - Response for create_network : {'network': {'id': '27acc150-9095-461c-a50f-148cd3e2d6af', 'name': 'ctest-vn2-48955134', 'tenant_id': '48d31e2a3c9f4b13b10fcdfe1376d5f6', 'project_id': '48d31e2a3c9f4b13b10fcdfe1376d5f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-59867031', 'ctest-vn2-48955134'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 12:44:54,186 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9ddd7fa-b048-4659-ac9d-8c795bdaaf2f', 'name': '', 'tenant_id': '48d31e2a3c9f4b13b10fcdfe1376d5f6', 'network_id': '27acc150-9095-461c-a50f-148cd3e2d6af', 'ip_version': 4, 'cidr': '210.67.96.128/26', 'allocation_pools': [{'start': '210.67.96.130', 'end': '210.67.96.190'}], 'gateway_ip': '210.67.96.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.67.96.130', 'tags': [], 'project_id': '48d31e2a3c9f4b13b10fcdfe1376d5f6'}} 2025-07-21 12:44:54,209 - INFO - Created VN ctest-vn2-48955134 2025-07-21 12:44:54,281 - DEBUG - VN ctest-vn2-48955134 UUID is 27acc150-9095-461c-a50f-148cd3e2d6af 2025-07-21 12:44:54,564 - DEBUG - Services list from nova: [, , ] 2025-07-21 12:44:56,241 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3677-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3677-1) 2025-07-21 12:44:57,680 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3677-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3677-1) 2025-07-21 12:44:57,759 - INFO - Adding interface with subnet_id c83d09cd-d4fc-4380-8fd1-def9d2a01ad1, port_id None to router 537b6587-eb8b-4b21-a88a-964d0a1ea1f0 2025-07-21 12:44:58,029 - INFO - Waiting for VM ctest-vn1-vm1-81972871 to be up.. 2025-07-21 12:44:58,134 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-21 12:45:03,332 - DEBUG - VM is in ACTIVE state now 2025-07-21 12:45:03,332 - INFO - VM name : ctest-vn1-vm1-81972871 2025-07-21 12:45:03,482 - DEBUG - VM ctest-vn1-vm1-81972871 ID is 863afbb7-a179-408b-8bf6-8f579a36b819 2025-07-21 12:45:03,529 - DEBUG - VM ctest-vn1-vm1-81972871 launched on Node cn-jenkins-deploy-platform-ansible-os-3677-1. 2025-07-21 12:45:03,670 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/863afbb7-a179-408b-8bf6-8f579a36b819 2025-07-21 12:45:03,999 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/863afbb7-a179-408b-8bf6-8f579a36b819 2025-07-21 12:45:04,045 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c287aead-e842-49d9-a053-55dbc59cad39 2025-07-21 12:45:07,327 - 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') 2025-07-21 12:45:07,327 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81972871 failed! 2025-07-21 12:45:07,402 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-59867031:ctest-vn1-32177074 is 146.217.195.129 and allocation pool is NOT set 2025-07-21 12:45:09,475 - 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=5.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.21 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.207/3.450/5.693/2.243 ms') 2025-07-21 12:45:09,475 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81972871 passed 2025-07-21 12:45:09,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 12:45:09,641 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-81972871, IP 146.217.195.131, Port 22 2025-07-21 12:45:09,833 - DEBUG - VM ctest-vn1-vm1-81972871 is ready for SSH connections 2025-07-21 12:45:09,833 - INFO - Waiting for VM ctest-vn2-vm1-64160423 to be up.. 2025-07-21 12:45:10,060 - DEBUG - VM is in ACTIVE state now 2025-07-21 12:45:10,061 - INFO - VM name : ctest-vn2-vm1-64160423 2025-07-21 12:45:10,188 - DEBUG - VM ctest-vn2-vm1-64160423 ID is 795abcce-f551-4fe6-9038-8068482b705d 2025-07-21 12:45:10,188 - DEBUG - VM ctest-vn2-vm1-64160423 launched on Node cn-jenkins-deploy-platform-ansible-os-3677-1. 2025-07-21 12:45:10,330 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/795abcce-f551-4fe6-9038-8068482b705d 2025-07-21 12:45:10,345 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/71dd869f-0f02-4d56-853e-b7ce906844f5 2025-07-21 12:45:11,665 - 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=5.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.997 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.997/3.022/5.047/2.025 ms') 2025-07-21 12:45:11,665 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-64160423 passed 2025-07-21 12:45:11,845 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 12:45:11,846 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-64160423, IP 210.67.96.131, Port 22 2025-07-21 12:45:12,041 - DEBUG - VM ctest-vn2-vm1-64160423 is ready for SSH connections 2025-07-21 12:45:12,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 12:45:12,042 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.67.96.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-21 12:45:12,042 - DEBUG - ping -s 56 -c 3 -W 1 210.67.96.131 2025-07-21 12:45:17,088 - DEBUG - PING 210.67.96.131 (210.67.96.131): 56 data bytes --- 210.67.96.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-21 12:45:17,089 - WARNING - Ping to IP 210.67.96.131 from VM ctest-vn1-vm1-81972871 failed 2025-07-21 12:45:17,089 - INFO - Adding interface with subnet_id c9ddd7fa-b048-4659-ac9d-8c795bdaaf2f, port_id None to router 537b6587-eb8b-4b21-a88a-964d0a1ea1f0 2025-07-21 12:45:17,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 12:45:17,555 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.67.96.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-21 12:45:17,555 - DEBUG - ping -s 56 -c 3 -W 1 210.67.96.131 2025-07-21 12:45:20,852 - DEBUG - PING 210.67.96.131 (210.67.96.131): 56 data bytes 64 bytes from 210.67.96.131: seq=1 ttl=63 time=7.961 ms 64 bytes from 210.67.96.131: seq=2 ttl=63 time=1.816 ms --- 210.67.96.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.816/4.888/7.961 ms 2025-07-21 12:45:20,852 - WARNING - Ping to IP 210.67.96.131 from VM ctest-vn1-vm1-81972871 failed 2025-07-21 12:45:21,854 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.67.96.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-21 12:45:21,855 - DEBUG - ping -s 56 -c 3 -W 1 210.67.96.131 2025-07-21 12:45:24,175 - DEBUG - PING 210.67.96.131 (210.67.96.131): 56 data bytes 64 bytes from 210.67.96.131: seq=0 ttl=63 time=2.113 ms 64 bytes from 210.67.96.131: seq=1 ttl=63 time=2.072 ms 64 bytes from 210.67.96.131: seq=2 ttl=63 time=1.988 ms --- 210.67.96.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.988/2.057/2.113 ms 2025-07-21 12:45:24,175 - INFO - Ping to IP 210.67.96.131 from VM ctest-vn1-vm1-81972871 passed 2025-07-21 12:45:24,176 - INFO - Deleting interface with subnet_id c83d09cd-d4fc-4380-8fd1-def9d2a01ad1, port_id None from router 537b6587-eb8b-4b21-a88a-964d0a1ea1f0 2025-07-21 12:45:24,487 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 12:45:24,487 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.67.96.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-21 12:45:24,487 - DEBUG - ping -s 56 -c 3 -W 1 210.67.96.131 2025-07-21 12:45:27,788 - DEBUG - PING 210.67.96.131 (210.67.96.131): 56 data bytes --- 210.67.96.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-21 12:45:27,789 - WARNING - Ping to IP 210.67.96.131 from VM ctest-vn1-vm1-81972871 failed 2025-07-21 12:45:27,789 - INFO - Adding interface with subnet_id c83d09cd-d4fc-4380-8fd1-def9d2a01ad1, port_id None to router 537b6587-eb8b-4b21-a88a-964d0a1ea1f0 2025-07-21 12:45:28,192 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 12:45:28,193 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.67.96.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-21 12:45:28,193 - DEBUG - ping -s 56 -c 3 -W 1 210.67.96.131 2025-07-21 12:45:30,472 - DEBUG - PING 210.67.96.131 (210.67.96.131): 56 data bytes 64 bytes from 210.67.96.131: seq=0 ttl=63 time=2.670 ms 64 bytes from 210.67.96.131: seq=1 ttl=63 time=2.089 ms 64 bytes from 210.67.96.131: seq=2 ttl=63 time=1.795 ms --- 210.67.96.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.795/2.184/2.670 ms 2025-07-21 12:45:30,473 - INFO - Ping to IP 210.67.96.131 from VM ctest-vn1-vm1-81972871 passed 2025-07-21 12:45:30,473 - INFO - Deleting interface with subnet_id c9ddd7fa-b048-4659-ac9d-8c795bdaaf2f, port_id None from router 537b6587-eb8b-4b21-a88a-964d0a1ea1f0 2025-07-21 12:45:30,723 - INFO - Deleting interface with subnet_id c83d09cd-d4fc-4380-8fd1-def9d2a01ad1, port_id None from router 537b6587-eb8b-4b21-a88a-964d0a1ea1f0 2025-07-21 12:45:30,927 - INFO - Deleting VM ctest-vn2-vm1-64160423 2025-07-21 12:45:31,011 - INFO - Deleting VM ctest-vn1-vm1-81972871 2025-07-21 12:45:31,094 - INFO - Deleting VN ctest-vn2-48955134 2025-07-21 12:45:31,155 - DEBUG - VN 27acc150-9095-461c-a50f-148cd3e2d6af still in use: Unable to complete operation on network 27acc150-9095-461c-a50f-148cd3e2d6af. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dc3b2273-5498-45e7-9012-cec2daa44014'] 2025-07-21 12:45:31,155 - WARNING - Deleting VN ctest-vn2-48955134 failed..Will retry 2025-07-21 12:45:33,431 - DEBUG - Response for deleting network () 2025-07-21 12:45:33,431 - INFO - Deleting VN ctest-vn1-32177074 2025-07-21 12:45:33,609 - DEBUG - Response for deleting network () 2025-07-21 12:45:33,903 - DEBUG - No XMPP flaps were noticed during the test 2025-07-21 12:45:33,903 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:41] 2025-07-21 12:45:33,903 - INFO - -------------------------------------------------------------------------------- 2025-07-21 12:45:34,859 - INFO - Deleted project: ctest-TestRouters-59867031, ID : 48d31e2a-3c9f-4b13-b10f-cdfe1376d5f6