2025-08-25 23:34:17,654 - INFO - Domain Default found not creating 2025-08-25 23:34:17,825 - INFO - Project ctest-TestRouters-22920123 not found, creating it 2025-08-25 23:34:18,350 - INFO - Created Project:ctest-TestRouters-22920123, ID : 475ed203-f05e-4bcd-b534-48754bcf6360 2025-08-25 23:34:19,888 - INFO - ================================================================================ 2025-08-25 23:34:19,888 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-25 23:34:19,888 - 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-08-25 23:34:20,147 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2025-08-25 23:34:20,147 - INFO - Initial checks done. Running the testcase now 2025-08-25 23:34:20,147 - INFO - 2025-08-25 23:34:20,742 - DEBUG - Response for create_network : {'network': {'id': 'f40e0088-1a66-4a2e-9c40-40ee09f1216a', 'name': 'ctest-vn1-69619677', 'tenant_id': '475ed203f05e4bcdb53448754bcf6360', 'project_id': '475ed203f05e4bcdb53448754bcf6360', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-22920123', 'ctest-vn1-69619677'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 23:34:20,938 - DEBUG - Response for create_subnet : {'subnet': {'id': '1c31a89f-8648-42ce-9a8b-32d76af15a28', 'name': '', 'tenant_id': '475ed203f05e4bcdb53448754bcf6360', 'network_id': 'f40e0088-1a66-4a2e-9c40-40ee09f1216a', 'ip_version': 4, 'cidr': '195.185.152.128/26', 'allocation_pools': [{'start': '195.185.152.130', 'end': '195.185.152.190'}], 'gateway_ip': '195.185.152.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.185.152.130', 'tags': [], 'project_id': '475ed203f05e4bcdb53448754bcf6360'}} 2025-08-25 23:34:20,961 - INFO - Created VN ctest-vn1-69619677 2025-08-25 23:34:21,021 - DEBUG - VN ctest-vn1-69619677 UUID is f40e0088-1a66-4a2e-9c40-40ee09f1216a 2025-08-25 23:34:21,382 - DEBUG - Response for create_network : {'network': {'id': '1e5a90cc-5cb0-4ab1-b504-de7ae5c81ab8', 'name': 'ctest-vn2-97690291', 'tenant_id': '475ed203f05e4bcdb53448754bcf6360', 'project_id': '475ed203f05e4bcdb53448754bcf6360', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-22920123', 'ctest-vn2-97690291'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 23:34:21,646 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f0f055d1-f079-4eb0-96ba-6ff90e75bc06', 'name': '', 'tenant_id': '475ed203f05e4bcdb53448754bcf6360', 'network_id': '1e5a90cc-5cb0-4ab1-b504-de7ae5c81ab8', 'ip_version': 4, 'cidr': '217.255.228.192/26', 'allocation_pools': [{'start': '217.255.228.194', 'end': '217.255.228.254'}], 'gateway_ip': '217.255.228.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.255.228.194', 'tags': [], 'project_id': '475ed203f05e4bcdb53448754bcf6360'}} 2025-08-25 23:34:21,664 - INFO - Created VN ctest-vn2-97690291 2025-08-25 23:34:21,724 - DEBUG - VN ctest-vn2-97690291 UUID is 1e5a90cc-5cb0-4ab1-b504-de7ae5c81ab8 2025-08-25 23:34:21,939 - DEBUG - Services list from nova: [, , ] 2025-08-25 23:34:23,000 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3930-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3930-1) 2025-08-25 23:34:24,332 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3930-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3930-1) 2025-08-25 23:34:24,431 - INFO - Adding interface with subnet_id 1c31a89f-8648-42ce-9a8b-32d76af15a28, port_id None to router 3f45d301-b1d4-401f-bc9d-52a4f16886fd 2025-08-25 23:34:25,029 - INFO - Waiting for VM ctest-vn1-vm1-76307396 to be up.. 2025-08-25 23:34:25,185 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-25 23:34:30,286 - DEBUG - VM is in ACTIVE state now 2025-08-25 23:34:30,286 - INFO - VM name : ctest-vn1-vm1-76307396 2025-08-25 23:34:30,367 - DEBUG - VM ctest-vn1-vm1-76307396 ID is 13adb0b9-6a06-4ef5-bd13-23f62067fd75 2025-08-25 23:34:30,389 - DEBUG - VM ctest-vn1-vm1-76307396 launched on Node cn-jenkins-deploy-platform-ansible-os-3930-1 2025-08-25 23:34:30,466 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/13adb0b9-6a06-4ef5-bd13-23f62067fd75 2025-08-25 23:34:30,798 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/13adb0b9-6a06-4ef5-bd13-23f62067fd75 2025-08-25 23:34:30,840 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/32aeabbb-1f04-441e-8e2d-cf6f3eee8845 2025-08-25 23:34:34,106 - 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 1005ms') 2025-08-25 23:34:34,106 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76307396 failed! 2025-08-25 23:34:34,168 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-22920123:ctest-vn1-69619677 is 195.185.152.129 and allocation pool is NOT set 2025-08-25 23:34:36,229 - 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=7.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.504 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.504/3.760/7.016/3.256 ms') 2025-08-25 23:34:36,229 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76307396 passed 2025-08-25 23:34:36,388 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 23:34:36,388 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-76307396, IP 195.185.152.131, Port 22 2025-08-25 23:34:36,559 - DEBUG - VM ctest-vn1-vm1-76307396 is ready for SSH connections 2025-08-25 23:34:36,559 - INFO - Waiting for VM ctest-vn2-vm1-83184804 to be up.. 2025-08-25 23:34:36,688 - DEBUG - VM is in ACTIVE state now 2025-08-25 23:34:36,688 - INFO - VM name : ctest-vn2-vm1-83184804 2025-08-25 23:34:36,771 - DEBUG - VM ctest-vn2-vm1-83184804 ID is f1dcfa92-469d-43a9-9044-1db044735f3f 2025-08-25 23:34:36,771 - DEBUG - VM ctest-vn2-vm1-83184804 launched on Node cn-jenkins-deploy-platform-ansible-os-3930-1 2025-08-25 23:34:36,856 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/f1dcfa92-469d-43a9-9044-1db044735f3f 2025-08-25 23:34:36,865 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/5d8b42eb-13d9-4848-b7de-c61c7c53a7bb 2025-08-25 23:34:38,116 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.561 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.561/1.747/2.934/1.186 ms') 2025-08-25 23:34:38,116 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-83184804 passed 2025-08-25 23:34:38,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 23:34:38,272 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-83184804, IP 217.255.228.195, Port 22 2025-08-25 23:34:38,448 - DEBUG - VM ctest-vn2-vm1-83184804 is ready for SSH connections 2025-08-25 23:34:38,448 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 23:34:38,448 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 217.255.228.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-25 23:34:38,448 - DEBUG - ping -s 56 -c 3 -W 1 217.255.228.195 2025-08-25 23:34:43,098 - DEBUG - PING 217.255.228.195 (217.255.228.195): 56 data bytes --- 217.255.228.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-25 23:34:43,098 - WARNING - Ping to IP 217.255.228.195 from VM ctest-vn1-vm1-76307396 failed 2025-08-25 23:34:43,098 - INFO - Adding interface with subnet_id f0f055d1-f079-4eb0-96ba-6ff90e75bc06, port_id None to router 3f45d301-b1d4-401f-bc9d-52a4f16886fd 2025-08-25 23:34:43,390 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 23:34:43,391 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 217.255.228.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-25 23:34:43,391 - DEBUG - ping -s 56 -c 3 -W 1 217.255.228.195 2025-08-25 23:34:46,597 - DEBUG - PING 217.255.228.195 (217.255.228.195): 56 data bytes 64 bytes from 217.255.228.195: seq=1 ttl=63 time=3.395 ms 64 bytes from 217.255.228.195: seq=2 ttl=63 time=0.834 ms --- 217.255.228.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.834/2.114/3.395 ms 2025-08-25 23:34:46,597 - WARNING - Ping to IP 217.255.228.195 from VM ctest-vn1-vm1-76307396 failed 2025-08-25 23:34:47,598 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 217.255.228.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-25 23:34:47,598 - DEBUG - ping -s 56 -c 3 -W 1 217.255.228.195 2025-08-25 23:34:49,809 - DEBUG - PING 217.255.228.195 (217.255.228.195): 56 data bytes 64 bytes from 217.255.228.195: seq=0 ttl=63 time=1.333 ms 64 bytes from 217.255.228.195: seq=1 ttl=63 time=0.863 ms 64 bytes from 217.255.228.195: seq=2 ttl=63 time=0.930 ms --- 217.255.228.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.863/1.042/1.333 ms 2025-08-25 23:34:49,809 - INFO - Ping to IP 217.255.228.195 from VM ctest-vn1-vm1-76307396 passed 2025-08-25 23:34:49,809 - INFO - Deleting interface with subnet_id 1c31a89f-8648-42ce-9a8b-32d76af15a28, port_id None from router 3f45d301-b1d4-401f-bc9d-52a4f16886fd 2025-08-25 23:34:49,988 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 23:34:49,989 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 217.255.228.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-25 23:34:49,989 - DEBUG - ping -s 56 -c 3 -W 1 217.255.228.195 2025-08-25 23:34:53,199 - DEBUG - PING 217.255.228.195 (217.255.228.195): 56 data bytes --- 217.255.228.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-25 23:34:53,200 - WARNING - Ping to IP 217.255.228.195 from VM ctest-vn1-vm1-76307396 failed 2025-08-25 23:34:53,200 - INFO - Adding interface with subnet_id 1c31a89f-8648-42ce-9a8b-32d76af15a28, port_id None to router 3f45d301-b1d4-401f-bc9d-52a4f16886fd 2025-08-25 23:34:53,467 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 23:34:53,467 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 217.255.228.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-25 23:34:53,467 - DEBUG - ping -s 56 -c 3 -W 1 217.255.228.195 2025-08-25 23:34:55,677 - DEBUG - PING 217.255.228.195 (217.255.228.195): 56 data bytes 64 bytes from 217.255.228.195: seq=0 ttl=63 time=1.571 ms 64 bytes from 217.255.228.195: seq=1 ttl=63 time=0.843 ms 64 bytes from 217.255.228.195: seq=2 ttl=63 time=0.925 ms --- 217.255.228.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.843/1.113/1.571 ms 2025-08-25 23:34:55,677 - INFO - Ping to IP 217.255.228.195 from VM ctest-vn1-vm1-76307396 passed 2025-08-25 23:34:55,677 - INFO - Deleting interface with subnet_id f0f055d1-f079-4eb0-96ba-6ff90e75bc06, port_id None from router 3f45d301-b1d4-401f-bc9d-52a4f16886fd 2025-08-25 23:34:55,849 - INFO - Deleting interface with subnet_id 1c31a89f-8648-42ce-9a8b-32d76af15a28, port_id None from router 3f45d301-b1d4-401f-bc9d-52a4f16886fd 2025-08-25 23:34:56,138 - INFO - Deleting VM ctest-vn2-vm1-83184804 2025-08-25 23:34:56,220 - INFO - Deleting VM ctest-vn1-vm1-76307396 2025-08-25 23:34:56,298 - INFO - Deleting VN ctest-vn2-97690291 2025-08-25 23:34:56,338 - DEBUG - VN 1e5a90cc-5cb0-4ab1-b504-de7ae5c81ab8 still in use: Unable to complete operation on network 1e5a90cc-5cb0-4ab1-b504-de7ae5c81ab8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3b2b7778-de9d-4a96-a37c-96723db2583c'] 2025-08-25 23:34:56,338 - WARNING - Deleting VN ctest-vn2-97690291 failed..Will retry 2025-08-25 23:34:58,460 - DEBUG - Response for deleting network () 2025-08-25 23:34:58,461 - INFO - Deleting VN ctest-vn1-69619677 2025-08-25 23:34:58,594 - DEBUG - Response for deleting network () 2025-08-25 23:34:58,855 - DEBUG - No XMPP flaps were noticed during the test 2025-08-25 23:34:58,855 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-08-25 23:34:58,855 - INFO - -------------------------------------------------------------------------------- 2025-08-25 23:34:59,570 - INFO - Deleted project: ctest-TestRouters-22920123, ID : 475ed203-f05e-4bcd-b534-48754bcf6360