2026-11-01 20:40:14,309 - INFO - Domain Default found not creating 2026-11-01 20:40:14,486 - INFO - Project ctest-TestRoutersBasic-32726569 not found, creating it 2026-11-01 20:40:14,988 - INFO - Created Project:ctest-TestRoutersBasic-32726569, ID : 5cad5818-9a1b-401f-b444-eb81f825b1d3 2026-11-01 20:40:16,547 - INFO - ================================================================================ 2026-11-01 20:40:16,547 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-01 20:40:16,547 - 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-11-01 20:40:16,811 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.25': '0'}} with 2026-11-01 20:40:16,811 - INFO - Initial checks done. Running the testcase now 2026-11-01 20:40:16,812 - INFO - 2026-11-01 20:40:17,547 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-32726569 2026-11-01 20:40:17,641 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-32726569 2026-11-01 20:40:17,961 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32726569', 'default']} 2026-11-01 20:40:18,242 - DEBUG - Response for create_network : {'network': {'id': '5b8af1e1-83a6-43ca-a54e-54d60f40bc06', 'name': 'ctest-vn-39901316', 'tenant_id': '5cad58189a1b401fb444eb81f825b1d3', 'project_id': '5cad58189a1b401fb444eb81f825b1d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32726569', 'ctest-vn-39901316'], 'port_security_enabled': True, 'description': ''}} 2026-11-01 20:40:18,440 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1ce4363-d12d-4148-a993-b11b6e4999d8', 'name': '', 'tenant_id': '5cad58189a1b401fb444eb81f825b1d3', 'network_id': '5b8af1e1-83a6-43ca-a54e-54d60f40bc06', 'ip_version': 4, 'cidr': '79.181.132.192/26', 'allocation_pools': [{'start': '79.181.132.194', 'end': '79.181.132.254'}], 'gateway_ip': '79.181.132.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.181.132.194', 'tags': [], 'project_id': '5cad58189a1b401fb444eb81f825b1d3'}} 2026-11-01 20:40:18,454 - INFO - Created VN ctest-vn-39901316 2026-11-01 20:40:18,505 - DEBUG - VN ctest-vn-39901316 UUID is 5b8af1e1-83a6-43ca-a54e-54d60f40bc06 2026-11-01 20:40:18,826 - DEBUG - Response for create_network : {'network': {'id': 'a5499622-5ee9-441c-8690-31393d1c9efd', 'name': 'ctest-ext_vn-60957826', 'tenant_id': '5cad58189a1b401fb444eb81f825b1d3', 'project_id': '5cad58189a1b401fb444eb81f825b1d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32726569', 'ctest-ext_vn-60957826'], 'port_security_enabled': True, 'description': ''}} 2026-11-01 20:40:19,009 - DEBUG - Response for create_subnet : {'subnet': {'id': '6bcea428-5daf-46e2-bd24-ec443a55d6a1', 'name': '', 'tenant_id': '5cad58189a1b401fb444eb81f825b1d3', 'network_id': 'a5499622-5ee9-441c-8690-31393d1c9efd', 'ip_version': 4, 'cidr': '167.153.233.64/26', 'allocation_pools': [{'start': '167.153.233.66', 'end': '167.153.233.126'}], 'gateway_ip': '167.153.233.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.153.233.66', 'tags': [], 'project_id': '5cad58189a1b401fb444eb81f825b1d3'}} 2026-11-01 20:40:19,022 - INFO - Created VN ctest-ext_vn-60957826 2026-11-01 20:40:19,073 - DEBUG - VN ctest-ext_vn-60957826 UUID is a5499622-5ee9-441c-8690-31393d1c9efd 2026-11-01 20:40:19,255 - DEBUG - Services list from nova: [, , ] 2026-11-01 20:40:19,551 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6459-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6459-1) 2026-11-01 20:40:20,007 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6459-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6459-1) 2026-11-01 20:40:20,071 - INFO - Setting gateway for router d678d447-acab-479c-a6c1-b714b12e7246 to network a5499622-5ee9-441c-8690-31393d1c9efd 2026-11-01 20:40:20,132 - INFO - Adding interface with subnet_id c1ce4363-d12d-4148-a993-b11b6e4999d8, port_id None to router d678d447-acab-479c-a6c1-b714b12e7246 2026-11-01 20:40:20,382 - INFO - Waiting for VM ctest-TestRoutersBasic-32726569-41257723 to be up.. 2026-11-01 20:40:20,430 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 20:40:25,516 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 20:40:30,587 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 20:40:35,654 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 20:40:40,724 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 20:40:45,792 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 20:40:50,908 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 20:40:55,989 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-01 20:41:01,075 - DEBUG - VM is in ACTIVE state now 2026-11-01 20:41:01,075 - INFO - VM name : ctest-TestRoutersBasic-32726569-41257723 2026-11-01 20:41:01,152 - DEBUG - VM ctest-TestRoutersBasic-32726569-41257723 ID is 38765e76-ff3a-46cd-af27-e082c328a582 2026-11-01 20:41:01,171 - DEBUG - VM ctest-TestRoutersBasic-32726569-41257723 launched on Node cn-jenkins-deploy-platform-ansible-os-6459-1 2026-11-01 20:41:01,237 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/38765e76-ff3a-46cd-af27-e082c328a582 2026-11-01 20:41:01,557 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/38765e76-ff3a-46cd-af27-e082c328a582 2026-11-01 20:41:01,589 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/03ff51f3-b633-43eb-8f1b-c5c321d314e1 2026-11-01 20:41:02,828 - 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=5.05 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.30 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.298/3.175/5.053/1.877 ms') 2026-11-01 20:41:02,829 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-32726569-41257723 passed 2026-11-01 20:41:02,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-01 20:41:02,985 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32726569-41257723, IP 79.181.132.195, Port 22 2026-11-01 20:41:03,051 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-11-01 20:41:03,135 - DEBUG - VM ctest-TestRoutersBasic-32726569-41257723 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-01 20:41:08,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-01 20:41:08,135 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32726569-41257723, IP 79.181.132.195, Port 22 2026-11-01 20:41:08,305 - DEBUG - VM ctest-TestRoutersBasic-32726569-41257723 is ready for SSH connections 2026-11-01 20:41:08,305 - INFO - Waiting for VM ctest-TestRoutersBasic-32726569-96579988 to be up.. 2026-11-01 20:41:08,386 - DEBUG - VM is in ACTIVE state now 2026-11-01 20:41:08,386 - INFO - VM name : ctest-TestRoutersBasic-32726569-96579988 2026-11-01 20:41:08,455 - DEBUG - VM ctest-TestRoutersBasic-32726569-96579988 ID is 27693d77-b2b4-449d-8c69-529976cabdfe 2026-11-01 20:41:08,455 - DEBUG - VM ctest-TestRoutersBasic-32726569-96579988 launched on Node cn-jenkins-deploy-platform-ansible-os-6459-1 2026-11-01 20:41:08,530 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/27693d77-b2b4-449d-8c69-529976cabdfe 2026-11-01 20:41:08,543 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/1547cd97-cc7b-43c9-b20e-093ec022a112 2026-11-01 20:41:09,791 - 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.13 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.357 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.357/1.744/3.131/1.387 ms') 2026-11-01 20:41:09,791 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-32726569-96579988 passed 2026-11-01 20:41:09,941 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-01 20:41:09,941 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32726569-96579988, IP 167.153.233.68, Port 22 2026-11-01 20:41:10,093 - DEBUG - VM ctest-TestRoutersBasic-32726569-96579988 is ready for SSH connections 2026-11-01 20:41:10,093 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-01 20:41:10,093 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.153.233.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-11-01 20:41:10,093 - DEBUG - ping -s 56 -c 3 -W 1 167.153.233.68 2026-11-01 20:41:13,000 - DEBUG - PING 167.153.233.68 (167.153.233.68): 56 data bytes 64 bytes from 167.153.233.68: seq=0 ttl=62 time=4.573 ms 64 bytes from 167.153.233.68: seq=1 ttl=62 time=0.931 ms 64 bytes from 167.153.233.68: seq=2 ttl=62 time=1.678 ms --- 167.153.233.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.931/2.394/4.573 ms 2026-11-01 20:41:13,001 - INFO - Ping to IP 167.153.233.68 from VM ctest-TestRoutersBasic-32726569-41257723 passed 2026-11-01 20:41:13,001 - INFO - Deleting interface with subnet_id c1ce4363-d12d-4148-a993-b11b6e4999d8, port_id None from router d678d447-acab-479c-a6c1-b714b12e7246 2026-11-01 20:41:13,202 - INFO - Deleting VM ctest-TestRoutersBasic-32726569-96579988 2026-11-01 20:41:13,413 - INFO - Deleting VM ctest-TestRoutersBasic-32726569-41257723 2026-11-01 20:41:13,482 - INFO - Deleting VN ctest-ext_vn-60957826 2026-11-01 20:41:13,584 - DEBUG - VN a5499622-5ee9-441c-8690-31393d1c9efd still in use: Unable to complete operation on network a5499622-5ee9-441c-8690-31393d1c9efd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f3975b7a-cf1d-4907-ac82-07e2ee2db2f1'] 2026-11-01 20:41:13,584 - WARNING - Deleting VN ctest-ext_vn-60957826 failed..Will retry 2026-11-01 20:41:15,660 - DEBUG - VN a5499622-5ee9-441c-8690-31393d1c9efd still in use: Unable to complete operation on network a5499622-5ee9-441c-8690-31393d1c9efd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-71c87387-3919-48ac-94bb-9a5cbb8467e9'] 2026-11-01 20:41:15,660 - WARNING - Deleting VN ctest-ext_vn-60957826 failed..Will retry 2026-11-01 20:41:17,806 - DEBUG - Response for deleting network () 2026-11-01 20:41:17,806 - INFO - Deleting VN ctest-vn-39901316 2026-11-01 20:41:17,902 - DEBUG - Response for deleting network () 2026-11-01 20:41:18,158 - DEBUG - No XMPP flaps were noticed during the test 2026-11-01 20:41:18,158 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:02] 2026-11-01 20:41:18,158 - INFO - -------------------------------------------------------------------------------- 2026-11-01 20:41:18,909 - INFO - Deleted project: ctest-TestRoutersBasic-32726569, ID : 5cad5818-9a1b-401f-b444-eb81f825b1d3