2026-01-30 21:23:37,487 - INFO - Domain Default found not creating 2026-01-30 21:23:37,634 - INFO - Project ctest-TestRoutersBasic-69634277 not found, creating it 2026-01-30 21:23:38,081 - INFO - Created Project:ctest-TestRoutersBasic-69634277, ID : 0b5781d0-3928-43a6-94d7-2d7227e48205 2026-01-30 21:23:39,475 - INFO - ================================================================================ 2026-01-30 21:23:39,475 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-30 21:23:39,475 - 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-30 21:23:39,730 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-01-30 21:23:39,730 - INFO - Initial checks done. Running the testcase now 2026-01-30 21:23:39,730 - INFO - 2026-01-30 21:23:40,416 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-69634277 2026-01-30 21:23:40,512 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-69634277 2026-01-30 21:23:40,828 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69634277', 'default']} 2026-01-30 21:23:41,096 - DEBUG - Response for create_network : {'network': {'id': '2f69f6fd-26be-4259-b3f9-eefccf965849', 'name': 'ctest-vn-52484822', 'tenant_id': '0b5781d0392843a694d72d7227e48205', 'project_id': '0b5781d0392843a694d72d7227e48205', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69634277', 'ctest-vn-52484822'], 'port_security_enabled': True, 'description': ''}} 2026-01-30 21:23:41,280 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e89f8eb-dcdd-4404-a8a0-c3877188268f', 'name': '', 'tenant_id': '0b5781d0392843a694d72d7227e48205', 'network_id': '2f69f6fd-26be-4259-b3f9-eefccf965849', 'ip_version': 4, 'cidr': '157.35.225.128/26', 'allocation_pools': [{'start': '157.35.225.130', 'end': '157.35.225.190'}], 'gateway_ip': '157.35.225.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.35.225.130', 'tags': [], 'project_id': '0b5781d0392843a694d72d7227e48205'}} 2026-01-30 21:23:41,297 - INFO - Created VN ctest-vn-52484822 2026-01-30 21:23:41,348 - DEBUG - VN ctest-vn-52484822 UUID is 2f69f6fd-26be-4259-b3f9-eefccf965849 2026-01-30 21:23:41,683 - DEBUG - Response for create_network : {'network': {'id': '8fb7ec8a-cc44-4e8f-ad7c-1c48dd38dba7', 'name': 'ctest-ext_vn-89943957', 'tenant_id': '0b5781d0392843a694d72d7227e48205', 'project_id': '0b5781d0392843a694d72d7227e48205', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69634277', 'ctest-ext_vn-89943957'], 'port_security_enabled': True, 'description': ''}} 2026-01-30 21:23:41,858 - DEBUG - Response for create_subnet : {'subnet': {'id': 'adb9a9ed-bc52-4f92-9899-fc0b032ec36b', 'name': '', 'tenant_id': '0b5781d0392843a694d72d7227e48205', 'network_id': '8fb7ec8a-cc44-4e8f-ad7c-1c48dd38dba7', 'ip_version': 4, 'cidr': '207.229.159.128/26', 'allocation_pools': [{'start': '207.229.159.130', 'end': '207.229.159.190'}], 'gateway_ip': '207.229.159.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.229.159.130', 'tags': [], 'project_id': '0b5781d0392843a694d72d7227e48205'}} 2026-01-30 21:23:41,874 - INFO - Created VN ctest-ext_vn-89943957 2026-01-30 21:23:41,924 - DEBUG - VN ctest-ext_vn-89943957 UUID is 8fb7ec8a-cc44-4e8f-ad7c-1c48dd38dba7 2026-01-30 21:23:42,111 - DEBUG - Services list from nova: [, , ] 2026-01-30 21:23:43,080 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5153-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5153-1) 2026-01-30 21:23:44,201 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5153-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5153-1) 2026-01-30 21:23:44,295 - INFO - Setting gateway for router c160c00d-e293-4ab6-81c8-534fb58d2986 to network 8fb7ec8a-cc44-4e8f-ad7c-1c48dd38dba7 2026-01-30 21:23:44,376 - INFO - Adding interface with subnet_id 6e89f8eb-dcdd-4404-a8a0-c3877188268f, port_id None to router c160c00d-e293-4ab6-81c8-534fb58d2986 2026-01-30 21:23:44,740 - INFO - Waiting for VM ctest-TestRoutersBasic-69634277-22434280 to be up.. 2026-01-30 21:23:44,873 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-30 21:23:49,940 - DEBUG - VM is in ACTIVE state now 2026-01-30 21:23:49,940 - INFO - VM name : ctest-TestRoutersBasic-69634277-22434280 2026-01-30 21:23:50,011 - DEBUG - VM ctest-TestRoutersBasic-69634277-22434280 ID is 5d0f1a68-e5f0-4475-95ec-7efa8a0c322a 2026-01-30 21:23:50,028 - DEBUG - VM ctest-TestRoutersBasic-69634277-22434280 launched on Node cn-jenkins-deploy-platform-ansible-os-5153-1 2026-01-30 21:23:50,098 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5d0f1a68-e5f0-4475-95ec-7efa8a0c322a 2026-01-30 21:23:50,388 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5d0f1a68-e5f0-4475-95ec-7efa8a0c322a 2026-01-30 21:23:50,419 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cd06c853-d868-4cc8-bc4b-4e1e9112d18d 2026-01-30 21:23:53,681 - 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 1031ms') 2026-01-30 21:23:53,681 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69634277-22434280 failed! 2026-01-30 21:23:53,732 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-69634277:ctest-vn-52484822 is 157.35.225.129 and allocation pool is NOT set 2026-01-30 21:23:55,788 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.401 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 = 0.401/1.606/2.812/1.205 ms') 2026-01-30 21:23:55,788 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69634277-22434280 passed 2026-01-30 21:23:55,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 21:23:55,944 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69634277-22434280, IP 157.35.225.131, Port 22 2026-01-30 21:23:56,099 - DEBUG - VM ctest-TestRoutersBasic-69634277-22434280 is ready for SSH connections 2026-01-30 21:23:56,099 - INFO - Waiting for VM ctest-TestRoutersBasic-69634277-91812977 to be up.. 2026-01-30 21:23:56,173 - DEBUG - VM is in ACTIVE state now 2026-01-30 21:23:56,173 - INFO - VM name : ctest-TestRoutersBasic-69634277-91812977 2026-01-30 21:23:56,244 - DEBUG - VM ctest-TestRoutersBasic-69634277-91812977 ID is 7f1fea9e-d764-40c5-a43f-aa70d0c426b0 2026-01-30 21:23:56,244 - DEBUG - VM ctest-TestRoutersBasic-69634277-91812977 launched on Node cn-jenkins-deploy-platform-ansible-os-5153-1 2026-01-30 21:23:56,320 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7f1fea9e-d764-40c5-a43f-aa70d0c426b0 2026-01-30 21:23:56,327 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4a41d65b-1145-43c4-adbe-0cf94424bd28 2026-01-30 21:23:57,552 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.654 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.654/1.920/3.186/1.266 ms') 2026-01-30 21:23:57,553 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-69634277-91812977 passed 2026-01-30 21:23:57,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 21:23:57,700 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69634277-91812977, IP 207.229.159.131, Port 22 2026-01-30 21:23:57,859 - DEBUG - VM ctest-TestRoutersBasic-69634277-91812977 is ready for SSH connections 2026-01-30 21:23:57,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 21:23:57,860 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.229.159.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-30 21:23:57,860 - DEBUG - ping -s 56 -c 3 -W 1 207.229.159.131 2026-01-30 21:24:01,548 - DEBUG - PING 207.229.159.131 (207.229.159.131): 56 data bytes 64 bytes from 207.229.159.131: seq=0 ttl=62 time=5.684 ms 64 bytes from 207.229.159.131: seq=1 ttl=62 time=0.971 ms 64 bytes from 207.229.159.131: seq=2 ttl=62 time=0.899 ms --- 207.229.159.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.899/2.518/5.684 ms 2026-01-30 21:24:01,548 - INFO - Ping to IP 207.229.159.131 from VM ctest-TestRoutersBasic-69634277-22434280 passed 2026-01-30 21:24:01,548 - INFO - Deleting interface with subnet_id 6e89f8eb-dcdd-4404-a8a0-c3877188268f, port_id None from router c160c00d-e293-4ab6-81c8-534fb58d2986 2026-01-30 21:24:01,740 - INFO - Deleting VM ctest-TestRoutersBasic-69634277-91812977 2026-01-30 21:24:01,817 - INFO - Deleting VM ctest-TestRoutersBasic-69634277-22434280 2026-01-30 21:24:01,893 - INFO - Deleting VN ctest-ext_vn-89943957 2026-01-30 21:24:01,977 - DEBUG - VN 8fb7ec8a-cc44-4e8f-ad7c-1c48dd38dba7 still in use: Unable to complete operation on network 8fb7ec8a-cc44-4e8f-ad7c-1c48dd38dba7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3362eecb-971d-4020-859f-c6fe44e44b41'] 2026-01-30 21:24:01,978 - WARNING - Deleting VN ctest-ext_vn-89943957 failed..Will retry 2026-01-30 21:24:04,072 - DEBUG - Response for deleting network () 2026-01-30 21:24:04,072 - INFO - Deleting VN ctest-vn-52484822 2026-01-30 21:24:04,173 - DEBUG - Response for deleting network () 2026-01-30 21:24:04,429 - DEBUG - No XMPP flaps were noticed during the test
2026-01-30 21:24:04,429 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-01-30 21:24:04,429 - INFO - -------------------------------------------------------------------------------- 2026-01-30 21:24:05,079 - INFO - Deleted project: ctest-TestRoutersBasic-69634277, ID : 0b5781d0-3928-43a6-94d7-2d7227e48205