2025-10-06 12:08:11,354 - INFO - Domain Default found not creating 2025-10-06 12:08:11,499 - INFO - Project ctest-TestRouters-25306656 not found, creating it 2025-10-06 12:08:11,955 - INFO - Created Project:ctest-TestRouters-25306656, ID : 6e30ae79-cf1c-4c21-baf6-2f6119ccf092 2025-10-06 12:08:13,325 - INFO - ================================================================================ 2025-10-06 12:08:13,325 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-06 12:08:13,325 - 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-06 12:08:13,574 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-10-06 12:08:13,574 - INFO - Initial checks done. Running the testcase now 2025-10-06 12:08:13,574 - INFO - 2025-10-06 12:08:14,144 - DEBUG - Response for create_network : {'network': {'id': 'd726091c-8338-47a7-9285-7e4722afc9bd', 'name': 'ctest-vn1-79710149', 'tenant_id': '6e30ae79cf1c4c21baf62f6119ccf092', 'project_id': '6e30ae79cf1c4c21baf62f6119ccf092', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-25306656', 'ctest-vn1-79710149'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 12:08:14,341 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd130dbd2-7e91-4590-ac8d-19dd9a78db94', 'name': '', 'tenant_id': '6e30ae79cf1c4c21baf62f6119ccf092', 'network_id': 'd726091c-8338-47a7-9285-7e4722afc9bd', 'ip_version': 4, 'cidr': '218.220.236.64/26', 'allocation_pools': [{'start': '218.220.236.66', 'end': '218.220.236.126'}], 'gateway_ip': '218.220.236.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.220.236.66', 'tags': [], 'project_id': '6e30ae79cf1c4c21baf62f6119ccf092'}} 2025-10-06 12:08:14,356 - INFO - Created VN ctest-vn1-79710149 2025-10-06 12:08:14,410 - DEBUG - VN ctest-vn1-79710149 UUID is d726091c-8338-47a7-9285-7e4722afc9bd 2025-10-06 12:08:14,695 - DEBUG - Response for create_network : {'network': {'id': 'b1f1a722-02f0-4011-936a-10f341f0b629', 'name': 'ctest-vn2-14370002', 'tenant_id': '6e30ae79cf1c4c21baf62f6119ccf092', 'project_id': '6e30ae79cf1c4c21baf62f6119ccf092', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-25306656', 'ctest-vn2-14370002'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 12:08:14,896 - DEBUG - Response for create_subnet : {'subnet': {'id': '56170aa4-0713-4402-a594-e837b9bd74ea', 'name': '', 'tenant_id': '6e30ae79cf1c4c21baf62f6119ccf092', 'network_id': 'b1f1a722-02f0-4011-936a-10f341f0b629', 'ip_version': 4, 'cidr': '33.217.82.192/26', 'allocation_pools': [{'start': '33.217.82.194', 'end': '33.217.82.254'}], 'gateway_ip': '33.217.82.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.217.82.194', 'tags': [], 'project_id': '6e30ae79cf1c4c21baf62f6119ccf092'}} 2025-10-06 12:08:14,914 - INFO - Created VN ctest-vn2-14370002 2025-10-06 12:08:14,966 - DEBUG - VN ctest-vn2-14370002 UUID is b1f1a722-02f0-4011-936a-10f341f0b629 2025-10-06 12:08:15,188 - DEBUG - Services list from nova: [, , ] 2025-10-06 12:08:16,178 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4222-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4222-1) 2025-10-06 12:08:17,373 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4222-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4222-1) 2025-10-06 12:08:17,448 - INFO - Adding interface with subnet_id d130dbd2-7e91-4590-ac8d-19dd9a78db94, port_id None to router d64ec018-5359-4514-8b06-5cf390d9a07a 2025-10-06 12:08:17,706 - INFO - Waiting for VM ctest-vn1-vm1-90331151 to be up.. 2025-10-06 12:08:17,828 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-06 12:08:22,904 - DEBUG - VM is in ACTIVE state now 2025-10-06 12:08:22,904 - INFO - VM name : ctest-vn1-vm1-90331151 2025-10-06 12:08:22,981 - DEBUG - VM ctest-vn1-vm1-90331151 ID is 12db07d2-1b8e-4f97-87b1-5c724d4ef739 2025-10-06 12:08:22,999 - DEBUG - VM ctest-vn1-vm1-90331151 launched on Node cn-jenkins-deploy-platform-ansible-os-4222-1 2025-10-06 12:08:23,072 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/12db07d2-1b8e-4f97-87b1-5c724d4ef739 2025-10-06 12:08:23,361 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/12db07d2-1b8e-4f97-87b1-5c724d4ef739 2025-10-06 12:08:23,388 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/757861ab-3f1e-45df-8e2a-8e6e85d90ccf 2025-10-06 12:08:26,631 - 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 1008ms') 2025-10-06 12:08:26,631 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-90331151 failed! 2025-10-06 12:08:26,686 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-25306656:ctest-vn1-79710149 is 218.220.236.65 and allocation pool is NOT set 2025-10-06 12:08:28,749 - 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.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.351 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.351/1.460/2.570/1.109 ms') 2025-10-06 12:08:28,749 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-90331151 passed 2025-10-06 12:08:28,898 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 12:08:28,898 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-90331151, IP 218.220.236.67, Port 22 2025-10-06 12:08:29,054 - DEBUG - VM ctest-vn1-vm1-90331151 is ready for SSH connections 2025-10-06 12:08:29,054 - INFO - Waiting for VM ctest-vn2-vm1-67840898 to be up.. 2025-10-06 12:08:29,117 - DEBUG - VM is in ACTIVE state now 2025-10-06 12:08:29,117 - INFO - VM name : ctest-vn2-vm1-67840898 2025-10-06 12:08:29,178 - DEBUG - VM ctest-vn2-vm1-67840898 ID is 4727bf03-2d18-4057-badc-1a3d16bf987a 2025-10-06 12:08:29,178 - DEBUG - VM ctest-vn2-vm1-67840898 launched on Node cn-jenkins-deploy-platform-ansible-os-4222-1 2025-10-06 12:08:29,238 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/4727bf03-2d18-4057-badc-1a3d16bf987a 2025-10-06 12:08:29,245 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/23987e2e-7ed0-4781-98c4-d4cdbcfa0944 2025-10-06 12:08:30,474 - 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=3.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.346 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 = 0.346/1.943/3.541/1.597 ms') 2025-10-06 12:08:30,474 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-67840898 passed 2025-10-06 12:08:30,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 12:08:30,626 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-67840898, IP 33.217.82.195, Port 22 2025-10-06 12:08:30,783 - DEBUG - VM ctest-vn2-vm1-67840898 is ready for SSH connections 2025-10-06 12:08:30,783 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 12:08:30,783 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.217.82.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-10-06 12:08:30,783 - DEBUG - ping -s 56 -c 3 -W 1 33.217.82.195 2025-10-06 12:08:35,718 - DEBUG - PING 33.217.82.195 (33.217.82.195): 56 data bytes --- 33.217.82.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-06 12:08:35,718 - WARNING - Ping to IP 33.217.82.195 from VM ctest-vn1-vm1-90331151 failed 2025-10-06 12:08:35,718 - INFO - Adding interface with subnet_id 56170aa4-0713-4402-a594-e837b9bd74ea, port_id None to router d64ec018-5359-4514-8b06-5cf390d9a07a 2025-10-06 12:08:35,943 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 12:08:35,944 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.217.82.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-10-06 12:08:35,944 - DEBUG - ping -s 56 -c 3 -W 1 33.217.82.195 2025-10-06 12:08:38,141 - DEBUG - PING 33.217.82.195 (33.217.82.195): 56 data bytes 64 bytes from 33.217.82.195: seq=0 ttl=63 time=2.387 ms 64 bytes from 33.217.82.195: seq=1 ttl=63 time=0.759 ms 64 bytes from 33.217.82.195: seq=2 ttl=63 time=0.823 ms --- 33.217.82.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.759/1.323/2.387 ms 2025-10-06 12:08:38,142 - INFO - Ping to IP 33.217.82.195 from VM ctest-vn1-vm1-90331151 passed 2025-10-06 12:08:38,142 - INFO - Deleting interface with subnet_id d130dbd2-7e91-4590-ac8d-19dd9a78db94, port_id None from router d64ec018-5359-4514-8b06-5cf390d9a07a 2025-10-06 12:08:38,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 12:08:38,240 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.217.82.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-10-06 12:08:38,240 - DEBUG - ping -s 56 -c 3 -W 1 33.217.82.195 2025-10-06 12:08:41,441 - DEBUG - PING 33.217.82.195 (33.217.82.195): 56 data bytes --- 33.217.82.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-06 12:08:41,441 - WARNING - Ping to IP 33.217.82.195 from VM ctest-vn1-vm1-90331151 failed 2025-10-06 12:08:41,441 - INFO - Adding interface with subnet_id d130dbd2-7e91-4590-ac8d-19dd9a78db94, port_id None to router d64ec018-5359-4514-8b06-5cf390d9a07a 2025-10-06 12:08:41,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 12:08:41,643 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.217.82.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-10-06 12:08:41,643 - DEBUG - ping -s 56 -c 3 -W 1 33.217.82.195 2025-10-06 12:08:43,846 - DEBUG - PING 33.217.82.195 (33.217.82.195): 56 data bytes 64 bytes from 33.217.82.195: seq=0 ttl=63 time=1.256 ms 64 bytes from 33.217.82.195: seq=1 ttl=63 time=1.046 ms 64 bytes from 33.217.82.195: seq=2 ttl=63 time=0.792 ms --- 33.217.82.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.792/1.031/1.256 ms 2025-10-06 12:08:43,846 - INFO - Ping to IP 33.217.82.195 from VM ctest-vn1-vm1-90331151 passed 2025-10-06 12:08:43,846 - INFO - Deleting interface with subnet_id 56170aa4-0713-4402-a594-e837b9bd74ea, port_id None from router d64ec018-5359-4514-8b06-5cf390d9a07a 2025-10-06 12:08:43,950 - INFO - Deleting interface with subnet_id d130dbd2-7e91-4590-ac8d-19dd9a78db94, port_id None from router d64ec018-5359-4514-8b06-5cf390d9a07a 2025-10-06 12:08:44,102 - INFO - Deleting VM ctest-vn2-vm1-67840898 2025-10-06 12:08:44,166 - INFO - Deleting VM ctest-vn1-vm1-90331151 2025-10-06 12:08:44,231 - INFO - Deleting VN ctest-vn2-14370002 2025-10-06 12:08:44,266 - DEBUG - VN b1f1a722-02f0-4011-936a-10f341f0b629 still in use: Unable to complete operation on network b1f1a722-02f0-4011-936a-10f341f0b629. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e999d703-a074-4797-b865-2b13a4d27559'] 2025-10-06 12:08:44,266 - WARNING - Deleting VN ctest-vn2-14370002 failed..Will retry 2025-10-06 12:08:46,352 - DEBUG - Response for deleting network () 2025-10-06 12:08:46,352 - INFO - Deleting VN ctest-vn1-79710149 2025-10-06 12:08:46,443 - DEBUG - Response for deleting network () 2025-10-06 12:08:46,699 - DEBUG - No XMPP flaps were noticed during the test 2025-10-06 12:08:46,699 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:33] 2025-10-06 12:08:46,699 - INFO - -------------------------------------------------------------------------------- 2025-10-06 12:08:47,346 - INFO - Deleted project: ctest-TestRouters-25306656, ID : 6e30ae79-cf1c-4c21-baf6-2f6119ccf092