2025-11-19 16:12:14,249 - INFO - Domain Default found not creating 2025-11-19 16:12:14,442 - INFO - Project ctest-TestRouters-53428479 not found, creating it 2025-11-19 16:12:14,949 - INFO - Created Project:ctest-TestRouters-53428479, ID : 0c7f6e79-0348-426d-b8a7-c25c58532b62 2025-11-19 16:12:17,240 - INFO - ================================================================================ 2025-11-19 16:12:17,240 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-19 16:12:17,240 - 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-19 16:12:17,514 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.25': '0'}} with 2025-11-19 16:12:17,514 - INFO - Initial checks done. Running the testcase now 2025-11-19 16:12:17,515 - INFO - 2025-11-19 16:12:18,169 - DEBUG - Response for create_network : {'network': {'id': '896e8dfb-db89-4b1f-b28d-293be53cf60a', 'name': 'ctest-vn1-58112496', 'tenant_id': '0c7f6e790348426db8a7c25c58532b62', 'project_id': '0c7f6e790348426db8a7c25c58532b62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-53428479', 'ctest-vn1-58112496'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 16:12:18,415 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab23ef6f-5909-42e4-a5ad-dece4bf0e816', 'name': '', 'tenant_id': '0c7f6e790348426db8a7c25c58532b62', 'network_id': '896e8dfb-db89-4b1f-b28d-293be53cf60a', 'ip_version': 4, 'cidr': '124.106.196.0/26', 'allocation_pools': [{'start': '124.106.196.2', 'end': '124.106.196.62'}], 'gateway_ip': '124.106.196.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.106.196.2', 'tags': [], 'project_id': '0c7f6e790348426db8a7c25c58532b62'}} 2025-11-19 16:12:18,435 - INFO - Created VN ctest-vn1-58112496 2025-11-19 16:12:18,488 - DEBUG - VN ctest-vn1-58112496 UUID is 896e8dfb-db89-4b1f-b28d-293be53cf60a 2025-11-19 16:12:18,816 - DEBUG - Response for create_network : {'network': {'id': '1afdc61c-a0ea-4470-a687-9b9b30aec2bc', 'name': 'ctest-vn2-54545259', 'tenant_id': '0c7f6e790348426db8a7c25c58532b62', 'project_id': '0c7f6e790348426db8a7c25c58532b62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-53428479', 'ctest-vn2-54545259'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 16:12:18,988 - DEBUG - Response for create_subnet : {'subnet': {'id': '476d7b44-c2f9-4a83-8bcc-3d4e403f166f', 'name': '', 'tenant_id': '0c7f6e790348426db8a7c25c58532b62', 'network_id': '1afdc61c-a0ea-4470-a687-9b9b30aec2bc', 'ip_version': 4, 'cidr': '151.169.220.128/26', 'allocation_pools': [{'start': '151.169.220.130', 'end': '151.169.220.190'}], 'gateway_ip': '151.169.220.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.169.220.130', 'tags': [], 'project_id': '0c7f6e790348426db8a7c25c58532b62'}} 2025-11-19 16:12:19,008 - INFO - Created VN ctest-vn2-54545259 2025-11-19 16:12:19,064 - DEBUG - VN ctest-vn2-54545259 UUID is 1afdc61c-a0ea-4470-a687-9b9b30aec2bc 2025-11-19 16:12:19,250 - DEBUG - Services list from nova: [, , ] 2025-11-19 16:12:20,458 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4762-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4762-1) 2025-11-19 16:12:21,710 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4762-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4762-1) 2025-11-19 16:12:21,809 - INFO - Adding interface with subnet_id ab23ef6f-5909-42e4-a5ad-dece4bf0e816, port_id None to router f02f6f1d-2439-4efd-9ad3-24395c7f6670 2025-11-19 16:12:22,117 - INFO - Waiting for VM ctest-vn1-vm1-63055978 to be up.. 2025-11-19 16:12:22,231 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-19 16:12:27,324 - DEBUG - VM is in ACTIVE state now 2025-11-19 16:12:27,324 - INFO - VM name : ctest-vn1-vm1-63055978 2025-11-19 16:12:27,431 - DEBUG - VM ctest-vn1-vm1-63055978 ID is 4d0114ab-daba-408f-85e2-524995952731 2025-11-19 16:12:27,454 - DEBUG - VM ctest-vn1-vm1-63055978 launched on Node cn-jenkins-deploy-platform-ansible-os-4762-1 2025-11-19 16:12:27,549 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/4d0114ab-daba-408f-85e2-524995952731 2025-11-19 16:12:27,860 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/4d0114ab-daba-408f-85e2-524995952731 2025-11-19 16:12:27,910 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/493855e1-5b3f-42b7-a65a-94344698720b 2025-11-19 16:12:31,187 - 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 1019ms') 2025-11-19 16:12:31,187 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63055978 failed! 2025-11-19 16:12:31,246 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-53428479:ctest-vn1-58112496 is 124.106.196.1 and allocation pool is NOT set 2025-11-19 16:12:33,310 - 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=11.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.22 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 = 1.222/6.110/10.998/4.888 ms') 2025-11-19 16:12:33,310 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63055978 passed 2025-11-19 16:12:33,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 16:12:33,464 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-63055978, IP 124.106.196.3, Port 22 2025-11-19 16:12:33,639 - DEBUG - VM ctest-vn1-vm1-63055978 is ready for SSH connections 2025-11-19 16:12:33,639 - INFO - Waiting for VM ctest-vn2-vm1-08295797 to be up.. 2025-11-19 16:12:33,720 - DEBUG - VM is in ACTIVE state now 2025-11-19 16:12:33,720 - INFO - VM name : ctest-vn2-vm1-08295797 2025-11-19 16:12:33,804 - DEBUG - VM ctest-vn2-vm1-08295797 ID is ef337400-aa30-4565-9a3f-ae556f438313 2025-11-19 16:12:33,804 - DEBUG - VM ctest-vn2-vm1-08295797 launched on Node cn-jenkins-deploy-platform-ansible-os-4762-1 2025-11-19 16:12:33,890 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/ef337400-aa30-4565-9a3f-ae556f438313 2025-11-19 16:12:33,899 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/3dc8de7b-8438-414a-9799-02c5f7cfeebe 2025-11-19 16:12:35,138 - 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=5.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.10 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 = 1.096/3.415/5.734/2.319 ms') 2025-11-19 16:12:35,138 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-08295797 passed 2025-11-19 16:12:35,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 16:12:35,292 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-08295797, IP 151.169.220.131, Port 22 2025-11-19 16:12:35,478 - DEBUG - VM ctest-vn2-vm1-08295797 is ready for SSH connections 2025-11-19 16:12:35,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 16:12:35,478 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.169.220.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-11-19 16:12:35,479 - DEBUG - ping -s 56 -c 3 -W 1 151.169.220.131 2025-11-19 16:12:40,562 - DEBUG - PING 151.169.220.131 (151.169.220.131): 56 data bytes --- 151.169.220.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-19 16:12:40,562 - WARNING - Ping to IP 151.169.220.131 from VM ctest-vn1-vm1-63055978 failed 2025-11-19 16:12:40,563 - INFO - Adding interface with subnet_id 476d7b44-c2f9-4a83-8bcc-3d4e403f166f, port_id None to router f02f6f1d-2439-4efd-9ad3-24395c7f6670 2025-11-19 16:12:40,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 16:12:40,819 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.169.220.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-11-19 16:12:40,819 - DEBUG - ping -s 56 -c 3 -W 1 151.169.220.131 2025-11-19 16:12:44,036 - DEBUG - PING 151.169.220.131 (151.169.220.131): 56 data bytes 64 bytes from 151.169.220.131: seq=1 ttl=63 time=3.099 ms 64 bytes from 151.169.220.131: seq=2 ttl=63 time=1.373 ms --- 151.169.220.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.373/2.236/3.099 ms 2025-11-19 16:12:44,036 - WARNING - Ping to IP 151.169.220.131 from VM ctest-vn1-vm1-63055978 failed 2025-11-19 16:12:45,036 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.169.220.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-11-19 16:12:45,036 - DEBUG - ping -s 56 -c 3 -W 1 151.169.220.131 2025-11-19 16:12:47,269 - DEBUG - PING 151.169.220.131 (151.169.220.131): 56 data bytes 64 bytes from 151.169.220.131: seq=0 ttl=63 time=1.680 ms 64 bytes from 151.169.220.131: seq=1 ttl=63 time=0.999 ms 64 bytes from 151.169.220.131: seq=2 ttl=63 time=1.550 ms --- 151.169.220.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.999/1.409/1.680 ms 2025-11-19 16:12:47,269 - INFO - Ping to IP 151.169.220.131 from VM ctest-vn1-vm1-63055978 passed 2025-11-19 16:12:47,270 - INFO - Deleting interface with subnet_id ab23ef6f-5909-42e4-a5ad-dece4bf0e816, port_id None from router f02f6f1d-2439-4efd-9ad3-24395c7f6670 2025-11-19 16:12:47,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 16:12:47,408 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.169.220.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-11-19 16:12:47,408 - DEBUG - ping -s 56 -c 3 -W 1 151.169.220.131 2025-11-19 16:12:50,623 - DEBUG - PING 151.169.220.131 (151.169.220.131): 56 data bytes --- 151.169.220.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-19 16:12:50,624 - WARNING - Ping to IP 151.169.220.131 from VM ctest-vn1-vm1-63055978 failed 2025-11-19 16:12:50,624 - INFO - Adding interface with subnet_id ab23ef6f-5909-42e4-a5ad-dece4bf0e816, port_id None to router f02f6f1d-2439-4efd-9ad3-24395c7f6670 2025-11-19 16:12:50,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 16:12:50,839 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.169.220.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-11-19 16:12:50,839 - DEBUG - ping -s 56 -c 3 -W 1 151.169.220.131 2025-11-19 16:12:53,071 - DEBUG - PING 151.169.220.131 (151.169.220.131): 56 data bytes 64 bytes from 151.169.220.131: seq=0 ttl=63 time=1.643 ms 64 bytes from 151.169.220.131: seq=1 ttl=63 time=1.091 ms 64 bytes from 151.169.220.131: seq=2 ttl=63 time=1.378 ms --- 151.169.220.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.091/1.370/1.643 ms 2025-11-19 16:12:53,071 - INFO - Ping to IP 151.169.220.131 from VM ctest-vn1-vm1-63055978 passed 2025-11-19 16:12:53,071 - INFO - Deleting interface with subnet_id 476d7b44-c2f9-4a83-8bcc-3d4e403f166f, port_id None from router f02f6f1d-2439-4efd-9ad3-24395c7f6670 2025-11-19 16:12:53,229 - INFO - Deleting interface with subnet_id ab23ef6f-5909-42e4-a5ad-dece4bf0e816, port_id None from router f02f6f1d-2439-4efd-9ad3-24395c7f6670 2025-11-19 16:12:53,480 - INFO - Deleting VM ctest-vn2-vm1-08295797 2025-11-19 16:12:53,574 - INFO - Deleting VM ctest-vn1-vm1-63055978 2025-11-19 16:12:53,672 - INFO - Deleting VN ctest-vn2-54545259 2025-11-19 16:12:53,713 - DEBUG - VN 1afdc61c-a0ea-4470-a687-9b9b30aec2bc still in use: Unable to complete operation on network 1afdc61c-a0ea-4470-a687-9b9b30aec2bc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9e2a4a36-cefd-4db4-a777-0d9bf0084a07'] 2025-11-19 16:12:53,713 - WARNING - Deleting VN ctest-vn2-54545259 failed..Will retry 2025-11-19 16:12:55,824 - DEBUG - Response for deleting network () 2025-11-19 16:12:55,825 - INFO - Deleting VN ctest-vn1-58112496 2025-11-19 16:12:55,933 - DEBUG - Response for deleting network () 2025-11-19 16:12:56,199 - DEBUG - No XMPP flaps were noticed during the test 2025-11-19 16:12:56,199 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-11-19 16:12:56,199 - INFO - -------------------------------------------------------------------------------- 2025-11-19 16:12:56,930 - INFO - Deleted project: ctest-TestRouters-53428479, ID : 0c7f6e79-0348-426d-b8a7-c25c58532b62