2026-03-26 20:39:37,964 - INFO - Domain Default found not creating 2026-03-26 20:39:38,123 - INFO - Project ctest-TestRoutersBasic-82112119 not found, creating it 2026-03-26 20:39:38,590 - INFO - Created Project:ctest-TestRoutersBasic-82112119, ID : 4f9dd0b0-83f8-4ab3-b9ba-5a4848457690 2026-03-26 20:39:40,109 - INFO - ================================================================================ 2026-03-26 20:39:40,109 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-26 20:39:40,109 - 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-26 20:39:40,364 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.17': '0'}} with 2026-03-26 20:39:40,364 - INFO - Initial checks done. Running the testcase now 2026-03-26 20:39:40,364 - INFO - 2026-03-26 20:39:41,115 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-82112119 2026-03-26 20:39:41,210 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-82112119 2026-03-26 20:39:41,534 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82112119', 'default']} 2026-03-26 20:39:41,821 - DEBUG - Response for create_network : {'network': {'id': 'fbe286e2-61be-45ce-8ac2-b0e647f41d79', 'name': 'ctest-vn-51167237', 'tenant_id': '4f9dd0b083f84ab3b9ba5a4848457690', 'project_id': '4f9dd0b083f84ab3b9ba5a4848457690', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82112119', 'ctest-vn-51167237'], 'port_security_enabled': True, 'description': ''}} 2026-03-26 20:39:41,965 - DEBUG - Response for create_subnet : {'subnet': {'id': '82a47e75-6575-4646-a375-1ee76c8d373b', 'name': '', 'tenant_id': '4f9dd0b083f84ab3b9ba5a4848457690', 'network_id': 'fbe286e2-61be-45ce-8ac2-b0e647f41d79', 'ip_version': 4, 'cidr': '43.3.155.192/26', 'allocation_pools': [{'start': '43.3.155.194', 'end': '43.3.155.254'}], 'gateway_ip': '43.3.155.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.3.155.194', 'tags': [], 'project_id': '4f9dd0b083f84ab3b9ba5a4848457690'}} 2026-03-26 20:39:41,983 - INFO - Created VN ctest-vn-51167237 2026-03-26 20:39:42,042 - DEBUG - VN ctest-vn-51167237 UUID is fbe286e2-61be-45ce-8ac2-b0e647f41d79 2026-03-26 20:39:42,404 - DEBUG - Response for create_network : {'network': {'id': '9d8d510d-0ea1-46db-ab2a-a19115a9970a', 'name': 'ctest-ext_vn-08489820', 'tenant_id': '4f9dd0b083f84ab3b9ba5a4848457690', 'project_id': '4f9dd0b083f84ab3b9ba5a4848457690', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82112119', 'ctest-ext_vn-08489820'], 'port_security_enabled': True, 'description': ''}} 2026-03-26 20:39:42,629 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a31c2411-b174-473f-8f1a-16bcec33e7c3', 'name': '', 'tenant_id': '4f9dd0b083f84ab3b9ba5a4848457690', 'network_id': '9d8d510d-0ea1-46db-ab2a-a19115a9970a', 'ip_version': 4, 'cidr': '12.8.69.128/26', 'allocation_pools': [{'start': '12.8.69.130', 'end': '12.8.69.190'}], 'gateway_ip': '12.8.69.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.8.69.130', 'tags': [], 'project_id': '4f9dd0b083f84ab3b9ba5a4848457690'}} 2026-03-26 20:39:42,645 - INFO - Created VN ctest-ext_vn-08489820 2026-03-26 20:39:42,694 - DEBUG - VN ctest-ext_vn-08489820 UUID is 9d8d510d-0ea1-46db-ab2a-a19115a9970a 2026-03-26 20:39:42,862 - DEBUG - Services list from nova: [, , ] 2026-03-26 20:39:43,888 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5547-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5547-1) 2026-03-26 20:39:45,054 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5547-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5547-1) 2026-03-26 20:39:45,125 - INFO - Setting gateway for router 61224b31-2a66-40e5-bd5a-964102dae709 to network 9d8d510d-0ea1-46db-ab2a-a19115a9970a 2026-03-26 20:39:45,181 - INFO - Adding interface with subnet_id 82a47e75-6575-4646-a375-1ee76c8d373b, port_id None to router 61224b31-2a66-40e5-bd5a-964102dae709 2026-03-26 20:39:45,642 - INFO - Waiting for VM ctest-TestRoutersBasic-82112119-35596383 to be up.. 2026-03-26 20:39:45,822 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-26 20:39:50,892 - DEBUG - VM is in ACTIVE state now 2026-03-26 20:39:50,892 - INFO - VM name : ctest-TestRoutersBasic-82112119-35596383 2026-03-26 20:39:50,966 - DEBUG - VM ctest-TestRoutersBasic-82112119-35596383 ID is 08154689-a9a2-433c-abf6-4a0b3f6d4371 2026-03-26 20:39:50,984 - DEBUG - VM ctest-TestRoutersBasic-82112119-35596383 launched on Node cn-jenkins-deploy-platform-ansible-os-5547-1 2026-03-26 20:39:51,054 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/08154689-a9a2-433c-abf6-4a0b3f6d4371 2026-03-26 20:39:51,365 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/08154689-a9a2-433c-abf6-4a0b3f6d4371 2026-03-26 20:39:51,405 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/66ce5afb-64cd-4f76-a562-6748ae130946 2026-03-26 20:39:54,658 - 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 1018ms') 2026-03-26 20:39:54,658 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-82112119-35596383 failed! 2026-03-26 20:39:54,714 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-82112119:ctest-vn-51167237 is 43.3.155.193 and allocation pool is NOT set 2026-03-26 20:39:56,779 - 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=2.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.484 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.484/1.525/2.567/1.041 ms') 2026-03-26 20:39:56,779 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-82112119-35596383 passed 2026-03-26 20:39:56,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 20:39:56,927 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82112119-35596383, IP 43.3.155.195, Port 22 2026-03-26 20:39:57,096 - DEBUG - VM ctest-TestRoutersBasic-82112119-35596383 is ready for SSH connections 2026-03-26 20:39:57,096 - INFO - Waiting for VM ctest-TestRoutersBasic-82112119-60779164 to be up.. 2026-03-26 20:39:57,175 - DEBUG - VM is in ACTIVE state now 2026-03-26 20:39:57,175 - INFO - VM name : ctest-TestRoutersBasic-82112119-60779164 2026-03-26 20:39:57,249 - DEBUG - VM ctest-TestRoutersBasic-82112119-60779164 ID is f83cd499-a8c9-41ba-9fc8-0805292031f8 2026-03-26 20:39:57,250 - DEBUG - VM ctest-TestRoutersBasic-82112119-60779164 launched on Node cn-jenkins-deploy-platform-ansible-os-5547-1 2026-03-26 20:39:57,324 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/f83cd499-a8c9-41ba-9fc8-0805292031f8 2026-03-26 20:39:57,332 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/62600380-c2e1-4c88-975c-2b315b425413 2026-03-26 20:39:58,584 - 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=6.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.897 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.897/3.919/6.942/3.022 ms') 2026-03-26 20:39:58,584 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-82112119-60779164 passed 2026-03-26 20:39:58,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 20:39:58,731 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82112119-60779164, IP 12.8.69.131, Port 22 2026-03-26 20:39:58,890 - DEBUG - VM ctest-TestRoutersBasic-82112119-60779164 is ready for SSH connections 2026-03-26 20:39:58,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 20:39:58,890 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.8.69.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-03-26 20:39:58,890 - DEBUG - ping -s 56 -c 3 -W 1 12.8.69.131 2026-03-26 20:40:02,625 - DEBUG - PING 12.8.69.131 (12.8.69.131): 56 data bytes 64 bytes from 12.8.69.131: seq=0 ttl=62 time=7.193 ms 64 bytes from 12.8.69.131: seq=1 ttl=62 time=0.882 ms 64 bytes from 12.8.69.131: seq=2 ttl=62 time=0.934 ms --- 12.8.69.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.882/3.003/7.193 ms 2026-03-26 20:40:02,625 - INFO - Ping to IP 12.8.69.131 from VM ctest-TestRoutersBasic-82112119-35596383 passed 2026-03-26 20:40:02,625 - INFO - Deleting interface with subnet_id 82a47e75-6575-4646-a375-1ee76c8d373b, port_id None from router 61224b31-2a66-40e5-bd5a-964102dae709 2026-03-26 20:40:02,810 - INFO - Deleting VM ctest-TestRoutersBasic-82112119-60779164 2026-03-26 20:40:02,870 - INFO - Deleting VM ctest-TestRoutersBasic-82112119-35596383 2026-03-26 20:40:02,956 - INFO - Deleting VN ctest-ext_vn-08489820 2026-03-26 20:40:03,029 - DEBUG - VN 9d8d510d-0ea1-46db-ab2a-a19115a9970a still in use: Unable to complete operation on network 9d8d510d-0ea1-46db-ab2a-a19115a9970a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a90a1a02-4a81-46c6-b5ed-76dd4dcb1e62'] 2026-03-26 20:40:03,029 - WARNING - Deleting VN ctest-ext_vn-08489820 failed..Will retry 2026-03-26 20:40:05,134 - DEBUG - Response for deleting network () 2026-03-26 20:40:05,134 - INFO - Deleting VN ctest-vn-51167237 2026-03-26 20:40:05,236 - DEBUG - Response for deleting network () 2026-03-26 20:40:05,492 - DEBUG - No XMPP flaps were noticed during the test 2026-03-26 20:40:05,492 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-03-26 20:40:05,492 - INFO - -------------------------------------------------------------------------------- 2026-03-26 20:40:06,198 - INFO - Deleted project: ctest-TestRoutersBasic-82112119, ID : 4f9dd0b0-83f8-4ab3-b9ba-5a4848457690