2026-03-02 02:08:15,805 - INFO - Domain Default found not creating 2026-03-02 02:08:16,030 - INFO - Project ctest-TestRoutersBasic-40909480 not found, creating it 2026-03-02 02:08:16,559 - INFO - Created Project:ctest-TestRoutersBasic-40909480, ID : 8486a9e7-d2f1-44c9-8e95-4b48be99c94c 2026-03-02 02:08:18,231 - INFO - ================================================================================ 2026-03-02 02:08:18,231 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-02 02:08:18,231 - 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-03-02 02:08:18,492 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.18': '0'}} with 2026-03-02 02:08:18,492 - INFO - Initial checks done. Running the testcase now 2026-03-02 02:08:18,492 - INFO - 2026-03-02 02:08:19,345 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-40909480 2026-03-02 02:08:19,442 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-40909480 2026-03-02 02:08:19,770 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40909480', 'default']} 2026-03-02 02:08:20,069 - DEBUG - Response for create_network : {'network': {'id': 'aba4aa81-3e8c-4c87-9ef5-aaa98589b1fe', 'name': 'ctest-vn-68185614', 'tenant_id': '8486a9e7d2f144c98e954b48be99c94c', 'project_id': '8486a9e7d2f144c98e954b48be99c94c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40909480', 'ctest-vn-68185614'], 'port_security_enabled': True, 'description': ''}} 2026-03-02 02:08:20,273 - DEBUG - Response for create_subnet : {'subnet': {'id': '50577f97-698a-4599-8479-ebf764c17eea', 'name': '', 'tenant_id': '8486a9e7d2f144c98e954b48be99c94c', 'network_id': 'aba4aa81-3e8c-4c87-9ef5-aaa98589b1fe', 'ip_version': 4, 'cidr': '73.83.167.0/26', 'allocation_pools': [{'start': '73.83.167.2', 'end': '73.83.167.62'}], 'gateway_ip': '73.83.167.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.83.167.2', 'tags': [], 'project_id': '8486a9e7d2f144c98e954b48be99c94c'}} 2026-03-02 02:08:20,293 - INFO - Created VN ctest-vn-68185614 2026-03-02 02:08:20,346 - DEBUG - VN ctest-vn-68185614 UUID is aba4aa81-3e8c-4c87-9ef5-aaa98589b1fe 2026-03-02 02:08:20,729 - DEBUG - Response for create_network : {'network': {'id': '7ba5f8fc-7916-411d-accc-a1ef147c6ac9', 'name': 'ctest-ext_vn-03172356', 'tenant_id': '8486a9e7d2f144c98e954b48be99c94c', 'project_id': '8486a9e7d2f144c98e954b48be99c94c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40909480', 'ctest-ext_vn-03172356'], 'port_security_enabled': True, 'description': ''}} 2026-03-02 02:08:20,920 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b4e96a8-b3c4-406a-91eb-7014d11b5b8e', 'name': '', 'tenant_id': '8486a9e7d2f144c98e954b48be99c94c', 'network_id': '7ba5f8fc-7916-411d-accc-a1ef147c6ac9', 'ip_version': 4, 'cidr': '148.117.68.0/26', 'allocation_pools': [{'start': '148.117.68.2', 'end': '148.117.68.62'}], 'gateway_ip': '148.117.68.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.117.68.2', 'tags': [], 'project_id': '8486a9e7d2f144c98e954b48be99c94c'}} 2026-03-02 02:08:20,943 - INFO - Created VN ctest-ext_vn-03172356 2026-03-02 02:08:20,997 - DEBUG - VN ctest-ext_vn-03172356 UUID is 7ba5f8fc-7916-411d-accc-a1ef147c6ac9 2026-03-02 02:08:21,172 - DEBUG - Services list from nova: [, , ] 2026-03-02 02:08:22,315 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5414-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5414-1) 2026-03-02 02:08:23,566 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5414-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5414-1) 2026-03-02 02:08:23,649 - INFO - Setting gateway for router b5852a2f-c2ce-485c-942a-31c6c9167cca to network 7ba5f8fc-7916-411d-accc-a1ef147c6ac9 2026-03-02 02:08:23,756 - INFO - Adding interface with subnet_id 50577f97-698a-4599-8479-ebf764c17eea, port_id None to router b5852a2f-c2ce-485c-942a-31c6c9167cca 2026-03-02 02:08:24,156 - INFO - Waiting for VM ctest-TestRoutersBasic-40909480-84381315 to be up.. 2026-03-02 02:08:24,312 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-02 02:08:29,391 - DEBUG - VM is in ACTIVE state now 2026-03-02 02:08:29,391 - INFO - VM name : ctest-TestRoutersBasic-40909480-84381315 2026-03-02 02:08:29,472 - DEBUG - VM ctest-TestRoutersBasic-40909480-84381315 ID is ccbac5bc-a195-4fe9-b2fa-781e007b8f9e 2026-03-02 02:08:29,496 - DEBUG - VM ctest-TestRoutersBasic-40909480-84381315 launched on Node cn-jenkins-deploy-platform-ansible-os-5414-1 2026-03-02 02:08:29,577 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/ccbac5bc-a195-4fe9-b2fa-781e007b8f9e 2026-03-02 02:08:29,917 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/ccbac5bc-a195-4fe9-b2fa-781e007b8f9e 2026-03-02 02:08:29,951 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/0ecf89f8-d09b-40d3-8297-2b9734fbafb5 2026-03-02 02:08:33,206 - 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 1005ms') 2026-03-02 02:08:33,206 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40909480-84381315 failed! 2026-03-02 02:08:33,261 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-40909480:ctest-vn-68185614 is 73.83.167.1 and allocation pool is NOT set 2026-03-02 02:08:35,330 - 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=3.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.462 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.462/1.940/3.418/1.478 ms') 2026-03-02 02:08:35,331 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40909480-84381315 passed 2026-03-02 02:08:35,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-02 02:08:35,482 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40909480-84381315, IP 73.83.167.3, Port 22 2026-03-02 02:08:35,636 - DEBUG - VM ctest-TestRoutersBasic-40909480-84381315 is ready for SSH connections 2026-03-02 02:08:35,637 - INFO - Waiting for VM ctest-TestRoutersBasic-40909480-30904751 to be up.. 2026-03-02 02:08:35,737 - DEBUG - VM is in ACTIVE state now 2026-03-02 02:08:35,737 - INFO - VM name : ctest-TestRoutersBasic-40909480-30904751 2026-03-02 02:08:35,823 - DEBUG - VM ctest-TestRoutersBasic-40909480-30904751 ID is 66406e25-be4e-4292-853e-5cb5dc619b19 2026-03-02 02:08:35,823 - DEBUG - VM ctest-TestRoutersBasic-40909480-30904751 launched on Node cn-jenkins-deploy-platform-ansible-os-5414-1 2026-03-02 02:08:35,908 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/66406e25-be4e-4292-853e-5cb5dc619b19 2026-03-02 02:08:35,917 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/7bddc9bd-e06b-4a31-817b-4e5731ef1fac 2026-03-02 02:08:37,159 - 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=4.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.74 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 = 3.739/4.085/4.431/0.346 ms') 2026-03-02 02:08:37,159 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-40909480-30904751 passed 2026-03-02 02:08:37,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-02 02:08:37,313 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40909480-30904751, IP 148.117.68.3, Port 22 2026-03-02 02:08:37,379 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-03-02 02:08:37,467 - DEBUG - VM ctest-TestRoutersBasic-40909480-30904751 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-02 02:08:42,467 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-02 02:08:42,468 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40909480-30904751, IP 148.117.68.3, Port 22 2026-03-02 02:08:42,625 - DEBUG - VM ctest-TestRoutersBasic-40909480-30904751 is ready for SSH connections 2026-03-02 02:08:42,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-02 02:08:42,626 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.117.68.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-03-02 02:08:42,626 - DEBUG - ping -s 56 -c 3 -W 1 148.117.68.3 2026-03-02 02:08:46,451 - DEBUG - PING 148.117.68.3 (148.117.68.3): 56 data bytes 64 bytes from 148.117.68.3: seq=0 ttl=62 time=6.680 ms 64 bytes from 148.117.68.3: seq=1 ttl=62 time=0.989 ms 64 bytes from 148.117.68.3: seq=2 ttl=62 time=0.952 ms --- 148.117.68.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.952/2.873/6.680 ms 2026-03-02 02:08:46,451 - INFO - Ping to IP 148.117.68.3 from VM ctest-TestRoutersBasic-40909480-84381315 passed 2026-03-02 02:08:46,451 - INFO - Deleting interface with subnet_id 50577f97-698a-4599-8479-ebf764c17eea, port_id None from router b5852a2f-c2ce-485c-942a-31c6c9167cca 2026-03-02 02:08:46,671 - INFO - Deleting VM ctest-TestRoutersBasic-40909480-30904751 2026-03-02 02:08:46,749 - INFO - Deleting VM ctest-TestRoutersBasic-40909480-84381315 2026-03-02 02:08:46,841 - INFO - Deleting VN ctest-ext_vn-03172356 2026-03-02 02:08:46,935 - DEBUG - VN 7ba5f8fc-7916-411d-accc-a1ef147c6ac9 still in use: Unable to complete operation on network 7ba5f8fc-7916-411d-accc-a1ef147c6ac9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-deff92e2-77db-432f-874c-8d5ff8427dfe'] 2026-03-02 02:08:46,935 - WARNING - Deleting VN ctest-ext_vn-03172356 failed..Will retry 2026-03-02 02:08:49,031 - DEBUG - Response for deleting network () 2026-03-02 02:08:49,031 - INFO - Deleting VN ctest-vn-68185614 2026-03-02 02:08:49,135 - DEBUG - Response for deleting network () 2026-03-02 02:08:49,391 - DEBUG - No XMPP flaps were noticed during the test 2026-03-02 02:08:49,391 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31] 2026-03-02 02:08:49,391 - INFO - -------------------------------------------------------------------------------- 2026-03-02 02:08:50,387 - INFO - Deleted project: ctest-TestRoutersBasic-40909480, ID : 8486a9e7-d2f1-44c9-8e95-4b48be99c94c