2026-01-29 04:52:02,839 - INFO - Domain Default found not creating 2026-01-29 04:52:03,327 - INFO - Project ctest-TestRoutersBasic-48441532 not found, creating it 2026-01-29 04:52:03,790 - INFO - Created Project:ctest-TestRoutersBasic-48441532, ID : 6b7d1887-e25d-4310-8ad4-22498dfa8394 2026-01-29 04:52:05,202 - INFO - ================================================================================ 2026-01-29 04:52:05,202 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-29 04:52:05,202 - 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-01-29 04:52:05,454 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.18': '0'}} with 2026-01-29 04:52:05,454 - INFO - Initial checks done. Running the testcase now 2026-01-29 04:52:05,454 - INFO - 2026-01-29 04:52:06,165 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-48441532 2026-01-29 04:52:06,265 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-48441532 2026-01-29 04:52:06,584 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48441532', 'default']} 2026-01-29 04:52:06,861 - DEBUG - Response for create_network : {'network': {'id': '66c6060f-6a83-412a-ba93-cc2af0a37448', 'name': 'ctest-vn-59280583', 'tenant_id': '6b7d1887e25d43108ad422498dfa8394', 'project_id': '6b7d1887e25d43108ad422498dfa8394', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48441532', 'ctest-vn-59280583'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 04:52:07,030 - DEBUG - Response for create_subnet : {'subnet': {'id': '1d52044b-14fa-4c37-bfd8-c95d312077f0', 'name': '', 'tenant_id': '6b7d1887e25d43108ad422498dfa8394', 'network_id': '66c6060f-6a83-412a-ba93-cc2af0a37448', 'ip_version': 4, 'cidr': '104.26.214.192/26', 'allocation_pools': [{'start': '104.26.214.194', 'end': '104.26.214.254'}], 'gateway_ip': '104.26.214.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.26.214.194', 'tags': [], 'project_id': '6b7d1887e25d43108ad422498dfa8394'}} 2026-01-29 04:52:07,046 - INFO - Created VN ctest-vn-59280583 2026-01-29 04:52:07,097 - DEBUG - VN ctest-vn-59280583 UUID is 66c6060f-6a83-412a-ba93-cc2af0a37448 2026-01-29 04:52:07,428 - DEBUG - Response for create_network : {'network': {'id': '3eea7a42-ed5e-4c69-9eab-f18a06b2249c', 'name': 'ctest-ext_vn-90371063', 'tenant_id': '6b7d1887e25d43108ad422498dfa8394', 'project_id': '6b7d1887e25d43108ad422498dfa8394', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48441532', 'ctest-ext_vn-90371063'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 04:52:07,626 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e635e71-ec4e-4104-8e4a-397799d5dfae', 'name': '', 'tenant_id': '6b7d1887e25d43108ad422498dfa8394', 'network_id': '3eea7a42-ed5e-4c69-9eab-f18a06b2249c', 'ip_version': 4, 'cidr': '164.130.147.64/26', 'allocation_pools': [{'start': '164.130.147.66', 'end': '164.130.147.126'}], 'gateway_ip': '164.130.147.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.130.147.66', 'tags': [], 'project_id': '6b7d1887e25d43108ad422498dfa8394'}} 2026-01-29 04:52:07,641 - INFO - Created VN ctest-ext_vn-90371063 2026-01-29 04:52:07,693 - DEBUG - VN ctest-ext_vn-90371063 UUID is 3eea7a42-ed5e-4c69-9eab-f18a06b2249c 2026-01-29 04:52:07,885 - DEBUG - Services list from nova: [, , ] 2026-01-29 04:52:08,876 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5118-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5118-1) 2026-01-29 04:52:09,978 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5118-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5118-1) 2026-01-29 04:52:10,046 - INFO - Setting gateway for router 8cb14a8c-40c1-44d1-aeb0-df2b0e92c241 to network 3eea7a42-ed5e-4c69-9eab-f18a06b2249c 2026-01-29 04:52:10,105 - INFO - Adding interface with subnet_id 1d52044b-14fa-4c37-bfd8-c95d312077f0, port_id None to router 8cb14a8c-40c1-44d1-aeb0-df2b0e92c241 2026-01-29 04:52:10,466 - INFO - Waiting for VM ctest-TestRoutersBasic-48441532-65444437 to be up.. 2026-01-29 04:52:10,578 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 04:52:15,649 - DEBUG - VM is in ACTIVE state now 2026-01-29 04:52:15,649 - INFO - VM name : ctest-TestRoutersBasic-48441532-65444437 2026-01-29 04:52:15,721 - DEBUG - VM ctest-TestRoutersBasic-48441532-65444437 ID is 13f69bf9-dc2d-4b80-99b1-6d2f990cccfa 2026-01-29 04:52:15,746 - DEBUG - VM ctest-TestRoutersBasic-48441532-65444437 launched on Node cn-jenkins-deploy-platform-ansible-os-5118-1 2026-01-29 04:52:15,822 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/13f69bf9-dc2d-4b80-99b1-6d2f990cccfa 2026-01-29 04:52:16,127 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/13f69bf9-dc2d-4b80-99b1-6d2f990cccfa 2026-01-29 04:52:16,160 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6be8f038-3296-490b-8336-e198b3d1435f 2026-01-29 04:52:19,419 - 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 1023ms') 2026-01-29 04:52:19,419 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-48441532-65444437 failed! 2026-01-29 04:52:19,473 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-48441532:ctest-vn-59280583 is 104.26.214.193 and allocation pool is NOT set 2026-01-29 04:52:21,529 - 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.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.439 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.439/1.666/2.893/1.227 ms') 2026-01-29 04:52:21,529 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-48441532-65444437 passed 2026-01-29 04:52:21,633 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 04:52:21,633 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-48441532-65444437, IP 104.26.214.195, Port 22 2026-01-29 04:52:21,788 - DEBUG - VM ctest-TestRoutersBasic-48441532-65444437 is ready for SSH connections 2026-01-29 04:52:21,788 - INFO - Waiting for VM ctest-TestRoutersBasic-48441532-74210451 to be up.. 2026-01-29 04:52:21,860 - DEBUG - VM is in ACTIVE state now 2026-01-29 04:52:21,860 - INFO - VM name : ctest-TestRoutersBasic-48441532-74210451 2026-01-29 04:52:21,931 - DEBUG - VM ctest-TestRoutersBasic-48441532-74210451 ID is eedf3bfa-7262-480a-ad36-12d328d099ab 2026-01-29 04:52:21,931 - DEBUG - VM ctest-TestRoutersBasic-48441532-74210451 launched on Node cn-jenkins-deploy-platform-ansible-os-5118-1 2026-01-29 04:52:22,000 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/eedf3bfa-7262-480a-ad36-12d328d099ab 2026-01-29 04:52:22,008 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/3c9b74b4-7abc-4c74-b261-4487cd201671 2026-01-29 04:52:23,251 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.406 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.406/1.777/3.148/1.371 ms') 2026-01-29 04:52:23,251 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-48441532-74210451 passed 2026-01-29 04:52:23,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 04:52:23,397 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-48441532-74210451, IP 164.130.147.67, Port 22 2026-01-29 04:52:23,552 - DEBUG - VM ctest-TestRoutersBasic-48441532-74210451 is ready for SSH connections 2026-01-29 04:52:23,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 04:52:23,552 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.130.147.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-29 04:52:23,552 - DEBUG - ping -s 56 -c 3 -W 1 164.130.147.67 2026-01-29 04:52:27,557 - DEBUG - PING 164.130.147.67 (164.130.147.67): 56 data bytes 64 bytes from 164.130.147.67: seq=0 ttl=62 time=7.939 ms 64 bytes from 164.130.147.67: seq=1 ttl=62 time=0.929 ms 64 bytes from 164.130.147.67: seq=2 ttl=62 time=0.731 ms --- 164.130.147.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.731/3.199/7.939 ms 2026-01-29 04:52:27,557 - INFO - Ping to IP 164.130.147.67 from VM ctest-TestRoutersBasic-48441532-65444437 passed 2026-01-29 04:52:27,557 - INFO - Deleting interface with subnet_id 1d52044b-14fa-4c37-bfd8-c95d312077f0, port_id None from router 8cb14a8c-40c1-44d1-aeb0-df2b0e92c241 2026-01-29 04:52:27,706 - INFO - Deleting VM ctest-TestRoutersBasic-48441532-74210451 2026-01-29 04:52:27,762 - INFO - Deleting VM ctest-TestRoutersBasic-48441532-65444437 2026-01-29 04:52:27,831 - INFO - Deleting VN ctest-ext_vn-90371063 2026-01-29 04:52:27,894 - DEBUG - VN 3eea7a42-ed5e-4c69-9eab-f18a06b2249c still in use: Unable to complete operation on network 3eea7a42-ed5e-4c69-9eab-f18a06b2249c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8736bd3b-25d8-4986-b8e8-7b85f15a4ca2'] 2026-01-29 04:52:27,894 - WARNING - Deleting VN ctest-ext_vn-90371063 failed..Will retry 2026-01-29 04:52:29,992 - DEBUG - Response for deleting network () 2026-01-29 04:52:29,992 - INFO - Deleting VN ctest-vn-59280583 2026-01-29 04:52:30,175 - DEBUG - Response for deleting network () 2026-01-29 04:52:30,437 - DEBUG - No XMPP flaps were noticed during the test 2026-01-29 04:52:30,437 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-01-29 04:52:30,437 - INFO - -------------------------------------------------------------------------------- 2026-01-29 04:52:31,096 - INFO - Deleted project: ctest-TestRoutersBasic-48441532, ID : 6b7d1887-e25d-4310-8ad4-22498dfa8394