2025-11-04 21:50:17,838 - INFO - Domain Default found not creating 2025-11-04 21:50:17,983 - INFO - Project ctest-TestRouters-16593948 not found, creating it 2025-11-04 21:50:18,463 - INFO - Created Project:ctest-TestRouters-16593948, ID : e0f74934-48a3-47bf-830c-19dac889fdd2 2025-11-04 21:50:20,129 - INFO - ================================================================================ 2025-11-04 21:50:20,129 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-04 21:50:20,129 - 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-11-04 21:50:20,401 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2025-11-04 21:50:20,402 - INFO - Initial checks done. Running the testcase now 2025-11-04 21:50:20,402 - INFO - 2025-11-04 21:50:21,023 - DEBUG - Response for create_network : {'network': {'id': '8232eb5f-3378-4dc6-bff9-2e5724b9dbee', 'name': 'ctest-vn1-82471909', 'tenant_id': 'e0f7493448a347bf830c19dac889fdd2', 'project_id': 'e0f7493448a347bf830c19dac889fdd2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-16593948', 'ctest-vn1-82471909'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 21:50:21,254 - DEBUG - Response for create_subnet : {'subnet': {'id': '589dfab8-ab59-49f3-9e39-9c29f5d5fa3e', 'name': '', 'tenant_id': 'e0f7493448a347bf830c19dac889fdd2', 'network_id': '8232eb5f-3378-4dc6-bff9-2e5724b9dbee', 'ip_version': 4, 'cidr': '207.163.91.192/26', 'allocation_pools': [{'start': '207.163.91.194', 'end': '207.163.91.254'}], 'gateway_ip': '207.163.91.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.163.91.194', 'tags': [], 'project_id': 'e0f7493448a347bf830c19dac889fdd2'}} 2025-11-04 21:50:21,278 - INFO - Created VN ctest-vn1-82471909 2025-11-04 21:50:21,334 - DEBUG - VN ctest-vn1-82471909 UUID is 8232eb5f-3378-4dc6-bff9-2e5724b9dbee 2025-11-04 21:50:21,681 - DEBUG - Response for create_network : {'network': {'id': '44c1721d-545d-42e2-80f8-293e97d7deab', 'name': 'ctest-vn2-73957542', 'tenant_id': 'e0f7493448a347bf830c19dac889fdd2', 'project_id': 'e0f7493448a347bf830c19dac889fdd2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-16593948', 'ctest-vn2-73957542'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 21:50:21,892 - DEBUG - Response for create_subnet : {'subnet': {'id': '768a8e77-81dd-4140-b80c-23232f521692', 'name': '', 'tenant_id': 'e0f7493448a347bf830c19dac889fdd2', 'network_id': '44c1721d-545d-42e2-80f8-293e97d7deab', 'ip_version': 4, 'cidr': '209.2.8.128/26', 'allocation_pools': [{'start': '209.2.8.130', 'end': '209.2.8.190'}], 'gateway_ip': '209.2.8.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.2.8.130', 'tags': [], 'project_id': 'e0f7493448a347bf830c19dac889fdd2'}} 2025-11-04 21:50:21,908 - INFO - Created VN ctest-vn2-73957542 2025-11-04 21:50:21,962 - DEBUG - VN ctest-vn2-73957542 UUID is 44c1721d-545d-42e2-80f8-293e97d7deab 2025-11-04 21:50:22,127 - DEBUG - Services list from nova: [, , ] 2025-11-04 21:50:23,379 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4624-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4624-1) 2025-11-04 21:50:24,719 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4624-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4624-1) 2025-11-04 21:50:24,799 - INFO - Adding interface with subnet_id 589dfab8-ab59-49f3-9e39-9c29f5d5fa3e, port_id None to router a191e55e-7f47-4b2a-85b8-affab37fcd7c 2025-11-04 21:50:25,094 - INFO - Waiting for VM ctest-vn1-vm1-29915586 to be up.. 2025-11-04 21:50:25,218 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-04 21:50:30,296 - DEBUG - VM is in ACTIVE state now 2025-11-04 21:50:30,296 - INFO - VM name : ctest-vn1-vm1-29915586 2025-11-04 21:50:30,369 - DEBUG - VM ctest-vn1-vm1-29915586 ID is 6871cccf-da28-4bfc-b7b4-f3b71a376ae0 2025-11-04 21:50:30,389 - DEBUG - VM ctest-vn1-vm1-29915586 launched on Node cn-jenkins-deploy-platform-ansible-os-4624-1 2025-11-04 21:50:30,464 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/6871cccf-da28-4bfc-b7b4-f3b71a376ae0 2025-11-04 21:50:30,771 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/6871cccf-da28-4bfc-b7b4-f3b71a376ae0 2025-11-04 21:50:30,805 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/946104e8-b62a-429b-a379-9ec0579a5c04 2025-11-04 21:50:34,068 - 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 1030ms') 2025-11-04 21:50:34,068 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-29915586 failed! 2025-11-04 21:50:34,122 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-16593948:ctest-vn1-82471909 is 207.163.91.193 and allocation pool is NOT set 2025-11-04 21:50:36,186 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.532 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.532/1.638/2.745/1.106 ms') 2025-11-04 21:50:36,186 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-29915586 passed 2025-11-04 21:50:36,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:50:36,334 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-29915586, IP 207.163.91.195, Port 22 2025-11-04 21:50:36,490 - DEBUG - VM ctest-vn1-vm1-29915586 is ready for SSH connections 2025-11-04 21:50:36,491 - INFO - Waiting for VM ctest-vn2-vm1-91230156 to be up.. 2025-11-04 21:50:36,567 - DEBUG - VM is in ACTIVE state now 2025-11-04 21:50:36,567 - INFO - VM name : ctest-vn2-vm1-91230156 2025-11-04 21:50:36,637 - DEBUG - VM ctest-vn2-vm1-91230156 ID is 32e404cd-5d63-4e30-94f7-0410e61df2fd 2025-11-04 21:50:36,637 - DEBUG - VM ctest-vn2-vm1-91230156 launched on Node cn-jenkins-deploy-platform-ansible-os-4624-1 2025-11-04 21:50:36,711 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/32e404cd-5d63-4e30-94f7-0410e61df2fd 2025-11-04 21:50:36,719 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/2b25e92b-2bd1-4706-a0f5-76d3ef48b09e 2025-11-04 21:50:37,960 - 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=4.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.28 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 = 1.284/3.124/4.964/1.840 ms') 2025-11-04 21:50:37,960 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-91230156 passed 2025-11-04 21:50:38,118 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:50:38,119 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-91230156, IP 209.2.8.131, Port 22 2025-11-04 21:50:38,274 - DEBUG - VM ctest-vn2-vm1-91230156 is ready for SSH connections 2025-11-04 21:50:38,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:50:38,275 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.2.8.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-04 21:50:38,275 - DEBUG - ping -s 56 -c 3 -W 1 209.2.8.131 2025-11-04 21:50:43,282 - DEBUG - PING 209.2.8.131 (209.2.8.131): 56 data bytes --- 209.2.8.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-04 21:50:43,282 - WARNING - Ping to IP 209.2.8.131 from VM ctest-vn1-vm1-29915586 failed 2025-11-04 21:50:43,282 - INFO - Adding interface with subnet_id 768a8e77-81dd-4140-b80c-23232f521692, port_id None to router a191e55e-7f47-4b2a-85b8-affab37fcd7c 2025-11-04 21:50:43,524 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:50:43,524 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.2.8.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-04 21:50:43,524 - DEBUG - ping -s 56 -c 3 -W 1 209.2.8.131 2025-11-04 21:50:46,748 - DEBUG - PING 209.2.8.131 (209.2.8.131): 56 data bytes 64 bytes from 209.2.8.131: seq=1 ttl=63 time=2.891 ms 64 bytes from 209.2.8.131: seq=2 ttl=63 time=0.855 ms --- 209.2.8.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.855/1.873/2.891 ms 2025-11-04 21:50:46,748 - WARNING - Ping to IP 209.2.8.131 from VM ctest-vn1-vm1-29915586 failed 2025-11-04 21:50:47,749 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.2.8.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-04 21:50:47,750 - DEBUG - ping -s 56 -c 3 -W 1 209.2.8.131 2025-11-04 21:50:49,981 - DEBUG - PING 209.2.8.131 (209.2.8.131): 56 data bytes 64 bytes from 209.2.8.131: seq=0 ttl=63 time=1.585 ms 64 bytes from 209.2.8.131: seq=1 ttl=63 time=1.385 ms 64 bytes from 209.2.8.131: seq=2 ttl=63 time=1.302 ms --- 209.2.8.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.302/1.424/1.585 ms 2025-11-04 21:50:49,981 - INFO - Ping to IP 209.2.8.131 from VM ctest-vn1-vm1-29915586 passed 2025-11-04 21:50:49,981 - INFO - Deleting interface with subnet_id 589dfab8-ab59-49f3-9e39-9c29f5d5fa3e, port_id None from router a191e55e-7f47-4b2a-85b8-affab37fcd7c 2025-11-04 21:50:50,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:50:50,133 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.2.8.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-04 21:50:50,133 - DEBUG - ping -s 56 -c 3 -W 1 209.2.8.131 2025-11-04 21:50:53,359 - DEBUG - PING 209.2.8.131 (209.2.8.131): 56 data bytes --- 209.2.8.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-04 21:50:53,359 - WARNING - Ping to IP 209.2.8.131 from VM ctest-vn1-vm1-29915586 failed 2025-11-04 21:50:53,359 - INFO - Adding interface with subnet_id 589dfab8-ab59-49f3-9e39-9c29f5d5fa3e, port_id None to router a191e55e-7f47-4b2a-85b8-affab37fcd7c 2025-11-04 21:50:53,565 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:50:53,565 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.2.8.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-04 21:50:53,565 - DEBUG - ping -s 56 -c 3 -W 1 209.2.8.131 2025-11-04 21:50:55,767 - DEBUG - PING 209.2.8.131 (209.2.8.131): 56 data bytes 64 bytes from 209.2.8.131: seq=0 ttl=63 time=1.417 ms 64 bytes from 209.2.8.131: seq=1 ttl=63 time=0.827 ms 64 bytes from 209.2.8.131: seq=2 ttl=63 time=0.922 ms --- 209.2.8.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.827/1.055/1.417 ms 2025-11-04 21:50:55,767 - INFO - Ping to IP 209.2.8.131 from VM ctest-vn1-vm1-29915586 passed 2025-11-04 21:50:55,767 - INFO - Deleting interface with subnet_id 768a8e77-81dd-4140-b80c-23232f521692, port_id None from router a191e55e-7f47-4b2a-85b8-affab37fcd7c 2025-11-04 21:50:55,891 - INFO - Deleting interface with subnet_id 589dfab8-ab59-49f3-9e39-9c29f5d5fa3e, port_id None from router a191e55e-7f47-4b2a-85b8-affab37fcd7c 2025-11-04 21:50:56,063 - INFO - Deleting VM ctest-vn2-vm1-91230156 2025-11-04 21:50:56,147 - INFO - Deleting VM ctest-vn1-vm1-29915586 2025-11-04 21:50:56,226 - INFO - Deleting VN ctest-vn2-73957542 2025-11-04 21:50:56,269 - DEBUG - VN 44c1721d-545d-42e2-80f8-293e97d7deab still in use: Unable to complete operation on network 44c1721d-545d-42e2-80f8-293e97d7deab. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-91aa39f1-0f5f-4b72-968e-cc813151d0a7'] 2025-11-04 21:50:56,270 - WARNING - Deleting VN ctest-vn2-73957542 failed..Will retry 2025-11-04 21:50:58,373 - DEBUG - Response for deleting network () 2025-11-04 21:50:58,374 - INFO - Deleting VN ctest-vn1-82471909 2025-11-04 21:50:58,476 - DEBUG - Response for deleting network () 2025-11-04 21:50:58,739 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 21:50:58,739 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-11-04 21:50:58,739 - INFO - -------------------------------------------------------------------------------- 2025-11-04 21:50:59,455 - INFO - Deleted project: ctest-TestRouters-16593948, ID : e0f74934-48a3-47bf-830c-19dac889fdd2