2025-11-02 22:37:43,065 - INFO - Domain Default found not creating 2025-11-02 22:37:43,221 - INFO - Project ctest-TestRouters-79127596 not found, creating it 2025-11-02 22:37:43,766 - INFO - Created Project:ctest-TestRouters-79127596, ID : 12b25c56-fb39-45b7-8276-a6cc3ef00bf1 2025-11-02 22:37:45,257 - INFO - ================================================================================ 2025-11-02 22:37:45,258 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-02 22:37:45,258 - 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-02 22:37:45,541 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-11-02 22:37:45,541 - INFO - Initial checks done. Running the testcase now 2025-11-02 22:37:45,541 - INFO - 2025-11-02 22:37:46,143 - DEBUG - Response for create_network : {'network': {'id': 'eeab19fc-0714-413e-80fb-50c3deb092bc', 'name': 'ctest-vn1-44582232', 'tenant_id': '12b25c56fb3945b78276a6cc3ef00bf1', 'project_id': '12b25c56fb3945b78276a6cc3ef00bf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-79127596', 'ctest-vn1-44582232'], 'port_security_enabled': True, 'description': ''}} 2025-11-02 22:37:46,367 - DEBUG - Response for create_subnet : {'subnet': {'id': '0cd536b0-1790-4d17-a9a3-36102cf214c6', 'name': '', 'tenant_id': '12b25c56fb3945b78276a6cc3ef00bf1', 'network_id': 'eeab19fc-0714-413e-80fb-50c3deb092bc', 'ip_version': 4, 'cidr': '194.172.241.128/26', 'allocation_pools': [{'start': '194.172.241.130', 'end': '194.172.241.190'}], 'gateway_ip': '194.172.241.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.172.241.130', 'tags': [], 'project_id': '12b25c56fb3945b78276a6cc3ef00bf1'}} 2025-11-02 22:37:46,384 - INFO - Created VN ctest-vn1-44582232 2025-11-02 22:37:46,436 - DEBUG - VN ctest-vn1-44582232 UUID is eeab19fc-0714-413e-80fb-50c3deb092bc 2025-11-02 22:37:46,736 - DEBUG - Response for create_network : {'network': {'id': '7d22175c-feb1-4f8e-9e17-c424113f0542', 'name': 'ctest-vn2-15713655', 'tenant_id': '12b25c56fb3945b78276a6cc3ef00bf1', 'project_id': '12b25c56fb3945b78276a6cc3ef00bf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-79127596', 'ctest-vn2-15713655'], 'port_security_enabled': True, 'description': ''}} 2025-11-02 22:37:46,953 - DEBUG - Response for create_subnet : {'subnet': {'id': '60cdacf1-789b-47b7-b155-9d37cbc15a96', 'name': '', 'tenant_id': '12b25c56fb3945b78276a6cc3ef00bf1', 'network_id': '7d22175c-feb1-4f8e-9e17-c424113f0542', 'ip_version': 4, 'cidr': '181.113.33.128/26', 'allocation_pools': [{'start': '181.113.33.130', 'end': '181.113.33.190'}], 'gateway_ip': '181.113.33.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.113.33.130', 'tags': [], 'project_id': '12b25c56fb3945b78276a6cc3ef00bf1'}} 2025-11-02 22:37:46,970 - INFO - Created VN ctest-vn2-15713655 2025-11-02 22:37:47,024 - DEBUG - VN ctest-vn2-15713655 UUID is 7d22175c-feb1-4f8e-9e17-c424113f0542 2025-11-02 22:37:47,191 - DEBUG - Services list from nova: [, , ] 2025-11-02 22:37:48,266 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4596-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4596-1) 2025-11-02 22:37:49,499 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4596-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4596-1) 2025-11-02 22:37:49,562 - INFO - Adding interface with subnet_id 0cd536b0-1790-4d17-a9a3-36102cf214c6, port_id None to router 498777aa-7a54-4454-a589-abc6d2f9a95c 2025-11-02 22:37:49,804 - INFO - Waiting for VM ctest-vn1-vm1-30612007 to be up.. 2025-11-02 22:37:49,891 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-02 22:37:54,971 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-02 22:38:00,056 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-02 22:38:05,156 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-02 22:38:10,237 - DEBUG - VM is in ACTIVE state now 2025-11-02 22:38:10,237 - INFO - VM name : ctest-vn1-vm1-30612007 2025-11-02 22:38:10,313 - DEBUG - VM ctest-vn1-vm1-30612007 ID is 521430a2-3ebf-4c97-bd86-b002e89654e6 2025-11-02 22:38:10,331 - DEBUG - VM ctest-vn1-vm1-30612007 launched on Node cn-jenkins-deploy-platform-ansible-os-4596-1 2025-11-02 22:38:10,409 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/521430a2-3ebf-4c97-bd86-b002e89654e6 2025-11-02 22:38:10,726 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/521430a2-3ebf-4c97-bd86-b002e89654e6 2025-11-02 22:38:10,759 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/65080da9-7f61-40cb-a2ab-3c925351f78d 2025-11-02 22:38:14,018 - 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 1018ms') 2025-11-02 22:38:14,018 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-30612007 failed! 2025-11-02 22:38:14,076 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-79127596:ctest-vn1-44582232 is 194.172.241.129 and allocation pool is NOT set 2025-11-02 22:38:16,141 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.490 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.490/1.648/2.807/1.158 ms') 2025-11-02 22:38:16,141 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-30612007 passed 2025-11-02 22:38:16,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 22:38:16,292 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-30612007, IP 194.172.241.131, Port 22 2025-11-02 22:38:16,448 - DEBUG - VM ctest-vn1-vm1-30612007 is ready for SSH connections 2025-11-02 22:38:16,448 - INFO - Waiting for VM ctest-vn2-vm1-99411717 to be up.. 2025-11-02 22:38:16,526 - DEBUG - VM is in ACTIVE state now 2025-11-02 22:38:16,526 - INFO - VM name : ctest-vn2-vm1-99411717 2025-11-02 22:38:16,604 - DEBUG - VM ctest-vn2-vm1-99411717 ID is ec632b9a-a995-4776-a645-85583fc75a5b 2025-11-02 22:38:16,604 - DEBUG - VM ctest-vn2-vm1-99411717 launched on Node cn-jenkins-deploy-platform-ansible-os-4596-1 2025-11-02 22:38:16,687 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/ec632b9a-a995-4776-a645-85583fc75a5b 2025-11-02 22:38:16,696 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/ffc7878a-0837-4ea7-b94b-af52c538ba5b 2025-11-02 22:38:17,932 - 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=9.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.688 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.688/5.047/9.407/4.359 ms') 2025-11-02 22:38:17,932 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-99411717 passed 2025-11-02 22:38:18,080 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 22:38:18,080 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-99411717, IP 181.113.33.131, Port 22 2025-11-02 22:38:18,236 - DEBUG - VM ctest-vn2-vm1-99411717 is ready for SSH connections 2025-11-02 22:38:18,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 22:38:18,236 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.113.33.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-02 22:38:18,236 - DEBUG - ping -s 56 -c 3 -W 1 181.113.33.131 2025-11-02 22:38:22,967 - DEBUG - PING 181.113.33.131 (181.113.33.131): 56 data bytes --- 181.113.33.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-02 22:38:22,968 - WARNING - Ping to IP 181.113.33.131 from VM ctest-vn1-vm1-30612007 failed 2025-11-02 22:38:22,968 - INFO - Adding interface with subnet_id 60cdacf1-789b-47b7-b155-9d37cbc15a96, port_id None to router 498777aa-7a54-4454-a589-abc6d2f9a95c 2025-11-02 22:38:23,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 22:38:23,281 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.113.33.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-02 22:38:23,281 - DEBUG - ping -s 56 -c 3 -W 1 181.113.33.131 2025-11-02 22:38:25,493 - DEBUG - PING 181.113.33.131 (181.113.33.131): 56 data bytes 64 bytes from 181.113.33.131: seq=0 ttl=63 time=3.203 ms 64 bytes from 181.113.33.131: seq=1 ttl=63 time=0.979 ms 64 bytes from 181.113.33.131: seq=2 ttl=63 time=0.886 ms --- 181.113.33.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.886/1.689/3.203 ms 2025-11-02 22:38:25,493 - INFO - Ping to IP 181.113.33.131 from VM ctest-vn1-vm1-30612007 passed 2025-11-02 22:38:25,493 - INFO - Deleting interface with subnet_id 0cd536b0-1790-4d17-a9a3-36102cf214c6, port_id None from router 498777aa-7a54-4454-a589-abc6d2f9a95c 2025-11-02 22:38:25,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 22:38:25,621 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.113.33.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-02 22:38:25,621 - DEBUG - ping -s 56 -c 3 -W 1 181.113.33.131 2025-11-02 22:38:28,823 - DEBUG - PING 181.113.33.131 (181.113.33.131): 56 data bytes --- 181.113.33.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-02 22:38:28,823 - WARNING - Ping to IP 181.113.33.131 from VM ctest-vn1-vm1-30612007 failed 2025-11-02 22:38:28,823 - INFO - Adding interface with subnet_id 0cd536b0-1790-4d17-a9a3-36102cf214c6, port_id None to router 498777aa-7a54-4454-a589-abc6d2f9a95c 2025-11-02 22:38:29,051 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 22:38:29,052 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.113.33.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-02 22:38:29,052 - DEBUG - ping -s 56 -c 3 -W 1 181.113.33.131 2025-11-02 22:38:31,265 - DEBUG - PING 181.113.33.131 (181.113.33.131): 56 data bytes 64 bytes from 181.113.33.131: seq=0 ttl=63 time=2.317 ms 64 bytes from 181.113.33.131: seq=1 ttl=63 time=0.761 ms 64 bytes from 181.113.33.131: seq=2 ttl=63 time=1.106 ms --- 181.113.33.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.761/1.394/2.317 ms 2025-11-02 22:38:31,266 - INFO - Ping to IP 181.113.33.131 from VM ctest-vn1-vm1-30612007 passed 2025-11-02 22:38:31,266 - INFO - Deleting interface with subnet_id 60cdacf1-789b-47b7-b155-9d37cbc15a96, port_id None from router 498777aa-7a54-4454-a589-abc6d2f9a95c 2025-11-02 22:38:31,388 - INFO - Deleting interface with subnet_id 0cd536b0-1790-4d17-a9a3-36102cf214c6, port_id None from router 498777aa-7a54-4454-a589-abc6d2f9a95c 2025-11-02 22:38:31,567 - INFO - Deleting VM ctest-vn2-vm1-99411717 2025-11-02 22:38:31,640 - INFO - Deleting VM ctest-vn1-vm1-30612007 2025-11-02 22:38:31,711 - INFO - Deleting VN ctest-vn2-15713655 2025-11-02 22:38:31,751 - DEBUG - VN 7d22175c-feb1-4f8e-9e17-c424113f0542 still in use: Unable to complete operation on network 7d22175c-feb1-4f8e-9e17-c424113f0542. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e493157f-7b5c-413c-adfe-ff1e2288f4c7'] 2025-11-02 22:38:31,751 - WARNING - Deleting VN ctest-vn2-15713655 failed..Will retry 2025-11-02 22:38:33,860 - DEBUG - Response for deleting network () 2025-11-02 22:38:33,860 - INFO - Deleting VN ctest-vn1-44582232 2025-11-02 22:38:33,955 - DEBUG - Response for deleting network () 2025-11-02 22:38:34,218 - DEBUG - No XMPP flaps were noticed during the test
2025-11-02 22:38:34,218 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:49]
2025-11-02 22:38:34,218 - INFO - -------------------------------------------------------------------------------- 2025-11-02 22:38:34,909 - INFO - Deleted project: ctest-TestRouters-79127596, ID : 12b25c56-fb39-45b7-8276-a6cc3ef00bf1