2026-08-23 17:02:08,456 - INFO - Domain Default found not creating 2026-08-23 17:02:08,744 - INFO - Project ctest-TestRoutersBasic-11504304 not found, creating it 2026-08-23 17:02:09,260 - INFO - Created Project:ctest-TestRoutersBasic-11504304, ID : 3d49c33a-8ca6-4ec3-bfb2-826b8f17807a 2026-08-23 17:02:11,001 - INFO - ================================================================================ 2026-08-23 17:02:11,001 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-23 17:02:11,001 - 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-08-23 17:02:11,274 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with 2026-08-23 17:02:11,274 - INFO - Initial checks done. Running the testcase now 2026-08-23 17:02:11,275 - INFO - 2026-08-23 17:02:12,146 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-11504304 2026-08-23 17:02:12,245 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-11504304 2026-08-23 17:02:12,589 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11504304', 'default']} 2026-08-23 17:02:12,908 - DEBUG - Response for create_network : {'network': {'id': '8e8a50ae-b69b-4d95-be38-f2ea79aa741b', 'name': 'ctest-vn-84671933', 'tenant_id': '3d49c33a8ca64ec3bfb2826b8f17807a', 'project_id': '3d49c33a8ca64ec3bfb2826b8f17807a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11504304', 'ctest-vn-84671933'], 'port_security_enabled': True, 'description': ''}} 2026-08-23 17:02:13,134 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d92d604-cc84-4dfc-bb63-0566411970a9', 'name': '', 'tenant_id': '3d49c33a8ca64ec3bfb2826b8f17807a', 'network_id': '8e8a50ae-b69b-4d95-be38-f2ea79aa741b', 'ip_version': 4, 'cidr': '152.183.40.64/26', 'allocation_pools': [{'start': '152.183.40.66', 'end': '152.183.40.126'}], 'gateway_ip': '152.183.40.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.183.40.66', 'tags': [], 'project_id': '3d49c33a8ca64ec3bfb2826b8f17807a'}} 2026-08-23 17:02:13,154 - INFO - Created VN ctest-vn-84671933 2026-08-23 17:02:13,209 - DEBUG - VN ctest-vn-84671933 UUID is 8e8a50ae-b69b-4d95-be38-f2ea79aa741b 2026-08-23 17:02:13,571 - DEBUG - Response for create_network : {'network': {'id': '374af126-fee5-4353-b4c2-ecde505b110b', 'name': 'ctest-ext_vn-63824433', 'tenant_id': '3d49c33a8ca64ec3bfb2826b8f17807a', 'project_id': '3d49c33a8ca64ec3bfb2826b8f17807a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11504304', 'ctest-ext_vn-63824433'], 'port_security_enabled': True, 'description': ''}} 2026-08-23 17:02:13,790 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e5a486e-2298-4831-9936-f8b48d92fd65', 'name': '', 'tenant_id': '3d49c33a8ca64ec3bfb2826b8f17807a', 'network_id': '374af126-fee5-4353-b4c2-ecde505b110b', 'ip_version': 4, 'cidr': '9.80.165.192/26', 'allocation_pools': [{'start': '9.80.165.194', 'end': '9.80.165.254'}], 'gateway_ip': '9.80.165.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.80.165.194', 'tags': [], 'project_id': '3d49c33a8ca64ec3bfb2826b8f17807a'}} 2026-08-23 17:02:13,810 - INFO - Created VN ctest-ext_vn-63824433 2026-08-23 17:02:13,865 - DEBUG - VN ctest-ext_vn-63824433 UUID is 374af126-fee5-4353-b4c2-ecde505b110b 2026-08-23 17:02:14,038 - DEBUG - Services list from nova: [, , ] 2026-08-23 17:02:14,451 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6209-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6209-1) 2026-08-23 17:02:14,856 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6209-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6209-1) 2026-08-23 17:02:14,934 - INFO - Setting gateway for router d1d3a2d9-a99e-4ee9-9eed-bc2c3bec9242 to network 374af126-fee5-4353-b4c2-ecde505b110b 2026-08-23 17:02:14,987 - INFO - Adding interface with subnet_id 7d92d604-cc84-4dfc-bb63-0566411970a9, port_id None to router d1d3a2d9-a99e-4ee9-9eed-bc2c3bec9242 2026-08-23 17:02:15,252 - INFO - Waiting for VM ctest-TestRoutersBasic-11504304-74386734 to be up.. 2026-08-23 17:02:15,325 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-23 17:02:20,409 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-23 17:02:25,557 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-23 17:02:30,643 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-23 17:02:35,724 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-23 17:02:40,814 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-23 17:02:45,907 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-23 17:02:50,997 - DEBUG - VM is in ACTIVE state now 2026-08-23 17:02:50,997 - INFO - VM name : ctest-TestRoutersBasic-11504304-74386734 2026-08-23 17:02:51,091 - DEBUG - VM ctest-TestRoutersBasic-11504304-74386734 ID is fc19554e-7e0e-44ea-b952-485df69a56fc 2026-08-23 17:02:51,112 - DEBUG - VM ctest-TestRoutersBasic-11504304-74386734 launched on Node cn-jenkins-deploy-platform-ansible-os-6209-1 2026-08-23 17:02:51,195 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/fc19554e-7e0e-44ea-b952-485df69a56fc 2026-08-23 17:02:51,564 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/fc19554e-7e0e-44ea-b952-485df69a56fc 2026-08-23 17:02:51,600 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/0d8ac835-8eed-46b8-9094-358f9e538cf9 2026-08-23 17:02:54,875 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms') 2026-08-23 17:02:54,876 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-11504304-74386734 failed! 2026-08-23 17:02:54,933 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-11504304:ctest-vn-84671933 is 152.183.40.65 and allocation pool is NOT set 2026-08-23 17:02:59,004 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=3.07 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 3.069/3.069/3.069/0.000 ms') 2026-08-23 17:02:59,004 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-11504304-74386734 passed 2026-08-23 17:02:59,153 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-23 17:02:59,153 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11504304-74386734, IP 152.183.40.67, Port 22 2026-08-23 17:02:59,323 - DEBUG - VM ctest-TestRoutersBasic-11504304-74386734 is ready for SSH connections 2026-08-23 17:02:59,323 - INFO - Waiting for VM ctest-TestRoutersBasic-11504304-07281658 to be up.. 2026-08-23 17:02:59,417 - DEBUG - VM is in ACTIVE state now 2026-08-23 17:02:59,418 - INFO - VM name : ctest-TestRoutersBasic-11504304-07281658 2026-08-23 17:02:59,510 - DEBUG - VM ctest-TestRoutersBasic-11504304-07281658 ID is 882d19fb-0fb1-4025-a277-06df7e4163ae 2026-08-23 17:02:59,511 - DEBUG - VM ctest-TestRoutersBasic-11504304-07281658 launched on Node cn-jenkins-deploy-platform-ansible-os-6209-1 2026-08-23 17:02:59,601 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/882d19fb-0fb1-4025-a277-06df7e4163ae 2026-08-23 17:02:59,611 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/23753e23-8cf9-4252-9bf0-8800356ebe6e 2026-08-23 17:03:02,880 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms') 2026-08-23 17:03:02,880 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-11504304-07281658 failed! 2026-08-23 17:03:02,937 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-11504304:ctest-ext_vn-63824433 is 9.80.165.193 and allocation pool is NOT set 2026-08-23 17:03:05,003 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=5.43 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.469 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.469/2.950/5.431/2.481 ms') 2026-08-23 17:03:05,003 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-11504304-07281658 passed 2026-08-23 17:03:05,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-23 17:03:05,157 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11504304-07281658, IP 9.80.165.196, Port 22 2026-08-23 17:03:05,327 - DEBUG - VM ctest-TestRoutersBasic-11504304-07281658 is ready for SSH connections 2026-08-23 17:03:05,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-23 17:03:05,328 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.80.165.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-08-23 17:03:05,328 - DEBUG - ping -s 56 -c 3 -W 1 9.80.165.196 2026-08-23 17:03:08,439 - DEBUG - PING 9.80.165.196 (9.80.165.196): 56 data bytes 64 bytes from 9.80.165.196: seq=0 ttl=62 time=6.355 ms 64 bytes from 9.80.165.196: seq=1 ttl=62 time=1.218 ms 64 bytes from 9.80.165.196: seq=2 ttl=62 time=1.478 ms --- 9.80.165.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.218/3.017/6.355 ms 2026-08-23 17:03:08,439 - INFO - Ping to IP 9.80.165.196 from VM ctest-TestRoutersBasic-11504304-74386734 passed 2026-08-23 17:03:08,439 - INFO - Deleting interface with subnet_id 7d92d604-cc84-4dfc-bb63-0566411970a9, port_id None from router d1d3a2d9-a99e-4ee9-9eed-bc2c3bec9242 2026-08-23 17:03:08,676 - INFO - Deleting VM ctest-TestRoutersBasic-11504304-07281658 2026-08-23 17:03:08,763 - INFO - Deleting VM ctest-TestRoutersBasic-11504304-74386734 2026-08-23 17:03:08,853 - INFO - Deleting VN ctest-ext_vn-63824433 2026-08-23 17:03:08,955 - DEBUG - VN 374af126-fee5-4353-b4c2-ecde505b110b still in use: Unable to complete operation on network 374af126-fee5-4353-b4c2-ecde505b110b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ae228f59-861b-4613-9082-930b7bf6a516'] 2026-08-23 17:03:08,955 - WARNING - Deleting VN ctest-ext_vn-63824433 failed..Will retry 2026-08-23 17:03:11,137 - DEBUG - Response for deleting network () 2026-08-23 17:03:11,137 - INFO - Deleting VN ctest-vn-84671933 2026-08-23 17:03:11,242 - DEBUG - Response for deleting network () 2026-08-23 17:03:11,507 - DEBUG - No XMPP flaps were noticed during the test 2026-08-23 17:03:11,507 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:00] 2026-08-23 17:03:11,507 - INFO - -------------------------------------------------------------------------------- 2026-08-23 17:03:12,306 - INFO - Deleted project: ctest-TestRoutersBasic-11504304, ID : 3d49c33a-8ca6-4ec3-bfb2-826b8f17807a