2026-09-22 02:53:13,657 - INFO - Domain Default found not creating 2026-09-22 02:53:13,910 - INFO - Project ctest-TestRoutersBasic-29300047 not found, creating it 2026-09-22 02:53:14,551 - INFO - Created Project:ctest-TestRoutersBasic-29300047, ID : e19cf6fb-79f2-4068-b948-04985ef1b0b7 2026-09-22 02:53:16,583 - INFO - ================================================================================ 2026-09-22 02:53:16,583 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-22 02:53:16,583 - 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-09-22 02:53:16,875 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with 2026-09-22 02:53:16,875 - INFO - Initial checks done. Running the testcase now 2026-09-22 02:53:16,875 - INFO - 2026-09-22 02:53:17,734 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-29300047 2026-09-22 02:53:17,835 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-29300047 2026-09-22 02:53:18,183 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29300047', 'default']} 2026-09-22 02:53:18,538 - DEBUG - Response for create_network : {'network': {'id': 'bc151d2f-d1a6-45ad-87fd-2dbe12125e87', 'name': 'ctest-vn-26166689', 'tenant_id': 'e19cf6fb79f24068b94804985ef1b0b7', 'project_id': 'e19cf6fb79f24068b94804985ef1b0b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29300047', 'ctest-vn-26166689'], 'port_security_enabled': True, 'description': ''}} 2026-09-22 02:53:18,749 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b5e06f1-af5d-44e5-b71a-b02b10dcded0', 'name': '', 'tenant_id': 'e19cf6fb79f24068b94804985ef1b0b7', 'network_id': 'bc151d2f-d1a6-45ad-87fd-2dbe12125e87', 'ip_version': 4, 'cidr': '22.13.84.64/26', 'allocation_pools': [{'start': '22.13.84.66', 'end': '22.13.84.126'}], 'gateway_ip': '22.13.84.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.13.84.66', 'tags': [], 'project_id': 'e19cf6fb79f24068b94804985ef1b0b7'}} 2026-09-22 02:53:18,769 - INFO - Created VN ctest-vn-26166689 2026-09-22 02:53:18,827 - DEBUG - VN ctest-vn-26166689 UUID is bc151d2f-d1a6-45ad-87fd-2dbe12125e87 2026-09-22 02:53:19,230 - DEBUG - Response for create_network : {'network': {'id': '2e71af0a-10d1-4cbf-9869-2fb310388bd4', 'name': 'ctest-ext_vn-85675989', 'tenant_id': 'e19cf6fb79f24068b94804985ef1b0b7', 'project_id': 'e19cf6fb79f24068b94804985ef1b0b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29300047', 'ctest-ext_vn-85675989'], 'port_security_enabled': True, 'description': ''}} 2026-09-22 02:53:19,462 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b663d1a0-ef93-49d4-bb72-beb2ef64d5f1', 'name': '', 'tenant_id': 'e19cf6fb79f24068b94804985ef1b0b7', 'network_id': '2e71af0a-10d1-4cbf-9869-2fb310388bd4', 'ip_version': 4, 'cidr': '4.67.19.0/26', 'allocation_pools': [{'start': '4.67.19.2', 'end': '4.67.19.62'}], 'gateway_ip': '4.67.19.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.67.19.2', 'tags': [], 'project_id': 'e19cf6fb79f24068b94804985ef1b0b7'}} 2026-09-22 02:53:19,483 - INFO - Created VN ctest-ext_vn-85675989 2026-09-22 02:53:19,539 - DEBUG - VN ctest-ext_vn-85675989 UUID is 2e71af0a-10d1-4cbf-9869-2fb310388bd4 2026-09-22 02:53:19,737 - DEBUG - Services list from nova: [, , ] 2026-09-22 02:53:20,187 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6317-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6317-1) 2026-09-22 02:53:20,649 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6317-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6317-1) 2026-09-22 02:53:20,754 - INFO - Setting gateway for router 3fb55c24-5f4e-4741-ac41-b2d5a53b67af to network 2e71af0a-10d1-4cbf-9869-2fb310388bd4 2026-09-22 02:53:20,827 - INFO - Adding interface with subnet_id 4b5e06f1-af5d-44e5-b71a-b02b10dcded0, port_id None to router 3fb55c24-5f4e-4741-ac41-b2d5a53b67af 2026-09-22 02:53:21,178 - INFO - Waiting for VM ctest-TestRoutersBasic-29300047-13755109 to be up.. 2026-09-22 02:53:21,261 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 02:53:26,355 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 02:53:31,541 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 02:53:36,641 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 02:53:41,756 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 02:53:46,863 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 02:53:51,954 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 02:53:57,047 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 02:54:02,141 - DEBUG - VM is in ACTIVE state now 2026-09-22 02:54:02,142 - INFO - VM name : ctest-TestRoutersBasic-29300047-13755109 2026-09-22 02:54:02,235 - DEBUG - VM ctest-TestRoutersBasic-29300047-13755109 ID is a1d70144-e491-436c-98fd-94c0eeb0edc8 2026-09-22 02:54:02,258 - DEBUG - VM ctest-TestRoutersBasic-29300047-13755109 launched on Node cn-jenkins-deploy-platform-ansible-os-6317-1 2026-09-22 02:54:02,352 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/a1d70144-e491-436c-98fd-94c0eeb0edc8 2026-09-22 02:54:02,704 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/a1d70144-e491-436c-98fd-94c0eeb0edc8 2026-09-22 02:54:02,743 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/56fbfa35-bc8f-4805-8540-ae9f763b0e6d 2026-09-22 02:54:06,029 - 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 1029ms') 2026-09-22 02:54:06,030 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-29300047-13755109 failed! 2026-09-22 02:54:06,087 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-29300047:ctest-vn-26166689 is 22.13.84.65 and allocation pool is NOT set 2026-09-22 02:54:08,151 - 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=3.32 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.548 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.548/1.932/3.317/1.384 ms') 2026-09-22 02:54:08,151 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-29300047-13755109 passed 2026-09-22 02:54:08,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-22 02:54:08,311 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29300047-13755109, IP 22.13.84.67, Port 22 2026-09-22 02:54:08,484 - DEBUG - VM ctest-TestRoutersBasic-29300047-13755109 is ready for SSH connections 2026-09-22 02:54:08,485 - INFO - Waiting for VM ctest-TestRoutersBasic-29300047-77532260 to be up.. 2026-09-22 02:54:08,571 - DEBUG - VM is in ACTIVE state now 2026-09-22 02:54:08,571 - INFO - VM name : ctest-TestRoutersBasic-29300047-77532260 2026-09-22 02:54:08,653 - DEBUG - VM ctest-TestRoutersBasic-29300047-77532260 ID is 3fe11d6a-f00d-492f-b02d-72e894ea67d9 2026-09-22 02:54:08,653 - DEBUG - VM ctest-TestRoutersBasic-29300047-77532260 launched on Node cn-jenkins-deploy-platform-ansible-os-6317-1 2026-09-22 02:54:08,749 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/3fe11d6a-f00d-492f-b02d-72e894ea67d9 2026-09-22 02:54:08,761 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/cda98777-ac0b-4134-a8b5-3c4a6bdcf906 2026-09-22 02:54:10,009 - 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=4.28 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=1.06 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 = 1.059/2.670/4.281/1.611 ms') 2026-09-22 02:54:10,009 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-29300047-77532260 passed 2026-09-22 02:54:10,163 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-22 02:54:10,163 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29300047-77532260, IP 4.67.19.4, Port 22 2026-09-22 02:54:10,229 - DEBUG - Error on ssh to cirros@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-09-22 02:54:10,309 - DEBUG - VM ctest-TestRoutersBasic-29300047-77532260 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-22 02:54:15,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-22 02:54:15,311 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29300047-77532260, IP 4.67.19.4, Port 22 2026-09-22 02:54:15,475 - DEBUG - VM ctest-TestRoutersBasic-29300047-77532260 is ready for SSH connections 2026-09-22 02:54:15,475 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-22 02:54:15,476 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.67.19.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-09-22 02:54:15,476 - DEBUG - ping -s 56 -c 3 -W 1 4.67.19.4 2026-09-22 02:54:18,528 - DEBUG - PING 4.67.19.4 (4.67.19.4): 56 data bytes 64 bytes from 4.67.19.4: seq=0 ttl=62 time=6.969 ms 64 bytes from 4.67.19.4: seq=1 ttl=62 time=1.486 ms 64 bytes from 4.67.19.4: seq=2 ttl=62 time=1.451 ms --- 4.67.19.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.451/3.302/6.969 ms 2026-09-22 02:54:18,528 - INFO - Ping to IP 4.67.19.4 from VM ctest-TestRoutersBasic-29300047-13755109 passed 2026-09-22 02:54:18,529 - INFO - Deleting interface with subnet_id 4b5e06f1-af5d-44e5-b71a-b02b10dcded0, port_id None from router 3fb55c24-5f4e-4741-ac41-b2d5a53b67af 2026-09-22 02:54:18,797 - INFO - Deleting VM ctest-TestRoutersBasic-29300047-77532260 2026-09-22 02:54:18,904 - INFO - Deleting VM ctest-TestRoutersBasic-29300047-13755109 2026-09-22 02:54:18,991 - INFO - Deleting VN ctest-ext_vn-85675989 2026-09-22 02:54:19,079 - DEBUG - VN 2e71af0a-10d1-4cbf-9869-2fb310388bd4 still in use: Unable to complete operation on network 2e71af0a-10d1-4cbf-9869-2fb310388bd4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e302a4f8-ae90-4d44-9440-f90280700a2e'] 2026-09-22 02:54:19,079 - WARNING - Deleting VN ctest-ext_vn-85675989 failed..Will retry 2026-09-22 02:54:21,146 - DEBUG - VN 2e71af0a-10d1-4cbf-9869-2fb310388bd4 still in use: Unable to complete operation on network 2e71af0a-10d1-4cbf-9869-2fb310388bd4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8184b559-4bb9-412c-aa44-e060e70162b7'] 2026-09-22 02:54:21,146 - WARNING - Deleting VN ctest-ext_vn-85675989 failed..Will retry 2026-09-22 02:54:23,328 - DEBUG - Response for deleting network () 2026-09-22 02:54:23,328 - INFO - Deleting VN ctest-vn-26166689 2026-09-22 02:54:23,486 - DEBUG - Response for deleting network () 2026-09-22 02:54:23,766 - DEBUG - No XMPP flaps were noticed during the test 2026-09-22 02:54:23,766 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:07] 2026-09-22 02:54:23,767 - INFO - -------------------------------------------------------------------------------- 2026-09-22 02:54:24,619 - INFO - Deleted project: ctest-TestRoutersBasic-29300047, ID : e19cf6fb-79f2-4068-b948-04985ef1b0b7