2026-03-17 15:12:48,991 - INFO - Domain Default found not creating 2026-03-17 15:12:49,165 - INFO - Project ctest-TestRoutersBasic-09082671 not found, creating it 2026-03-17 15:12:49,649 - INFO - Created Project:ctest-TestRoutersBasic-09082671, ID : c5a4fcbe-0971-4e62-ad92-0379c6b2a5ae 2026-03-17 15:12:51,207 - INFO - ================================================================================ 2026-03-17 15:12:51,207 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-17 15:12:51,207 - 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-03-17 15:12:51,459 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.249': '0'}} with 2026-03-17 15:12:51,459 - INFO - Initial checks done. Running the testcase now 2026-03-17 15:12:51,459 - INFO - 2026-03-17 15:12:52,193 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-09082671 2026-03-17 15:12:52,286 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-09082671 2026-03-17 15:12:52,610 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09082671', 'default']} 2026-03-17 15:12:52,904 - DEBUG - Response for create_network : {'network': {'id': '394921bc-e7b9-4be9-90ef-7dbddbe86999', 'name': 'ctest-vn-42059838', 'tenant_id': 'c5a4fcbe09714e62ad920379c6b2a5ae', 'project_id': 'c5a4fcbe09714e62ad920379c6b2a5ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09082671', 'ctest-vn-42059838'], 'port_security_enabled': True, 'description': ''}} 2026-03-17 15:12:53,082 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc3ec5e9-5a80-4391-8233-18dd1d3dcd3c', 'name': '', 'tenant_id': 'c5a4fcbe09714e62ad920379c6b2a5ae', 'network_id': '394921bc-e7b9-4be9-90ef-7dbddbe86999', 'ip_version': 4, 'cidr': '79.236.229.192/26', 'allocation_pools': [{'start': '79.236.229.194', 'end': '79.236.229.254'}], 'gateway_ip': '79.236.229.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.236.229.194', 'tags': [], 'project_id': 'c5a4fcbe09714e62ad920379c6b2a5ae'}} 2026-03-17 15:12:53,101 - INFO - Created VN ctest-vn-42059838 2026-03-17 15:12:53,154 - DEBUG - VN ctest-vn-42059838 UUID is 394921bc-e7b9-4be9-90ef-7dbddbe86999 2026-03-17 15:12:53,456 - DEBUG - Response for create_network : {'network': {'id': '615a4a64-75f8-4bd4-b45e-8c69ff8ca586', 'name': 'ctest-ext_vn-68630478', 'tenant_id': 'c5a4fcbe09714e62ad920379c6b2a5ae', 'project_id': 'c5a4fcbe09714e62ad920379c6b2a5ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09082671', 'ctest-ext_vn-68630478'], 'port_security_enabled': True, 'description': ''}} 2026-03-17 15:12:53,647 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b451a691-e0ce-4667-9270-43d08ed6de8c', 'name': '', 'tenant_id': 'c5a4fcbe09714e62ad920379c6b2a5ae', 'network_id': '615a4a64-75f8-4bd4-b45e-8c69ff8ca586', 'ip_version': 4, 'cidr': '84.200.137.0/26', 'allocation_pools': [{'start': '84.200.137.2', 'end': '84.200.137.62'}], 'gateway_ip': '84.200.137.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.200.137.2', 'tags': [], 'project_id': 'c5a4fcbe09714e62ad920379c6b2a5ae'}} 2026-03-17 15:12:53,665 - INFO - Created VN ctest-ext_vn-68630478 2026-03-17 15:12:53,718 - DEBUG - VN ctest-ext_vn-68630478 UUID is 615a4a64-75f8-4bd4-b45e-8c69ff8ca586 2026-03-17 15:12:53,883 - DEBUG - Services list from nova: [, , ] 2026-03-17 15:12:54,943 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5483-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5483-1) 2026-03-17 15:12:56,086 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5483-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5483-1) 2026-03-17 15:12:56,169 - INFO - Setting gateway for router 7faa1e5b-49ec-4eba-b474-3f5f44aa54f1 to network 615a4a64-75f8-4bd4-b45e-8c69ff8ca586 2026-03-17 15:12:56,220 - INFO - Adding interface with subnet_id dc3ec5e9-5a80-4391-8233-18dd1d3dcd3c, port_id None to router 7faa1e5b-49ec-4eba-b474-3f5f44aa54f1 2026-03-17 15:12:56,584 - INFO - Waiting for VM ctest-TestRoutersBasic-09082671-70777097 to be up.. 2026-03-17 15:12:56,761 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-17 15:13:01,840 - DEBUG - VM is in ACTIVE state now 2026-03-17 15:13:01,840 - INFO - VM name : ctest-TestRoutersBasic-09082671-70777097 2026-03-17 15:13:01,931 - DEBUG - VM ctest-TestRoutersBasic-09082671-70777097 ID is 81f4e60d-2355-4390-af50-6a86c1cc84a3 2026-03-17 15:13:01,952 - DEBUG - VM ctest-TestRoutersBasic-09082671-70777097 launched on Node cn-jenkins-deploy-platform-ansible-os-5483-1 2026-03-17 15:13:02,038 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/81f4e60d-2355-4390-af50-6a86c1cc84a3 2026-03-17 15:13:02,342 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/81f4e60d-2355-4390-af50-6a86c1cc84a3 2026-03-17 15:13:02,379 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/dc64d0bf-304b-4956-bc94-ad5e63e43f1f 2026-03-17 15:13:05,629 - 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 1001ms') 2026-03-17 15:13:05,629 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-09082671-70777097 failed! 2026-03-17 15:13:05,686 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-09082671:ctest-vn-42059838 is 79.236.229.193 and allocation pool is NOT set 2026-03-17 15:13:07,744 - 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=4.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.00 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 = 2.002/3.124/4.247/1.122 ms') 2026-03-17 15:13:07,744 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-09082671-70777097 passed 2026-03-17 15:13:07,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-17 15:13:07,890 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09082671-70777097, IP 79.236.229.195, Port 22 2026-03-17 15:13:08,045 - DEBUG - VM ctest-TestRoutersBasic-09082671-70777097 is ready for SSH connections 2026-03-17 15:13:08,046 - INFO - Waiting for VM ctest-TestRoutersBasic-09082671-19534432 to be up.. 2026-03-17 15:13:08,132 - DEBUG - VM is in ACTIVE state now 2026-03-17 15:13:08,132 - INFO - VM name : ctest-TestRoutersBasic-09082671-19534432 2026-03-17 15:13:08,218 - DEBUG - VM ctest-TestRoutersBasic-09082671-19534432 ID is 97f226c9-8d9a-4343-9a6a-b8c7e6ed2108 2026-03-17 15:13:08,219 - DEBUG - VM ctest-TestRoutersBasic-09082671-19534432 launched on Node cn-jenkins-deploy-platform-ansible-os-5483-1 2026-03-17 15:13:08,303 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/97f226c9-8d9a-4343-9a6a-b8c7e6ed2108 2026-03-17 15:13:08,311 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/5323d09d-e2c1-4b7c-a904-1a5846ecab6e 2026-03-17 15:13:09,545 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.842 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.842/2.814/4.787/1.972 ms') 2026-03-17 15:13:09,545 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-09082671-19534432 passed 2026-03-17 15:13:09,702 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-17 15:13:09,702 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09082671-19534432, IP 84.200.137.3, Port 22 2026-03-17 15:13:09,769 - 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-03-17 15:13:09,852 - DEBUG - VM ctest-TestRoutersBasic-09082671-19534432 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-17 15:13:14,853 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-17 15:13:14,853 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09082671-19534432, IP 84.200.137.3, Port 22 2026-03-17 15:13:15,033 - DEBUG - VM ctest-TestRoutersBasic-09082671-19534432 is ready for SSH connections 2026-03-17 15:13:15,033 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-17 15:13:15,033 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.200.137.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2026-03-17 15:13:15,033 - DEBUG - ping -s 56 -c 3 -W 1 84.200.137.3 2026-03-17 15:13:18,750 - DEBUG - PING 84.200.137.3 (84.200.137.3): 56 data bytes 64 bytes from 84.200.137.3: seq=0 ttl=62 time=7.305 ms 64 bytes from 84.200.137.3: seq=1 ttl=62 time=0.773 ms 64 bytes from 84.200.137.3: seq=2 ttl=62 time=0.884 ms --- 84.200.137.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.773/2.987/7.305 ms 2026-03-17 15:13:18,750 - INFO - Ping to IP 84.200.137.3 from VM ctest-TestRoutersBasic-09082671-70777097 passed 2026-03-17 15:13:18,750 - INFO - Deleting interface with subnet_id dc3ec5e9-5a80-4391-8233-18dd1d3dcd3c, port_id None from router 7faa1e5b-49ec-4eba-b474-3f5f44aa54f1 2026-03-17 15:13:18,934 - INFO - Deleting VM ctest-TestRoutersBasic-09082671-19534432 2026-03-17 15:13:19,008 - INFO - Deleting VM ctest-TestRoutersBasic-09082671-70777097 2026-03-17 15:13:19,090 - INFO - Deleting VN ctest-ext_vn-68630478 2026-03-17 15:13:19,150 - DEBUG - VN 615a4a64-75f8-4bd4-b45e-8c69ff8ca586 still in use: Unable to complete operation on network 615a4a64-75f8-4bd4-b45e-8c69ff8ca586. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-254857a0-7ebb-467a-8fbd-ad88ba71cb23'] 2026-03-17 15:13:19,150 - WARNING - Deleting VN ctest-ext_vn-68630478 failed..Will retry 2026-03-17 15:13:21,272 - DEBUG - Response for deleting network () 2026-03-17 15:13:21,273 - INFO - Deleting VN ctest-vn-42059838 2026-03-17 15:13:21,384 - DEBUG - Response for deleting network () 2026-03-17 15:13:21,639 - DEBUG - No XMPP flaps were noticed during the test 2026-03-17 15:13:21,639 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30] 2026-03-17 15:13:21,639 - INFO - -------------------------------------------------------------------------------- 2026-03-17 15:13:22,347 - INFO - Deleted project: ctest-TestRoutersBasic-09082671, ID : c5a4fcbe-0971-4e62-ad92-0379c6b2a5ae