2026-02-05 10:29:20,680 - INFO - Domain Default found not creating 2026-02-05 10:29:20,850 - INFO - Project ctest-TestRoutersBasic-92468435 not found, creating it 2026-02-05 10:29:21,350 - INFO - Created Project:ctest-TestRoutersBasic-92468435, ID : 0d9ee59b-8f1e-436a-9f1f-7b3194ddf764 2026-02-05 10:29:22,837 - INFO - ================================================================================ 2026-02-05 10:29:22,837 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-05 10:29:22,837 - 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-02-05 10:29:23,112 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2026-02-05 10:29:23,113 - INFO - Initial checks done. Running the testcase now 2026-02-05 10:29:23,113 - INFO - 2026-02-05 10:29:23,842 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-92468435 2026-02-05 10:29:23,935 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-92468435 2026-02-05 10:29:24,255 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92468435', 'default']} 2026-02-05 10:29:24,537 - DEBUG - Response for create_network : {'network': {'id': '2394f59d-78af-44b7-9394-0e764c4d4655', 'name': 'ctest-vn-04256044', 'tenant_id': '0d9ee59b8f1e436a9f1f7b3194ddf764', 'project_id': '0d9ee59b8f1e436a9f1f7b3194ddf764', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92468435', 'ctest-vn-04256044'], 'port_security_enabled': True, 'description': ''}} 2026-02-05 10:29:24,722 - DEBUG - Response for create_subnet : {'subnet': {'id': '94deae55-bea3-479b-bd1e-6d23b3f02356', 'name': '', 'tenant_id': '0d9ee59b8f1e436a9f1f7b3194ddf764', 'network_id': '2394f59d-78af-44b7-9394-0e764c4d4655', 'ip_version': 4, 'cidr': '140.55.188.192/26', 'allocation_pools': [{'start': '140.55.188.194', 'end': '140.55.188.254'}], 'gateway_ip': '140.55.188.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.55.188.194', 'tags': [], 'project_id': '0d9ee59b8f1e436a9f1f7b3194ddf764'}} 2026-02-05 10:29:24,739 - INFO - Created VN ctest-vn-04256044 2026-02-05 10:29:24,791 - DEBUG - VN ctest-vn-04256044 UUID is 2394f59d-78af-44b7-9394-0e764c4d4655 2026-02-05 10:29:25,082 - DEBUG - Response for create_network : {'network': {'id': '87f5823d-c1ed-4222-be92-8a39e5da1f3f', 'name': 'ctest-ext_vn-00796720', 'tenant_id': '0d9ee59b8f1e436a9f1f7b3194ddf764', 'project_id': '0d9ee59b8f1e436a9f1f7b3194ddf764', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92468435', 'ctest-ext_vn-00796720'], 'port_security_enabled': True, 'description': ''}} 2026-02-05 10:29:25,268 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c10bb64-fe98-4232-83f9-2d38ed9f8947', 'name': '', 'tenant_id': '0d9ee59b8f1e436a9f1f7b3194ddf764', 'network_id': '87f5823d-c1ed-4222-be92-8a39e5da1f3f', 'ip_version': 4, 'cidr': '215.191.254.0/26', 'allocation_pools': [{'start': '215.191.254.2', 'end': '215.191.254.62'}], 'gateway_ip': '215.191.254.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.191.254.2', 'tags': [], 'project_id': '0d9ee59b8f1e436a9f1f7b3194ddf764'}} 2026-02-05 10:29:25,285 - INFO - Created VN ctest-ext_vn-00796720 2026-02-05 10:29:25,335 - DEBUG - VN ctest-ext_vn-00796720 UUID is 87f5823d-c1ed-4222-be92-8a39e5da1f3f 2026-02-05 10:29:25,495 - DEBUG - Services list from nova: [, , ] 2026-02-05 10:29:26,479 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5218-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5218-1) 2026-02-05 10:29:27,557 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5218-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5218-1) 2026-02-05 10:29:27,611 - INFO - Setting gateway for router 950a232a-1eef-469b-93d2-87104f834740 to network 87f5823d-c1ed-4222-be92-8a39e5da1f3f 2026-02-05 10:29:27,669 - INFO - Adding interface with subnet_id 94deae55-bea3-479b-bd1e-6d23b3f02356, port_id None to router 950a232a-1eef-469b-93d2-87104f834740 2026-02-05 10:29:27,961 - INFO - Waiting for VM ctest-TestRoutersBasic-92468435-59070358 to be up.. 2026-02-05 10:29:28,128 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-05 10:29:33,194 - DEBUG - VM is in ACTIVE state now 2026-02-05 10:29:33,195 - INFO - VM name : ctest-TestRoutersBasic-92468435-59070358 2026-02-05 10:29:33,268 - DEBUG - VM ctest-TestRoutersBasic-92468435-59070358 ID is 840f8606-63a3-44df-8d5e-dec0fe03ba89 2026-02-05 10:29:33,288 - DEBUG - VM ctest-TestRoutersBasic-92468435-59070358 launched on Node cn-jenkins-deploy-platform-ansible-os-5218-1 2026-02-05 10:29:33,361 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/840f8606-63a3-44df-8d5e-dec0fe03ba89 2026-02-05 10:29:33,653 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/840f8606-63a3-44df-8d5e-dec0fe03ba89 2026-02-05 10:29:33,690 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d297fe7f-037f-4218-9052-ea68acaec044 2026-02-05 10:29:36,938 - 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 1015ms') 2026-02-05 10:29:36,938 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-92468435-59070358 failed! 2026-02-05 10:29:36,991 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-92468435:ctest-vn-04256044 is 140.55.188.193 and allocation pool is NOT set 2026-02-05 10:29:39,050 - 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.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.458 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.458/1.687/2.916/1.229 ms') 2026-02-05 10:29:39,050 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-92468435-59070358 passed 2026-02-05 10:29:39,199 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 10:29:39,199 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-92468435-59070358, IP 140.55.188.195, Port 22 2026-02-05 10:29:39,350 - DEBUG - VM ctest-TestRoutersBasic-92468435-59070358 is ready for SSH connections 2026-02-05 10:29:39,351 - INFO - Waiting for VM ctest-TestRoutersBasic-92468435-50192003 to be up.. 2026-02-05 10:29:39,422 - DEBUG - VM is in ACTIVE state now 2026-02-05 10:29:39,422 - INFO - VM name : ctest-TestRoutersBasic-92468435-50192003 2026-02-05 10:29:39,493 - DEBUG - VM ctest-TestRoutersBasic-92468435-50192003 ID is f7f7a08a-202b-4574-9885-7a9b3f5c351a 2026-02-05 10:29:39,493 - DEBUG - VM ctest-TestRoutersBasic-92468435-50192003 launched on Node cn-jenkins-deploy-platform-ansible-os-5218-1 2026-02-05 10:29:39,569 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f7f7a08a-202b-4574-9885-7a9b3f5c351a 2026-02-05 10:29:39,577 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/36783bd6-dc49-4455-a687-a85c773813fc 2026-02-05 10:29:40,811 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.381 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.381/1.579/2.777/1.198 ms') 2026-02-05 10:29:40,811 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-92468435-50192003 passed 2026-02-05 10:29:40,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 10:29:40,963 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-92468435-50192003, IP 215.191.254.3, Port 22 2026-02-05 10:29:41,118 - DEBUG - VM ctest-TestRoutersBasic-92468435-50192003 is ready for SSH connections 2026-02-05 10:29:41,118 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 10:29:41,118 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 215.191.254.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-02-05 10:29:41,119 - DEBUG - ping -s 56 -c 3 -W 1 215.191.254.3 2026-02-05 10:29:44,827 - DEBUG - PING 215.191.254.3 (215.191.254.3): 56 data bytes 64 bytes from 215.191.254.3: seq=0 ttl=62 time=6.520 ms 64 bytes from 215.191.254.3: seq=1 ttl=62 time=0.938 ms 64 bytes from 215.191.254.3: seq=2 ttl=62 time=0.742 ms --- 215.191.254.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.742/2.733/6.520 ms 2026-02-05 10:29:44,827 - INFO - Ping to IP 215.191.254.3 from VM ctest-TestRoutersBasic-92468435-59070358 passed 2026-02-05 10:29:44,827 - INFO - Deleting interface with subnet_id 94deae55-bea3-479b-bd1e-6d23b3f02356, port_id None from router 950a232a-1eef-469b-93d2-87104f834740 2026-02-05 10:29:45,012 - INFO - Deleting VM ctest-TestRoutersBasic-92468435-50192003 2026-02-05 10:29:45,083 - INFO - Deleting VM ctest-TestRoutersBasic-92468435-59070358 2026-02-05 10:29:45,174 - INFO - Deleting VN ctest-ext_vn-00796720 2026-02-05 10:29:45,248 - DEBUG - VN 87f5823d-c1ed-4222-be92-8a39e5da1f3f still in use: Unable to complete operation on network 87f5823d-c1ed-4222-be92-8a39e5da1f3f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4ed864dc-f5ea-4d21-b54a-dd6e2e84a08b'] 2026-02-05 10:29:45,248 - WARNING - Deleting VN ctest-ext_vn-00796720 failed..Will retry 2026-02-05 10:29:47,344 - DEBUG - Response for deleting network () 2026-02-05 10:29:47,345 - INFO - Deleting VN ctest-vn-04256044 2026-02-05 10:29:47,442 - DEBUG - Response for deleting network () 2026-02-05 10:29:47,700 - DEBUG - No XMPP flaps were noticed during the test 2026-02-05 10:29:47,700 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-02-05 10:29:47,700 - INFO - -------------------------------------------------------------------------------- 2026-02-05 10:29:48,373 - INFO - Deleted project: ctest-TestRoutersBasic-92468435, ID : 0d9ee59b-8f1e-436a-9f1f-7b3194ddf764