2026-10-01 06:39:38,892 - INFO - Domain Default found not creating 2026-10-01 06:39:39,067 - INFO - Project ctest-TestRoutersBasic-71196471 not found, creating it 2026-10-01 06:39:39,553 - INFO - Created Project:ctest-TestRoutersBasic-71196471, ID : 7c066db8-9cf2-4ac7-98c8-dc79713ae42d 2026-10-01 06:39:41,401 - INFO - ================================================================================ 2026-10-01 06:39:41,401 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-01 06:39:41,401 - 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-01 06:39:41,670 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.25': '0'}} with 2026-10-01 06:39:41,670 - INFO - Initial checks done. Running the testcase now 2026-10-01 06:39:41,670 - INFO - 2026-10-01 06:39:42,537 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-71196471 2026-10-01 06:39:42,633 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-71196471 2026-10-01 06:39:42,960 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71196471', 'default']} 2026-10-01 06:39:43,274 - DEBUG - Response for create_network : {'network': {'id': '06f59e01-00d3-4a7f-b4ef-d4e24a3614c7', 'name': 'ctest-vn-67963711', 'tenant_id': '7c066db89cf24ac798c8dc79713ae42d', 'project_id': '7c066db89cf24ac798c8dc79713ae42d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71196471', 'ctest-vn-67963711'], 'port_security_enabled': True, 'description': ''}} 2026-10-01 06:39:43,517 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa9104e6-76f3-48c5-9dd5-f75cc9571980', 'name': '', 'tenant_id': '7c066db89cf24ac798c8dc79713ae42d', 'network_id': '06f59e01-00d3-4a7f-b4ef-d4e24a3614c7', 'ip_version': 4, 'cidr': '216.76.67.192/26', 'allocation_pools': [{'start': '216.76.67.194', 'end': '216.76.67.254'}], 'gateway_ip': '216.76.67.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.76.67.194', 'tags': [], 'project_id': '7c066db89cf24ac798c8dc79713ae42d'}} 2026-10-01 06:39:43,535 - INFO - Created VN ctest-vn-67963711 2026-10-01 06:39:43,589 - DEBUG - VN ctest-vn-67963711 UUID is 06f59e01-00d3-4a7f-b4ef-d4e24a3614c7 2026-10-01 06:39:43,917 - DEBUG - Response for create_network : {'network': {'id': '38cffa1d-33e7-4750-b89f-cf5ed7ef5ff2', 'name': 'ctest-ext_vn-98963568', 'tenant_id': '7c066db89cf24ac798c8dc79713ae42d', 'project_id': '7c066db89cf24ac798c8dc79713ae42d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71196471', 'ctest-ext_vn-98963568'], 'port_security_enabled': True, 'description': ''}} 2026-10-01 06:39:44,073 - DEBUG - Response for create_subnet : {'subnet': {'id': '50dc365d-70b8-444c-84ac-070a7d5d0d41', 'name': '', 'tenant_id': '7c066db89cf24ac798c8dc79713ae42d', 'network_id': '38cffa1d-33e7-4750-b89f-cf5ed7ef5ff2', 'ip_version': 4, 'cidr': '181.245.184.192/26', 'allocation_pools': [{'start': '181.245.184.194', 'end': '181.245.184.254'}], 'gateway_ip': '181.245.184.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.245.184.194', 'tags': [], 'project_id': '7c066db89cf24ac798c8dc79713ae42d'}} 2026-10-01 06:39:44,090 - INFO - Created VN ctest-ext_vn-98963568 2026-10-01 06:39:44,144 - DEBUG - VN ctest-ext_vn-98963568 UUID is 38cffa1d-33e7-4750-b89f-cf5ed7ef5ff2 2026-10-01 06:39:44,313 - DEBUG - Services list from nova: [, , ] 2026-10-01 06:39:44,655 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6335-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6335-1) 2026-10-01 06:39:45,047 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6335-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6335-1) 2026-10-01 06:39:45,117 - INFO - Setting gateway for router 452b7650-013e-4491-b68d-569133909362 to network 38cffa1d-33e7-4750-b89f-cf5ed7ef5ff2 2026-10-01 06:39:45,175 - INFO - Adding interface with subnet_id fa9104e6-76f3-48c5-9dd5-f75cc9571980, port_id None to router 452b7650-013e-4491-b68d-569133909362 2026-10-01 06:39:45,410 - INFO - Waiting for VM ctest-TestRoutersBasic-71196471-91375376 to be up.. 2026-10-01 06:39:45,473 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-01 06:39:50,558 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-01 06:39:55,658 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-01 06:40:00,805 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-01 06:40:05,890 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-01 06:40:10,969 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-01 06:40:16,053 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-01 06:40:21,126 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-01 06:40:26,202 - DEBUG - VM is in ACTIVE state now 2026-10-01 06:40:26,202 - INFO - VM name : ctest-TestRoutersBasic-71196471-91375376 2026-10-01 06:40:26,276 - DEBUG - VM ctest-TestRoutersBasic-71196471-91375376 ID is 3af968ba-e4b8-49e3-b7c7-6c9bfd9ee44e 2026-10-01 06:40:26,296 - DEBUG - VM ctest-TestRoutersBasic-71196471-91375376 launched on Node cn-jenkins-deploy-platform-ansible-os-6335-1 2026-10-01 06:40:26,369 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/3af968ba-e4b8-49e3-b7c7-6c9bfd9ee44e 2026-10-01 06:40:26,742 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/3af968ba-e4b8-49e3-b7c7-6c9bfd9ee44e 2026-10-01 06:40:26,775 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/2ccbdbaa-ab90-43ab-9884-ff882abf17e5 2026-10-01 06:40:28,023 - 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.81 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.457 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.457/2.631/4.805/2.174 ms') 2026-10-01 06:40:28,024 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-71196471-91375376 passed 2026-10-01 06:40:28,172 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-01 06:40:28,173 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71196471-91375376, IP 216.76.67.195, Port 22 2026-10-01 06:40:28,343 - DEBUG - VM ctest-TestRoutersBasic-71196471-91375376 is ready for SSH connections 2026-10-01 06:40:28,343 - INFO - Waiting for VM ctest-TestRoutersBasic-71196471-81189663 to be up.. 2026-10-01 06:40:28,427 - DEBUG - VM is in ACTIVE state now 2026-10-01 06:40:28,427 - INFO - VM name : ctest-TestRoutersBasic-71196471-81189663 2026-10-01 06:40:28,509 - DEBUG - VM ctest-TestRoutersBasic-71196471-81189663 ID is ecab89d5-a77e-4d01-a656-c76127376381 2026-10-01 06:40:28,510 - DEBUG - VM ctest-TestRoutersBasic-71196471-81189663 launched on Node cn-jenkins-deploy-platform-ansible-os-6335-1 2026-10-01 06:40:28,594 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/ecab89d5-a77e-4d01-a656-c76127376381 2026-10-01 06:40:28,604 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/bd209d6c-fb47-4ee3-99c9-7f6e128a3110 2026-10-01 06:40:31,860 - 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 1017ms') 2026-10-01 06:40:31,860 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-71196471-81189663 failed! 2026-10-01 06:40:31,916 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-71196471:ctest-ext_vn-98963568 is 181.245.184.193 and allocation pool is NOT set 2026-10-01 06:40:33,980 - 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.74 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.823 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.823/2.781/4.739/1.958 ms') 2026-10-01 06:40:33,980 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-71196471-81189663 passed 2026-10-01 06:40:34,132 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-01 06:40:34,132 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71196471-81189663, IP 181.245.184.196, Port 22 2026-10-01 06:40:34,198 - 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-10-01 06:40:34,282 - DEBUG - VM ctest-TestRoutersBasic-71196471-81189663 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-01 06:40:39,283 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-01 06:40:39,283 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71196471-81189663, IP 181.245.184.196, Port 22 2026-10-01 06:40:39,454 - DEBUG - VM ctest-TestRoutersBasic-71196471-81189663 is ready for SSH connections 2026-10-01 06:40:39,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-01 06:40:39,455 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.245.184.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-10-01 06:40:39,455 - DEBUG - ping -s 56 -c 3 -W 1 181.245.184.196 2026-10-01 06:40:42,454 - DEBUG - PING 181.245.184.196 (181.245.184.196): 56 data bytes 64 bytes from 181.245.184.196: seq=0 ttl=62 time=9.102 ms 64 bytes from 181.245.184.196: seq=1 ttl=62 time=1.057 ms 64 bytes from 181.245.184.196: seq=2 ttl=62 time=1.005 ms --- 181.245.184.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.005/3.721/9.102 ms 2026-10-01 06:40:42,454 - INFO - Ping to IP 181.245.184.196 from VM ctest-TestRoutersBasic-71196471-91375376 passed 2026-10-01 06:40:42,454 - INFO - Deleting interface with subnet_id fa9104e6-76f3-48c5-9dd5-f75cc9571980, port_id None from router 452b7650-013e-4491-b68d-569133909362 2026-10-01 06:40:42,694 - INFO - Deleting VM ctest-TestRoutersBasic-71196471-81189663 2026-10-01 06:40:42,778 - INFO - Deleting VM ctest-TestRoutersBasic-71196471-91375376 2026-10-01 06:40:42,857 - INFO - Deleting VN ctest-ext_vn-98963568 2026-10-01 06:40:42,928 - DEBUG - VN 38cffa1d-33e7-4750-b89f-cf5ed7ef5ff2 still in use: Unable to complete operation on network 38cffa1d-33e7-4750-b89f-cf5ed7ef5ff2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-75aef24d-aad8-45b2-9d27-7c96d86365ba'] 2026-10-01 06:40:42,928 - WARNING - Deleting VN ctest-ext_vn-98963568 failed..Will retry 2026-10-01 06:40:45,087 - DEBUG - Response for deleting network () 2026-10-01 06:40:45,087 - INFO - Deleting VN ctest-vn-67963711 2026-10-01 06:40:45,191 - DEBUG - Response for deleting network () 2026-10-01 06:40:45,451 - DEBUG - No XMPP flaps were noticed during the test 2026-10-01 06:40:45,451 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:04] 2026-10-01 06:40:45,451 - INFO - -------------------------------------------------------------------------------- 2026-10-01 06:40:46,275 - INFO - Deleted project: ctest-TestRoutersBasic-71196471, ID : 7c066db8-9cf2-4ac7-98c8-dc79713ae42d