2026-01-12 02:06:44,508 - INFO - Domain Default found not creating 2026-01-12 02:06:44,691 - INFO - Project ctest-TestRoutersBasic-95276380 not found, creating it 2026-01-12 02:06:45,174 - INFO - Created Project:ctest-TestRoutersBasic-95276380, ID : 27e7d0f4-c5a8-4c61-b6be-f83dbe9a8ebc 2026-01-12 02:06:46,890 - INFO - ================================================================================ 2026-01-12 02:06:46,891 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-12 02:06:46,891 - INFO - TEST DESCRIPTION : Create an external network, a router set router-gateway to external network launch a private network and attach it to router validate left vm pinging right vm through Snat 2026-01-12 02:06:47,148 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.192': '0'}} with 2026-01-12 02:06:47,148 - INFO - Initial checks done. Running the testcase now 2026-01-12 02:06:47,148 - INFO - 2026-01-12 02:06:47,970 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-95276380 2026-01-12 02:06:48,070 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-95276380 2026-01-12 02:06:48,402 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95276380', 'default']} 2026-01-12 02:06:48,710 - DEBUG - Response for create_network : {'network': {'id': 'a2cab791-f367-4d24-839a-07fab8ca3e52', 'name': 'ctest-vn-32243352', 'tenant_id': '27e7d0f4c5a84c61b6bef83dbe9a8ebc', 'project_id': '27e7d0f4c5a84c61b6bef83dbe9a8ebc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95276380', 'ctest-vn-32243352'], 'port_security_enabled': True, 'description': ''}} 2026-01-12 02:06:48,948 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bac75dd4-34de-45ff-806f-d99587f0b922', 'name': '', 'tenant_id': '27e7d0f4c5a84c61b6bef83dbe9a8ebc', 'network_id': 'a2cab791-f367-4d24-839a-07fab8ca3e52', 'ip_version': 4, 'cidr': '188.224.158.128/26', 'allocation_pools': [{'start': '188.224.158.130', 'end': '188.224.158.190'}], 'gateway_ip': '188.224.158.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.224.158.130', 'tags': [], 'project_id': '27e7d0f4c5a84c61b6bef83dbe9a8ebc'}} 2026-01-12 02:06:48,969 - INFO - Created VN ctest-vn-32243352 2026-01-12 02:06:49,022 - DEBUG - VN ctest-vn-32243352 UUID is a2cab791-f367-4d24-839a-07fab8ca3e52 2026-01-12 02:06:49,359 - DEBUG - Response for create_network : {'network': {'id': 'ce8ce3f4-eaea-464e-b9a7-3bad88ecec14', 'name': 'ctest-ext_vn-23379522', 'tenant_id': '27e7d0f4c5a84c61b6bef83dbe9a8ebc', 'project_id': '27e7d0f4c5a84c61b6bef83dbe9a8ebc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95276380', 'ctest-ext_vn-23379522'], 'port_security_enabled': True, 'description': ''}} 2026-01-12 02:06:49,514 - DEBUG - Response for create_subnet : {'subnet': {'id': '783910b8-4cd1-4a9a-870b-d0b7bf514eb3', 'name': '', 'tenant_id': '27e7d0f4c5a84c61b6bef83dbe9a8ebc', 'network_id': 'ce8ce3f4-eaea-464e-b9a7-3bad88ecec14', 'ip_version': 4, 'cidr': '51.166.22.128/26', 'allocation_pools': [{'start': '51.166.22.130', 'end': '51.166.22.190'}], 'gateway_ip': '51.166.22.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.166.22.130', 'tags': [], 'project_id': '27e7d0f4c5a84c61b6bef83dbe9a8ebc'}} 2026-01-12 02:06:49,535 - INFO - Created VN ctest-ext_vn-23379522 2026-01-12 02:06:49,586 - DEBUG - VN ctest-ext_vn-23379522 UUID is ce8ce3f4-eaea-464e-b9a7-3bad88ecec14 2026-01-12 02:06:49,765 - DEBUG - Services list from nova: [, , ] 2026-01-12 02:06:50,920 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4986-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4986-1) 2026-01-12 02:06:52,211 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4986-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4986-1) 2026-01-12 02:06:52,296 - INFO - Setting gateway for router 7f8ebf7a-dc90-4fd0-9cc6-4e7064532fb5 to network ce8ce3f4-eaea-464e-b9a7-3bad88ecec14 2026-01-12 02:06:52,366 - INFO - Adding interface with subnet_id bac75dd4-34de-45ff-806f-d99587f0b922, port_id None to router 7f8ebf7a-dc90-4fd0-9cc6-4e7064532fb5 2026-01-12 02:06:52,728 - INFO - Waiting for VM ctest-TestRoutersBasic-95276380-65878769 to be up.. 2026-01-12 02:06:52,910 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-12 02:06:57,990 - DEBUG - VM is in ACTIVE state now 2026-01-12 02:06:57,990 - INFO - VM name : ctest-TestRoutersBasic-95276380-65878769 2026-01-12 02:06:58,073 - DEBUG - VM ctest-TestRoutersBasic-95276380-65878769 ID is a62af2ea-ad56-46f0-87f2-29ec362885f2 2026-01-12 02:06:58,096 - DEBUG - VM ctest-TestRoutersBasic-95276380-65878769 launched on Node cn-jenkins-deploy-platform-ansible-os-4986-1 2026-01-12 02:06:58,178 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/a62af2ea-ad56-46f0-87f2-29ec362885f2 2026-01-12 02:06:58,526 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/a62af2ea-ad56-46f0-87f2-29ec362885f2 2026-01-12 02:06:58,570 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/0eb991ea-2d7d-4bf6-a27b-ea8995f2eac0 2026-01-12 02:07:01,843 - 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') 2026-01-12 02:07:01,843 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-95276380-65878769 failed! 2026-01-12 02:07:01,902 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-95276380:ctest-vn-32243352 is 188.224.158.129 and allocation pool is NOT set 2026-01-12 02:07:03,973 - 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=6.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.84 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.843/4.065/6.288/2.222 ms') 2026-01-12 02:07:03,973 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-95276380-65878769 passed 2026-01-12 02:07:04,130 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 02:07:04,130 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95276380-65878769, IP 188.224.158.131, Port 22 2026-01-12 02:07:04,300 - DEBUG - VM ctest-TestRoutersBasic-95276380-65878769 is ready for SSH connections 2026-01-12 02:07:04,300 - INFO - Waiting for VM ctest-TestRoutersBasic-95276380-54044504 to be up.. 2026-01-12 02:07:04,394 - DEBUG - VM is in ACTIVE state now 2026-01-12 02:07:04,394 - INFO - VM name : ctest-TestRoutersBasic-95276380-54044504 2026-01-12 02:07:04,481 - DEBUG - VM ctest-TestRoutersBasic-95276380-54044504 ID is 5382c5de-59ad-47ef-b1e8-0895fa44e3a4 2026-01-12 02:07:04,481 - DEBUG - VM ctest-TestRoutersBasic-95276380-54044504 launched on Node cn-jenkins-deploy-platform-ansible-os-4986-1 2026-01-12 02:07:04,565 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/5382c5de-59ad-47ef-b1e8-0895fa44e3a4 2026-01-12 02:07:04,573 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/ab936a3f-ecc3-414a-a7f5-01c808ae59b5 2026-01-12 02:07:05,813 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.709 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.709/2.584/4.459/1.875 ms') 2026-01-12 02:07:05,813 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-95276380-54044504 passed 2026-01-12 02:07:05,962 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 02:07:05,962 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95276380-54044504, IP 51.166.22.131, Port 22 2026-01-12 02:07:06,028 - 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': ''} 2026-01-12 02:07:06,106 - DEBUG - VM ctest-TestRoutersBasic-95276380-54044504 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-12 02:07:11,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 02:07:11,106 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95276380-54044504, IP 51.166.22.131, Port 22 2026-01-12 02:07:11,262 - DEBUG - VM ctest-TestRoutersBasic-95276380-54044504 is ready for SSH connections 2026-01-12 02:07:11,262 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 02:07:11,262 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 51.166.22.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-01-12 02:07:11,262 - DEBUG - ping -s 56 -c 3 -W 1 51.166.22.131 2026-01-12 02:07:15,045 - DEBUG - PING 51.166.22.131 (51.166.22.131): 56 data bytes 64 bytes from 51.166.22.131: seq=0 ttl=62 time=7.737 ms 64 bytes from 51.166.22.131: seq=1 ttl=62 time=1.143 ms 64 bytes from 51.166.22.131: seq=2 ttl=62 time=1.140 ms --- 51.166.22.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.140/3.340/7.737 ms 2026-01-12 02:07:15,045 - INFO - Ping to IP 51.166.22.131 from VM ctest-TestRoutersBasic-95276380-65878769 passed 2026-01-12 02:07:15,045 - INFO - Deleting interface with subnet_id bac75dd4-34de-45ff-806f-d99587f0b922, port_id None from router 7f8ebf7a-dc90-4fd0-9cc6-4e7064532fb5 2026-01-12 02:07:15,265 - INFO - Deleting VM ctest-TestRoutersBasic-95276380-54044504 2026-01-12 02:07:15,376 - INFO - Deleting VM ctest-TestRoutersBasic-95276380-65878769 2026-01-12 02:07:15,514 - INFO - Deleting VN ctest-ext_vn-23379522 2026-01-12 02:07:15,628 - DEBUG - VN ce8ce3f4-eaea-464e-b9a7-3bad88ecec14 still in use: Unable to complete operation on network ce8ce3f4-eaea-464e-b9a7-3bad88ecec14. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-882dd23e-8d3f-4e6d-94c6-d7343309a094'] 2026-01-12 02:07:15,628 - WARNING - Deleting VN ctest-ext_vn-23379522 failed..Will retry 2026-01-12 02:07:17,748 - DEBUG - Response for deleting network () 2026-01-12 02:07:17,748 - INFO - Deleting VN ctest-vn-32243352 2026-01-12 02:07:17,879 - DEBUG - Response for deleting network () 2026-01-12 02:07:18,135 - DEBUG - No XMPP flaps were noticed during the test
2026-01-12 02:07:18,135 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2026-01-12 02:07:18,135 - INFO - -------------------------------------------------------------------------------- 2026-01-12 02:07:18,910 - INFO - Deleted project: ctest-TestRoutersBasic-95276380, ID : 27e7d0f4-c5a8-4c61-b6be-f83dbe9a8ebc