2026-08-17 13:21:29,336 - INFO - Domain Default found not creating 2026-08-17 13:21:29,509 - INFO - Project ctest-TestRoutersBasic-40395361 not found, creating it 2026-08-17 13:21:29,994 - INFO - Created Project:ctest-TestRoutersBasic-40395361, ID : 61a5d6a7-480e-4e5a-a089-70e864aa41c4 2026-08-17 13:21:31,631 - INFO - ================================================================================ 2026-08-17 13:21:31,631 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-17 13:21:31,631 - 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-17 13:21:31,888 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2026-08-17 13:21:31,888 - INFO - Initial checks done. Running the testcase now 2026-08-17 13:21:31,888 - INFO - 2026-08-17 13:21:32,673 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-40395361 2026-08-17 13:21:32,773 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-40395361 2026-08-17 13:21:33,109 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40395361', 'default']} 2026-08-17 13:21:33,423 - DEBUG - Response for create_network : {'network': {'id': '7500725a-6242-49c9-899e-134213aa1e22', 'name': 'ctest-vn-01253783', 'tenant_id': '61a5d6a7480e4e5aa08970e864aa41c4', 'project_id': '61a5d6a7480e4e5aa08970e864aa41c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40395361', 'ctest-vn-01253783'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 13:21:33,604 - DEBUG - Response for create_subnet : {'subnet': {'id': '742d52c4-d0ac-47cb-8e9d-b15955e18912', 'name': '', 'tenant_id': '61a5d6a7480e4e5aa08970e864aa41c4', 'network_id': '7500725a-6242-49c9-899e-134213aa1e22', 'ip_version': 4, 'cidr': '138.34.149.0/26', 'allocation_pools': [{'start': '138.34.149.2', 'end': '138.34.149.62'}], 'gateway_ip': '138.34.149.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.34.149.2', 'tags': [], 'project_id': '61a5d6a7480e4e5aa08970e864aa41c4'}} 2026-08-17 13:21:33,625 - INFO - Created VN ctest-vn-01253783 2026-08-17 13:21:33,677 - DEBUG - VN ctest-vn-01253783 UUID is 7500725a-6242-49c9-899e-134213aa1e22 2026-08-17 13:21:34,023 - DEBUG - Response for create_network : {'network': {'id': '5e26a864-63d5-409b-ba4e-6e59a92cfcbd', 'name': 'ctest-ext_vn-74532888', 'tenant_id': '61a5d6a7480e4e5aa08970e864aa41c4', 'project_id': '61a5d6a7480e4e5aa08970e864aa41c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40395361', 'ctest-ext_vn-74532888'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 13:21:34,240 - DEBUG - Response for create_subnet : {'subnet': {'id': '45eddac6-c5a6-462a-a268-a1c5c22bd18b', 'name': '', 'tenant_id': '61a5d6a7480e4e5aa08970e864aa41c4', 'network_id': '5e26a864-63d5-409b-ba4e-6e59a92cfcbd', 'ip_version': 4, 'cidr': '3.238.206.192/26', 'allocation_pools': [{'start': '3.238.206.194', 'end': '3.238.206.254'}], 'gateway_ip': '3.238.206.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.238.206.194', 'tags': [], 'project_id': '61a5d6a7480e4e5aa08970e864aa41c4'}} 2026-08-17 13:21:34,259 - INFO - Created VN ctest-ext_vn-74532888 2026-08-17 13:21:34,313 - DEBUG - VN ctest-ext_vn-74532888 UUID is 5e26a864-63d5-409b-ba4e-6e59a92cfcbd 2026-08-17 13:21:34,520 - DEBUG - Services list from nova: [, , ] 2026-08-17 13:21:34,849 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6174-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6174-1) 2026-08-17 13:21:35,221 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6174-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6174-1) 2026-08-17 13:21:35,286 - INFO - Setting gateway for router 8553b5da-0d48-4f3a-ba18-40c2b248db4f to network 5e26a864-63d5-409b-ba4e-6e59a92cfcbd 2026-08-17 13:21:35,370 - INFO - Adding interface with subnet_id 742d52c4-d0ac-47cb-8e9d-b15955e18912, port_id None to router 8553b5da-0d48-4f3a-ba18-40c2b248db4f 2026-08-17 13:21:35,664 - INFO - Waiting for VM ctest-TestRoutersBasic-40395361-09177763 to be up.. 2026-08-17 13:21:35,734 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 13:21:40,812 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 13:21:45,896 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 13:21:50,975 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 13:21:56,050 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 13:22:01,192 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 13:22:06,271 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 13:22:11,351 - DEBUG - VM is in ACTIVE state now 2026-08-17 13:22:11,351 - INFO - VM name : ctest-TestRoutersBasic-40395361-09177763 2026-08-17 13:22:11,433 - DEBUG - VM ctest-TestRoutersBasic-40395361-09177763 ID is 485865ef-5088-483d-8b28-fe288a5f65ae 2026-08-17 13:22:11,451 - DEBUG - VM ctest-TestRoutersBasic-40395361-09177763 launched on Node cn-jenkins-deploy-platform-ansible-os-6174-1 2026-08-17 13:22:11,526 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/485865ef-5088-483d-8b28-fe288a5f65ae 2026-08-17 13:22:11,866 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/485865ef-5088-483d-8b28-fe288a5f65ae 2026-08-17 13:22:11,898 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/644b9739-6b1d-48f7-80e9-15bb05a4f958 2026-08-17 13:22:15,138 - 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 1003ms') 2026-08-17 13:22:15,138 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-40395361-09177763 failed! 2026-08-17 13:22:15,193 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-40395361:ctest-vn-01253783 is 138.34.149.1 and allocation pool is NOT set 2026-08-17 13:22:17,253 - 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=9.20 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.518 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.518/4.861/9.204/4.343 ms') 2026-08-17 13:22:17,253 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-40395361-09177763 passed 2026-08-17 13:22:17,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 13:22:17,409 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40395361-09177763, IP 138.34.149.3, Port 22 2026-08-17 13:22:17,579 - DEBUG - VM ctest-TestRoutersBasic-40395361-09177763 is ready for SSH connections 2026-08-17 13:22:17,580 - INFO - Waiting for VM ctest-TestRoutersBasic-40395361-48331534 to be up.. 2026-08-17 13:22:17,660 - DEBUG - VM is in ACTIVE state now 2026-08-17 13:22:17,660 - INFO - VM name : ctest-TestRoutersBasic-40395361-48331534 2026-08-17 13:22:17,734 - DEBUG - VM ctest-TestRoutersBasic-40395361-48331534 ID is d329a8ee-3dee-4179-a29d-2780f0800d10 2026-08-17 13:22:17,734 - DEBUG - VM ctest-TestRoutersBasic-40395361-48331534 launched on Node cn-jenkins-deploy-platform-ansible-os-6174-1 2026-08-17 13:22:17,808 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d329a8ee-3dee-4179-a29d-2780f0800d10 2026-08-17 13:22:17,817 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/515bdc2c-7a53-4282-a635-e90c026ca8c7 2026-08-17 13:22:21,092 - 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=2 ttl=63 time=8.08 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1026ms\r\nrtt min/avg/max/mdev = 8.079/8.079/8.079/0.000 ms') 2026-08-17 13:22:21,092 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-40395361-48331534 passed 2026-08-17 13:22:21,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 13:22:21,250 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40395361-48331534, IP 3.238.206.196, Port 22 2026-08-17 13:22:21,405 - DEBUG - VM ctest-TestRoutersBasic-40395361-48331534 is ready for SSH connections 2026-08-17 13:22:21,405 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 13:22:21,405 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.238.206.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-08-17 13:22:21,405 - DEBUG - ping -s 56 -c 3 -W 1 3.238.206.196 2026-08-17 13:22:24,274 - DEBUG - PING 3.238.206.196 (3.238.206.196): 56 data bytes 64 bytes from 3.238.206.196: seq=0 ttl=62 time=7.100 ms 64 bytes from 3.238.206.196: seq=1 ttl=62 time=1.052 ms 64 bytes from 3.238.206.196: seq=2 ttl=62 time=1.241 ms --- 3.238.206.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.052/3.131/7.100 ms 2026-08-17 13:22:24,274 - INFO - Ping to IP 3.238.206.196 from VM ctest-TestRoutersBasic-40395361-09177763 passed 2026-08-17 13:22:24,275 - INFO - Deleting interface with subnet_id 742d52c4-d0ac-47cb-8e9d-b15955e18912, port_id None from router 8553b5da-0d48-4f3a-ba18-40c2b248db4f 2026-08-17 13:22:24,538 - INFO - Deleting VM ctest-TestRoutersBasic-40395361-48331534 2026-08-17 13:22:24,614 - INFO - Deleting VM ctest-TestRoutersBasic-40395361-09177763 2026-08-17 13:22:24,695 - INFO - Deleting VN ctest-ext_vn-74532888 2026-08-17 13:22:24,756 - DEBUG - VN 5e26a864-63d5-409b-ba4e-6e59a92cfcbd still in use: Unable to complete operation on network 5e26a864-63d5-409b-ba4e-6e59a92cfcbd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bbfedd27-dd38-432a-ad21-47faf98ee3d9'] 2026-08-17 13:22:24,756 - WARNING - Deleting VN ctest-ext_vn-74532888 failed..Will retry 2026-08-17 13:22:26,914 - DEBUG - Response for deleting network () 2026-08-17 13:22:26,914 - INFO - Deleting VN ctest-vn-01253783 2026-08-17 13:22:27,029 - DEBUG - Response for deleting network () 2026-08-17 13:22:27,295 - DEBUG - No XMPP flaps were noticed during the test
2026-08-17 13:22:27,296 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:56]
2026-08-17 13:22:27,296 - INFO - -------------------------------------------------------------------------------- 2026-08-17 13:22:28,063 - INFO - Deleted project: ctest-TestRoutersBasic-40395361, ID : 61a5d6a7-480e-4e5a-a089-70e864aa41c4