2026-08-14 08:54:51,605 - INFO - Domain Default found not creating 2026-08-14 08:54:51,763 - INFO - Project ctest-TestRoutersBasic-96618069 not found, creating it 2026-08-14 08:54:52,237 - INFO - Created Project:ctest-TestRoutersBasic-96618069, ID : dc113617-8147-4bad-8bb3-78562b1defda 2026-08-14 08:54:53,793 - INFO - ================================================================================ 2026-08-14 08:54:53,793 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-14 08:54:53,793 - 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-14 08:54:54,048 - DEBUG - Nothing to compare xmpp stats {'10.0.0.163': {'10.20.0.25': '0'}} with 2026-08-14 08:54:54,048 - INFO - Initial checks done. Running the testcase now 2026-08-14 08:54:54,048 - INFO - 2026-08-14 08:54:54,939 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-96618069 2026-08-14 08:54:55,034 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-96618069 2026-08-14 08:54:55,385 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96618069', 'default']} 2026-08-14 08:54:55,684 - DEBUG - Response for create_network : {'network': {'id': '35d79015-4277-4173-80f9-1ad25e566143', 'name': 'ctest-vn-45063309', 'tenant_id': 'dc11361781474bad8bb378562b1defda', 'project_id': 'dc11361781474bad8bb378562b1defda', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96618069', 'ctest-vn-45063309'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-08-14 08:54:55,900 - DEBUG - Response for create_subnet : {'subnet': {'id': '122642c0-e355-490e-91c7-6c4b0b7d875b', 'name': '', 'tenant_id': 'dc11361781474bad8bb378562b1defda', 'network_id': '35d79015-4277-4173-80f9-1ad25e566143', 'ip_version': 4, 'cidr': '47.65.36.64/26', 'allocation_pools': [{'start': '47.65.36.66', 'end': '47.65.36.126'}], 'gateway_ip': '47.65.36.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-08-14T08:54:55.843995', 'updated_at': '2026-08-14T08:54:55.843995', 'dns_server_address': '47.65.36.66', 'tags': [], 'project_id': 'dc11361781474bad8bb378562b1defda'}} 2026-08-14 08:54:55,918 - INFO - Created VN ctest-vn-45063309 2026-08-14 08:54:55,969 - DEBUG - VN ctest-vn-45063309 UUID is 35d79015-4277-4173-80f9-1ad25e566143 2026-08-14 08:54:56,318 - DEBUG - Response for create_network : {'network': {'id': '79e2ff9b-0546-42b2-a736-e645e4d8b03f', 'name': 'ctest-ext_vn-97832744', 'tenant_id': 'dc11361781474bad8bb378562b1defda', 'project_id': 'dc11361781474bad8bb378562b1defda', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96618069', 'ctest-ext_vn-97832744'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-08-14 08:54:56,509 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb3687c8-c4d7-4b9a-89cc-656d8526d07d', 'name': '', 'tenant_id': 'dc11361781474bad8bb378562b1defda', 'network_id': '79e2ff9b-0546-42b2-a736-e645e4d8b03f', 'ip_version': 4, 'cidr': '202.7.202.128/26', 'allocation_pools': [{'start': '202.7.202.130', 'end': '202.7.202.190'}], 'gateway_ip': '202.7.202.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-08-14T08:54:56.445881', 'updated_at': '2026-08-14T08:54:56.445881', 'dns_server_address': '202.7.202.130', 'tags': [], 'project_id': 'dc11361781474bad8bb378562b1defda'}} 2026-08-14 08:54:56,525 - INFO - Created VN ctest-ext_vn-97832744 2026-08-14 08:54:56,577 - DEBUG - VN ctest-ext_vn-97832744 UUID is 79e2ff9b-0546-42b2-a736-e645e4d8b03f 2026-08-14 08:54:56,777 - DEBUG - Services list from nova: [, , ] 2026-08-14 08:54:57,095 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6157-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6157-1) 2026-08-14 08:54:57,457 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6157-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6157-1) 2026-08-14 08:54:57,528 - INFO - Setting gateway for router 8e981913-a4a0-4d78-9e76-410516b7b882 to network 79e2ff9b-0546-42b2-a736-e645e4d8b03f 2026-08-14 08:54:57,593 - INFO - Adding interface with subnet_id 122642c0-e355-490e-91c7-6c4b0b7d875b, port_id None to router 8e981913-a4a0-4d78-9e76-410516b7b882 2026-08-14 08:54:57,861 - INFO - Waiting for VM ctest-TestRoutersBasic-96618069-23000688 to be up.. 2026-08-14 08:54:57,927 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:55:03,011 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:55:08,103 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:55:13,180 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:55:18,260 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:55:23,337 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:55:28,467 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:55:33,552 - DEBUG - VM is in ACTIVE state now 2026-08-14 08:55:33,552 - INFO - VM name : ctest-TestRoutersBasic-96618069-23000688 2026-08-14 08:55:33,629 - DEBUG - VM ctest-TestRoutersBasic-96618069-23000688 ID is 7a6a19d2-6f44-4453-adb4-ff3f9753bb98 2026-08-14 08:55:33,651 - DEBUG - VM ctest-TestRoutersBasic-96618069-23000688 launched on Node cn-jenkins-deploy-platform-ansible-os-6157-1 2026-08-14 08:55:33,720 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/7a6a19d2-6f44-4453-adb4-ff3f9753bb98 2026-08-14 08:55:34,042 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/7a6a19d2-6f44-4453-adb4-ff3f9753bb98 2026-08-14 08:55:34,074 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/0c3fdc38-3a0c-4f85-ba7d-ef2fdba70bba 2026-08-14 08:55:37,325 - 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 1011ms') 2026-08-14 08:55:37,326 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-96618069-23000688 failed! 2026-08-14 08:55:37,381 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-96618069:ctest-vn-45063309 is 47.65.36.65 and allocation pool is NOT set 2026-08-14 08:55:39,446 - 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=1 ttl=63 time=3.28 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.719 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.719/2.001/3.284/1.282 ms') 2026-08-14 08:55:39,446 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-96618069-23000688 passed 2026-08-14 08:55:39,601 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 08:55:39,601 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96618069-23000688, IP 47.65.36.67, Port 22 2026-08-14 08:55:39,757 - DEBUG - VM ctest-TestRoutersBasic-96618069-23000688 is ready for SSH connections 2026-08-14 08:55:39,757 - INFO - Waiting for VM ctest-TestRoutersBasic-96618069-36206448 to be up.. 2026-08-14 08:55:39,836 - DEBUG - VM is in ACTIVE state now 2026-08-14 08:55:39,836 - INFO - VM name : ctest-TestRoutersBasic-96618069-36206448 2026-08-14 08:55:39,909 - DEBUG - VM ctest-TestRoutersBasic-96618069-36206448 ID is d7b4456c-2c31-469a-8d53-b1e34cad1b75 2026-08-14 08:55:39,909 - DEBUG - VM ctest-TestRoutersBasic-96618069-36206448 launched on Node cn-jenkins-deploy-platform-ansible-os-6157-1 2026-08-14 08:55:39,989 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/d7b4456c-2c31-469a-8d53-b1e34cad1b75 2026-08-14 08:55:39,998 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/23d6be9a-8345-440a-9b3a-589ecd6063f2 2026-08-14 08:55:43,245 - 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 1006ms') 2026-08-14 08:55:43,245 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-96618069-36206448 failed! 2026-08-14 08:55:43,301 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-96618069:ctest-ext_vn-97832744 is 202.7.202.129 and allocation pool is NOT set 2026-08-14 08:55:45,366 - 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=3.22 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.660 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.660/1.941/3.223/1.281 ms') 2026-08-14 08:55:45,366 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-96618069-36206448 passed 2026-08-14 08:55:45,525 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 08:55:45,525 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96618069-36206448, IP 202.7.202.132, Port 22 2026-08-14 08:55:45,694 - DEBUG - VM ctest-TestRoutersBasic-96618069-36206448 is ready for SSH connections 2026-08-14 08:55:45,695 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 08:55:45,695 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.7.202.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123 2026-08-14 08:55:45,695 - DEBUG - ping -s 56 -c 3 -W 1 202.7.202.132 2026-08-14 08:55:48,667 - DEBUG - PING 202.7.202.132 (202.7.202.132): 56 data bytes 64 bytes from 202.7.202.132: seq=0 ttl=62 time=5.691 ms 64 bytes from 202.7.202.132: seq=1 ttl=62 time=1.032 ms 64 bytes from 202.7.202.132: seq=2 ttl=62 time=1.025 ms --- 202.7.202.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.025/2.582/5.691 ms 2026-08-14 08:55:48,667 - INFO - Ping to IP 202.7.202.132 from VM ctest-TestRoutersBasic-96618069-23000688 passed 2026-08-14 08:55:48,667 - INFO - Deleting interface with subnet_id 122642c0-e355-490e-91c7-6c4b0b7d875b, port_id None from router 8e981913-a4a0-4d78-9e76-410516b7b882 2026-08-14 08:55:48,875 - INFO - Deleting VM ctest-TestRoutersBasic-96618069-36206448 2026-08-14 08:55:48,965 - INFO - Deleting VM ctest-TestRoutersBasic-96618069-23000688 2026-08-14 08:55:49,037 - INFO - Deleting VN ctest-ext_vn-97832744 2026-08-14 08:55:49,122 - DEBUG - VN 79e2ff9b-0546-42b2-a736-e645e4d8b03f still in use: Unable to complete operation on network 79e2ff9b-0546-42b2-a736-e645e4d8b03f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3f127fc9-6b8e-4b6a-82f0-ae670fbeb412'] 2026-08-14 08:55:49,122 - WARNING - Deleting VN ctest-ext_vn-97832744 failed..Will retry 2026-08-14 08:55:51,272 - DEBUG - Response for deleting network () 2026-08-14 08:55:51,272 - INFO - Deleting VN ctest-vn-45063309 2026-08-14 08:55:51,387 - DEBUG - Response for deleting network () 2026-08-14 08:55:51,644 - DEBUG - No XMPP flaps were noticed during the test 2026-08-14 08:55:51,644 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:58] 2026-08-14 08:55:51,645 - INFO - -------------------------------------------------------------------------------- 2026-08-14 08:55:52,404 - INFO - Deleted project: ctest-TestRoutersBasic-96618069, ID : dc113617-8147-4bad-8bb3-78562b1defda