2025-10-30 21:56:27,985 - INFO - Domain Default found not creating 2025-10-30 21:56:28,168 - INFO - Project ctest-TestRouters-86886666 not found, creating it 2025-10-30 21:56:28,695 - INFO - Created Project:ctest-TestRouters-86886666, ID : 87ad8c85-45c5-4a0d-b8f3-0213bca2ea1e 2025-10-30 21:56:30,363 - INFO - ================================================================================ 2025-10-30 21:56:30,363 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-30 21:56:30,364 - 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 21:56:30,675 - DEBUG - Nothing to compare xmpp stats {'10.0.0.245': {'10.20.0.14': '0'}} with 2025-10-30 21:56:30,675 - INFO - Initial checks done. Running the testcase now 2025-10-30 21:56:30,676 - INFO - 2025-10-30 21:56:31,324 - DEBUG - Response for create_network : {'network': {'id': 'e6038b64-fc58-45b9-b73f-654960152097', 'name': 'ctest-vn1-53014899', 'tenant_id': '87ad8c8545c54a0db8f30213bca2ea1e', 'project_id': '87ad8c8545c54a0db8f30213bca2ea1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-86886666', 'ctest-vn1-53014899'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 21:56:31,602 - DEBUG - Response for create_subnet : {'subnet': {'id': '84a19ec1-5d60-444d-b227-a51288bf9714', 'name': '', 'tenant_id': '87ad8c8545c54a0db8f30213bca2ea1e', 'network_id': 'e6038b64-fc58-45b9-b73f-654960152097', 'ip_version': 4, 'cidr': '142.43.86.0/26', 'allocation_pools': [{'start': '142.43.86.2', 'end': '142.43.86.62'}], 'gateway_ip': '142.43.86.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.43.86.2', 'tags': [], 'project_id': '87ad8c8545c54a0db8f30213bca2ea1e'}} 2025-10-30 21:56:31,621 - INFO - Created VN ctest-vn1-53014899 2025-10-30 21:56:31,674 - DEBUG - VN ctest-vn1-53014899 UUID is e6038b64-fc58-45b9-b73f-654960152097 2025-10-30 21:56:32,153 - DEBUG - Response for create_network : {'network': {'id': 'f1635d88-1d57-474c-8f70-206ef8e2c9f7', 'name': 'ctest-vn2-75303401', 'tenant_id': '87ad8c8545c54a0db8f30213bca2ea1e', 'project_id': '87ad8c8545c54a0db8f30213bca2ea1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-86886666', 'ctest-vn2-75303401'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 21:56:32,482 - DEBUG - Response for create_subnet : {'subnet': {'id': '4be563a2-7951-4002-a5d6-0a1215de59d1', 'name': '', 'tenant_id': '87ad8c8545c54a0db8f30213bca2ea1e', 'network_id': 'f1635d88-1d57-474c-8f70-206ef8e2c9f7', 'ip_version': 4, 'cidr': '106.149.42.128/26', 'allocation_pools': [{'start': '106.149.42.130', 'end': '106.149.42.190'}], 'gateway_ip': '106.149.42.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.149.42.130', 'tags': [], 'project_id': '87ad8c8545c54a0db8f30213bca2ea1e'}} 2025-10-30 21:56:32,516 - INFO - Created VN ctest-vn2-75303401 2025-10-30 21:56:32,578 - DEBUG - VN ctest-vn2-75303401 UUID is f1635d88-1d57-474c-8f70-206ef8e2c9f7 2025-10-30 21:56:32,822 - DEBUG - Services list from nova: [, , ] 2025-10-30 21:56:34,465 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4555-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4555-1) 2025-10-30 21:56:36,116 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4555-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4555-1) 2025-10-30 21:56:36,187 - INFO - Adding interface with subnet_id 84a19ec1-5d60-444d-b227-a51288bf9714, port_id None to router 0229b896-ab83-4905-b62a-1a7e4dcf1715 2025-10-30 21:56:36,488 - INFO - Waiting for VM ctest-vn1-vm1-46099117 to be up.. 2025-10-30 21:56:36,590 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 21:56:41,713 - DEBUG - VM is in ACTIVE state now 2025-10-30 21:56:41,713 - INFO - VM name : ctest-vn1-vm1-46099117 2025-10-30 21:56:41,816 - DEBUG - VM ctest-vn1-vm1-46099117 ID is 9fbfabdc-ce25-44dd-9881-c9ab93c37e2b 2025-10-30 21:56:41,843 - DEBUG - VM ctest-vn1-vm1-46099117 launched on Node cn-jenkins-deploy-platform-ansible-os-4555-1 2025-10-30 21:56:41,933 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine/9fbfabdc-ce25-44dd-9881-c9ab93c37e2b 2025-10-30 21:56:42,285 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine/9fbfabdc-ce25-44dd-9881-c9ab93c37e2b 2025-10-30 21:56:42,365 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine-interface/789bc7f4-9095-4a2b-82dc-e7b5974b30b6 2025-10-30 21:56:45,680 - 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 1016ms') 2025-10-30 21:56:45,680 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-46099117 failed! 2025-10-30 21:56:45,758 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-86886666:ctest-vn1-53014899 is 142.43.86.1 and allocation pool is NOT set 2025-10-30 21:56:47,842 - 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=3.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.621 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.621/1.960/3.300/1.339 ms') 2025-10-30 21:56:47,842 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-46099117 passed 2025-10-30 21:56:48,026 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:56:48,026 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-46099117, IP 142.43.86.3, Port 22 2025-10-30 21:56:48,092 - 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 21:56:48,221 - DEBUG - VM ctest-vn1-vm1-46099117 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 21:56:53,222 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:56:53,223 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-46099117, IP 142.43.86.3, Port 22 2025-10-30 21:56:53,420 - DEBUG - VM ctest-vn1-vm1-46099117 is ready for SSH connections 2025-10-30 21:56:53,420 - INFO - Waiting for VM ctest-vn2-vm1-12357106 to be up.. 2025-10-30 21:56:53,566 - DEBUG - VM is in ACTIVE state now 2025-10-30 21:56:53,566 - INFO - VM name : ctest-vn2-vm1-12357106 2025-10-30 21:56:53,701 - DEBUG - VM ctest-vn2-vm1-12357106 ID is 13833338-1468-4ba5-b283-9948d20889ea 2025-10-30 21:56:53,701 - DEBUG - VM ctest-vn2-vm1-12357106 launched on Node cn-jenkins-deploy-platform-ansible-os-4555-1 2025-10-30 21:56:53,882 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine/13833338-1468-4ba5-b283-9948d20889ea 2025-10-30 21:56:53,904 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine-interface/cc1df009-2f73-4a6e-a629-ee17985b4135 2025-10-30 21:56:55,219 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.920 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.920/2.765/4.611/1.845 ms') 2025-10-30 21:56:55,219 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-12357106 passed 2025-10-30 21:56:55,403 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:56:55,403 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-12357106, IP 106.149.42.131, Port 22 2025-10-30 21:56:55,609 - DEBUG - VM ctest-vn2-vm1-12357106 is ready for SSH connections 2025-10-30 21:56:55,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:56:55,610 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.149.42.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.245, gateway password: c0ntrail123 2025-10-30 21:56:55,610 - DEBUG - ping -s 56 -c 3 -W 1 106.149.42.131 2025-10-30 21:57:01,070 - DEBUG - PING 106.149.42.131 (106.149.42.131): 56 data bytes --- 106.149.42.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 21:57:01,071 - WARNING - Ping to IP 106.149.42.131 from VM ctest-vn1-vm1-46099117 failed 2025-10-30 21:57:01,071 - INFO - Adding interface with subnet_id 4be563a2-7951-4002-a5d6-0a1215de59d1, port_id None to router 0229b896-ab83-4905-b62a-1a7e4dcf1715 2025-10-30 21:57:01,486 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:57:01,486 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.149.42.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.245, gateway password: c0ntrail123 2025-10-30 21:57:01,487 - DEBUG - ping -s 56 -c 3 -W 1 106.149.42.131 2025-10-30 21:57:03,736 - DEBUG - PING 106.149.42.131 (106.149.42.131): 56 data bytes 64 bytes from 106.149.42.131: seq=0 ttl=63 time=3.482 ms 64 bytes from 106.149.42.131: seq=1 ttl=63 time=1.310 ms 64 bytes from 106.149.42.131: seq=2 ttl=63 time=1.810 ms --- 106.149.42.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.310/2.200/3.482 ms 2025-10-30 21:57:03,737 - INFO - Ping to IP 106.149.42.131 from VM ctest-vn1-vm1-46099117 passed 2025-10-30 21:57:03,737 - INFO - Deleting interface with subnet_id 84a19ec1-5d60-444d-b227-a51288bf9714, port_id None from router 0229b896-ab83-4905-b62a-1a7e4dcf1715 2025-10-30 21:57:03,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:57:03,975 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.149.42.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.245, gateway password: c0ntrail123 2025-10-30 21:57:03,975 - DEBUG - ping -s 56 -c 3 -W 1 106.149.42.131 2025-10-30 21:57:07,285 - DEBUG - PING 106.149.42.131 (106.149.42.131): 56 data bytes --- 106.149.42.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 21:57:07,285 - WARNING - Ping to IP 106.149.42.131 from VM ctest-vn1-vm1-46099117 failed 2025-10-30 21:57:07,286 - INFO - Adding interface with subnet_id 84a19ec1-5d60-444d-b227-a51288bf9714, port_id None to router 0229b896-ab83-4905-b62a-1a7e4dcf1715 2025-10-30 21:57:07,676 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:57:07,677 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.149.42.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.245, gateway password: c0ntrail123 2025-10-30 21:57:07,677 - DEBUG - ping -s 56 -c 3 -W 1 106.149.42.131 2025-10-30 21:57:09,956 - DEBUG - PING 106.149.42.131 (106.149.42.131): 56 data bytes 64 bytes from 106.149.42.131: seq=0 ttl=63 time=2.694 ms 64 bytes from 106.149.42.131: seq=1 ttl=63 time=1.833 ms 64 bytes from 106.149.42.131: seq=2 ttl=63 time=1.811 ms --- 106.149.42.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.811/2.112/2.694 ms 2025-10-30 21:57:09,956 - INFO - Ping to IP 106.149.42.131 from VM ctest-vn1-vm1-46099117 passed 2025-10-30 21:57:09,957 - INFO - Deleting interface with subnet_id 4be563a2-7951-4002-a5d6-0a1215de59d1, port_id None from router 0229b896-ab83-4905-b62a-1a7e4dcf1715 2025-10-30 21:57:10,206 - INFO - Deleting interface with subnet_id 84a19ec1-5d60-444d-b227-a51288bf9714, port_id None from router 0229b896-ab83-4905-b62a-1a7e4dcf1715 2025-10-30 21:57:10,397 - INFO - Deleting VM ctest-vn2-vm1-12357106 2025-10-30 21:57:10,492 - INFO - Deleting VM ctest-vn1-vm1-46099117 2025-10-30 21:57:10,579 - INFO - Deleting VN ctest-vn2-75303401 2025-10-30 21:57:10,637 - DEBUG - VN f1635d88-1d57-474c-8f70-206ef8e2c9f7 still in use: Unable to complete operation on network f1635d88-1d57-474c-8f70-206ef8e2c9f7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-384f93bc-73d9-4ab0-a8e2-f12bd551f1ab'] 2025-10-30 21:57:10,637 - WARNING - Deleting VN ctest-vn2-75303401 failed..Will retry 2025-10-30 21:57:12,870 - DEBUG - Response for deleting network () 2025-10-30 21:57:12,870 - INFO - Deleting VN ctest-vn1-53014899 2025-10-30 21:57:13,038 - DEBUG - Response for deleting network () 2025-10-30 21:57:13,352 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 21:57:13,352 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:43] 2025-10-30 21:57:13,352 - INFO - -------------------------------------------------------------------------------- 2025-10-30 21:57:14,917 - INFO - Deleted project: ctest-TestRouters-86886666, ID : 87ad8c85-45c5-4a0d-b8f3-0213bca2ea1e