2026-01-31 12:21:36,508 - INFO - Domain Default found not creating 2026-01-31 12:21:36,657 - INFO - Project ctest-TestRoutersBasic-18655908 not found, creating it 2026-01-31 12:21:37,096 - INFO - Created Project:ctest-TestRoutersBasic-18655908, ID : 076107de-17f9-407f-8482-db8068a3292e 2026-01-31 12:21:38,477 - INFO - ================================================================================ 2026-01-31 12:21:38,477 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-31 12:21:38,478 - 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-31 12:21:38,731 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-01-31 12:21:38,731 - INFO - Initial checks done. Running the testcase now 2026-01-31 12:21:38,731 - INFO - 2026-01-31 12:21:39,416 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-18655908 2026-01-31 12:21:39,509 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-18655908 2026-01-31 12:21:39,825 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18655908', 'default']} 2026-01-31 12:21:40,092 - DEBUG - Response for create_network : {'network': {'id': 'ebfe1301-6be2-4c05-811a-45df9ab596c3', 'name': 'ctest-vn-69200896', 'tenant_id': '076107de17f9407f8482db8068a3292e', 'project_id': '076107de17f9407f8482db8068a3292e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18655908', 'ctest-vn-69200896'], 'port_security_enabled': True, 'description': ''}} 2026-01-31 12:21:40,265 - DEBUG - Response for create_subnet : {'subnet': {'id': '206820f6-d255-4e70-895c-d5abd375a3d3', 'name': '', 'tenant_id': '076107de17f9407f8482db8068a3292e', 'network_id': 'ebfe1301-6be2-4c05-811a-45df9ab596c3', 'ip_version': 4, 'cidr': '4.105.223.128/26', 'allocation_pools': [{'start': '4.105.223.130', 'end': '4.105.223.190'}], 'gateway_ip': '4.105.223.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.105.223.130', 'tags': [], 'project_id': '076107de17f9407f8482db8068a3292e'}} 2026-01-31 12:21:40,282 - INFO - Created VN ctest-vn-69200896 2026-01-31 12:21:40,333 - DEBUG - VN ctest-vn-69200896 UUID is ebfe1301-6be2-4c05-811a-45df9ab596c3 2026-01-31 12:21:40,659 - DEBUG - Response for create_network : {'network': {'id': '7476fc2e-6fcc-4edf-9e17-ee27ee9d8ed8', 'name': 'ctest-ext_vn-80713416', 'tenant_id': '076107de17f9407f8482db8068a3292e', 'project_id': '076107de17f9407f8482db8068a3292e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18655908', 'ctest-ext_vn-80713416'], 'port_security_enabled': True, 'description': ''}} 2026-01-31 12:21:40,795 - DEBUG - Response for create_subnet : {'subnet': {'id': '288d323e-042e-4e80-9348-53fbdd33831b', 'name': '', 'tenant_id': '076107de17f9407f8482db8068a3292e', 'network_id': '7476fc2e-6fcc-4edf-9e17-ee27ee9d8ed8', 'ip_version': 4, 'cidr': '215.97.177.64/26', 'allocation_pools': [{'start': '215.97.177.66', 'end': '215.97.177.126'}], 'gateway_ip': '215.97.177.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.97.177.66', 'tags': [], 'project_id': '076107de17f9407f8482db8068a3292e'}} 2026-01-31 12:21:40,811 - INFO - Created VN ctest-ext_vn-80713416 2026-01-31 12:21:40,865 - DEBUG - VN ctest-ext_vn-80713416 UUID is 7476fc2e-6fcc-4edf-9e17-ee27ee9d8ed8 2026-01-31 12:21:41,061 - DEBUG - Services list from nova: [, , ] 2026-01-31 12:21:42,021 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5155-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5155-1) 2026-01-31 12:21:43,085 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5155-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5155-1) 2026-01-31 12:21:43,148 - INFO - Setting gateway for router 03526773-5c69-474f-b802-79b9f8b874ff to network 7476fc2e-6fcc-4edf-9e17-ee27ee9d8ed8 2026-01-31 12:21:43,216 - INFO - Adding interface with subnet_id 206820f6-d255-4e70-895c-d5abd375a3d3, port_id None to router 03526773-5c69-474f-b802-79b9f8b874ff 2026-01-31 12:21:43,546 - INFO - Waiting for VM ctest-TestRoutersBasic-18655908-35729256 to be up.. 2026-01-31 12:21:43,700 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-31 12:21:48,797 - DEBUG - VM is in ACTIVE state now 2026-01-31 12:21:48,797 - INFO - VM name : ctest-TestRoutersBasic-18655908-35729256 2026-01-31 12:21:48,868 - DEBUG - VM ctest-TestRoutersBasic-18655908-35729256 ID is f587c76d-ddbb-40f1-9835-c135d21a7d8f 2026-01-31 12:21:48,889 - DEBUG - VM ctest-TestRoutersBasic-18655908-35729256 launched on Node cn-jenkins-deploy-platform-ansible-os-5155-1 2026-01-31 12:21:48,963 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f587c76d-ddbb-40f1-9835-c135d21a7d8f 2026-01-31 12:21:49,256 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f587c76d-ddbb-40f1-9835-c135d21a7d8f 2026-01-31 12:21:49,287 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9c2ac3f7-93fe-44b8-9403-c2359eb7430e 2026-01-31 12:21:52,531 - 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 1019ms') 2026-01-31 12:21:52,531 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18655908-35729256 failed! 2026-01-31 12:21:52,585 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-18655908:ctest-vn-69200896 is 4.105.223.129 and allocation pool is NOT set 2026-01-31 12:21:54,650 - 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.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.391 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.391/1.581/2.772/1.190 ms') 2026-01-31 12:21:54,651 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18655908-35729256 passed 2026-01-31 12:21:54,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-31 12:21:54,797 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18655908-35729256, IP 4.105.223.131, Port 22 2026-01-31 12:21:54,949 - DEBUG - VM ctest-TestRoutersBasic-18655908-35729256 is ready for SSH connections 2026-01-31 12:21:54,949 - INFO - Waiting for VM ctest-TestRoutersBasic-18655908-63784235 to be up.. 2026-01-31 12:21:55,020 - DEBUG - VM is in ACTIVE state now 2026-01-31 12:21:55,020 - INFO - VM name : ctest-TestRoutersBasic-18655908-63784235 2026-01-31 12:21:55,086 - DEBUG - VM ctest-TestRoutersBasic-18655908-63784235 ID is e3f16cb4-c6a6-447d-ac4f-896c4a3f309f 2026-01-31 12:21:55,086 - DEBUG - VM ctest-TestRoutersBasic-18655908-63784235 launched on Node cn-jenkins-deploy-platform-ansible-os-5155-1 2026-01-31 12:21:55,151 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e3f16cb4-c6a6-447d-ac4f-896c4a3f309f 2026-01-31 12:21:55,158 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/57efe9e7-baad-4ed0-a9fb-543b213cb30b 2026-01-31 12:21:56,391 - 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=2.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.384 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.384/1.594/2.804/1.210 ms') 2026-01-31 12:21:56,392 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-18655908-63784235 passed 2026-01-31 12:21:56,541 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-31 12:21:56,542 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18655908-63784235, IP 215.97.177.67, Port 22 2026-01-31 12:21:56,693 - DEBUG - VM ctest-TestRoutersBasic-18655908-63784235 is ready for SSH connections 2026-01-31 12:21:56,693 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-31 12:21:56,693 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 215.97.177.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-31 12:21:56,693 - DEBUG - ping -s 56 -c 3 -W 1 215.97.177.67 2026-01-31 12:22:00,372 - DEBUG - PING 215.97.177.67 (215.97.177.67): 56 data bytes 64 bytes from 215.97.177.67: seq=0 ttl=62 time=7.228 ms 64 bytes from 215.97.177.67: seq=1 ttl=62 time=0.782 ms 64 bytes from 215.97.177.67: seq=2 ttl=62 time=0.973 ms --- 215.97.177.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.782/2.994/7.228 ms 2026-01-31 12:22:00,372 - INFO - Ping to IP 215.97.177.67 from VM ctest-TestRoutersBasic-18655908-35729256 passed 2026-01-31 12:22:00,372 - INFO - Deleting interface with subnet_id 206820f6-d255-4e70-895c-d5abd375a3d3, port_id None from router 03526773-5c69-474f-b802-79b9f8b874ff 2026-01-31 12:22:00,547 - INFO - Deleting VM ctest-TestRoutersBasic-18655908-63784235 2026-01-31 12:22:00,621 - INFO - Deleting VM ctest-TestRoutersBasic-18655908-35729256 2026-01-31 12:22:00,689 - INFO - Deleting VN ctest-ext_vn-80713416 2026-01-31 12:22:00,740 - DEBUG - VN 7476fc2e-6fcc-4edf-9e17-ee27ee9d8ed8 still in use: Unable to complete operation on network 7476fc2e-6fcc-4edf-9e17-ee27ee9d8ed8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ca72a510-bf93-45a5-b23e-5c21687a98fb'] 2026-01-31 12:22:00,740 - WARNING - Deleting VN ctest-ext_vn-80713416 failed..Will retry 2026-01-31 12:22:02,837 - DEBUG - Response for deleting network () 2026-01-31 12:22:02,837 - INFO - Deleting VN ctest-vn-69200896 2026-01-31 12:22:02,925 - DEBUG - Response for deleting network () 2026-01-31 12:22:03,178 - DEBUG - No XMPP flaps were noticed during the test
2026-01-31 12:22:03,178 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-01-31 12:22:03,178 - INFO - -------------------------------------------------------------------------------- 2026-01-31 12:22:03,974 - INFO - Deleted project: ctest-TestRoutersBasic-18655908, ID : 076107de-17f9-407f-8482-db8068a3292e