2026-07-28 19:15:20,885 - INFO - Domain Default found not creating 2026-07-28 19:15:21,080 - INFO - Project ctest-TestRoutersBasic-08503441 not found, creating it 2026-07-28 19:15:21,599 - INFO - Created Project:ctest-TestRoutersBasic-08503441, ID : 44f93825-dfbb-4c66-bbbf-53a2248b5df8 2026-07-28 19:15:23,503 - INFO - ================================================================================ 2026-07-28 19:15:23,503 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-07-28 19:15:23,503 - 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-07-28 19:15:23,783 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-07-28 19:15:23,783 - INFO - Initial checks done. Running the testcase now 2026-07-28 19:15:23,783 - INFO - 2026-07-28 19:15:24,737 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-08503441 2026-07-28 19:15:24,837 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-08503441 2026-07-28 19:15:25,185 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08503441', 'default']} 2026-07-28 19:15:25,526 - DEBUG - Response for create_network : {'network': {'id': '4594d9af-e04d-4f3e-9d03-9e4cfad2f849', 'name': 'ctest-vn-18547763', 'tenant_id': '44f93825dfbb4c66bbbf53a2248b5df8', 'project_id': '44f93825dfbb4c66bbbf53a2248b5df8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08503441', 'ctest-vn-18547763'], 'port_security_enabled': True, 'description': ''}} 2026-07-28 19:15:25,729 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c83d8bb8-5aab-4a68-b6de-6dccb22761e4', 'name': '', 'tenant_id': '44f93825dfbb4c66bbbf53a2248b5df8', 'network_id': '4594d9af-e04d-4f3e-9d03-9e4cfad2f849', 'ip_version': 4, 'cidr': '9.202.19.192/26', 'allocation_pools': [{'start': '9.202.19.194', 'end': '9.202.19.254'}], 'gateway_ip': '9.202.19.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.202.19.194', 'tags': [], 'project_id': '44f93825dfbb4c66bbbf53a2248b5df8'}} 2026-07-28 19:15:25,752 - INFO - Created VN ctest-vn-18547763 2026-07-28 19:15:25,809 - DEBUG - VN ctest-vn-18547763 UUID is 4594d9af-e04d-4f3e-9d03-9e4cfad2f849 2026-07-28 19:15:26,206 - DEBUG - Response for create_network : {'network': {'id': 'e5fd892f-1423-43db-b9ac-6c9afb4c7427', 'name': 'ctest-ext_vn-85351261', 'tenant_id': '44f93825dfbb4c66bbbf53a2248b5df8', 'project_id': '44f93825dfbb4c66bbbf53a2248b5df8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08503441', 'ctest-ext_vn-85351261'], 'port_security_enabled': True, 'description': ''}} 2026-07-28 19:15:26,427 - DEBUG - Response for create_subnet : {'subnet': {'id': '20138c24-7046-47ce-8f90-b0f0eb1d11fb', 'name': '', 'tenant_id': '44f93825dfbb4c66bbbf53a2248b5df8', 'network_id': 'e5fd892f-1423-43db-b9ac-6c9afb4c7427', 'ip_version': 4, 'cidr': '25.234.151.0/26', 'allocation_pools': [{'start': '25.234.151.2', 'end': '25.234.151.62'}], 'gateway_ip': '25.234.151.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.234.151.2', 'tags': [], 'project_id': '44f93825dfbb4c66bbbf53a2248b5df8'}} 2026-07-28 19:15:26,453 - INFO - Created VN ctest-ext_vn-85351261 2026-07-28 19:15:26,509 - DEBUG - VN ctest-ext_vn-85351261 UUID is e5fd892f-1423-43db-b9ac-6c9afb4c7427 2026-07-28 19:15:26,715 - DEBUG - Services list from nova: [, , ] 2026-07-28 19:15:27,125 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6117-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6117-1) 2026-07-28 19:15:27,614 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6117-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6117-1) 2026-07-28 19:15:27,722 - INFO - Setting gateway for router 9689e828-f5e1-487d-a6c8-fc986abc59c1 to network e5fd892f-1423-43db-b9ac-6c9afb4c7427 2026-07-28 19:15:27,797 - INFO - Adding interface with subnet_id c83d8bb8-5aab-4a68-b6de-6dccb22761e4, port_id None to router 9689e828-f5e1-487d-a6c8-fc986abc59c1 2026-07-28 19:15:28,166 - INFO - Waiting for VM ctest-TestRoutersBasic-08503441-75391907 to be up.. 2026-07-28 19:15:28,288 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-28 19:15:33,467 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-28 19:15:38,561 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-28 19:15:43,648 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-28 19:15:48,741 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-28 19:15:53,829 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-28 19:15:58,919 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-28 19:16:04,015 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-28 19:16:09,124 - DEBUG - VM is in ACTIVE state now 2026-07-28 19:16:09,124 - INFO - VM name : ctest-TestRoutersBasic-08503441-75391907 2026-07-28 19:16:09,226 - DEBUG - VM ctest-TestRoutersBasic-08503441-75391907 ID is 3db5795d-d754-40df-bcc8-9a02c95b72ce 2026-07-28 19:16:09,257 - DEBUG - VM ctest-TestRoutersBasic-08503441-75391907 launched on Node cn-jenkins-deploy-platform-ansible-os-6117-1 2026-07-28 19:16:09,366 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3db5795d-d754-40df-bcc8-9a02c95b72ce 2026-07-28 19:16:09,755 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3db5795d-d754-40df-bcc8-9a02c95b72ce 2026-07-28 19:16:09,787 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/eff3d2f5-e5b5-40c9-94a7-6e4cbe88251e 2026-07-28 19:16:13,079 - 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-07-28 19:16:13,079 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-08503441-75391907 failed! 2026-07-28 19:16:13,141 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-08503441:ctest-vn-18547763 is 9.202.19.193 and allocation pool is NOT set 2026-07-28 19:16:15,213 - 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=5.08 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.920 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.920/2.998/5.076/2.078 ms') 2026-07-28 19:16:15,214 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-08503441-75391907 passed 2026-07-28 19:16:15,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-28 19:16:15,373 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08503441-75391907, IP 9.202.19.195, Port 22 2026-07-28 19:16:15,543 - DEBUG - VM ctest-TestRoutersBasic-08503441-75391907 is ready for SSH connections 2026-07-28 19:16:15,543 - INFO - Waiting for VM ctest-TestRoutersBasic-08503441-13191623 to be up.. 2026-07-28 19:16:15,644 - DEBUG - VM is in ACTIVE state now 2026-07-28 19:16:15,645 - INFO - VM name : ctest-TestRoutersBasic-08503441-13191623 2026-07-28 19:16:15,758 - DEBUG - VM ctest-TestRoutersBasic-08503441-13191623 ID is d78e617d-b395-4937-9ad8-7288c08ba352 2026-07-28 19:16:15,758 - DEBUG - VM ctest-TestRoutersBasic-08503441-13191623 launched on Node cn-jenkins-deploy-platform-ansible-os-6117-1 2026-07-28 19:16:15,868 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d78e617d-b395-4937-9ad8-7288c08ba352 2026-07-28 19:16:15,882 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2b73c59c-bca6-49be-8856-f6ca66e2805b 2026-07-28 19:16:19,162 - 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 1015ms') 2026-07-28 19:16:19,162 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-08503441-13191623 failed! 2026-07-28 19:16:19,221 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-08503441:ctest-ext_vn-85351261 is 25.234.151.1 and allocation pool is NOT set 2026-07-28 19:16:21,288 - 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.76 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.609 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.609/2.182/3.755/1.573 ms') 2026-07-28 19:16:21,288 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-08503441-13191623 passed 2026-07-28 19:16:21,445 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-28 19:16:21,445 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08503441-13191623, IP 25.234.151.4, Port 22 2026-07-28 19:16:21,619 - DEBUG - VM ctest-TestRoutersBasic-08503441-13191623 is ready for SSH connections 2026-07-28 19:16:21,620 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-28 19:16:21,620 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.234.151.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-07-28 19:16:21,620 - DEBUG - ping -s 56 -c 3 -W 1 25.234.151.4 2026-07-28 19:16:24,815 - DEBUG - PING 25.234.151.4 (25.234.151.4): 56 data bytes 64 bytes from 25.234.151.4: seq=0 ttl=62 time=6.377 ms 64 bytes from 25.234.151.4: seq=1 ttl=62 time=1.737 ms 64 bytes from 25.234.151.4: seq=2 ttl=62 time=1.668 ms --- 25.234.151.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.668/3.260/6.377 ms 2026-07-28 19:16:24,815 - INFO - Ping to IP 25.234.151.4 from VM ctest-TestRoutersBasic-08503441-75391907 passed 2026-07-28 19:16:24,815 - INFO - Deleting interface with subnet_id c83d8bb8-5aab-4a68-b6de-6dccb22761e4, port_id None from router 9689e828-f5e1-487d-a6c8-fc986abc59c1 2026-07-28 19:16:25,094 - INFO - Deleting VM ctest-TestRoutersBasic-08503441-13191623 2026-07-28 19:16:25,184 - INFO - Deleting VM ctest-TestRoutersBasic-08503441-75391907 2026-07-28 19:16:25,278 - INFO - Deleting VN ctest-ext_vn-85351261 2026-07-28 19:16:25,365 - DEBUG - VN e5fd892f-1423-43db-b9ac-6c9afb4c7427 still in use: Unable to complete operation on network e5fd892f-1423-43db-b9ac-6c9afb4c7427. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-062e14a6-5843-4147-9b30-2fa442e69155'] 2026-07-28 19:16:25,366 - WARNING - Deleting VN ctest-ext_vn-85351261 failed..Will retry 2026-07-28 19:16:27,587 - DEBUG - Response for deleting network () 2026-07-28 19:16:27,588 - INFO - Deleting VN ctest-vn-18547763 2026-07-28 19:16:27,740 - DEBUG - Response for deleting network () 2026-07-28 19:16:28,021 - DEBUG - No XMPP flaps were noticed during the test
2026-07-28 19:16:28,021 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:05]
2026-07-28 19:16:28,021 - INFO - -------------------------------------------------------------------------------- 2026-07-28 19:16:28,919 - INFO - Deleted project: ctest-TestRoutersBasic-08503441, ID : 44f93825-dfbb-4c66-bbbf-53a2248b5df8