2026-09-17 19:39:12,397 - INFO - Domain Default found not creating 2026-09-17 19:39:12,586 - INFO - Project ctest-TestRoutersBasic-53671656 not found, creating it 2026-09-17 19:39:13,064 - INFO - Created Project:ctest-TestRoutersBasic-53671656, ID : 6a2b118c-d351-4886-95ec-7bbbc50000f5 2026-09-17 19:39:14,728 - INFO - ================================================================================ 2026-09-17 19:39:14,729 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-17 19:39:14,729 - 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-17 19:39:15,010 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.25': '0'}} with 2026-09-17 19:39:15,010 - INFO - Initial checks done. Running the testcase now 2026-09-17 19:39:15,010 - INFO - 2026-09-17 19:39:15,780 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-53671656 2026-09-17 19:39:15,876 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-53671656 2026-09-17 19:39:16,203 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53671656', 'default']} 2026-09-17 19:39:16,505 - DEBUG - Response for create_network : {'network': {'id': '7a211069-4663-4db0-987b-901a6d25384d', 'name': 'ctest-vn-76119365', 'tenant_id': '6a2b118cd351488695ec7bbbc50000f5', 'project_id': '6a2b118cd351488695ec7bbbc50000f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53671656', 'ctest-vn-76119365'], 'port_security_enabled': True, 'description': ''}} 2026-09-17 19:39:16,714 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a63474a-1de9-4113-9542-c23e5817e551', 'name': '', 'tenant_id': '6a2b118cd351488695ec7bbbc50000f5', 'network_id': '7a211069-4663-4db0-987b-901a6d25384d', 'ip_version': 4, 'cidr': '167.13.216.128/26', 'allocation_pools': [{'start': '167.13.216.130', 'end': '167.13.216.190'}], 'gateway_ip': '167.13.216.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.13.216.130', 'tags': [], 'project_id': '6a2b118cd351488695ec7bbbc50000f5'}} 2026-09-17 19:39:16,731 - INFO - Created VN ctest-vn-76119365 2026-09-17 19:39:16,783 - DEBUG - VN ctest-vn-76119365 UUID is 7a211069-4663-4db0-987b-901a6d25384d 2026-09-17 19:39:17,132 - DEBUG - Response for create_network : {'network': {'id': '6bc46887-94a3-4228-a73d-76094b0988b0', 'name': 'ctest-ext_vn-77487857', 'tenant_id': '6a2b118cd351488695ec7bbbc50000f5', 'project_id': '6a2b118cd351488695ec7bbbc50000f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53671656', 'ctest-ext_vn-77487857'], 'port_security_enabled': True, 'description': ''}} 2026-09-17 19:39:17,343 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b8c7e7bc-2bde-42ed-8b57-52cb69e778c7', 'name': '', 'tenant_id': '6a2b118cd351488695ec7bbbc50000f5', 'network_id': '6bc46887-94a3-4228-a73d-76094b0988b0', 'ip_version': 4, 'cidr': '68.209.109.0/26', 'allocation_pools': [{'start': '68.209.109.2', 'end': '68.209.109.62'}], 'gateway_ip': '68.209.109.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.209.109.2', 'tags': [], 'project_id': '6a2b118cd351488695ec7bbbc50000f5'}} 2026-09-17 19:39:17,361 - INFO - Created VN ctest-ext_vn-77487857 2026-09-17 19:39:17,412 - DEBUG - VN ctest-ext_vn-77487857 UUID is 6bc46887-94a3-4228-a73d-76094b0988b0 2026-09-17 19:39:17,590 - DEBUG - Services list from nova: [, , ] 2026-09-17 19:39:17,946 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6305-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6305-1) 2026-09-17 19:39:18,328 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6305-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6305-1) 2026-09-17 19:39:18,410 - INFO - Setting gateway for router 3ce7b4ed-8d1c-402c-bd60-718ef0f5f59c to network 6bc46887-94a3-4228-a73d-76094b0988b0 2026-09-17 19:39:18,483 - INFO - Adding interface with subnet_id 8a63474a-1de9-4113-9542-c23e5817e551, port_id None to router 3ce7b4ed-8d1c-402c-bd60-718ef0f5f59c 2026-09-17 19:39:18,738 - INFO - Waiting for VM ctest-TestRoutersBasic-53671656-64288262 to be up.. 2026-09-17 19:39:18,805 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 19:39:23,891 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 19:39:28,974 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 19:39:34,122 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 19:39:39,202 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 19:39:44,287 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 19:39:49,380 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 19:39:54,479 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 19:39:59,570 - DEBUG - VM is in ACTIVE state now 2026-09-17 19:39:59,571 - INFO - VM name : ctest-TestRoutersBasic-53671656-64288262 2026-09-17 19:39:59,654 - DEBUG - VM ctest-TestRoutersBasic-53671656-64288262 ID is 98755963-e2ae-4032-be35-0b41a21c175d 2026-09-17 19:39:59,678 - DEBUG - VM ctest-TestRoutersBasic-53671656-64288262 launched on Node cn-jenkins-deploy-platform-ansible-os-6305-1 2026-09-17 19:39:59,764 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/98755963-e2ae-4032-be35-0b41a21c175d 2026-09-17 19:40:00,115 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/98755963-e2ae-4032-be35-0b41a21c175d 2026-09-17 19:40:00,149 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/1631d000-25d4-4293-8025-9725ffa97bc4 2026-09-17 19:40:01,382 - 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.80 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=2.33 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 = 2.330/3.066/3.803/0.736 ms') 2026-09-17 19:40:01,382 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-53671656-64288262 passed 2026-09-17 19:40:01,548 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 19:40:01,548 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53671656-64288262, IP 167.13.216.131, Port 22 2026-09-17 19:40:01,614 - 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-09-17 19:40:01,692 - DEBUG - VM ctest-TestRoutersBasic-53671656-64288262 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-17 19:40:06,693 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 19:40:06,693 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53671656-64288262, IP 167.13.216.131, Port 22 2026-09-17 19:40:06,869 - DEBUG - VM ctest-TestRoutersBasic-53671656-64288262 is ready for SSH connections 2026-09-17 19:40:06,869 - INFO - Waiting for VM ctest-TestRoutersBasic-53671656-29846564 to be up.. 2026-09-17 19:40:06,960 - DEBUG - VM is in ACTIVE state now 2026-09-17 19:40:06,960 - INFO - VM name : ctest-TestRoutersBasic-53671656-29846564 2026-09-17 19:40:07,038 - DEBUG - VM ctest-TestRoutersBasic-53671656-29846564 ID is ecc95861-8776-41b0-b97f-d2bcf0030a87 2026-09-17 19:40:07,038 - DEBUG - VM ctest-TestRoutersBasic-53671656-29846564 launched on Node cn-jenkins-deploy-platform-ansible-os-6305-1 2026-09-17 19:40:07,119 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/ecc95861-8776-41b0-b97f-d2bcf0030a87 2026-09-17 19:40:07,128 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/59d1b379-8bf0-4a59-abec-e50a16445fa0 2026-09-17 19:40:08,366 - 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.36 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.452 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.452/1.905/3.359/1.453 ms') 2026-09-17 19:40:08,367 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-53671656-29846564 passed 2026-09-17 19:40:08,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 19:40:08,520 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53671656-29846564, IP 68.209.109.4, Port 22 2026-09-17 19:40:08,680 - DEBUG - VM ctest-TestRoutersBasic-53671656-29846564 is ready for SSH connections 2026-09-17 19:40:08,680 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 19:40:08,680 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.209.109.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-09-17 19:40:08,680 - DEBUG - ping -s 56 -c 3 -W 1 68.209.109.4 2026-09-17 19:40:11,655 - DEBUG - PING 68.209.109.4 (68.209.109.4): 56 data bytes 64 bytes from 68.209.109.4: seq=0 ttl=62 time=5.350 ms 64 bytes from 68.209.109.4: seq=1 ttl=62 time=1.423 ms 64 bytes from 68.209.109.4: seq=2 ttl=62 time=1.119 ms --- 68.209.109.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.119/2.630/5.350 ms 2026-09-17 19:40:11,655 - INFO - Ping to IP 68.209.109.4 from VM ctest-TestRoutersBasic-53671656-64288262 passed 2026-09-17 19:40:11,655 - INFO - Deleting interface with subnet_id 8a63474a-1de9-4113-9542-c23e5817e551, port_id None from router 3ce7b4ed-8d1c-402c-bd60-718ef0f5f59c 2026-09-17 19:40:11,900 - INFO - Deleting VM ctest-TestRoutersBasic-53671656-29846564 2026-09-17 19:40:11,997 - INFO - Deleting VM ctest-TestRoutersBasic-53671656-64288262 2026-09-17 19:40:12,070 - INFO - Deleting VN ctest-ext_vn-77487857 2026-09-17 19:40:12,151 - DEBUG - VN 6bc46887-94a3-4228-a73d-76094b0988b0 still in use: Unable to complete operation on network 6bc46887-94a3-4228-a73d-76094b0988b0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-43e19472-867a-4637-b275-e6210b20636a'] 2026-09-17 19:40:12,151 - WARNING - Deleting VN ctest-ext_vn-77487857 failed..Will retry 2026-09-17 19:40:14,283 - DEBUG - Response for deleting network () 2026-09-17 19:40:14,284 - INFO - Deleting VN ctest-vn-76119365 2026-09-17 19:40:14,408 - DEBUG - Response for deleting network () 2026-09-17 19:40:14,670 - DEBUG - No XMPP flaps were noticed during the test
2026-09-17 19:40:14,670 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:00]
2026-09-17 19:40:14,670 - INFO - -------------------------------------------------------------------------------- 2026-09-17 19:40:15,429 - INFO - Deleted project: ctest-TestRoutersBasic-53671656, ID : 6a2b118c-d351-4886-95ec-7bbbc50000f5