2026-11-02 14:20:46,290 - INFO - Domain Default found not creating 2026-11-02 14:20:46,570 - INFO - Project ctest-TestRoutersBasic-54523886 not found, creating it 2026-11-02 14:20:47,198 - INFO - Created Project:ctest-TestRoutersBasic-54523886, ID : deb89a08-0676-4cc2-99d5-999419585a26 2026-11-02 14:20:49,253 - INFO - ================================================================================ 2026-11-02 14:20:49,254 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-02 14:20:49,254 - 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-02 14:20:49,547 - DEBUG - Nothing to compare xmpp stats {'10.0.0.188': {'10.20.0.29': '0'}} with 2026-11-02 14:20:49,547 - INFO - Initial checks done. Running the testcase now 2026-11-02 14:20:49,547 - INFO - 2026-11-02 14:20:50,528 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-54523886 2026-11-02 14:20:50,629 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-54523886 2026-11-02 14:20:50,981 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54523886', 'default']} 2026-11-02 14:20:51,360 - DEBUG - Response for create_network : {'network': {'id': '6e3dcc15-0bf7-4824-ad5f-310991c32391', 'name': 'ctest-vn-56986376', 'tenant_id': 'deb89a0806764cc299d5999419585a26', 'project_id': 'deb89a0806764cc299d5999419585a26', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54523886', 'ctest-vn-56986376'], 'port_security_enabled': True, 'description': ''}} 2026-11-02 14:20:51,615 - DEBUG - Response for create_subnet : {'subnet': {'id': '3807e03d-dc3f-4755-99dc-b181fc3e52e9', 'name': '', 'tenant_id': 'deb89a0806764cc299d5999419585a26', 'network_id': '6e3dcc15-0bf7-4824-ad5f-310991c32391', 'ip_version': 4, 'cidr': '44.193.231.128/26', 'allocation_pools': [{'start': '44.193.231.130', 'end': '44.193.231.190'}], 'gateway_ip': '44.193.231.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.193.231.130', 'tags': [], 'project_id': 'deb89a0806764cc299d5999419585a26'}} 2026-11-02 14:20:51,642 - INFO - Created VN ctest-vn-56986376 2026-11-02 14:20:51,701 - DEBUG - VN ctest-vn-56986376 UUID is 6e3dcc15-0bf7-4824-ad5f-310991c32391 2026-11-02 14:20:52,176 - DEBUG - Response for create_network : {'network': {'id': 'e3b3b48e-9fd6-490a-a729-56732350df9a', 'name': 'ctest-ext_vn-72531845', 'tenant_id': 'deb89a0806764cc299d5999419585a26', 'project_id': 'deb89a0806764cc299d5999419585a26', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54523886', 'ctest-ext_vn-72531845'], 'port_security_enabled': True, 'description': ''}} 2026-11-02 14:20:52,426 - DEBUG - Response for create_subnet : {'subnet': {'id': '9111fc82-a554-4def-a27c-097f62258c4a', 'name': '', 'tenant_id': 'deb89a0806764cc299d5999419585a26', 'network_id': 'e3b3b48e-9fd6-490a-a729-56732350df9a', 'ip_version': 4, 'cidr': '174.64.177.64/26', 'allocation_pools': [{'start': '174.64.177.66', 'end': '174.64.177.126'}], 'gateway_ip': '174.64.177.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.64.177.66', 'tags': [], 'project_id': 'deb89a0806764cc299d5999419585a26'}} 2026-11-02 14:20:52,444 - INFO - Created VN ctest-ext_vn-72531845 2026-11-02 14:20:52,501 - DEBUG - VN ctest-ext_vn-72531845 UUID is e3b3b48e-9fd6-490a-a729-56732350df9a 2026-11-02 14:20:52,705 - DEBUG - Services list from nova: [, , ] 2026-11-02 14:20:53,403 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6465-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6465-1) 2026-11-02 14:20:53,976 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6465-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6465-1) 2026-11-02 14:20:54,059 - INFO - Setting gateway for router 9a57d0e1-7bc3-43fd-b23a-7e6aa2614bc4 to network e3b3b48e-9fd6-490a-a729-56732350df9a 2026-11-02 14:20:54,142 - INFO - Adding interface with subnet_id 3807e03d-dc3f-4755-99dc-b181fc3e52e9, port_id None to router 9a57d0e1-7bc3-43fd-b23a-7e6aa2614bc4 2026-11-02 14:20:54,512 - INFO - Waiting for VM ctest-TestRoutersBasic-54523886-13313525 to be up.. 2026-11-02 14:20:54,586 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 14:20:59,681 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 14:21:04,779 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 14:21:09,885 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 14:21:15,019 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 14:21:20,110 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 14:21:25,213 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 14:21:30,315 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 14:21:35,409 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 14:21:40,528 - DEBUG - VM is in ACTIVE state now 2026-11-02 14:21:40,529 - INFO - VM name : ctest-TestRoutersBasic-54523886-13313525 2026-11-02 14:21:40,624 - DEBUG - VM ctest-TestRoutersBasic-54523886-13313525 ID is 9dad8b60-59b8-4d29-9b57-fb0e74f9d056 2026-11-02 14:21:40,656 - DEBUG - VM ctest-TestRoutersBasic-54523886-13313525 launched on Node cn-jenkins-deploy-platform-ansible-os-6465-1 2026-11-02 14:21:40,763 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine/9dad8b60-59b8-4d29-9b57-fb0e74f9d056 2026-11-02 14:21:41,152 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine/9dad8b60-59b8-4d29-9b57-fb0e74f9d056 2026-11-02 14:21:41,205 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine-interface/509d52ea-c868-4589-a6ed-f055cd3631c3 2026-11-02 14:21:44,480 - 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=2 ttl=63 time=3.83 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 3.827/3.827/3.827/0.000 ms') 2026-11-02 14:21:44,480 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-54523886-13313525 passed 2026-11-02 14:21:44,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 14:21:44,641 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54523886-13313525, IP 44.193.231.131, Port 22 2026-11-02 14:21:44,815 - DEBUG - VM ctest-TestRoutersBasic-54523886-13313525 is ready for SSH connections 2026-11-02 14:21:44,815 - INFO - Waiting for VM ctest-TestRoutersBasic-54523886-20065773 to be up.. 2026-11-02 14:21:44,906 - DEBUG - VM is in ACTIVE state now 2026-11-02 14:21:44,906 - INFO - VM name : ctest-TestRoutersBasic-54523886-20065773 2026-11-02 14:21:44,995 - DEBUG - VM ctest-TestRoutersBasic-54523886-20065773 ID is c1eb2f30-3e29-4f9f-be1d-0341170a78ec 2026-11-02 14:21:44,995 - DEBUG - VM ctest-TestRoutersBasic-54523886-20065773 launched on Node cn-jenkins-deploy-platform-ansible-os-6465-1 2026-11-02 14:21:45,090 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine/c1eb2f30-3e29-4f9f-be1d-0341170a78ec 2026-11-02 14:21:45,102 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine-interface/910fde30-5d29-4641-a326-7d58fa951fc4 2026-11-02 14:21:48,383 - 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 1026ms') 2026-11-02 14:21:48,383 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-54523886-20065773 failed! 2026-11-02 14:21:48,445 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-54523886:ctest-ext_vn-72531845 is 174.64.177.65 and allocation pool is NOT set 2026-11-02 14:21:50,512 - 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=7.60 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=1.40 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 = 1.397/4.497/7.597/3.100 ms') 2026-11-02 14:21:50,512 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-54523886-20065773 passed 2026-11-02 14:21:50,673 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 14:21:50,673 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54523886-20065773, IP 174.64.177.68, Port 22 2026-11-02 14:21:50,851 - DEBUG - VM ctest-TestRoutersBasic-54523886-20065773 is ready for SSH connections 2026-11-02 14:21:50,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 14:21:50,851 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.64.177.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.188, gateway password: c0ntrail123 2026-11-02 14:21:50,851 - DEBUG - ping -s 56 -c 3 -W 1 174.64.177.68 2026-11-02 14:21:54,098 - DEBUG - PING 174.64.177.68 (174.64.177.68): 56 data bytes 64 bytes from 174.64.177.68: seq=0 ttl=62 time=8.825 ms 64 bytes from 174.64.177.68: seq=1 ttl=62 time=1.548 ms 64 bytes from 174.64.177.68: seq=2 ttl=62 time=1.147 ms --- 174.64.177.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.147/3.840/8.825 ms 2026-11-02 14:21:54,098 - INFO - Ping to IP 174.64.177.68 from VM ctest-TestRoutersBasic-54523886-13313525 passed 2026-11-02 14:21:54,098 - INFO - Deleting interface with subnet_id 3807e03d-dc3f-4755-99dc-b181fc3e52e9, port_id None from router 9a57d0e1-7bc3-43fd-b23a-7e6aa2614bc4 2026-11-02 14:21:54,353 - INFO - Deleting VM ctest-TestRoutersBasic-54523886-20065773 2026-11-02 14:21:54,454 - INFO - Deleting VM ctest-TestRoutersBasic-54523886-13313525 2026-11-02 14:21:54,544 - INFO - Deleting VN ctest-ext_vn-72531845 2026-11-02 14:21:54,628 - DEBUG - VN e3b3b48e-9fd6-490a-a729-56732350df9a still in use: Unable to complete operation on network e3b3b48e-9fd6-490a-a729-56732350df9a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a95de029-afec-40ab-8af3-80a84303587b'] 2026-11-02 14:21:54,629 - WARNING - Deleting VN ctest-ext_vn-72531845 failed..Will retry 2026-11-02 14:21:56,671 - DEBUG - VN e3b3b48e-9fd6-490a-a729-56732350df9a still in use: Unable to complete operation on network e3b3b48e-9fd6-490a-a729-56732350df9a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7811f62f-57d1-4b60-894f-8c28a0ca4fe5'] 2026-11-02 14:21:56,671 - WARNING - Deleting VN ctest-ext_vn-72531845 failed..Will retry 2026-11-02 14:21:58,800 - DEBUG - Response for deleting network () 2026-11-02 14:21:58,800 - INFO - Deleting VN ctest-vn-56986376 2026-11-02 14:21:58,950 - DEBUG - Response for deleting network () 2026-11-02 14:21:59,223 - DEBUG - No XMPP flaps were noticed during the test
2026-11-02 14:21:59,223 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:10]
2026-11-02 14:21:59,223 - INFO - -------------------------------------------------------------------------------- 2026-11-02 14:22:00,022 - INFO - Deleted project: ctest-TestRoutersBasic-54523886, ID : deb89a08-0676-4cc2-99d5-999419585a26