2025-10-02 01:49:48,920 - INFO - Domain Default found not creating 2025-10-02 01:49:49,061 - INFO - Project ctest-TestRouters-48752580 not found, creating it 2025-10-02 01:49:49,490 - INFO - Created Project:ctest-TestRouters-48752580, ID : 84eb6962-66c3-43de-9153-a534d4552278 2025-10-02 01:49:50,844 - INFO - ================================================================================ 2025-10-02 01:49:50,844 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-02 01:49:50,844 - 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-02 01:49:51,098 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-02 01:49:51,098 - INFO - Initial checks done. Running the testcase now 2025-10-02 01:49:51,098 - INFO - 2025-10-02 01:49:51,652 - DEBUG - Response for create_network : {'network': {'id': 'b43c2a00-8b6e-4e9b-9c77-ef661e84207c', 'name': 'ctest-vn1-63555230', 'tenant_id': '84eb696266c343de9153a534d4552278', 'project_id': '84eb696266c343de9153a534d4552278', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-48752580', 'ctest-vn1-63555230'], 'port_security_enabled': True, 'description': ''}} 2025-10-02 01:49:51,828 - DEBUG - Response for create_subnet : {'subnet': {'id': '89a434b7-55c8-45c9-b79f-5e83816d9490', 'name': '', 'tenant_id': '84eb696266c343de9153a534d4552278', 'network_id': 'b43c2a00-8b6e-4e9b-9c77-ef661e84207c', 'ip_version': 4, 'cidr': '189.39.17.192/26', 'allocation_pools': [{'start': '189.39.17.194', 'end': '189.39.17.254'}], 'gateway_ip': '189.39.17.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.39.17.194', 'tags': [], 'project_id': '84eb696266c343de9153a534d4552278'}} 2025-10-02 01:49:51,842 - INFO - Created VN ctest-vn1-63555230 2025-10-02 01:49:51,892 - DEBUG - VN ctest-vn1-63555230 UUID is b43c2a00-8b6e-4e9b-9c77-ef661e84207c 2025-10-02 01:49:52,213 - DEBUG - Response for create_network : {'network': {'id': '11e0e0e0-97a3-4099-9261-38c4f7e5e99d', 'name': 'ctest-vn2-36451417', 'tenant_id': '84eb696266c343de9153a534d4552278', 'project_id': '84eb696266c343de9153a534d4552278', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-48752580', 'ctest-vn2-36451417'], 'port_security_enabled': True, 'description': ''}} 2025-10-02 01:49:52,397 - DEBUG - Response for create_subnet : {'subnet': {'id': '1955ea2d-1346-48f6-bbf0-0814ee8b9180', 'name': '', 'tenant_id': '84eb696266c343de9153a534d4552278', 'network_id': '11e0e0e0-97a3-4099-9261-38c4f7e5e99d', 'ip_version': 4, 'cidr': '93.84.94.128/26', 'allocation_pools': [{'start': '93.84.94.130', 'end': '93.84.94.190'}], 'gateway_ip': '93.84.94.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.84.94.130', 'tags': [], 'project_id': '84eb696266c343de9153a534d4552278'}} 2025-10-02 01:49:52,413 - INFO - Created VN ctest-vn2-36451417 2025-10-02 01:49:52,464 - DEBUG - VN ctest-vn2-36451417 UUID is 11e0e0e0-97a3-4099-9261-38c4f7e5e99d 2025-10-02 01:49:52,708 - DEBUG - Services list from nova: [, , ] 2025-10-02 01:49:53,659 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4207-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4207-1) 2025-10-02 01:49:54,760 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4207-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4207-1) 2025-10-02 01:49:54,812 - INFO - Adding interface with subnet_id 89a434b7-55c8-45c9-b79f-5e83816d9490, port_id None to router 2348fa80-c737-4897-8c98-ae7a0f5c7255 2025-10-02 01:49:55,072 - INFO - Waiting for VM ctest-vn1-vm1-89859664 to be up.. 2025-10-02 01:49:55,193 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-02 01:50:00,262 - DEBUG - VM is in ACTIVE state now 2025-10-02 01:50:00,262 - INFO - VM name : ctest-vn1-vm1-89859664 2025-10-02 01:50:00,323 - DEBUG - VM ctest-vn1-vm1-89859664 ID is 86ee92c7-3885-4eca-83af-dd4f6a7e6725 2025-10-02 01:50:00,340 - DEBUG - VM ctest-vn1-vm1-89859664 launched on Node cn-jenkins-deploy-platform-ansible-os-4207-1 2025-10-02 01:50:00,401 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/86ee92c7-3885-4eca-83af-dd4f6a7e6725 2025-10-02 01:50:00,691 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/86ee92c7-3885-4eca-83af-dd4f6a7e6725 2025-10-02 01:50:00,720 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/51aeddd5-e43c-4785-8abf-a6bd1bbf9cdc 2025-10-02 01:50:03,964 - 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 1017ms') 2025-10-02 01:50:03,964 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-89859664 failed! 2025-10-02 01:50:04,016 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-48752580:ctest-vn1-63555230 is 189.39.17.193 and allocation pool is NOT set 2025-10-02 01:50:06,076 - 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=2.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.349 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.349/1.633/2.918/1.284 ms') 2025-10-02 01:50:06,076 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-89859664 passed 2025-10-02 01:50:06,232 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 01:50:06,232 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-89859664, IP 189.39.17.195, Port 22 2025-10-02 01:50:06,387 - DEBUG - VM ctest-vn1-vm1-89859664 is ready for SSH connections 2025-10-02 01:50:06,387 - INFO - Waiting for VM ctest-vn2-vm1-33454237 to be up.. 2025-10-02 01:50:06,452 - DEBUG - VM is in ACTIVE state now 2025-10-02 01:50:06,452 - INFO - VM name : ctest-vn2-vm1-33454237 2025-10-02 01:50:06,512 - DEBUG - VM ctest-vn2-vm1-33454237 ID is 91ae7d91-51c8-41e4-9c14-c6491024a2cf 2025-10-02 01:50:06,512 - DEBUG - VM ctest-vn2-vm1-33454237 launched on Node cn-jenkins-deploy-platform-ansible-os-4207-1 2025-10-02 01:50:06,571 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/91ae7d91-51c8-41e4-9c14-c6491024a2cf 2025-10-02 01:50:06,578 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/dfa7e9fc-a642-4109-a158-2076f3005077 2025-10-02 01:50:07,804 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.236 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.236/1.547/2.858/1.311 ms') 2025-10-02 01:50:07,804 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-33454237 passed 2025-10-02 01:50:07,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 01:50:07,948 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-33454237, IP 93.84.94.131, Port 22 2025-10-02 01:50:08,103 - DEBUG - VM ctest-vn2-vm1-33454237 is ready for SSH connections 2025-10-02 01:50:08,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 01:50:08,103 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.84.94.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-02 01:50:08,104 - DEBUG - ping -s 56 -c 3 -W 1 93.84.94.131 2025-10-02 01:50:12,731 - DEBUG - PING 93.84.94.131 (93.84.94.131): 56 data bytes --- 93.84.94.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-02 01:50:12,732 - WARNING - Ping to IP 93.84.94.131 from VM ctest-vn1-vm1-89859664 failed 2025-10-02 01:50:12,732 - INFO - Adding interface with subnet_id 1955ea2d-1346-48f6-bbf0-0814ee8b9180, port_id None to router 2348fa80-c737-4897-8c98-ae7a0f5c7255 2025-10-02 01:50:12,993 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 01:50:12,993 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.84.94.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-02 01:50:12,993 - DEBUG - ping -s 56 -c 3 -W 1 93.84.94.131 2025-10-02 01:50:15,198 - DEBUG - PING 93.84.94.131 (93.84.94.131): 56 data bytes 64 bytes from 93.84.94.131: seq=0 ttl=63 time=2.170 ms 64 bytes from 93.84.94.131: seq=1 ttl=63 time=0.815 ms 64 bytes from 93.84.94.131: seq=2 ttl=63 time=0.670 ms --- 93.84.94.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.670/1.218/2.170 ms 2025-10-02 01:50:15,198 - INFO - Ping to IP 93.84.94.131 from VM ctest-vn1-vm1-89859664 passed 2025-10-02 01:50:15,198 - INFO - Deleting interface with subnet_id 89a434b7-55c8-45c9-b79f-5e83816d9490, port_id None from router 2348fa80-c737-4897-8c98-ae7a0f5c7255 2025-10-02 01:50:15,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 01:50:15,294 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.84.94.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-02 01:50:15,294 - DEBUG - ping -s 56 -c 3 -W 1 93.84.94.131 2025-10-02 01:50:18,493 - DEBUG - PING 93.84.94.131 (93.84.94.131): 56 data bytes --- 93.84.94.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-02 01:50:18,493 - WARNING - Ping to IP 93.84.94.131 from VM ctest-vn1-vm1-89859664 failed 2025-10-02 01:50:18,493 - INFO - Adding interface with subnet_id 89a434b7-55c8-45c9-b79f-5e83816d9490, port_id None to router 2348fa80-c737-4897-8c98-ae7a0f5c7255 2025-10-02 01:50:18,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 01:50:18,684 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.84.94.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-02 01:50:18,684 - DEBUG - ping -s 56 -c 3 -W 1 93.84.94.131 2025-10-02 01:50:20,887 - DEBUG - PING 93.84.94.131 (93.84.94.131): 56 data bytes 64 bytes from 93.84.94.131: seq=0 ttl=63 time=1.219 ms 64 bytes from 93.84.94.131: seq=1 ttl=63 time=0.727 ms 64 bytes from 93.84.94.131: seq=2 ttl=63 time=0.703 ms --- 93.84.94.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.703/0.883/1.219 ms 2025-10-02 01:50:20,887 - INFO - Ping to IP 93.84.94.131 from VM ctest-vn1-vm1-89859664 passed 2025-10-02 01:50:20,887 - INFO - Deleting interface with subnet_id 1955ea2d-1346-48f6-bbf0-0814ee8b9180, port_id None from router 2348fa80-c737-4897-8c98-ae7a0f5c7255 2025-10-02 01:50:20,984 - INFO - Deleting interface with subnet_id 89a434b7-55c8-45c9-b79f-5e83816d9490, port_id None from router 2348fa80-c737-4897-8c98-ae7a0f5c7255 2025-10-02 01:50:21,115 - INFO - Deleting VM ctest-vn2-vm1-33454237 2025-10-02 01:50:21,174 - INFO - Deleting VM ctest-vn1-vm1-89859664 2025-10-02 01:50:21,235 - INFO - Deleting VN ctest-vn2-36451417 2025-10-02 01:50:21,265 - DEBUG - VN 11e0e0e0-97a3-4099-9261-38c4f7e5e99d still in use: Unable to complete operation on network 11e0e0e0-97a3-4099-9261-38c4f7e5e99d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cb03d15a-6424-4f37-a4dd-1bb7d9fb3388'] 2025-10-02 01:50:21,265 - WARNING - Deleting VN ctest-vn2-36451417 failed..Will retry 2025-10-02 01:50:23,345 - DEBUG - Response for deleting network () 2025-10-02 01:50:23,345 - INFO - Deleting VN ctest-vn1-63555230 2025-10-02 01:50:23,422 - DEBUG - Response for deleting network () 2025-10-02 01:50:23,673 - DEBUG - No XMPP flaps were noticed during the test
2025-10-02 01:50:23,673 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:33]
2025-10-02 01:50:23,673 - INFO - -------------------------------------------------------------------------------- 2025-10-02 01:50:24,294 - INFO - Deleted project: ctest-TestRouters-48752580, ID : 84eb6962-66c3-43de-9153-a534d4552278