2025-11-01 05:20:51,256 - INFO - Domain Default found not creating 2025-11-01 05:20:51,423 - INFO - Project ctest-TestRouters-66479909 not found, creating it 2025-11-01 05:20:51,918 - INFO - Created Project:ctest-TestRouters-66479909, ID : 22d2fa14-693a-4359-b824-0a8f2b210391 2025-11-01 05:20:53,593 - INFO - ================================================================================ 2025-11-01 05:20:53,593 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-01 05:20:53,593 - 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-01 05:20:53,870 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-11-01 05:20:53,870 - INFO - Initial checks done. Running the testcase now 2025-11-01 05:20:53,870 - INFO - 2025-11-01 05:20:54,569 - DEBUG - Response for create_network : {'network': {'id': '9d63aab9-36c8-4f55-bdb0-ea4316534ecc', 'name': 'ctest-vn1-14416625', 'tenant_id': '22d2fa14693a4359b8240a8f2b210391', 'project_id': '22d2fa14693a4359b8240a8f2b210391', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-66479909', 'ctest-vn1-14416625'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 05:20:54,777 - DEBUG - Response for create_subnet : {'subnet': {'id': '41c30bda-259f-46db-90e1-f83519680367', 'name': '', 'tenant_id': '22d2fa14693a4359b8240a8f2b210391', 'network_id': '9d63aab9-36c8-4f55-bdb0-ea4316534ecc', 'ip_version': 4, 'cidr': '118.107.27.128/26', 'allocation_pools': [{'start': '118.107.27.130', 'end': '118.107.27.190'}], 'gateway_ip': '118.107.27.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.107.27.130', 'tags': [], 'project_id': '22d2fa14693a4359b8240a8f2b210391'}} 2025-11-01 05:20:54,801 - INFO - Created VN ctest-vn1-14416625 2025-11-01 05:20:54,856 - DEBUG - VN ctest-vn1-14416625 UUID is 9d63aab9-36c8-4f55-bdb0-ea4316534ecc 2025-11-01 05:20:55,201 - DEBUG - Response for create_network : {'network': {'id': '85b02fca-d9f0-4d9c-a16c-ebf3191f4f39', 'name': 'ctest-vn2-51371143', 'tenant_id': '22d2fa14693a4359b8240a8f2b210391', 'project_id': '22d2fa14693a4359b8240a8f2b210391', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-66479909', 'ctest-vn2-51371143'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 05:20:55,356 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a07e6e1-5735-4337-8236-75f892720076', 'name': '', 'tenant_id': '22d2fa14693a4359b8240a8f2b210391', 'network_id': '85b02fca-d9f0-4d9c-a16c-ebf3191f4f39', 'ip_version': 4, 'cidr': '213.235.193.192/26', 'allocation_pools': [{'start': '213.235.193.194', 'end': '213.235.193.254'}], 'gateway_ip': '213.235.193.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.235.193.194', 'tags': [], 'project_id': '22d2fa14693a4359b8240a8f2b210391'}} 2025-11-01 05:20:55,377 - INFO - Created VN ctest-vn2-51371143 2025-11-01 05:20:55,428 - DEBUG - VN ctest-vn2-51371143 UUID is 85b02fca-d9f0-4d9c-a16c-ebf3191f4f39 2025-11-01 05:20:55,599 - DEBUG - Services list from nova: [, , ] 2025-11-01 05:20:56,885 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4585-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4585-1) 2025-11-01 05:20:58,144 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4585-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4585-1) 2025-11-01 05:20:58,221 - INFO - Adding interface with subnet_id 41c30bda-259f-46db-90e1-f83519680367, port_id None to router 8c4378cc-1a91-447b-b070-7750daf50454 2025-11-01 05:20:58,525 - INFO - Waiting for VM ctest-vn1-vm1-65942400 to be up.. 2025-11-01 05:20:58,647 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-01 05:21:03,730 - DEBUG - VM is in ACTIVE state now 2025-11-01 05:21:03,730 - INFO - VM name : ctest-vn1-vm1-65942400 2025-11-01 05:21:03,820 - DEBUG - VM ctest-vn1-vm1-65942400 ID is 1c1b0b06-434e-4fed-b293-4c532e0dc684 2025-11-01 05:21:03,845 - DEBUG - VM ctest-vn1-vm1-65942400 launched on Node cn-jenkins-deploy-platform-ansible-os-4585-1 2025-11-01 05:21:03,927 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1c1b0b06-434e-4fed-b293-4c532e0dc684 2025-11-01 05:21:04,264 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1c1b0b06-434e-4fed-b293-4c532e0dc684 2025-11-01 05:21:04,298 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/59bf756c-8826-4078-a4a0-2ccc68167cdb 2025-11-01 05:21:07,574 - 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 1017ms') 2025-11-01 05:21:07,574 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-65942400 failed! 2025-11-01 05:21:07,628 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-66479909:ctest-vn1-14416625 is 118.107.27.129 and allocation pool is NOT set 2025-11-01 05:21:09,694 - 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=5.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.31 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.308/3.281/5.254/1.973 ms') 2025-11-01 05:21:09,694 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-65942400 passed 2025-11-01 05:21:09,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 05:21:09,848 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-65942400, IP 118.107.27.131, Port 22 2025-11-01 05:21:10,004 - DEBUG - VM ctest-vn1-vm1-65942400 is ready for SSH connections 2025-11-01 05:21:10,004 - INFO - Waiting for VM ctest-vn2-vm1-24092299 to be up.. 2025-11-01 05:21:10,093 - DEBUG - VM is in ACTIVE state now 2025-11-01 05:21:10,094 - INFO - VM name : ctest-vn2-vm1-24092299 2025-11-01 05:21:10,182 - DEBUG - VM ctest-vn2-vm1-24092299 ID is 7e3ee7af-9e5d-4b08-afc2-a28632450504 2025-11-01 05:21:10,182 - DEBUG - VM ctest-vn2-vm1-24092299 launched on Node cn-jenkins-deploy-platform-ansible-os-4585-1 2025-11-01 05:21:10,266 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7e3ee7af-9e5d-4b08-afc2-a28632450504 2025-11-01 05:21:10,277 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/240113ce-3d7a-4d96-b4c7-cd9a10b64651 2025-11-01 05:21:11,526 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.58 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 = 2.584/4.197/5.810/1.613 ms') 2025-11-01 05:21:11,526 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-24092299 passed 2025-11-01 05:21:11,680 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 05:21:11,680 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-24092299, IP 213.235.193.195, Port 22 2025-11-01 05:21:11,750 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-01 05:21:11,830 - DEBUG - VM ctest-vn2-vm1-24092299 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-01 05:21:16,831 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 05:21:16,831 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-24092299, IP 213.235.193.195, Port 22 2025-11-01 05:21:16,999 - DEBUG - VM ctest-vn2-vm1-24092299 is ready for SSH connections 2025-11-01 05:21:16,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 05:21:16,999 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.235.193.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-01 05:21:16,999 - DEBUG - ping -s 56 -c 3 -W 1 213.235.193.195 2025-11-01 05:21:22,112 - DEBUG - PING 213.235.193.195 (213.235.193.195): 56 data bytes --- 213.235.193.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-01 05:21:22,113 - WARNING - Ping to IP 213.235.193.195 from VM ctest-vn1-vm1-65942400 failed 2025-11-01 05:21:22,113 - INFO - Adding interface with subnet_id 5a07e6e1-5735-4337-8236-75f892720076, port_id None to router 8c4378cc-1a91-447b-b070-7750daf50454 2025-11-01 05:21:22,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 05:21:22,396 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.235.193.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-01 05:21:22,396 - DEBUG - ping -s 56 -c 3 -W 1 213.235.193.195 2025-11-01 05:21:25,649 - DEBUG - PING 213.235.193.195 (213.235.193.195): 56 data bytes 64 bytes from 213.235.193.195: seq=1 ttl=63 time=4.400 ms 64 bytes from 213.235.193.195: seq=2 ttl=63 time=1.360 ms --- 213.235.193.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.360/2.880/4.400 ms 2025-11-01 05:21:25,650 - WARNING - Ping to IP 213.235.193.195 from VM ctest-vn1-vm1-65942400 failed 2025-11-01 05:21:26,650 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.235.193.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-01 05:21:26,651 - DEBUG - ping -s 56 -c 3 -W 1 213.235.193.195 2025-11-01 05:21:28,899 - DEBUG - PING 213.235.193.195 (213.235.193.195): 56 data bytes 64 bytes from 213.235.193.195: seq=0 ttl=63 time=1.648 ms 64 bytes from 213.235.193.195: seq=1 ttl=63 time=1.331 ms 64 bytes from 213.235.193.195: seq=2 ttl=63 time=1.243 ms --- 213.235.193.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.243/1.407/1.648 ms 2025-11-01 05:21:28,900 - INFO - Ping to IP 213.235.193.195 from VM ctest-vn1-vm1-65942400 passed 2025-11-01 05:21:28,900 - INFO - Deleting interface with subnet_id 41c30bda-259f-46db-90e1-f83519680367, port_id None from router 8c4378cc-1a91-447b-b070-7750daf50454 2025-11-01 05:21:29,039 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 05:21:29,039 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.235.193.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-01 05:21:29,040 - DEBUG - ping -s 56 -c 3 -W 1 213.235.193.195 2025-11-01 05:21:32,274 - DEBUG - PING 213.235.193.195 (213.235.193.195): 56 data bytes --- 213.235.193.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-01 05:21:32,274 - WARNING - Ping to IP 213.235.193.195 from VM ctest-vn1-vm1-65942400 failed 2025-11-01 05:21:32,274 - INFO - Adding interface with subnet_id 41c30bda-259f-46db-90e1-f83519680367, port_id None to router 8c4378cc-1a91-447b-b070-7750daf50454 2025-11-01 05:21:32,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 05:21:32,510 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.235.193.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-01 05:21:32,511 - DEBUG - ping -s 56 -c 3 -W 1 213.235.193.195 2025-11-01 05:21:34,745 - DEBUG - PING 213.235.193.195 (213.235.193.195): 56 data bytes 64 bytes from 213.235.193.195: seq=0 ttl=63 time=1.498 ms 64 bytes from 213.235.193.195: seq=1 ttl=63 time=0.971 ms 64 bytes from 213.235.193.195: seq=2 ttl=63 time=0.948 ms --- 213.235.193.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.948/1.139/1.498 ms 2025-11-01 05:21:34,746 - INFO - Ping to IP 213.235.193.195 from VM ctest-vn1-vm1-65942400 passed 2025-11-01 05:21:34,746 - INFO - Deleting interface with subnet_id 5a07e6e1-5735-4337-8236-75f892720076, port_id None from router 8c4378cc-1a91-447b-b070-7750daf50454 2025-11-01 05:21:34,868 - INFO - Deleting interface with subnet_id 41c30bda-259f-46db-90e1-f83519680367, port_id None from router 8c4378cc-1a91-447b-b070-7750daf50454 2025-11-01 05:21:35,074 - INFO - Deleting VM ctest-vn2-vm1-24092299 2025-11-01 05:21:35,161 - INFO - Deleting VM ctest-vn1-vm1-65942400 2025-11-01 05:21:35,244 - INFO - Deleting VN ctest-vn2-51371143 2025-11-01 05:21:35,288 - DEBUG - VN 85b02fca-d9f0-4d9c-a16c-ebf3191f4f39 still in use: Unable to complete operation on network 85b02fca-d9f0-4d9c-a16c-ebf3191f4f39. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-147b3826-2a8d-44a8-84dd-b74f01a47c73'] 2025-11-01 05:21:35,288 - WARNING - Deleting VN ctest-vn2-51371143 failed..Will retry 2025-11-01 05:21:37,401 - DEBUG - Response for deleting network () 2025-11-01 05:21:37,401 - INFO - Deleting VN ctest-vn1-14416625 2025-11-01 05:21:37,538 - DEBUG - Response for deleting network () 2025-11-01 05:21:37,812 - DEBUG - No XMPP flaps were noticed during the test 2025-11-01 05:21:37,812 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44] 2025-11-01 05:21:37,812 - INFO - -------------------------------------------------------------------------------- 2025-11-01 05:21:38,646 - INFO - Deleted project: ctest-TestRouters-66479909, ID : 22d2fa14-693a-4359-b824-0a8f2b210391