2026-03-20 21:14:19,510 - INFO - Domain Default found not creating 2026-03-20 21:14:19,665 - INFO - Project ctest-TestRoutersBasic-90880331 not found, creating it 2026-03-20 21:14:20,097 - INFO - Created Project:ctest-TestRoutersBasic-90880331, ID : 3cdfc5f4-a6d7-40fa-b414-e087a4c95cf7 2026-03-20 21:14:21,487 - INFO - ================================================================================ 2026-03-20 21:14:21,487 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-20 21:14:21,487 - 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-03-20 21:14:21,739 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-03-20 21:14:21,739 - INFO - Initial checks done. Running the testcase now 2026-03-20 21:14:21,739 - INFO - 2026-03-20 21:14:22,421 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-90880331 2026-03-20 21:14:22,514 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-90880331 2026-03-20 21:14:22,830 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90880331', 'default']} 2026-03-20 21:14:23,106 - DEBUG - Response for create_network : {'network': {'id': '32913297-8435-4dd9-b769-57ac09d6ef98', 'name': 'ctest-vn-76495018', 'tenant_id': '3cdfc5f4a6d740fab414e087a4c95cf7', 'project_id': '3cdfc5f4a6d740fab414e087a4c95cf7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90880331', 'ctest-vn-76495018'], 'port_security_enabled': True, 'description': ''}} 2026-03-20 21:14:23,311 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a5e3bd9a-917d-44e5-a876-76675acc254c', 'name': '', 'tenant_id': '3cdfc5f4a6d740fab414e087a4c95cf7', 'network_id': '32913297-8435-4dd9-b769-57ac09d6ef98', 'ip_version': 4, 'cidr': '123.68.0.0/26', 'allocation_pools': [{'start': '123.68.0.2', 'end': '123.68.0.62'}], 'gateway_ip': '123.68.0.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.68.0.2', 'tags': [], 'project_id': '3cdfc5f4a6d740fab414e087a4c95cf7'}} 2026-03-20 21:14:23,326 - INFO - Created VN ctest-vn-76495018 2026-03-20 21:14:23,378 - DEBUG - VN ctest-vn-76495018 UUID is 32913297-8435-4dd9-b769-57ac09d6ef98 2026-03-20 21:14:23,695 - DEBUG - Response for create_network : {'network': {'id': '5ae5e89e-ba13-4cef-a645-92d3a9f732d0', 'name': 'ctest-ext_vn-56973161', 'tenant_id': '3cdfc5f4a6d740fab414e087a4c95cf7', 'project_id': '3cdfc5f4a6d740fab414e087a4c95cf7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90880331', 'ctest-ext_vn-56973161'], 'port_security_enabled': True, 'description': ''}} 2026-03-20 21:14:23,885 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f38c3a94-08fc-44b2-a295-76e6c1d0aea5', 'name': '', 'tenant_id': '3cdfc5f4a6d740fab414e087a4c95cf7', 'network_id': '5ae5e89e-ba13-4cef-a645-92d3a9f732d0', 'ip_version': 4, 'cidr': '106.9.14.128/26', 'allocation_pools': [{'start': '106.9.14.130', 'end': '106.9.14.190'}], 'gateway_ip': '106.9.14.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.9.14.130', 'tags': [], 'project_id': '3cdfc5f4a6d740fab414e087a4c95cf7'}} 2026-03-20 21:14:23,902 - INFO - Created VN ctest-ext_vn-56973161 2026-03-20 21:14:23,954 - DEBUG - VN ctest-ext_vn-56973161 UUID is 5ae5e89e-ba13-4cef-a645-92d3a9f732d0 2026-03-20 21:14:24,146 - DEBUG - Services list from nova: [, , ] 2026-03-20 21:14:25,103 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5507-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5507-1) 2026-03-20 21:14:26,172 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5507-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5507-1) 2026-03-20 21:14:26,234 - INFO - Setting gateway for router 291b93f5-d107-4702-b6a1-85871226dd64 to network 5ae5e89e-ba13-4cef-a645-92d3a9f732d0 2026-03-20 21:14:26,284 - INFO - Adding interface with subnet_id a5e3bd9a-917d-44e5-a876-76675acc254c, port_id None to router 291b93f5-d107-4702-b6a1-85871226dd64 2026-03-20 21:14:26,612 - INFO - Waiting for VM ctest-TestRoutersBasic-90880331-51991187 to be up.. 2026-03-20 21:14:26,757 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-20 21:14:31,824 - DEBUG - VM is in ACTIVE state now 2026-03-20 21:14:31,824 - INFO - VM name : ctest-TestRoutersBasic-90880331-51991187 2026-03-20 21:14:31,890 - DEBUG - VM ctest-TestRoutersBasic-90880331-51991187 ID is db7af0c3-917a-4fd4-a498-2a96ef653a13 2026-03-20 21:14:31,908 - DEBUG - VM ctest-TestRoutersBasic-90880331-51991187 launched on Node cn-jenkins-deploy-platform-ansible-os-5507-1 2026-03-20 21:14:31,969 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/db7af0c3-917a-4fd4-a498-2a96ef653a13 2026-03-20 21:14:32,258 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/db7af0c3-917a-4fd4-a498-2a96ef653a13 2026-03-20 21:14:32,293 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/de57e916-5c17-4e13-ba7e-5498c3ab5872 2026-03-20 21:14:35,547 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms') 2026-03-20 21:14:35,547 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90880331-51991187 failed! 2026-03-20 21:14:35,598 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-90880331:ctest-vn-76495018 is 123.68.0.1 and allocation pool is NOT set 2026-03-20 21:14:37,662 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=2.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.548 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.548/1.638/2.729/1.090 ms') 2026-03-20 21:14:37,662 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90880331-51991187 passed 2026-03-20 21:14:37,810 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-20 21:14:37,810 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90880331-51991187, IP 123.68.0.3, Port 22 2026-03-20 21:14:37,966 - DEBUG - VM ctest-TestRoutersBasic-90880331-51991187 is ready for SSH connections 2026-03-20 21:14:37,966 - INFO - Waiting for VM ctest-TestRoutersBasic-90880331-05691390 to be up.. 2026-03-20 21:14:38,037 - DEBUG - VM is in ACTIVE state now 2026-03-20 21:14:38,038 - INFO - VM name : ctest-TestRoutersBasic-90880331-05691390 2026-03-20 21:14:38,105 - DEBUG - VM ctest-TestRoutersBasic-90880331-05691390 ID is 6a38c3a2-4660-4397-a3eb-2936b9b6e9e3 2026-03-20 21:14:38,105 - DEBUG - VM ctest-TestRoutersBasic-90880331-05691390 launched on Node cn-jenkins-deploy-platform-ansible-os-5507-1 2026-03-20 21:14:38,168 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6a38c3a2-4660-4397-a3eb-2936b9b6e9e3 2026-03-20 21:14:38,175 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5dc68c83-1581-41aa-8155-bfeb4e55d219 2026-03-20 21:14:39,403 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.350 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.350/1.710/3.070/1.360 ms') 2026-03-20 21:14:39,403 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-90880331-05691390 passed 2026-03-20 21:14:39,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-20 21:14:39,554 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90880331-05691390, IP 106.9.14.131, Port 22 2026-03-20 21:14:39,705 - DEBUG - VM ctest-TestRoutersBasic-90880331-05691390 is ready for SSH connections 2026-03-20 21:14:39,705 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-20 21:14:39,705 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.9.14.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-20 21:14:39,705 - DEBUG - ping -s 56 -c 3 -W 1 106.9.14.131 2026-03-20 21:14:43,715 - DEBUG - PING 106.9.14.131 (106.9.14.131): 56 data bytes 64 bytes from 106.9.14.131: seq=0 ttl=62 time=7.794 ms 64 bytes from 106.9.14.131: seq=1 ttl=62 time=1.371 ms 64 bytes from 106.9.14.131: seq=2 ttl=62 time=0.752 ms --- 106.9.14.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.752/3.305/7.794 ms 2026-03-20 21:14:43,715 - INFO - Ping to IP 106.9.14.131 from VM ctest-TestRoutersBasic-90880331-51991187 passed 2026-03-20 21:14:43,715 - INFO - Deleting interface with subnet_id a5e3bd9a-917d-44e5-a876-76675acc254c, port_id None from router 291b93f5-d107-4702-b6a1-85871226dd64 2026-03-20 21:14:43,862 - INFO - Deleting VM ctest-TestRoutersBasic-90880331-05691390 2026-03-20 21:14:43,924 - INFO - Deleting VM ctest-TestRoutersBasic-90880331-51991187 2026-03-20 21:14:43,997 - INFO - Deleting VN ctest-ext_vn-56973161 2026-03-20 21:14:44,066 - DEBUG - VN 5ae5e89e-ba13-4cef-a645-92d3a9f732d0 still in use: Unable to complete operation on network 5ae5e89e-ba13-4cef-a645-92d3a9f732d0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-337257ee-bb94-4669-ae46-32df1e966d3f'] 2026-03-20 21:14:44,066 - WARNING - Deleting VN ctest-ext_vn-56973161 failed..Will retry 2026-03-20 21:14:46,154 - DEBUG - Response for deleting network () 2026-03-20 21:14:46,155 - INFO - Deleting VN ctest-vn-76495018 2026-03-20 21:14:46,234 - DEBUG - Response for deleting network () 2026-03-20 21:14:46,486 - DEBUG - No XMPP flaps were noticed during the test 2026-03-20 21:14:46,486 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-03-20 21:14:46,486 - INFO - -------------------------------------------------------------------------------- 2026-03-20 21:14:47,161 - INFO - Deleted project: ctest-TestRoutersBasic-90880331, ID : 3cdfc5f4-a6d7-40fa-b414-e087a4c95cf7