2026-03-25 16:01:08,812 - INFO - Domain Default found not creating 2026-03-25 16:01:09,070 - INFO - Project ctest-TestRoutersBasic-85941823 not found, creating it 2026-03-25 16:01:09,640 - INFO - Created Project:ctest-TestRoutersBasic-85941823, ID : 76921225-734d-4fd8-aaa9-7093493f5211 2026-03-25 16:01:11,363 - INFO - ================================================================================ 2026-03-25 16:01:11,363 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-25 16:01:11,363 - 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-25 16:01:11,634 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2026-03-25 16:01:11,635 - INFO - Initial checks done. Running the testcase now 2026-03-25 16:01:11,635 - INFO - 2026-03-25 16:01:12,436 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-85941823 2026-03-25 16:01:12,545 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-85941823 2026-03-25 16:01:12,888 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85941823', 'default']} 2026-03-25 16:01:13,238 - DEBUG - Response for create_network : {'network': {'id': '49cac479-4db4-43df-9615-f8962820de88', 'name': 'ctest-vn-32126441', 'tenant_id': '76921225734d4fd8aaa97093493f5211', 'project_id': '76921225734d4fd8aaa97093493f5211', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85941823', 'ctest-vn-32126441'], 'port_security_enabled': True, 'description': ''}} 2026-03-25 16:01:13,463 - DEBUG - Response for create_subnet : {'subnet': {'id': '19535918-7314-49f0-8107-8936957ecf2d', 'name': '', 'tenant_id': '76921225734d4fd8aaa97093493f5211', 'network_id': '49cac479-4db4-43df-9615-f8962820de88', 'ip_version': 4, 'cidr': '18.107.106.192/26', 'allocation_pools': [{'start': '18.107.106.194', 'end': '18.107.106.254'}], 'gateway_ip': '18.107.106.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.107.106.194', 'tags': [], 'project_id': '76921225734d4fd8aaa97093493f5211'}} 2026-03-25 16:01:13,487 - INFO - Created VN ctest-vn-32126441 2026-03-25 16:01:13,545 - DEBUG - VN ctest-vn-32126441 UUID is 49cac479-4db4-43df-9615-f8962820de88 2026-03-25 16:01:14,021 - DEBUG - Response for create_network : {'network': {'id': 'cfe4534c-a71f-413d-866f-b7b5bd9f5b2e', 'name': 'ctest-ext_vn-87681114', 'tenant_id': '76921225734d4fd8aaa97093493f5211', 'project_id': '76921225734d4fd8aaa97093493f5211', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85941823', 'ctest-ext_vn-87681114'], 'port_security_enabled': True, 'description': ''}} 2026-03-25 16:01:14,269 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e1ac1c1-5a31-455d-bf59-42f29a3ef8e0', 'name': '', 'tenant_id': '76921225734d4fd8aaa97093493f5211', 'network_id': 'cfe4534c-a71f-413d-866f-b7b5bd9f5b2e', 'ip_version': 4, 'cidr': '177.142.136.192/26', 'allocation_pools': [{'start': '177.142.136.194', 'end': '177.142.136.254'}], 'gateway_ip': '177.142.136.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.142.136.194', 'tags': [], 'project_id': '76921225734d4fd8aaa97093493f5211'}} 2026-03-25 16:01:14,295 - INFO - Created VN ctest-ext_vn-87681114 2026-03-25 16:01:14,349 - DEBUG - VN ctest-ext_vn-87681114 UUID is cfe4534c-a71f-413d-866f-b7b5bd9f5b2e 2026-03-25 16:01:14,640 - DEBUG - Services list from nova: [, , ] 2026-03-25 16:01:15,918 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5540-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5540-1) 2026-03-25 16:01:17,399 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5540-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5540-1) 2026-03-25 16:01:17,474 - INFO - Setting gateway for router 52dd1209-aafd-4903-bf5a-cf98707ba79e to network cfe4534c-a71f-413d-866f-b7b5bd9f5b2e 2026-03-25 16:01:17,598 - INFO - Adding interface with subnet_id 19535918-7314-49f0-8107-8936957ecf2d, port_id None to router 52dd1209-aafd-4903-bf5a-cf98707ba79e 2026-03-25 16:01:18,018 - INFO - Waiting for VM ctest-TestRoutersBasic-85941823-74676324 to be up.. 2026-03-25 16:01:18,197 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-25 16:01:23,310 - DEBUG - VM is in ACTIVE state now 2026-03-25 16:01:23,310 - INFO - VM name : ctest-TestRoutersBasic-85941823-74676324 2026-03-25 16:01:23,421 - DEBUG - VM ctest-TestRoutersBasic-85941823-74676324 ID is b0d9e115-115b-4dfb-9659-b02b3d027e30 2026-03-25 16:01:23,447 - DEBUG - VM ctest-TestRoutersBasic-85941823-74676324 launched on Node cn-jenkins-deploy-platform-ansible-os-5540-1 2026-03-25 16:01:23,551 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/b0d9e115-115b-4dfb-9659-b02b3d027e30 2026-03-25 16:01:23,868 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/b0d9e115-115b-4dfb-9659-b02b3d027e30 2026-03-25 16:01:23,931 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/08311321-d1b0-40f8-89cb-32d1d1de8f9e 2026-03-25 16:01:27,231 - 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 1030ms') 2026-03-25 16:01:27,232 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-85941823-74676324 failed! 2026-03-25 16:01:27,294 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-85941823:ctest-vn-32126441 is 18.107.106.193 and allocation pool is NOT set 2026-03-25 16:01:29,361 - 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=8.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.863 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.863/4.649/8.436/3.786 ms') 2026-03-25 16:01:29,361 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-85941823-74676324 passed 2026-03-25 16:01:29,525 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-25 16:01:29,525 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-85941823-74676324, IP 18.107.106.195, Port 22 2026-03-25 16:01:29,702 - DEBUG - VM ctest-TestRoutersBasic-85941823-74676324 is ready for SSH connections 2026-03-25 16:01:29,703 - INFO - Waiting for VM ctest-TestRoutersBasic-85941823-14871758 to be up.. 2026-03-25 16:01:29,807 - DEBUG - VM is in ACTIVE state now 2026-03-25 16:01:29,807 - INFO - VM name : ctest-TestRoutersBasic-85941823-14871758 2026-03-25 16:01:29,931 - DEBUG - VM ctest-TestRoutersBasic-85941823-14871758 ID is a82d427e-3642-4a0e-95a5-ee0b55edfd08 2026-03-25 16:01:29,932 - DEBUG - VM ctest-TestRoutersBasic-85941823-14871758 launched on Node cn-jenkins-deploy-platform-ansible-os-5540-1 2026-03-25 16:01:30,052 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/a82d427e-3642-4a0e-95a5-ee0b55edfd08 2026-03-25 16:01:30,066 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/17f57e53-ffaa-42bb-83eb-b7c1fb9ea3d8 2026-03-25 16:01:31,343 - 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=8.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.29 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.292/5.815/8.339/2.523 ms') 2026-03-25 16:01:31,344 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-85941823-14871758 passed 2026-03-25 16:01:31,505 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-25 16:01:31,505 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-85941823-14871758, IP 177.142.136.195, Port 22 2026-03-25 16:01:31,576 - 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-25 16:01:31,704 - DEBUG - VM ctest-TestRoutersBasic-85941823-14871758 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-25 16:01:36,705 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-25 16:01:36,705 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-85941823-14871758, IP 177.142.136.195, Port 22 2026-03-25 16:01:36,911 - DEBUG - VM ctest-TestRoutersBasic-85941823-14871758 is ready for SSH connections 2026-03-25 16:01:36,911 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-25 16:01:36,911 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.142.136.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-03-25 16:01:36,911 - DEBUG - ping -s 56 -c 3 -W 1 177.142.136.195 2026-03-25 16:01:40,864 - DEBUG - PING 177.142.136.195 (177.142.136.195): 56 data bytes 64 bytes from 177.142.136.195: seq=0 ttl=62 time=5.499 ms 64 bytes from 177.142.136.195: seq=1 ttl=62 time=2.172 ms 64 bytes from 177.142.136.195: seq=2 ttl=62 time=2.272 ms --- 177.142.136.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 2.172/3.314/5.499 ms 2026-03-25 16:01:40,864 - INFO - Ping to IP 177.142.136.195 from VM ctest-TestRoutersBasic-85941823-74676324 passed 2026-03-25 16:01:40,864 - INFO - Deleting interface with subnet_id 19535918-7314-49f0-8107-8936957ecf2d, port_id None from router 52dd1209-aafd-4903-bf5a-cf98707ba79e 2026-03-25 16:01:41,152 - INFO - Deleting VM ctest-TestRoutersBasic-85941823-14871758 2026-03-25 16:01:41,241 - INFO - Deleting VM ctest-TestRoutersBasic-85941823-74676324 2026-03-25 16:01:41,339 - INFO - Deleting VN ctest-ext_vn-87681114 2026-03-25 16:01:41,434 - DEBUG - VN cfe4534c-a71f-413d-866f-b7b5bd9f5b2e still in use: Unable to complete operation on network cfe4534c-a71f-413d-866f-b7b5bd9f5b2e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dfbcc013-0bad-43c4-a2f7-d8a78b8efe19'] 2026-03-25 16:01:41,435 - WARNING - Deleting VN ctest-ext_vn-87681114 failed..Will retry 2026-03-25 16:01:43,635 - DEBUG - Response for deleting network () 2026-03-25 16:01:43,635 - INFO - Deleting VN ctest-vn-32126441 2026-03-25 16:01:43,758 - DEBUG - Response for deleting network () 2026-03-25 16:01:44,038 - DEBUG - No XMPP flaps were noticed during the test 2026-03-25 16:01:44,039 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:33] 2026-03-25 16:01:44,039 - INFO - -------------------------------------------------------------------------------- 2026-03-25 16:01:44,802 - INFO - Deleted project: ctest-TestRoutersBasic-85941823, ID : 76921225-734d-4fd8-aaa9-7093493f5211