2026-10-05 21:40:37,933 - INFO - Domain Default found not creating 2026-10-05 21:40:38,161 - INFO - Project ctest-TestRoutersBasic-62326238 not found, creating it 2026-10-05 21:40:38,723 - INFO - Created Project:ctest-TestRoutersBasic-62326238, ID : c157d7bf-6507-4f24-a9a7-24d4410b400a 2026-10-05 21:40:40,352 - INFO - ================================================================================ 2026-10-05 21:40:40,352 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-05 21:40:40,352 - 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-10-05 21:40:40,610 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with 2026-10-05 21:40:40,610 - INFO - Initial checks done. Running the testcase now 2026-10-05 21:40:40,610 - INFO - 2026-10-05 21:40:41,451 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-62326238 2026-10-05 21:40:41,546 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-62326238 2026-10-05 21:40:41,865 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62326238', 'default']} 2026-10-05 21:40:42,154 - DEBUG - Response for create_network : {'network': {'id': 'cd1c5da2-1864-40ba-b49b-18fc257688c4', 'name': 'ctest-vn-38025133', 'tenant_id': 'c157d7bf65074f24a9a724d4410b400a', 'project_id': 'c157d7bf65074f24a9a724d4410b400a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62326238', 'ctest-vn-38025133'], 'port_security_enabled': True, 'description': ''}} 2026-10-05 21:40:42,323 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd1634d7c-1bd4-42ac-8aeb-32e99feb0c9b', 'name': '', 'tenant_id': 'c157d7bf65074f24a9a724d4410b400a', 'network_id': 'cd1c5da2-1864-40ba-b49b-18fc257688c4', 'ip_version': 4, 'cidr': '46.247.129.128/26', 'allocation_pools': [{'start': '46.247.129.130', 'end': '46.247.129.190'}], 'gateway_ip': '46.247.129.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.247.129.130', 'tags': [], 'project_id': 'c157d7bf65074f24a9a724d4410b400a'}} 2026-10-05 21:40:42,339 - INFO - Created VN ctest-vn-38025133 2026-10-05 21:40:42,394 - DEBUG - VN ctest-vn-38025133 UUID is cd1c5da2-1864-40ba-b49b-18fc257688c4 2026-10-05 21:40:42,739 - DEBUG - Response for create_network : {'network': {'id': 'af8bd206-2afe-4d57-86da-c83393a78ffc', 'name': 'ctest-ext_vn-04991081', 'tenant_id': 'c157d7bf65074f24a9a724d4410b400a', 'project_id': 'c157d7bf65074f24a9a724d4410b400a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62326238', 'ctest-ext_vn-04991081'], 'port_security_enabled': True, 'description': ''}} 2026-10-05 21:40:42,897 - DEBUG - Response for create_subnet : {'subnet': {'id': '54ddfecf-5b32-4e4f-a757-1aa2fbd84f39', 'name': '', 'tenant_id': 'c157d7bf65074f24a9a724d4410b400a', 'network_id': 'af8bd206-2afe-4d57-86da-c83393a78ffc', 'ip_version': 4, 'cidr': '163.221.182.64/26', 'allocation_pools': [{'start': '163.221.182.66', 'end': '163.221.182.126'}], 'gateway_ip': '163.221.182.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.221.182.66', 'tags': [], 'project_id': 'c157d7bf65074f24a9a724d4410b400a'}} 2026-10-05 21:40:42,912 - INFO - Created VN ctest-ext_vn-04991081 2026-10-05 21:40:42,966 - DEBUG - VN ctest-ext_vn-04991081 UUID is af8bd206-2afe-4d57-86da-c83393a78ffc 2026-10-05 21:40:43,158 - DEBUG - Services list from nova: [, , ] 2026-10-05 21:40:43,461 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6348-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6348-1) 2026-10-05 21:40:43,810 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6348-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6348-1) 2026-10-05 21:40:43,874 - INFO - Setting gateway for router bada3032-9248-4c79-8317-9c03cc616236 to network af8bd206-2afe-4d57-86da-c83393a78ffc 2026-10-05 21:40:43,928 - INFO - Adding interface with subnet_id d1634d7c-1bd4-42ac-8aeb-32e99feb0c9b, port_id None to router bada3032-9248-4c79-8317-9c03cc616236 2026-10-05 21:40:44,202 - INFO - Waiting for VM ctest-TestRoutersBasic-62326238-05117160 to be up.. 2026-10-05 21:40:44,258 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 21:40:49,329 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 21:40:54,412 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 21:40:59,483 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 21:41:04,558 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 21:41:09,644 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 21:41:14,785 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 21:41:19,863 - DEBUG - VM is in ACTIVE state now 2026-10-05 21:41:19,864 - INFO - VM name : ctest-TestRoutersBasic-62326238-05117160 2026-10-05 21:41:19,938 - DEBUG - VM ctest-TestRoutersBasic-62326238-05117160 ID is 7bea4ca4-edf5-4493-88ed-754f99614aeb 2026-10-05 21:41:19,957 - DEBUG - VM ctest-TestRoutersBasic-62326238-05117160 launched on Node cn-jenkins-deploy-platform-ansible-os-6348-1 2026-10-05 21:41:20,028 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7bea4ca4-edf5-4493-88ed-754f99614aeb 2026-10-05 21:41:20,394 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7bea4ca4-edf5-4493-88ed-754f99614aeb 2026-10-05 21:41:20,422 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0d573529-07b9-4b25-9728-dbf695f1835e 2026-10-05 21:41:23,661 - 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 1002ms') 2026-10-05 21:41:23,661 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-62326238-05117160 failed! 2026-10-05 21:41:23,718 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-62326238:ctest-vn-38025133 is 46.247.129.129 and allocation pool is NOT set 2026-10-05 21:41:25,781 - 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=4.59 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.491 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.491/2.540/4.590/2.049 ms') 2026-10-05 21:41:25,781 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-62326238-05117160 passed 2026-10-05 21:41:25,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 21:41:25,930 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-62326238-05117160, IP 46.247.129.131, Port 22 2026-10-05 21:41:26,085 - DEBUG - VM ctest-TestRoutersBasic-62326238-05117160 is ready for SSH connections 2026-10-05 21:41:26,085 - INFO - Waiting for VM ctest-TestRoutersBasic-62326238-83120905 to be up.. 2026-10-05 21:41:26,157 - DEBUG - VM is in ACTIVE state now 2026-10-05 21:41:26,157 - INFO - VM name : ctest-TestRoutersBasic-62326238-83120905 2026-10-05 21:41:26,227 - DEBUG - VM ctest-TestRoutersBasic-62326238-83120905 ID is 606857ba-56c4-4a83-815e-62da99205219 2026-10-05 21:41:26,227 - DEBUG - VM ctest-TestRoutersBasic-62326238-83120905 launched on Node cn-jenkins-deploy-platform-ansible-os-6348-1 2026-10-05 21:41:26,295 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/606857ba-56c4-4a83-815e-62da99205219 2026-10-05 21:41:26,302 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4c722982-d088-41f0-b73e-514f555ab19c 2026-10-05 21:41:29,550 - 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 1006ms') 2026-10-05 21:41:29,550 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-62326238-83120905 failed! 2026-10-05 21:41:29,606 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-62326238:ctest-ext_vn-04991081 is 163.221.182.65 and allocation pool is NOT set 2026-10-05 21:41:31,670 - 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.67 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.775 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.775/2.220/3.665/1.445 ms') 2026-10-05 21:41:31,670 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-62326238-83120905 passed 2026-10-05 21:41:31,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 21:41:31,822 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-62326238-83120905, IP 163.221.182.68, Port 22 2026-10-05 21:41:31,977 - DEBUG - VM ctest-TestRoutersBasic-62326238-83120905 is ready for SSH connections 2026-10-05 21:41:31,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 21:41:31,978 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.221.182.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-10-05 21:41:31,978 - DEBUG - ping -s 56 -c 3 -W 1 163.221.182.68 2026-10-05 21:41:34,915 - DEBUG - PING 163.221.182.68 (163.221.182.68): 56 data bytes 64 bytes from 163.221.182.68: seq=0 ttl=62 time=7.653 ms 64 bytes from 163.221.182.68: seq=1 ttl=62 time=1.170 ms 64 bytes from 163.221.182.68: seq=2 ttl=62 time=1.096 ms --- 163.221.182.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.096/3.306/7.653 ms 2026-10-05 21:41:34,915 - INFO - Ping to IP 163.221.182.68 from VM ctest-TestRoutersBasic-62326238-05117160 passed 2026-10-05 21:41:34,915 - INFO - Deleting interface with subnet_id d1634d7c-1bd4-42ac-8aeb-32e99feb0c9b, port_id None from router bada3032-9248-4c79-8317-9c03cc616236 2026-10-05 21:41:35,169 - INFO - Deleting VM ctest-TestRoutersBasic-62326238-83120905 2026-10-05 21:41:35,241 - INFO - Deleting VM ctest-TestRoutersBasic-62326238-05117160 2026-10-05 21:41:35,313 - INFO - Deleting VN ctest-ext_vn-04991081 2026-10-05 21:41:35,379 - DEBUG - VN af8bd206-2afe-4d57-86da-c83393a78ffc still in use: Unable to complete operation on network af8bd206-2afe-4d57-86da-c83393a78ffc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1754bdeb-f266-45ff-aeae-f9a113fff119'] 2026-10-05 21:41:35,379 - WARNING - Deleting VN ctest-ext_vn-04991081 failed..Will retry 2026-10-05 21:41:37,505 - DEBUG - Response for deleting network () 2026-10-05 21:41:37,506 - INFO - Deleting VN ctest-vn-38025133 2026-10-05 21:41:37,608 - DEBUG - Response for deleting network () 2026-10-05 21:41:37,865 - DEBUG - No XMPP flaps were noticed during the test 2026-10-05 21:41:37,865 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:57] 2026-10-05 21:41:37,865 - INFO - -------------------------------------------------------------------------------- 2026-10-05 21:41:38,636 - INFO - Deleted project: ctest-TestRoutersBasic-62326238, ID : c157d7bf-6507-4f24-a9a7-24d4410b400a