2025-09-11 06:38:37,593 - INFO - Domain Default found not creating 2025-09-11 06:38:37,759 - INFO - Project ctest-TestRouters-41393658 not found, creating it 2025-09-11 06:38:38,255 - INFO - Created Project:ctest-TestRouters-41393658, ID : b8c07d1d-f636-4fa8-af39-d8e30f570e9b 2025-09-11 06:38:39,669 - INFO - ================================================================================ 2025-09-11 06:38:39,669 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-11 06:38:39,669 - 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-09-11 06:38:39,926 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-11 06:38:39,926 - INFO - Initial checks done. Running the testcase now 2025-09-11 06:38:39,926 - INFO - 2025-09-11 06:38:40,490 - DEBUG - Response for create_network : {'network': {'id': 'bcb078d5-0608-4dee-877f-aab2b5bd09c3', 'name': 'ctest-vn1-28815096', 'tenant_id': 'b8c07d1df6364fa8af39d8e30f570e9b', 'project_id': 'b8c07d1df6364fa8af39d8e30f570e9b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-41393658', 'ctest-vn1-28815096'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 06:38:40,675 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4e3c7cf-9283-46a0-bdd9-cbf8dde2ec05', 'name': '', 'tenant_id': 'b8c07d1df6364fa8af39d8e30f570e9b', 'network_id': 'bcb078d5-0608-4dee-877f-aab2b5bd09c3', 'ip_version': 4, 'cidr': '175.250.5.128/26', 'allocation_pools': [{'start': '175.250.5.130', 'end': '175.250.5.190'}], 'gateway_ip': '175.250.5.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.250.5.130', 'tags': [], 'project_id': 'b8c07d1df6364fa8af39d8e30f570e9b'}} 2025-09-11 06:38:40,702 - INFO - Created VN ctest-vn1-28815096 2025-09-11 06:38:40,752 - DEBUG - VN ctest-vn1-28815096 UUID is bcb078d5-0608-4dee-877f-aab2b5bd09c3 2025-09-11 06:38:41,091 - DEBUG - Response for create_network : {'network': {'id': '46570f98-2686-4749-96b0-264585ef4867', 'name': 'ctest-vn2-99996902', 'tenant_id': 'b8c07d1df6364fa8af39d8e30f570e9b', 'project_id': 'b8c07d1df6364fa8af39d8e30f570e9b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-41393658', 'ctest-vn2-99996902'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 06:38:41,284 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dcfac09a-9225-4548-b05d-38375d2a581b', 'name': '', 'tenant_id': 'b8c07d1df6364fa8af39d8e30f570e9b', 'network_id': '46570f98-2686-4749-96b0-264585ef4867', 'ip_version': 4, 'cidr': '207.212.249.128/26', 'allocation_pools': [{'start': '207.212.249.130', 'end': '207.212.249.190'}], 'gateway_ip': '207.212.249.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.212.249.130', 'tags': [], 'project_id': 'b8c07d1df6364fa8af39d8e30f570e9b'}} 2025-09-11 06:38:41,305 - INFO - Created VN ctest-vn2-99996902 2025-09-11 06:38:41,364 - DEBUG - VN ctest-vn2-99996902 UUID is 46570f98-2686-4749-96b0-264585ef4867 2025-09-11 06:38:41,609 - DEBUG - Services list from nova: [, , ] 2025-09-11 06:38:42,678 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4081-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4081-1) 2025-09-11 06:38:43,772 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4081-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4081-1) 2025-09-11 06:38:43,842 - INFO - Adding interface with subnet_id e4e3c7cf-9283-46a0-bdd9-cbf8dde2ec05, port_id None to router 267ced86-39af-46bb-a052-7db170f7f769 2025-09-11 06:38:44,121 - INFO - Waiting for VM ctest-vn1-vm1-57754409 to be up.. 2025-09-11 06:38:44,195 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 06:38:49,262 - DEBUG - VM is in ACTIVE state now 2025-09-11 06:38:49,263 - INFO - VM name : ctest-vn1-vm1-57754409 2025-09-11 06:38:49,332 - DEBUG - VM ctest-vn1-vm1-57754409 ID is 23564b0a-08c5-46b9-8271-04aef91f8f6c 2025-09-11 06:38:49,353 - DEBUG - VM ctest-vn1-vm1-57754409 launched on Node cn-jenkins-deploy-platform-ansible-os-4081-1 2025-09-11 06:38:49,428 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/23564b0a-08c5-46b9-8271-04aef91f8f6c 2025-09-11 06:38:49,731 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/23564b0a-08c5-46b9-8271-04aef91f8f6c 2025-09-11 06:38:49,782 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d9847ff3-f37a-454c-b315-9196c433f77c 2025-09-11 06:38:53,058 - 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 1036ms') 2025-09-11 06:38:53,059 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57754409 failed! 2025-09-11 06:38:53,113 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-41393658:ctest-vn1-28815096 is 175.250.5.129 and allocation pool is NOT set 2025-09-11 06:38:55,177 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.457 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.457/1.598/2.739/1.141 ms') 2025-09-11 06:38:55,177 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57754409 passed 2025-09-11 06:38:55,324 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 06:38:55,324 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-57754409, IP 175.250.5.131, Port 22 2025-09-11 06:38:55,479 - DEBUG - VM ctest-vn1-vm1-57754409 is ready for SSH connections 2025-09-11 06:38:55,479 - INFO - Waiting for VM ctest-vn2-vm1-32214157 to be up.. 2025-09-11 06:38:55,544 - DEBUG - VM is in ACTIVE state now 2025-09-11 06:38:55,544 - INFO - VM name : ctest-vn2-vm1-32214157 2025-09-11 06:38:55,608 - DEBUG - VM ctest-vn2-vm1-32214157 ID is cc5572e6-9357-4f51-bad8-2d1881cfe7b0 2025-09-11 06:38:55,608 - DEBUG - VM ctest-vn2-vm1-32214157 launched on Node cn-jenkins-deploy-platform-ansible-os-4081-1 2025-09-11 06:38:55,675 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/cc5572e6-9357-4f51-bad8-2d1881cfe7b0 2025-09-11 06:38:55,686 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8fa68ba8-581a-443a-bdfc-f5a02545943d 2025-09-11 06:38:56,922 - 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=6.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.414 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.414/3.505/6.596/3.091 ms') 2025-09-11 06:38:56,922 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-32214157 passed 2025-09-11 06:38:57,068 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 06:38:57,068 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-32214157, IP 207.212.249.131, Port 22 2025-09-11 06:38:57,223 - DEBUG - VM ctest-vn2-vm1-32214157 is ready for SSH connections 2025-09-11 06:38:57,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 06:38:57,224 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.212.249.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 06:38:57,224 - DEBUG - ping -s 56 -c 3 -W 1 207.212.249.131 2025-09-11 06:39:01,909 - DEBUG - PING 207.212.249.131 (207.212.249.131): 56 data bytes --- 207.212.249.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 06:39:01,909 - WARNING - Ping to IP 207.212.249.131 from VM ctest-vn1-vm1-57754409 failed 2025-09-11 06:39:01,910 - INFO - Adding interface with subnet_id dcfac09a-9225-4548-b05d-38375d2a581b, port_id None to router 267ced86-39af-46bb-a052-7db170f7f769 2025-09-11 06:39:02,143 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 06:39:02,143 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.212.249.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 06:39:02,143 - DEBUG - ping -s 56 -c 3 -W 1 207.212.249.131 2025-09-11 06:39:05,380 - DEBUG - PING 207.212.249.131 (207.212.249.131): 56 data bytes 64 bytes from 207.212.249.131: seq=1 ttl=63 time=2.728 ms 64 bytes from 207.212.249.131: seq=2 ttl=63 time=0.994 ms --- 207.212.249.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.994/1.861/2.728 ms 2025-09-11 06:39:05,381 - WARNING - Ping to IP 207.212.249.131 from VM ctest-vn1-vm1-57754409 failed 2025-09-11 06:39:06,382 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.212.249.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 06:39:06,382 - DEBUG - ping -s 56 -c 3 -W 1 207.212.249.131 2025-09-11 06:39:08,591 - DEBUG - PING 207.212.249.131 (207.212.249.131): 56 data bytes 64 bytes from 207.212.249.131: seq=0 ttl=63 time=1.626 ms 64 bytes from 207.212.249.131: seq=1 ttl=63 time=0.922 ms 64 bytes from 207.212.249.131: seq=2 ttl=63 time=1.001 ms --- 207.212.249.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.922/1.183/1.626 ms 2025-09-11 06:39:08,591 - INFO - Ping to IP 207.212.249.131 from VM ctest-vn1-vm1-57754409 passed 2025-09-11 06:39:08,591 - INFO - Deleting interface with subnet_id e4e3c7cf-9283-46a0-bdd9-cbf8dde2ec05, port_id None from router 267ced86-39af-46bb-a052-7db170f7f769 2025-09-11 06:39:08,703 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 06:39:08,703 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.212.249.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 06:39:08,703 - DEBUG - ping -s 56 -c 3 -W 1 207.212.249.131 2025-09-11 06:39:11,900 - DEBUG - PING 207.212.249.131 (207.212.249.131): 56 data bytes --- 207.212.249.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 06:39:11,900 - WARNING - Ping to IP 207.212.249.131 from VM ctest-vn1-vm1-57754409 failed 2025-09-11 06:39:11,900 - INFO - Adding interface with subnet_id e4e3c7cf-9283-46a0-bdd9-cbf8dde2ec05, port_id None to router 267ced86-39af-46bb-a052-7db170f7f769 2025-09-11 06:39:12,153 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 06:39:12,153 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.212.249.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 06:39:12,153 - DEBUG - ping -s 56 -c 3 -W 1 207.212.249.131 2025-09-11 06:39:14,381 - DEBUG - PING 207.212.249.131 (207.212.249.131): 56 data bytes 64 bytes from 207.212.249.131: seq=0 ttl=63 time=1.642 ms 64 bytes from 207.212.249.131: seq=1 ttl=63 time=1.435 ms 64 bytes from 207.212.249.131: seq=2 ttl=63 time=1.064 ms --- 207.212.249.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.064/1.380/1.642 ms 2025-09-11 06:39:14,381 - INFO - Ping to IP 207.212.249.131 from VM ctest-vn1-vm1-57754409 passed 2025-09-11 06:39:14,382 - INFO - Deleting interface with subnet_id dcfac09a-9225-4548-b05d-38375d2a581b, port_id None from router 267ced86-39af-46bb-a052-7db170f7f769 2025-09-11 06:39:14,490 - INFO - Deleting interface with subnet_id e4e3c7cf-9283-46a0-bdd9-cbf8dde2ec05, port_id None from router 267ced86-39af-46bb-a052-7db170f7f769 2025-09-11 06:39:14,664 - INFO - Deleting VM ctest-vn2-vm1-32214157 2025-09-11 06:39:14,739 - INFO - Deleting VM ctest-vn1-vm1-57754409 2025-09-11 06:39:14,810 - INFO - Deleting VN ctest-vn2-99996902 2025-09-11 06:39:14,853 - DEBUG - VN 46570f98-2686-4749-96b0-264585ef4867 still in use: Unable to complete operation on network 46570f98-2686-4749-96b0-264585ef4867. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-135a83c5-ea2b-4384-9148-8126a748d49e'] 2025-09-11 06:39:14,853 - WARNING - Deleting VN ctest-vn2-99996902 failed..Will retry 2025-09-11 06:39:16,957 - DEBUG - Response for deleting network () 2025-09-11 06:39:16,957 - INFO - Deleting VN ctest-vn1-28815096 2025-09-11 06:39:17,052 - DEBUG - Response for deleting network () 2025-09-11 06:39:17,305 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 06:39:17,305 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-09-11 06:39:17,305 - INFO - -------------------------------------------------------------------------------- 2025-09-11 06:39:17,974 - INFO - Deleted project: ctest-TestRouters-41393658, ID : b8c07d1d-f636-4fa8-af39-d8e30f570e9b