2025-09-17 14:20:53,533 - INFO - Domain Default found not creating 2025-09-17 14:20:53,808 - INFO - Project ctest-TestRouters-66721536 not found, creating it 2025-09-17 14:20:54,288 - INFO - Created Project:ctest-TestRouters-66721536, ID : 1b30bb87-a611-465d-a5a5-7f9695015534 2025-09-17 14:20:55,829 - INFO - ================================================================================ 2025-09-17 14:20:55,829 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-17 14:20:55,829 - 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-09-17 14:20:56,086 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-17 14:20:56,086 - INFO - Initial checks done. Running the testcase now 2025-09-17 14:20:56,086 - INFO - 2025-09-17 14:20:56,666 - DEBUG - Response for create_network : {'network': {'id': 'ae874f8f-63de-4cbb-9791-61aa0f1980b9', 'name': 'ctest-vn1-29289812', 'tenant_id': '1b30bb87a611465da5a57f9695015534', 'project_id': '1b30bb87a611465da5a57f9695015534', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-66721536', 'ctest-vn1-29289812'], 'port_security_enabled': True, 'description': ''}} 2025-09-17 14:20:56,845 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7133f5b-5b78-43ec-826d-39dcff520d50', 'name': '', 'tenant_id': '1b30bb87a611465da5a57f9695015534', 'network_id': 'ae874f8f-63de-4cbb-9791-61aa0f1980b9', 'ip_version': 4, 'cidr': '111.122.133.128/26', 'allocation_pools': [{'start': '111.122.133.130', 'end': '111.122.133.190'}], 'gateway_ip': '111.122.133.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.122.133.130', 'tags': [], 'project_id': '1b30bb87a611465da5a57f9695015534'}} 2025-09-17 14:20:56,864 - INFO - Created VN ctest-vn1-29289812 2025-09-17 14:20:56,916 - DEBUG - VN ctest-vn1-29289812 UUID is ae874f8f-63de-4cbb-9791-61aa0f1980b9 2025-09-17 14:20:57,256 - DEBUG - Response for create_network : {'network': {'id': 'f36252c8-7cbc-4333-9d86-552fe0747508', 'name': 'ctest-vn2-18548745', 'tenant_id': '1b30bb87a611465da5a57f9695015534', 'project_id': '1b30bb87a611465da5a57f9695015534', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-66721536', 'ctest-vn2-18548745'], 'port_security_enabled': True, 'description': ''}} 2025-09-17 14:20:57,414 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb6e7a48-82c3-4e85-b3fd-68b53e7978ef', 'name': '', 'tenant_id': '1b30bb87a611465da5a57f9695015534', 'network_id': 'f36252c8-7cbc-4333-9d86-552fe0747508', 'ip_version': 4, 'cidr': '160.121.160.128/26', 'allocation_pools': [{'start': '160.121.160.130', 'end': '160.121.160.190'}], 'gateway_ip': '160.121.160.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.121.160.130', 'tags': [], 'project_id': '1b30bb87a611465da5a57f9695015534'}} 2025-09-17 14:20:57,432 - INFO - Created VN ctest-vn2-18548745 2025-09-17 14:20:57,484 - DEBUG - VN ctest-vn2-18548745 UUID is f36252c8-7cbc-4333-9d86-552fe0747508 2025-09-17 14:20:57,660 - DEBUG - Services list from nova: [, , ] 2025-09-17 14:20:58,710 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4128-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4128-1) 2025-09-17 14:20:59,974 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4128-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4128-1) 2025-09-17 14:21:00,072 - INFO - Adding interface with subnet_id b7133f5b-5b78-43ec-826d-39dcff520d50, port_id None to router ebe6c3be-e3fc-46ec-be1e-0aa0988d261f 2025-09-17 14:21:00,367 - INFO - Waiting for VM ctest-vn1-vm1-97566812 to be up.. 2025-09-17 14:21:00,494 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-17 14:21:05,578 - DEBUG - VM is in ACTIVE state now 2025-09-17 14:21:05,578 - INFO - VM name : ctest-vn1-vm1-97566812 2025-09-17 14:21:05,655 - DEBUG - VM ctest-vn1-vm1-97566812 ID is 82d5832f-52f8-46ac-96ba-09f42ce454d2 2025-09-17 14:21:05,674 - DEBUG - VM ctest-vn1-vm1-97566812 launched on Node cn-jenkins-deploy-platform-ansible-os-4128-1 2025-09-17 14:21:05,752 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/82d5832f-52f8-46ac-96ba-09f42ce454d2 2025-09-17 14:21:06,061 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/82d5832f-52f8-46ac-96ba-09f42ce454d2 2025-09-17 14:21:06,097 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bf0c62c0-8b24-4cb7-85b0-2994cf3ebed8 2025-09-17 14:21:09,357 - 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 1014ms') 2025-09-17 14:21:09,357 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-97566812 failed! 2025-09-17 14:21:09,412 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-66721536:ctest-vn1-29289812 is 111.122.133.129 and allocation pool is NOT set 2025-09-17 14:21:11,477 - 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.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.92 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 = 2.917/3.202/3.488/0.285 ms') 2025-09-17 14:21:11,477 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-97566812 passed 2025-09-17 14:21:11,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-17 14:21:11,708 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-97566812, IP 111.122.133.131, Port 22 2025-09-17 14:21:11,867 - DEBUG - VM ctest-vn1-vm1-97566812 is ready for SSH connections 2025-09-17 14:21:11,867 - INFO - Waiting for VM ctest-vn2-vm1-88567277 to be up.. 2025-09-17 14:21:11,969 - DEBUG - VM is in ACTIVE state now 2025-09-17 14:21:11,969 - INFO - VM name : ctest-vn2-vm1-88567277 2025-09-17 14:21:12,064 - DEBUG - VM ctest-vn2-vm1-88567277 ID is 315a5d1b-5ddf-4695-90a8-741fc6e7a245 2025-09-17 14:21:12,064 - DEBUG - VM ctest-vn2-vm1-88567277 launched on Node cn-jenkins-deploy-platform-ansible-os-4128-1 2025-09-17 14:21:12,164 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/315a5d1b-5ddf-4695-90a8-741fc6e7a245 2025-09-17 14:21:12,173 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1686d332-94b6-44b0-a23f-aa0ea337532b 2025-09-17 14:21:13,413 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.538 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.538/1.755/2.972/1.217 ms') 2025-09-17 14:21:13,414 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-88567277 passed 2025-09-17 14:21:13,572 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-17 14:21:13,573 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-88567277, IP 160.121.160.131, Port 22 2025-09-17 14:21:13,732 - DEBUG - VM ctest-vn2-vm1-88567277 is ready for SSH connections 2025-09-17 14:21:13,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-17 14:21:13,732 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.121.160.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-17 14:21:13,732 - DEBUG - ping -s 56 -c 3 -W 1 160.121.160.131 2025-09-17 14:21:18,794 - DEBUG - PING 160.121.160.131 (160.121.160.131): 56 data bytes --- 160.121.160.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-17 14:21:18,794 - WARNING - Ping to IP 160.121.160.131 from VM ctest-vn1-vm1-97566812 failed 2025-09-17 14:21:18,794 - INFO - Adding interface with subnet_id bb6e7a48-82c3-4e85-b3fd-68b53e7978ef, port_id None to router ebe6c3be-e3fc-46ec-be1e-0aa0988d261f 2025-09-17 14:21:19,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-17 14:21:19,065 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.121.160.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-17 14:21:19,065 - DEBUG - ping -s 56 -c 3 -W 1 160.121.160.131 2025-09-17 14:21:22,301 - DEBUG - PING 160.121.160.131 (160.121.160.131): 56 data bytes 64 bytes from 160.121.160.131: seq=1 ttl=63 time=3.810 ms 64 bytes from 160.121.160.131: seq=2 ttl=63 time=1.076 ms --- 160.121.160.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.076/2.443/3.810 ms 2025-09-17 14:21:22,301 - WARNING - Ping to IP 160.121.160.131 from VM ctest-vn1-vm1-97566812 failed 2025-09-17 14:21:23,302 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.121.160.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-17 14:21:23,302 - DEBUG - ping -s 56 -c 3 -W 1 160.121.160.131 2025-09-17 14:21:25,526 - DEBUG - PING 160.121.160.131 (160.121.160.131): 56 data bytes 64 bytes from 160.121.160.131: seq=0 ttl=63 time=1.511 ms 64 bytes from 160.121.160.131: seq=1 ttl=63 time=0.776 ms 64 bytes from 160.121.160.131: seq=2 ttl=63 time=1.130 ms --- 160.121.160.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.776/1.139/1.511 ms 2025-09-17 14:21:25,526 - INFO - Ping to IP 160.121.160.131 from VM ctest-vn1-vm1-97566812 passed 2025-09-17 14:21:25,526 - INFO - Deleting interface with subnet_id b7133f5b-5b78-43ec-826d-39dcff520d50, port_id None from router ebe6c3be-e3fc-46ec-be1e-0aa0988d261f 2025-09-17 14:21:25,676 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-17 14:21:25,677 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.121.160.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-17 14:21:25,677 - DEBUG - ping -s 56 -c 3 -W 1 160.121.160.131 2025-09-17 14:21:28,899 - DEBUG - PING 160.121.160.131 (160.121.160.131): 56 data bytes --- 160.121.160.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-17 14:21:28,899 - WARNING - Ping to IP 160.121.160.131 from VM ctest-vn1-vm1-97566812 failed 2025-09-17 14:21:28,899 - INFO - Adding interface with subnet_id b7133f5b-5b78-43ec-826d-39dcff520d50, port_id None to router ebe6c3be-e3fc-46ec-be1e-0aa0988d261f 2025-09-17 14:21:29,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-17 14:21:29,114 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.121.160.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-17 14:21:29,114 - DEBUG - ping -s 56 -c 3 -W 1 160.121.160.131 2025-09-17 14:21:31,368 - DEBUG - PING 160.121.160.131 (160.121.160.131): 56 data bytes 64 bytes from 160.121.160.131: seq=0 ttl=63 time=1.970 ms 64 bytes from 160.121.160.131: seq=1 ttl=63 time=0.972 ms 64 bytes from 160.121.160.131: seq=2 ttl=63 time=0.969 ms --- 160.121.160.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.969/1.303/1.970 ms 2025-09-17 14:21:31,368 - INFO - Ping to IP 160.121.160.131 from VM ctest-vn1-vm1-97566812 passed 2025-09-17 14:21:31,368 - INFO - Deleting interface with subnet_id bb6e7a48-82c3-4e85-b3fd-68b53e7978ef, port_id None from router ebe6c3be-e3fc-46ec-be1e-0aa0988d261f 2025-09-17 14:21:31,524 - INFO - Deleting interface with subnet_id b7133f5b-5b78-43ec-826d-39dcff520d50, port_id None from router ebe6c3be-e3fc-46ec-be1e-0aa0988d261f 2025-09-17 14:21:31,737 - INFO - Deleting VM ctest-vn2-vm1-88567277 2025-09-17 14:21:31,824 - INFO - Deleting VM ctest-vn1-vm1-97566812 2025-09-17 14:21:31,906 - INFO - Deleting VN ctest-vn2-18548745 2025-09-17 14:21:31,951 - DEBUG - VN f36252c8-7cbc-4333-9d86-552fe0747508 still in use: Unable to complete operation on network f36252c8-7cbc-4333-9d86-552fe0747508. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4be48665-c822-4601-a5b9-e551184c31a0'] 2025-09-17 14:21:31,951 - WARNING - Deleting VN ctest-vn2-18548745 failed..Will retry 2025-09-17 14:21:34,052 - DEBUG - Response for deleting network () 2025-09-17 14:21:34,052 - INFO - Deleting VN ctest-vn1-29289812 2025-09-17 14:21:34,154 - DEBUG - Response for deleting network () 2025-09-17 14:21:34,425 - DEBUG - No XMPP flaps were noticed during the test
2025-09-17 14:21:34,425 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-09-17 14:21:34,425 - INFO - -------------------------------------------------------------------------------- 2025-09-17 14:21:35,120 - INFO - Deleted project: ctest-TestRouters-66721536, ID : 1b30bb87-a611-465d-a5a5-7f9695015534