2025-10-16 02:10:36,984 - INFO - Domain Default found not creating 2025-10-16 02:10:37,145 - INFO - Project ctest-TestRouters-34980468 not found, creating it 2025-10-16 02:10:37,619 - INFO - Created Project:ctest-TestRouters-34980468, ID : cd989cc0-7d04-45ab-afcf-391f31b73ac1 2025-10-16 02:10:39,052 - INFO - ================================================================================ 2025-10-16 02:10:39,052 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-16 02:10:39,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-10-16 02:10:39,307 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.249': '0'}} with 2025-10-16 02:10:39,307 - INFO - Initial checks done. Running the testcase now 2025-10-16 02:10:39,307 - INFO - 2025-10-16 02:10:39,894 - DEBUG - Response for create_network : {'network': {'id': '706af8de-29f0-41e9-b914-8dafbb3584c7', 'name': 'ctest-vn1-90401538', 'tenant_id': 'cd989cc07d0445abafcf391f31b73ac1', 'project_id': 'cd989cc07d0445abafcf391f31b73ac1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-34980468', 'ctest-vn1-90401538'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 02:10:40,129 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c96afd0-7215-471a-bd1b-61bbca05d387', 'name': '', 'tenant_id': 'cd989cc07d0445abafcf391f31b73ac1', 'network_id': '706af8de-29f0-41e9-b914-8dafbb3584c7', 'ip_version': 4, 'cidr': '98.125.212.128/26', 'allocation_pools': [{'start': '98.125.212.130', 'end': '98.125.212.190'}], 'gateway_ip': '98.125.212.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.125.212.130', 'tags': [], 'project_id': 'cd989cc07d0445abafcf391f31b73ac1'}} 2025-10-16 02:10:40,146 - INFO - Created VN ctest-vn1-90401538 2025-10-16 02:10:40,202 - DEBUG - VN ctest-vn1-90401538 UUID is 706af8de-29f0-41e9-b914-8dafbb3584c7 2025-10-16 02:10:40,519 - DEBUG - Response for create_network : {'network': {'id': 'b0e829c8-e9d9-4b8b-af10-7441a69c9570', 'name': 'ctest-vn2-06699434', 'tenant_id': 'cd989cc07d0445abafcf391f31b73ac1', 'project_id': 'cd989cc07d0445abafcf391f31b73ac1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-34980468', 'ctest-vn2-06699434'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 02:10:40,758 - DEBUG - Response for create_subnet : {'subnet': {'id': '10071f49-c64d-4d1d-b338-b0fbe7ba485b', 'name': '', 'tenant_id': 'cd989cc07d0445abafcf391f31b73ac1', 'network_id': 'b0e829c8-e9d9-4b8b-af10-7441a69c9570', 'ip_version': 4, 'cidr': '163.150.223.192/26', 'allocation_pools': [{'start': '163.150.223.194', 'end': '163.150.223.254'}], 'gateway_ip': '163.150.223.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.150.223.194', 'tags': [], 'project_id': 'cd989cc07d0445abafcf391f31b73ac1'}} 2025-10-16 02:10:40,775 - INFO - Created VN ctest-vn2-06699434 2025-10-16 02:10:40,826 - DEBUG - VN ctest-vn2-06699434 UUID is b0e829c8-e9d9-4b8b-af10-7441a69c9570 2025-10-16 02:10:41,027 - DEBUG - Services list from nova: [, , ] 2025-10-16 02:10:42,054 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4336-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4336-1) 2025-10-16 02:10:43,308 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4336-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4336-1) 2025-10-16 02:10:43,378 - INFO - Adding interface with subnet_id 7c96afd0-7215-471a-bd1b-61bbca05d387, port_id None to router 9de768a3-df41-4da5-8335-d887b085cb78 2025-10-16 02:10:43,675 - INFO - Waiting for VM ctest-vn1-vm1-85544216 to be up.. 2025-10-16 02:10:43,789 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-16 02:10:48,864 - DEBUG - VM is in ACTIVE state now 2025-10-16 02:10:48,864 - INFO - VM name : ctest-vn1-vm1-85544216 2025-10-16 02:10:48,933 - DEBUG - VM ctest-vn1-vm1-85544216 ID is f18ec93d-913e-4ae7-9f7b-b862251fcffa 2025-10-16 02:10:48,951 - DEBUG - VM ctest-vn1-vm1-85544216 launched on Node cn-jenkins-deploy-platform-ansible-os-4336-1 2025-10-16 02:10:49,025 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/f18ec93d-913e-4ae7-9f7b-b862251fcffa 2025-10-16 02:10:49,314 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/f18ec93d-913e-4ae7-9f7b-b862251fcffa 2025-10-16 02:10:49,342 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/cc01caff-8c34-4191-8abd-6adcf29ef954 2025-10-16 02:10:52,620 - 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 1034ms') 2025-10-16 02:10:52,620 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85544216 failed! 2025-10-16 02:10:52,678 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-34980468:ctest-vn1-90401538 is 98.125.212.129 and allocation pool is NOT set 2025-10-16 02:10:54,735 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.571 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.571/2.179/3.788/1.608 ms') 2025-10-16 02:10:54,735 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85544216 passed 2025-10-16 02:10:54,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:10:54,882 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-85544216, IP 98.125.212.131, Port 22 2025-10-16 02:10:55,046 - DEBUG - VM ctest-vn1-vm1-85544216 is ready for SSH connections 2025-10-16 02:10:55,046 - INFO - Waiting for VM ctest-vn2-vm1-47388010 to be up.. 2025-10-16 02:10:55,121 - DEBUG - VM is in ACTIVE state now 2025-10-16 02:10:55,121 - INFO - VM name : ctest-vn2-vm1-47388010 2025-10-16 02:10:55,191 - DEBUG - VM ctest-vn2-vm1-47388010 ID is 456cd713-2953-4705-b8ea-b51685900aba 2025-10-16 02:10:55,192 - DEBUG - VM ctest-vn2-vm1-47388010 launched on Node cn-jenkins-deploy-platform-ansible-os-4336-1 2025-10-16 02:10:55,279 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/456cd713-2953-4705-b8ea-b51685900aba 2025-10-16 02:10:55,287 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/efbf935a-e72f-4b4e-8aff-52a5d7406885 2025-10-16 02:10:56,515 - 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.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.424 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.424/1.913/3.403/1.489 ms') 2025-10-16 02:10:56,515 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-47388010 passed 2025-10-16 02:10:56,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:10:56,662 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-47388010, IP 163.150.223.195, Port 22 2025-10-16 02:10:56,817 - DEBUG - VM ctest-vn2-vm1-47388010 is ready for SSH connections 2025-10-16 02:10:56,817 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:10:56,818 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.150.223.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-16 02:10:56,818 - DEBUG - ping -s 56 -c 3 -W 1 163.150.223.195 2025-10-16 02:11:01,870 - DEBUG - PING 163.150.223.195 (163.150.223.195): 56 data bytes --- 163.150.223.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-16 02:11:01,870 - WARNING - Ping to IP 163.150.223.195 from VM ctest-vn1-vm1-85544216 failed 2025-10-16 02:11:01,870 - INFO - Adding interface with subnet_id 10071f49-c64d-4d1d-b338-b0fbe7ba485b, port_id None to router 9de768a3-df41-4da5-8335-d887b085cb78 2025-10-16 02:11:02,119 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:11:02,120 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.150.223.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-16 02:11:02,120 - DEBUG - ping -s 56 -c 3 -W 1 163.150.223.195 2025-10-16 02:11:05,329 - DEBUG - PING 163.150.223.195 (163.150.223.195): 56 data bytes 64 bytes from 163.150.223.195: seq=1 ttl=63 time=3.306 ms 64 bytes from 163.150.223.195: seq=2 ttl=63 time=1.164 ms --- 163.150.223.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.164/2.235/3.306 ms 2025-10-16 02:11:05,329 - WARNING - Ping to IP 163.150.223.195 from VM ctest-vn1-vm1-85544216 failed 2025-10-16 02:11:06,330 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.150.223.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-16 02:11:06,330 - DEBUG - ping -s 56 -c 3 -W 1 163.150.223.195 2025-10-16 02:11:08,540 - DEBUG - PING 163.150.223.195 (163.150.223.195): 56 data bytes 64 bytes from 163.150.223.195: seq=0 ttl=63 time=1.446 ms 64 bytes from 163.150.223.195: seq=1 ttl=63 time=0.912 ms 64 bytes from 163.150.223.195: seq=2 ttl=63 time=0.940 ms --- 163.150.223.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.912/1.099/1.446 ms 2025-10-16 02:11:08,540 - INFO - Ping to IP 163.150.223.195 from VM ctest-vn1-vm1-85544216 passed 2025-10-16 02:11:08,540 - INFO - Deleting interface with subnet_id 7c96afd0-7215-471a-bd1b-61bbca05d387, port_id None from router 9de768a3-df41-4da5-8335-d887b085cb78 2025-10-16 02:11:08,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:11:08,645 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.150.223.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-16 02:11:08,645 - DEBUG - ping -s 56 -c 3 -W 1 163.150.223.195 2025-10-16 02:11:11,845 - DEBUG - PING 163.150.223.195 (163.150.223.195): 56 data bytes --- 163.150.223.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-16 02:11:11,845 - WARNING - Ping to IP 163.150.223.195 from VM ctest-vn1-vm1-85544216 failed 2025-10-16 02:11:11,845 - INFO - Adding interface with subnet_id 7c96afd0-7215-471a-bd1b-61bbca05d387, port_id None to router 9de768a3-df41-4da5-8335-d887b085cb78 2025-10-16 02:11:12,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:11:12,070 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.150.223.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-16 02:11:12,070 - DEBUG - ping -s 56 -c 3 -W 1 163.150.223.195 2025-10-16 02:11:14,314 - DEBUG - PING 163.150.223.195 (163.150.223.195): 56 data bytes 64 bytes from 163.150.223.195: seq=0 ttl=63 time=1.969 ms 64 bytes from 163.150.223.195: seq=1 ttl=63 time=1.084 ms 64 bytes from 163.150.223.195: seq=2 ttl=63 time=0.978 ms --- 163.150.223.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.978/1.343/1.969 ms 2025-10-16 02:11:14,314 - INFO - Ping to IP 163.150.223.195 from VM ctest-vn1-vm1-85544216 passed 2025-10-16 02:11:14,314 - INFO - Deleting interface with subnet_id 10071f49-c64d-4d1d-b338-b0fbe7ba485b, port_id None from router 9de768a3-df41-4da5-8335-d887b085cb78 2025-10-16 02:11:14,419 - INFO - Deleting interface with subnet_id 7c96afd0-7215-471a-bd1b-61bbca05d387, port_id None from router 9de768a3-df41-4da5-8335-d887b085cb78 2025-10-16 02:11:14,597 - INFO - Deleting VM ctest-vn2-vm1-47388010 2025-10-16 02:11:14,710 - INFO - Deleting VM ctest-vn1-vm1-85544216 2025-10-16 02:11:14,777 - INFO - Deleting VN ctest-vn2-06699434 2025-10-16 02:11:14,818 - DEBUG - VN b0e829c8-e9d9-4b8b-af10-7441a69c9570 still in use: Unable to complete operation on network b0e829c8-e9d9-4b8b-af10-7441a69c9570. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3c3dd139-f708-4ed8-b1e7-e3075f31cf71'] 2025-10-16 02:11:14,819 - WARNING - Deleting VN ctest-vn2-06699434 failed..Will retry 2025-10-16 02:11:16,922 - DEBUG - Response for deleting network () 2025-10-16 02:11:16,922 - INFO - Deleting VN ctest-vn1-90401538 2025-10-16 02:11:17,011 - DEBUG - Response for deleting network () 2025-10-16 02:11:17,271 - DEBUG - No XMPP flaps were noticed during the test 2025-10-16 02:11:17,271 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-10-16 02:11:17,271 - INFO - -------------------------------------------------------------------------------- 2025-10-16 02:11:18,057 - INFO - Deleted project: ctest-TestRouters-34980468, ID : cd989cc0-7d04-45ab-afcf-391f31b73ac1