2026-11-02 09:36:47,165 - INFO - Domain Default found not creating 2026-11-02 09:36:47,412 - INFO - Project ctest-TestRoutersBasic-33655038 not found, creating it 2026-11-02 09:36:48,016 - INFO - Created Project:ctest-TestRoutersBasic-33655038, ID : 41005605-c8fe-49a6-bfe9-9a0691501ab5 2026-11-02 09:36:50,005 - INFO - ================================================================================ 2026-11-02 09:36:50,006 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-02 09:36:50,006 - 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 09:36:50,281 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with 2026-11-02 09:36:50,281 - INFO - Initial checks done. Running the testcase now 2026-11-02 09:36:50,282 - INFO - 2026-11-02 09:36:51,216 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-33655038 2026-11-02 09:36:51,315 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-33655038 2026-11-02 09:36:51,655 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33655038', 'default']} 2026-11-02 09:36:51,994 - DEBUG - Response for create_network : {'network': {'id': 'b23bc277-0751-49a6-a312-86f2940411a3', 'name': 'ctest-vn-61303135', 'tenant_id': '41005605c8fe49a6bfe99a0691501ab5', 'project_id': '41005605c8fe49a6bfe99a0691501ab5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33655038', 'ctest-vn-61303135'], 'port_security_enabled': True, 'description': ''}} 2026-11-02 09:36:52,216 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ade01d83-1eba-441b-b127-d91cb763bd42', 'name': '', 'tenant_id': '41005605c8fe49a6bfe99a0691501ab5', 'network_id': 'b23bc277-0751-49a6-a312-86f2940411a3', 'ip_version': 4, 'cidr': '184.4.176.64/26', 'allocation_pools': [{'start': '184.4.176.66', 'end': '184.4.176.126'}], 'gateway_ip': '184.4.176.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.4.176.66', 'tags': [], 'project_id': '41005605c8fe49a6bfe99a0691501ab5'}} 2026-11-02 09:36:52,237 - INFO - Created VN ctest-vn-61303135 2026-11-02 09:36:52,291 - DEBUG - VN ctest-vn-61303135 UUID is b23bc277-0751-49a6-a312-86f2940411a3 2026-11-02 09:36:52,653 - DEBUG - Response for create_network : {'network': {'id': 'f2b75402-57d1-4444-a256-6e4954909e76', 'name': 'ctest-ext_vn-18919062', 'tenant_id': '41005605c8fe49a6bfe99a0691501ab5', 'project_id': '41005605c8fe49a6bfe99a0691501ab5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33655038', 'ctest-ext_vn-18919062'], 'port_security_enabled': True, 'description': ''}} 2026-11-02 09:36:52,865 - DEBUG - Response for create_subnet : {'subnet': {'id': '77641b9b-a894-4ed0-a675-6acc4492ce83', 'name': '', 'tenant_id': '41005605c8fe49a6bfe99a0691501ab5', 'network_id': 'f2b75402-57d1-4444-a256-6e4954909e76', 'ip_version': 4, 'cidr': '203.63.247.128/26', 'allocation_pools': [{'start': '203.63.247.130', 'end': '203.63.247.190'}], 'gateway_ip': '203.63.247.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.63.247.130', 'tags': [], 'project_id': '41005605c8fe49a6bfe99a0691501ab5'}} 2026-11-02 09:36:52,884 - INFO - Created VN ctest-ext_vn-18919062 2026-11-02 09:36:52,939 - DEBUG - VN ctest-ext_vn-18919062 UUID is f2b75402-57d1-4444-a256-6e4954909e76 2026-11-02 09:36:53,122 - DEBUG - Services list from nova: [, , ] 2026-11-02 09:36:53,719 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6462-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6462-1) 2026-11-02 09:36:54,196 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6462-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6462-1) 2026-11-02 09:36:54,289 - INFO - Setting gateway for router ea77b864-be2f-4224-b59c-811999c6d893 to network f2b75402-57d1-4444-a256-6e4954909e76 2026-11-02 09:36:54,339 - INFO - Adding interface with subnet_id ade01d83-1eba-441b-b127-d91cb763bd42, port_id None to router ea77b864-be2f-4224-b59c-811999c6d893 2026-11-02 09:36:54,664 - INFO - Waiting for VM ctest-TestRoutersBasic-33655038-99197350 to be up.. 2026-11-02 09:36:54,734 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 09:36:59,822 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 09:37:04,924 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 09:37:10,013 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 09:37:15,125 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 09:37:20,227 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 09:37:25,348 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 09:37:30,456 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 09:37:35,559 - DEBUG - VM is in ACTIVE state now 2026-11-02 09:37:35,559 - INFO - VM name : ctest-TestRoutersBasic-33655038-99197350 2026-11-02 09:37:35,646 - DEBUG - VM ctest-TestRoutersBasic-33655038-99197350 ID is a9cf64f7-7b06-4ac5-a24a-cecf963b06c5 2026-11-02 09:37:35,669 - DEBUG - VM ctest-TestRoutersBasic-33655038-99197350 launched on Node cn-jenkins-deploy-platform-ansible-os-6462-1 2026-11-02 09:37:35,764 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a9cf64f7-7b06-4ac5-a24a-cecf963b06c5 2026-11-02 09:37:36,159 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a9cf64f7-7b06-4ac5-a24a-cecf963b06c5 2026-11-02 09:37:36,198 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/12059a49-658a-4e08-8650-c304884c26c5 2026-11-02 09:37:39,484 - 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 1024ms') 2026-11-02 09:37:39,484 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-33655038-99197350 failed! 2026-11-02 09:37:39,543 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-33655038:ctest-vn-61303135 is 184.4.176.65 and allocation pool is NOT set 2026-11-02 09:37:41,609 - 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.36 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.863 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.863/3.113/5.363/2.250 ms') 2026-11-02 09:37:41,609 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-33655038-99197350 passed 2026-11-02 09:37:41,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 09:37:41,771 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33655038-99197350, IP 184.4.176.67, Port 22 2026-11-02 09:37:41,838 - 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-02 09:37:41,933 - DEBUG - VM ctest-TestRoutersBasic-33655038-99197350 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-02 09:37:46,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 09:37:46,933 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33655038-99197350, IP 184.4.176.67, Port 22 2026-11-02 09:37:47,109 - DEBUG - VM ctest-TestRoutersBasic-33655038-99197350 is ready for SSH connections 2026-11-02 09:37:47,109 - INFO - Waiting for VM ctest-TestRoutersBasic-33655038-04125169 to be up.. 2026-11-02 09:37:47,201 - DEBUG - VM is in ACTIVE state now 2026-11-02 09:37:47,201 - INFO - VM name : ctest-TestRoutersBasic-33655038-04125169 2026-11-02 09:37:47,289 - DEBUG - VM ctest-TestRoutersBasic-33655038-04125169 ID is 5b2e4ab9-e597-470d-986e-b2ac8c59ff10 2026-11-02 09:37:47,289 - DEBUG - VM ctest-TestRoutersBasic-33655038-04125169 launched on Node cn-jenkins-deploy-platform-ansible-os-6462-1 2026-11-02 09:37:47,386 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5b2e4ab9-e597-470d-986e-b2ac8c59ff10 2026-11-02 09:37:47,396 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ea75230e-9094-4835-a178-5329205780c1 2026-11-02 09:37:48,652 - 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.82 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=1.04 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.036/2.929/4.822/1.893 ms') 2026-11-02 09:37:48,653 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-33655038-04125169 passed 2026-11-02 09:37:48,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 09:37:48,807 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33655038-04125169, IP 203.63.247.132, Port 22 2026-11-02 09:37:48,981 - DEBUG - VM ctest-TestRoutersBasic-33655038-04125169 is ready for SSH connections 2026-11-02 09:37:48,981 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 09:37:48,981 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.63.247.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-11-02 09:37:48,982 - DEBUG - ping -s 56 -c 3 -W 1 203.63.247.132 2026-11-02 09:37:52,250 - DEBUG - PING 203.63.247.132 (203.63.247.132): 56 data bytes 64 bytes from 203.63.247.132: seq=0 ttl=62 time=8.750 ms 64 bytes from 203.63.247.132: seq=1 ttl=62 time=1.546 ms 64 bytes from 203.63.247.132: seq=2 ttl=62 time=1.093 ms --- 203.63.247.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.093/3.796/8.750 ms 2026-11-02 09:37:52,250 - INFO - Ping to IP 203.63.247.132 from VM ctest-TestRoutersBasic-33655038-99197350 passed 2026-11-02 09:37:52,250 - INFO - Deleting interface with subnet_id ade01d83-1eba-441b-b127-d91cb763bd42, port_id None from router ea77b864-be2f-4224-b59c-811999c6d893 2026-11-02 09:37:52,565 - INFO - Deleting VM ctest-TestRoutersBasic-33655038-04125169 2026-11-02 09:37:52,669 - INFO - Deleting VM ctest-TestRoutersBasic-33655038-99197350 2026-11-02 09:37:52,760 - INFO - Deleting VN ctest-ext_vn-18919062 2026-11-02 09:37:52,845 - DEBUG - VN f2b75402-57d1-4444-a256-6e4954909e76 still in use: Unable to complete operation on network f2b75402-57d1-4444-a256-6e4954909e76. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f920ff82-3ec8-4041-9266-03afad179247'] 2026-11-02 09:37:52,845 - WARNING - Deleting VN ctest-ext_vn-18919062 failed..Will retry 2026-11-02 09:37:54,889 - DEBUG - VN f2b75402-57d1-4444-a256-6e4954909e76 still in use: Unable to complete operation on network f2b75402-57d1-4444-a256-6e4954909e76. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e92f37e7-cba9-43f2-a293-e35b49931329'] 2026-11-02 09:37:54,890 - WARNING - Deleting VN ctest-ext_vn-18919062 failed..Will retry 2026-11-02 09:37:57,028 - DEBUG - Response for deleting network () 2026-11-02 09:37:57,028 - INFO - Deleting VN ctest-vn-61303135 2026-11-02 09:37:57,170 - DEBUG - Response for deleting network () 2026-11-02 09:37:57,444 - DEBUG - No XMPP flaps were noticed during the test 2026-11-02 09:37:57,444 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:07] 2026-11-02 09:37:57,445 - INFO - -------------------------------------------------------------------------------- 2026-11-02 09:37:58,259 - INFO - Deleted project: ctest-TestRoutersBasic-33655038, ID : 41005605-c8fe-49a6-bfe9-9a0691501ab5