2026-05-12 17:42:59,646 - INFO - Domain Default found not creating 2026-05-12 17:42:59,837 - INFO - Project ctest-TestRoutersBasic-78022114 not found, creating it 2026-05-12 17:43:00,348 - INFO - Created Project:ctest-TestRoutersBasic-78022114, ID : f4c47f70-c234-4ed8-9e0a-6a9117cbdf3d 2026-05-12 17:43:01,985 - INFO - ================================================================================ 2026-05-12 17:43:01,985 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-12 17:43:01,985 - 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-05-12 17:43:02,254 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2026-05-12 17:43:02,254 - INFO - Initial checks done. Running the testcase now 2026-05-12 17:43:02,254 - INFO - 2026-05-12 17:43:02,990 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-78022114 2026-05-12 17:43:03,087 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-78022114 2026-05-12 17:43:03,415 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78022114', 'default']} 2026-05-12 17:43:03,717 - DEBUG - Response for create_network : {'network': {'id': '4731bcdd-ccba-4abc-be97-133b6e3b6f2d', 'name': 'ctest-vn-93589956', 'tenant_id': 'f4c47f70c2344ed89e0a6a9117cbdf3d', 'project_id': 'f4c47f70c2344ed89e0a6a9117cbdf3d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78022114', 'ctest-vn-93589956'], 'port_security_enabled': True, 'description': ''}} 2026-05-12 17:43:03,946 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f9206fee-80b9-44da-ba2c-2e267aa88f02', 'name': '', 'tenant_id': 'f4c47f70c2344ed89e0a6a9117cbdf3d', 'network_id': '4731bcdd-ccba-4abc-be97-133b6e3b6f2d', 'ip_version': 4, 'cidr': '117.57.75.64/26', 'allocation_pools': [{'start': '117.57.75.66', 'end': '117.57.75.126'}], 'gateway_ip': '117.57.75.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.57.75.66', 'tags': [], 'project_id': 'f4c47f70c2344ed89e0a6a9117cbdf3d'}} 2026-05-12 17:43:03,967 - INFO - Created VN ctest-vn-93589956 2026-05-12 17:43:04,019 - DEBUG - VN ctest-vn-93589956 UUID is 4731bcdd-ccba-4abc-be97-133b6e3b6f2d 2026-05-12 17:43:04,361 - DEBUG - Response for create_network : {'network': {'id': 'c7865d74-6eae-4f64-8024-ba5f333c0770', 'name': 'ctest-ext_vn-16666564', 'tenant_id': 'f4c47f70c2344ed89e0a6a9117cbdf3d', 'project_id': 'f4c47f70c2344ed89e0a6a9117cbdf3d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78022114', 'ctest-ext_vn-16666564'], 'port_security_enabled': True, 'description': ''}} 2026-05-12 17:43:04,553 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f62c1231-3f00-4662-9f62-2736e9ea8e45', 'name': '', 'tenant_id': 'f4c47f70c2344ed89e0a6a9117cbdf3d', 'network_id': 'c7865d74-6eae-4f64-8024-ba5f333c0770', 'ip_version': 4, 'cidr': '102.217.116.64/26', 'allocation_pools': [{'start': '102.217.116.66', 'end': '102.217.116.126'}], 'gateway_ip': '102.217.116.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.217.116.66', 'tags': [], 'project_id': 'f4c47f70c2344ed89e0a6a9117cbdf3d'}} 2026-05-12 17:43:04,574 - INFO - Created VN ctest-ext_vn-16666564 2026-05-12 17:43:04,627 - DEBUG - VN ctest-ext_vn-16666564 UUID is c7865d74-6eae-4f64-8024-ba5f333c0770 2026-05-12 17:43:04,801 - DEBUG - Services list from nova: [, , ] 2026-05-12 17:43:05,842 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5772-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5772-1) 2026-05-12 17:43:06,979 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5772-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5772-1) 2026-05-12 17:43:07,060 - INFO - Setting gateway for router 82650a93-b821-47f6-899f-58fb27dda4ba to network c7865d74-6eae-4f64-8024-ba5f333c0770 2026-05-12 17:43:07,126 - INFO - Adding interface with subnet_id f9206fee-80b9-44da-ba2c-2e267aa88f02, port_id None to router 82650a93-b821-47f6-899f-58fb27dda4ba 2026-05-12 17:43:07,468 - INFO - Waiting for VM ctest-TestRoutersBasic-78022114-20173681 to be up.. 2026-05-12 17:43:07,604 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-12 17:43:12,686 - DEBUG - VM is in ACTIVE state now 2026-05-12 17:43:12,686 - INFO - VM name : ctest-TestRoutersBasic-78022114-20173681 2026-05-12 17:43:12,761 - DEBUG - VM ctest-TestRoutersBasic-78022114-20173681 ID is 6813db69-69d5-4cf8-a0d1-631f61ec9173 2026-05-12 17:43:12,781 - DEBUG - VM ctest-TestRoutersBasic-78022114-20173681 launched on Node cn-jenkins-deploy-platform-ansible-os-5772-1 2026-05-12 17:43:12,858 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/6813db69-69d5-4cf8-a0d1-631f61ec9173 2026-05-12 17:43:13,160 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/6813db69-69d5-4cf8-a0d1-631f61ec9173 2026-05-12 17:43:13,204 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/295ef2be-3d2d-4bae-a24d-216ff6d40803 2026-05-12 17:43:16,475 - 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 1017ms') 2026-05-12 17:43:16,476 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78022114-20173681 failed! 2026-05-12 17:43:16,531 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-78022114:ctest-vn-93589956 is 117.57.75.65 and allocation pool is NOT set 2026-05-12 17:43:18,593 - 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=6.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.87 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.867/3.945/6.023/2.078 ms') 2026-05-12 17:43:18,594 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78022114-20173681 passed 2026-05-12 17:43:18,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-12 17:43:18,743 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78022114-20173681, IP 117.57.75.67, Port 22 2026-05-12 17:43:18,914 - DEBUG - VM ctest-TestRoutersBasic-78022114-20173681 is ready for SSH connections 2026-05-12 17:43:18,914 - INFO - Waiting for VM ctest-TestRoutersBasic-78022114-23847596 to be up.. 2026-05-12 17:43:19,008 - DEBUG - VM is in ACTIVE state now 2026-05-12 17:43:19,008 - INFO - VM name : ctest-TestRoutersBasic-78022114-23847596 2026-05-12 17:43:19,100 - DEBUG - VM ctest-TestRoutersBasic-78022114-23847596 ID is 3fec09bb-4717-4dc6-8214-46631b73b613 2026-05-12 17:43:19,100 - DEBUG - VM ctest-TestRoutersBasic-78022114-23847596 launched on Node cn-jenkins-deploy-platform-ansible-os-5772-1 2026-05-12 17:43:19,195 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/3fec09bb-4717-4dc6-8214-46631b73b613 2026-05-12 17:43:19,210 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/234a8c93-5e71-43e5-b1bb-6bb5eb4928e5 2026-05-12 17:43:20,462 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.546 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.546/1.862/3.179/1.316 ms') 2026-05-12 17:43:20,462 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-78022114-23847596 passed 2026-05-12 17:43:20,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-12 17:43:20,615 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78022114-23847596, IP 102.217.116.67, Port 22 2026-05-12 17:43:20,771 - DEBUG - VM ctest-TestRoutersBasic-78022114-23847596 is ready for SSH connections 2026-05-12 17:43:20,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-12 17:43:20,771 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.217.116.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-05-12 17:43:20,772 - DEBUG - ping -s 56 -c 3 -W 1 102.217.116.67 2026-05-12 17:43:24,531 - DEBUG - PING 102.217.116.67 (102.217.116.67): 56 data bytes 64 bytes from 102.217.116.67: seq=0 ttl=62 time=7.729 ms 64 bytes from 102.217.116.67: seq=1 ttl=62 time=1.033 ms 64 bytes from 102.217.116.67: seq=2 ttl=62 time=1.045 ms --- 102.217.116.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.033/3.269/7.729 ms 2026-05-12 17:43:24,531 - INFO - Ping to IP 102.217.116.67 from VM ctest-TestRoutersBasic-78022114-20173681 passed 2026-05-12 17:43:24,531 - INFO - Deleting interface with subnet_id f9206fee-80b9-44da-ba2c-2e267aa88f02, port_id None from router 82650a93-b821-47f6-899f-58fb27dda4ba 2026-05-12 17:43:24,738 - INFO - Deleting VM ctest-TestRoutersBasic-78022114-23847596 2026-05-12 17:43:24,816 - INFO - Deleting VM ctest-TestRoutersBasic-78022114-20173681 2026-05-12 17:43:24,905 - INFO - Deleting VN ctest-ext_vn-16666564 2026-05-12 17:43:24,999 - DEBUG - VN c7865d74-6eae-4f64-8024-ba5f333c0770 still in use: Unable to complete operation on network c7865d74-6eae-4f64-8024-ba5f333c0770. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-54c9d802-7ae0-4ec6-a298-2f8b05099a64'] 2026-05-12 17:43:25,000 - WARNING - Deleting VN ctest-ext_vn-16666564 failed..Will retry 2026-05-12 17:43:27,188 - DEBUG - Response for deleting network () 2026-05-12 17:43:27,188 - INFO - Deleting VN ctest-vn-93589956 2026-05-12 17:43:27,297 - DEBUG - Response for deleting network () 2026-05-12 17:43:27,553 - DEBUG - No XMPP flaps were noticed during the test
2026-05-12 17:43:27,553 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-05-12 17:43:27,553 - INFO - -------------------------------------------------------------------------------- 2026-05-12 17:43:28,236 - INFO - Deleted project: ctest-TestRoutersBasic-78022114, ID : f4c47f70-c234-4ed8-9e0a-6a9117cbdf3d