2025-10-30 17:12:15,147 - INFO - Domain Default found not creating 2025-10-30 17:12:15,350 - INFO - Project ctest-TestRouters-38107571 not found, creating it 2025-10-30 17:12:15,814 - INFO - Created Project:ctest-TestRouters-38107571, ID : 4055f172-3ad6-44a6-a3af-b36769aabbc2 2025-10-30 17:12:17,575 - INFO - ================================================================================ 2025-10-30 17:12:17,576 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-30 17:12:17,576 - 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-30 17:12:17,842 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-10-30 17:12:17,842 - INFO - Initial checks done. Running the testcase now 2025-10-30 17:12:17,843 - INFO - 2025-10-30 17:12:18,488 - DEBUG - Response for create_network : {'network': {'id': '127d2361-69b3-4207-8662-edc89273f96d', 'name': 'ctest-vn1-17854201', 'tenant_id': '4055f1723ad644a6a3afb36769aabbc2', 'project_id': '4055f1723ad644a6a3afb36769aabbc2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-38107571', 'ctest-vn1-17854201'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 17:12:18,753 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb4a96c5-78d6-4098-8775-975962f5abf0', 'name': '', 'tenant_id': '4055f1723ad644a6a3afb36769aabbc2', 'network_id': '127d2361-69b3-4207-8662-edc89273f96d', 'ip_version': 4, 'cidr': '42.18.237.192/26', 'allocation_pools': [{'start': '42.18.237.194', 'end': '42.18.237.254'}], 'gateway_ip': '42.18.237.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.18.237.194', 'tags': [], 'project_id': '4055f1723ad644a6a3afb36769aabbc2'}} 2025-10-30 17:12:18,774 - INFO - Created VN ctest-vn1-17854201 2025-10-30 17:12:18,830 - DEBUG - VN ctest-vn1-17854201 UUID is 127d2361-69b3-4207-8662-edc89273f96d 2025-10-30 17:12:19,153 - DEBUG - Response for create_network : {'network': {'id': 'c81acf56-7f78-459a-aa5c-d6717f6802fd', 'name': 'ctest-vn2-81918722', 'tenant_id': '4055f1723ad644a6a3afb36769aabbc2', 'project_id': '4055f1723ad644a6a3afb36769aabbc2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-38107571', 'ctest-vn2-81918722'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 17:12:19,316 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e62b6336-1121-4703-8d43-526e1df41fb7', 'name': '', 'tenant_id': '4055f1723ad644a6a3afb36769aabbc2', 'network_id': 'c81acf56-7f78-459a-aa5c-d6717f6802fd', 'ip_version': 4, 'cidr': '48.60.117.128/26', 'allocation_pools': [{'start': '48.60.117.130', 'end': '48.60.117.190'}], 'gateway_ip': '48.60.117.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.60.117.130', 'tags': [], 'project_id': '4055f1723ad644a6a3afb36769aabbc2'}} 2025-10-30 17:12:19,334 - INFO - Created VN ctest-vn2-81918722 2025-10-30 17:12:19,386 - DEBUG - VN ctest-vn2-81918722 UUID is c81acf56-7f78-459a-aa5c-d6717f6802fd 2025-10-30 17:12:19,648 - DEBUG - Services list from nova: [, , ] 2025-10-30 17:12:21,043 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4549-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4549-1) 2025-10-30 17:12:22,499 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4549-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4549-1) 2025-10-30 17:12:22,591 - INFO - Adding interface with subnet_id bb4a96c5-78d6-4098-8775-975962f5abf0, port_id None to router 648628c4-dddb-432b-981d-1c4bfbd8b501 2025-10-30 17:12:22,931 - INFO - Waiting for VM ctest-vn1-vm1-87925177 to be up.. 2025-10-30 17:12:23,032 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 17:12:28,148 - DEBUG - VM is in ACTIVE state now 2025-10-30 17:12:28,148 - INFO - VM name : ctest-vn1-vm1-87925177 2025-10-30 17:12:28,251 - DEBUG - VM ctest-vn1-vm1-87925177 ID is ecac1e61-8224-4c47-9b26-f7df7a106378 2025-10-30 17:12:28,278 - DEBUG - VM ctest-vn1-vm1-87925177 launched on Node cn-jenkins-deploy-platform-ansible-os-4549-1 2025-10-30 17:12:28,361 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ecac1e61-8224-4c47-9b26-f7df7a106378 2025-10-30 17:12:28,675 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ecac1e61-8224-4c47-9b26-f7df7a106378 2025-10-30 17:12:28,746 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f25571be-090e-454d-ae3a-ad6a2ef3aafe 2025-10-30 17:12:32,060 - 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 1026ms') 2025-10-30 17:12:32,061 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-87925177 failed! 2025-10-30 17:12:32,142 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-38107571:ctest-vn1-17854201 is 42.18.237.193 and allocation pool is NOT set 2025-10-30 17:12:34,206 - 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=10.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.20 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.204/5.621/10.038/4.417 ms') 2025-10-30 17:12:34,206 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-87925177 passed 2025-10-30 17:12:34,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 17:12:34,370 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-87925177, IP 42.18.237.195, Port 22 2025-10-30 17:12:34,447 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-30 17:12:34,587 - DEBUG - VM ctest-vn1-vm1-87925177 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 17:12:39,587 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 17:12:39,588 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-87925177, IP 42.18.237.195, Port 22 2025-10-30 17:12:39,788 - DEBUG - VM ctest-vn1-vm1-87925177 is ready for SSH connections 2025-10-30 17:12:39,788 - INFO - Waiting for VM ctest-vn2-vm1-00689788 to be up.. 2025-10-30 17:12:39,980 - DEBUG - VM is in ACTIVE state now 2025-10-30 17:12:39,981 - INFO - VM name : ctest-vn2-vm1-00689788 2025-10-30 17:12:40,171 - DEBUG - VM ctest-vn2-vm1-00689788 ID is d1e36168-68de-4c8e-91a7-ed083a1ac163 2025-10-30 17:12:40,172 - DEBUG - VM ctest-vn2-vm1-00689788 launched on Node cn-jenkins-deploy-platform-ansible-os-4549-1 2025-10-30 17:12:40,348 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d1e36168-68de-4c8e-91a7-ed083a1ac163 2025-10-30 17:12:40,370 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6ca02297-1eb8-4b35-b4b1-2204aa835d9d 2025-10-30 17:12:41,705 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.826 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.826/2.523/4.220/1.697 ms') 2025-10-30 17:12:41,705 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-00689788 passed 2025-10-30 17:12:41,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 17:12:41,883 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-00689788, IP 48.60.117.131, Port 22 2025-10-30 17:12:42,073 - DEBUG - VM ctest-vn2-vm1-00689788 is ready for SSH connections 2025-10-30 17:12:42,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 17:12:42,074 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.60.117.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 17:12:42,075 - DEBUG - ping -s 56 -c 3 -W 1 48.60.117.131 2025-10-30 17:12:47,695 - DEBUG - PING 48.60.117.131 (48.60.117.131): 56 data bytes --- 48.60.117.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 17:12:47,695 - WARNING - Ping to IP 48.60.117.131 from VM ctest-vn1-vm1-87925177 failed 2025-10-30 17:12:47,695 - INFO - Adding interface with subnet_id e62b6336-1121-4703-8d43-526e1df41fb7, port_id None to router 648628c4-dddb-432b-981d-1c4bfbd8b501 2025-10-30 17:12:48,118 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 17:12:48,118 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.60.117.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 17:12:48,118 - DEBUG - ping -s 56 -c 3 -W 1 48.60.117.131 2025-10-30 17:12:50,367 - DEBUG - PING 48.60.117.131 (48.60.117.131): 56 data bytes 64 bytes from 48.60.117.131: seq=0 ttl=63 time=8.724 ms 64 bytes from 48.60.117.131: seq=1 ttl=63 time=1.635 ms 64 bytes from 48.60.117.131: seq=2 ttl=63 time=1.534 ms --- 48.60.117.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.534/3.964/8.724 ms 2025-10-30 17:12:50,367 - INFO - Ping to IP 48.60.117.131 from VM ctest-vn1-vm1-87925177 passed 2025-10-30 17:12:50,367 - INFO - Deleting interface with subnet_id bb4a96c5-78d6-4098-8775-975962f5abf0, port_id None from router 648628c4-dddb-432b-981d-1c4bfbd8b501 2025-10-30 17:12:50,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 17:12:50,536 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.60.117.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 17:12:50,536 - DEBUG - ping -s 56 -c 3 -W 1 48.60.117.131 2025-10-30 17:12:53,759 - DEBUG - PING 48.60.117.131 (48.60.117.131): 56 data bytes --- 48.60.117.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 17:12:53,760 - WARNING - Ping to IP 48.60.117.131 from VM ctest-vn1-vm1-87925177 failed 2025-10-30 17:12:53,760 - INFO - Adding interface with subnet_id bb4a96c5-78d6-4098-8775-975962f5abf0, port_id None to router 648628c4-dddb-432b-981d-1c4bfbd8b501 2025-10-30 17:12:54,049 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 17:12:54,049 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.60.117.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 17:12:54,049 - DEBUG - ping -s 56 -c 3 -W 1 48.60.117.131 2025-10-30 17:12:56,320 - DEBUG - PING 48.60.117.131 (48.60.117.131): 56 data bytes 64 bytes from 48.60.117.131: seq=0 ttl=63 time=2.613 ms 64 bytes from 48.60.117.131: seq=1 ttl=63 time=1.615 ms 64 bytes from 48.60.117.131: seq=2 ttl=63 time=1.783 ms --- 48.60.117.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.615/2.003/2.613 ms 2025-10-30 17:12:56,321 - INFO - Ping to IP 48.60.117.131 from VM ctest-vn1-vm1-87925177 passed 2025-10-30 17:12:56,321 - INFO - Deleting interface with subnet_id e62b6336-1121-4703-8d43-526e1df41fb7, port_id None from router 648628c4-dddb-432b-981d-1c4bfbd8b501 2025-10-30 17:12:56,558 - INFO - Deleting interface with subnet_id bb4a96c5-78d6-4098-8775-975962f5abf0, port_id None from router 648628c4-dddb-432b-981d-1c4bfbd8b501 2025-10-30 17:12:56,739 - INFO - Deleting VM ctest-vn2-vm1-00689788 2025-10-30 17:12:56,814 - INFO - Deleting VM ctest-vn1-vm1-87925177 2025-10-30 17:12:56,907 - INFO - Deleting VN ctest-vn2-81918722 2025-10-30 17:12:56,959 - DEBUG - VN c81acf56-7f78-459a-aa5c-d6717f6802fd still in use: Unable to complete operation on network c81acf56-7f78-459a-aa5c-d6717f6802fd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-692b0ff8-9fab-4144-9026-628d55c3fa82'] 2025-10-30 17:12:56,959 - WARNING - Deleting VN ctest-vn2-81918722 failed..Will retry 2025-10-30 17:12:59,154 - DEBUG - Response for deleting network () 2025-10-30 17:12:59,154 - INFO - Deleting VN ctest-vn1-17854201 2025-10-30 17:12:59,308 - DEBUG - Response for deleting network () 2025-10-30 17:12:59,568 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 17:12:59,568 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:42] 2025-10-30 17:12:59,568 - INFO - -------------------------------------------------------------------------------- 2025-10-30 17:13:00,420 - INFO - Deleted project: ctest-TestRouters-38107571, ID : 4055f172-3ad6-44a6-a3af-b36769aabbc2