2026-02-03 18:42:26,183 - INFO - Domain Default found not creating 2026-02-03 18:42:26,360 - INFO - Project ctest-TestRoutersBasic-96447630 not found, creating it 2026-02-03 18:42:26,807 - INFO - Created Project:ctest-TestRoutersBasic-96447630, ID : cb05745e-cf1e-44ef-a9d7-d0709fb880ba 2026-02-03 18:42:28,293 - INFO - ================================================================================ 2026-02-03 18:42:28,293 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-03 18:42:28,293 - 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-02-03 18:42:28,552 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-03 18:42:28,552 - INFO - Initial checks done. Running the testcase now 2026-02-03 18:42:28,552 - INFO - 2026-02-03 18:42:29,255 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-96447630 2026-02-03 18:42:29,351 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-96447630 2026-02-03 18:42:29,671 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96447630', 'default']} 2026-02-03 18:42:29,953 - DEBUG - Response for create_network : {'network': {'id': 'adc269e8-5b7a-4c5a-8008-0e39ae88f276', 'name': 'ctest-vn-72871574', 'tenant_id': 'cb05745ecf1e44efa9d7d0709fb880ba', 'project_id': 'cb05745ecf1e44efa9d7d0709fb880ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96447630', 'ctest-vn-72871574'], 'port_security_enabled': True, 'description': ''}} 2026-02-03 18:42:30,162 - DEBUG - Response for create_subnet : {'subnet': {'id': '54880022-2637-4ed1-8671-f16be9d30ad1', 'name': '', 'tenant_id': 'cb05745ecf1e44efa9d7d0709fb880ba', 'network_id': 'adc269e8-5b7a-4c5a-8008-0e39ae88f276', 'ip_version': 4, 'cidr': '117.234.95.0/26', 'allocation_pools': [{'start': '117.234.95.2', 'end': '117.234.95.62'}], 'gateway_ip': '117.234.95.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.234.95.2', 'tags': [], 'project_id': 'cb05745ecf1e44efa9d7d0709fb880ba'}} 2026-02-03 18:42:30,179 - INFO - Created VN ctest-vn-72871574 2026-02-03 18:42:30,231 - DEBUG - VN ctest-vn-72871574 UUID is adc269e8-5b7a-4c5a-8008-0e39ae88f276 2026-02-03 18:42:30,577 - DEBUG - Response for create_network : {'network': {'id': '69f06c82-8369-4422-87c3-09d4b19ce790', 'name': 'ctest-ext_vn-23211014', 'tenant_id': 'cb05745ecf1e44efa9d7d0709fb880ba', 'project_id': 'cb05745ecf1e44efa9d7d0709fb880ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96447630', 'ctest-ext_vn-23211014'], 'port_security_enabled': True, 'description': ''}} 2026-02-03 18:42:30,760 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d717e4c-4dd2-45c6-83e4-4bde18169aa4', 'name': '', 'tenant_id': 'cb05745ecf1e44efa9d7d0709fb880ba', 'network_id': '69f06c82-8369-4422-87c3-09d4b19ce790', 'ip_version': 4, 'cidr': '28.88.29.128/26', 'allocation_pools': [{'start': '28.88.29.130', 'end': '28.88.29.190'}], 'gateway_ip': '28.88.29.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.88.29.130', 'tags': [], 'project_id': 'cb05745ecf1e44efa9d7d0709fb880ba'}} 2026-02-03 18:42:30,779 - INFO - Created VN ctest-ext_vn-23211014 2026-02-03 18:42:30,831 - DEBUG - VN ctest-ext_vn-23211014 UUID is 69f06c82-8369-4422-87c3-09d4b19ce790 2026-02-03 18:42:30,999 - DEBUG - Services list from nova: [, , ] 2026-02-03 18:42:32,007 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5193-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5193-1) 2026-02-03 18:42:33,123 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5193-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5193-1) 2026-02-03 18:42:33,229 - INFO - Setting gateway for router 94c563ea-156d-4182-90d3-e53bbbb8137c to network 69f06c82-8369-4422-87c3-09d4b19ce790 2026-02-03 18:42:33,314 - INFO - Adding interface with subnet_id 54880022-2637-4ed1-8671-f16be9d30ad1, port_id None to router 94c563ea-156d-4182-90d3-e53bbbb8137c 2026-02-03 18:42:33,690 - INFO - Waiting for VM ctest-TestRoutersBasic-96447630-82004202 to be up.. 2026-02-03 18:42:33,881 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-03 18:42:38,951 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-03 18:42:44,026 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-03 18:42:49,102 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-03 18:42:54,202 - DEBUG - VM is in ACTIVE state now 2026-02-03 18:42:54,202 - INFO - VM name : ctest-TestRoutersBasic-96447630-82004202 2026-02-03 18:42:54,289 - DEBUG - VM ctest-TestRoutersBasic-96447630-82004202 ID is f48abc2e-c997-444b-ae77-0f69492da9bd 2026-02-03 18:42:54,311 - DEBUG - VM ctest-TestRoutersBasic-96447630-82004202 launched on Node cn-jenkins-deploy-platform-ansible-os-5193-1 2026-02-03 18:42:54,396 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f48abc2e-c997-444b-ae77-0f69492da9bd 2026-02-03 18:42:54,709 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f48abc2e-c997-444b-ae77-0f69492da9bd 2026-02-03 18:42:54,748 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ae305322-c34e-482f-b4c4-e2a4e3f111b5 2026-02-03 18:42:57,993 - 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 1011ms') 2026-02-03 18:42:57,993 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96447630-82004202 failed! 2026-02-03 18:42:58,047 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-96447630:ctest-vn-72871574 is 117.234.95.1 and allocation pool is NOT set 2026-02-03 18:43:00,114 - 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=3.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.79 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.794/2.531/3.269/0.737 ms') 2026-02-03 18:43:00,114 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96447630-82004202 passed 2026-02-03 18:43:00,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 18:43:00,263 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96447630-82004202, IP 117.234.95.3, Port 22 2026-02-03 18:43:00,418 - DEBUG - VM ctest-TestRoutersBasic-96447630-82004202 is ready for SSH connections 2026-02-03 18:43:00,418 - INFO - Waiting for VM ctest-TestRoutersBasic-96447630-72570106 to be up.. 2026-02-03 18:43:00,497 - DEBUG - VM is in ACTIVE state now 2026-02-03 18:43:00,497 - INFO - VM name : ctest-TestRoutersBasic-96447630-72570106 2026-02-03 18:43:00,577 - DEBUG - VM ctest-TestRoutersBasic-96447630-72570106 ID is 9a880f41-daaa-48a4-81f5-cce6ea6e3ca0 2026-02-03 18:43:00,577 - DEBUG - VM ctest-TestRoutersBasic-96447630-72570106 launched on Node cn-jenkins-deploy-platform-ansible-os-5193-1 2026-02-03 18:43:00,651 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9a880f41-daaa-48a4-81f5-cce6ea6e3ca0 2026-02-03 18:43:00,660 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6e6b4560-c48d-44b0-8a4d-0063812d3274 2026-02-03 18:43:01,896 - 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=3.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.496 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.496/2.071/3.646/1.575 ms') 2026-02-03 18:43:01,896 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-96447630-72570106 passed 2026-02-03 18:43:02,051 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 18:43:02,051 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96447630-72570106, IP 28.88.29.131, Port 22 2026-02-03 18:43:02,216 - DEBUG - VM ctest-TestRoutersBasic-96447630-72570106 is ready for SSH connections 2026-02-03 18:43:02,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 18:43:02,217 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.88.29.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-03 18:43:02,217 - DEBUG - ping -s 56 -c 3 -W 1 28.88.29.131 2026-02-03 18:43:05,960 - DEBUG - PING 28.88.29.131 (28.88.29.131): 56 data bytes 64 bytes from 28.88.29.131: seq=0 ttl=62 time=5.881 ms 64 bytes from 28.88.29.131: seq=1 ttl=62 time=0.950 ms 64 bytes from 28.88.29.131: seq=2 ttl=62 time=1.004 ms --- 28.88.29.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.950/2.611/5.881 ms 2026-02-03 18:43:05,960 - INFO - Ping to IP 28.88.29.131 from VM ctest-TestRoutersBasic-96447630-82004202 passed 2026-02-03 18:43:05,960 - INFO - Deleting interface with subnet_id 54880022-2637-4ed1-8671-f16be9d30ad1, port_id None from router 94c563ea-156d-4182-90d3-e53bbbb8137c 2026-02-03 18:43:06,172 - INFO - Deleting VM ctest-TestRoutersBasic-96447630-72570106 2026-02-03 18:43:06,255 - INFO - Deleting VM ctest-TestRoutersBasic-96447630-82004202 2026-02-03 18:43:06,339 - INFO - Deleting VN ctest-ext_vn-23211014 2026-02-03 18:43:06,415 - DEBUG - VN 69f06c82-8369-4422-87c3-09d4b19ce790 still in use: Unable to complete operation on network 69f06c82-8369-4422-87c3-09d4b19ce790. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a4a951ae-6047-4d96-a459-4756523b1c5a'] 2026-02-03 18:43:06,415 - WARNING - Deleting VN ctest-ext_vn-23211014 failed..Will retry 2026-02-03 18:43:08,519 - DEBUG - Response for deleting network () 2026-02-03 18:43:08,519 - INFO - Deleting VN ctest-vn-72871574 2026-02-03 18:43:08,628 - DEBUG - Response for deleting network () 2026-02-03 18:43:08,884 - DEBUG - No XMPP flaps were noticed during the test 2026-02-03 18:43:08,884 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:40] 2026-02-03 18:43:08,884 - INFO - -------------------------------------------------------------------------------- 2026-02-03 18:43:09,562 - INFO - Deleted project: ctest-TestRoutersBasic-96447630, ID : cb05745e-cf1e-44ef-a9d7-d0709fb880ba