2026-01-22 16:22:48,014 - INFO - Domain Default found not creating 2026-01-22 16:22:48,212 - INFO - Project ctest-TestRoutersBasic-58273071 not found, creating it 2026-01-22 16:22:48,714 - INFO - Created Project:ctest-TestRoutersBasic-58273071, ID : 9f530996-85d8-4ea8-aaea-91ed1b6d786e 2026-01-22 16:22:50,274 - INFO - ================================================================================ 2026-01-22 16:22:50,274 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-22 16:22:50,275 - 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-01-22 16:22:50,528 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.130': '0'}} with 2026-01-22 16:22:50,528 - INFO - Initial checks done. Running the testcase now 2026-01-22 16:22:50,528 - INFO - 2026-01-22 16:22:51,253 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-58273071 2026-01-22 16:22:51,350 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-58273071 2026-01-22 16:22:51,673 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58273071', 'default']} 2026-01-22 16:22:51,980 - DEBUG - Response for create_network : {'network': {'id': '0695a94a-14c5-4b1e-9e55-541fdb999991', 'name': 'ctest-vn-82121076', 'tenant_id': '9f53099685d84ea8aaea91ed1b6d786e', 'project_id': '9f53099685d84ea8aaea91ed1b6d786e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58273071', 'ctest-vn-82121076'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 16:22:52,142 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b5e43c1-5749-4cd3-9dc8-1b5eb10a946b', 'name': '', 'tenant_id': '9f53099685d84ea8aaea91ed1b6d786e', 'network_id': '0695a94a-14c5-4b1e-9e55-541fdb999991', 'ip_version': 4, 'cidr': '213.103.191.128/26', 'allocation_pools': [{'start': '213.103.191.130', 'end': '213.103.191.190'}], 'gateway_ip': '213.103.191.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.103.191.130', 'tags': [], 'project_id': '9f53099685d84ea8aaea91ed1b6d786e'}} 2026-01-22 16:22:52,163 - INFO - Created VN ctest-vn-82121076 2026-01-22 16:22:52,222 - DEBUG - VN ctest-vn-82121076 UUID is 0695a94a-14c5-4b1e-9e55-541fdb999991 2026-01-22 16:22:52,560 - DEBUG - Response for create_network : {'network': {'id': '35f1a00a-5a08-47bf-a552-e9ec7a5b6333', 'name': 'ctest-ext_vn-64970632', 'tenant_id': '9f53099685d84ea8aaea91ed1b6d786e', 'project_id': '9f53099685d84ea8aaea91ed1b6d786e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58273071', 'ctest-ext_vn-64970632'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 16:22:52,777 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c7344e6-528b-4c83-9f7f-7f01af75af1d', 'name': '', 'tenant_id': '9f53099685d84ea8aaea91ed1b6d786e', 'network_id': '35f1a00a-5a08-47bf-a552-e9ec7a5b6333', 'ip_version': 4, 'cidr': '123.97.74.0/26', 'allocation_pools': [{'start': '123.97.74.2', 'end': '123.97.74.62'}], 'gateway_ip': '123.97.74.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.97.74.2', 'tags': [], 'project_id': '9f53099685d84ea8aaea91ed1b6d786e'}} 2026-01-22 16:22:52,795 - INFO - Created VN ctest-ext_vn-64970632 2026-01-22 16:22:52,850 - DEBUG - VN ctest-ext_vn-64970632 UUID is 35f1a00a-5a08-47bf-a552-e9ec7a5b6333 2026-01-22 16:22:53,030 - DEBUG - Services list from nova: [, , ] 2026-01-22 16:22:54,097 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5064-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5064-1) 2026-01-22 16:22:55,313 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5064-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5064-1) 2026-01-22 16:22:55,396 - INFO - Setting gateway for router bdd330b6-25d8-4921-aaa3-13b53f824c39 to network 35f1a00a-5a08-47bf-a552-e9ec7a5b6333 2026-01-22 16:22:55,472 - INFO - Adding interface with subnet_id 3b5e43c1-5749-4cd3-9dc8-1b5eb10a946b, port_id None to router bdd330b6-25d8-4921-aaa3-13b53f824c39 2026-01-22 16:22:55,908 - INFO - Waiting for VM ctest-TestRoutersBasic-58273071-58920787 to be up.. 2026-01-22 16:22:56,114 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-22 16:23:01,216 - DEBUG - VM is in ACTIVE state now 2026-01-22 16:23:01,217 - INFO - VM name : ctest-TestRoutersBasic-58273071-58920787 2026-01-22 16:23:01,322 - DEBUG - VM ctest-TestRoutersBasic-58273071-58920787 ID is 7898578d-86b0-4581-9a5c-63d8e3015ee8 2026-01-22 16:23:01,349 - DEBUG - VM ctest-TestRoutersBasic-58273071-58920787 launched on Node cn-jenkins-deploy-platform-ansible-os-5064-1 2026-01-22 16:23:01,453 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7898578d-86b0-4581-9a5c-63d8e3015ee8 2026-01-22 16:23:01,756 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7898578d-86b0-4581-9a5c-63d8e3015ee8 2026-01-22 16:23:01,795 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/64da48a0-1712-45a4-9288-ffa9caf6f20e 2026-01-22 16:23:05,051 - 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 1022ms') 2026-01-22 16:23:05,051 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58273071-58920787 failed! 2026-01-22 16:23:05,106 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-58273071:ctest-vn-82121076 is 213.103.191.129 and allocation pool is NOT set 2026-01-22 16:23:07,167 - 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.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.703 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.703/1.835/2.967/1.132 ms') 2026-01-22 16:23:07,167 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58273071-58920787 passed 2026-01-22 16:23:07,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 16:23:07,326 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58273071-58920787, IP 213.103.191.131, Port 22 2026-01-22 16:23:07,492 - DEBUG - VM ctest-TestRoutersBasic-58273071-58920787 is ready for SSH connections 2026-01-22 16:23:07,500 - INFO - Waiting for VM ctest-TestRoutersBasic-58273071-12870415 to be up.. 2026-01-22 16:23:07,581 - DEBUG - VM is in ACTIVE state now 2026-01-22 16:23:07,581 - INFO - VM name : ctest-TestRoutersBasic-58273071-12870415 2026-01-22 16:23:07,662 - DEBUG - VM ctest-TestRoutersBasic-58273071-12870415 ID is 4d2abf18-3346-4f77-b730-4f3754961473 2026-01-22 16:23:07,662 - DEBUG - VM ctest-TestRoutersBasic-58273071-12870415 launched on Node cn-jenkins-deploy-platform-ansible-os-5064-1 2026-01-22 16:23:07,749 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4d2abf18-3346-4f77-b730-4f3754961473 2026-01-22 16:23:07,758 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6e18079e-68ee-4d47-bc95-ca0b3e16b484 2026-01-22 16:23:09,008 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.931 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.931/2.423/3.916/1.492 ms') 2026-01-22 16:23:09,008 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-58273071-12870415 passed 2026-01-22 16:23:09,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 16:23:09,158 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58273071-12870415, IP 123.97.74.3, Port 22 2026-01-22 16:23:09,313 - DEBUG - VM ctest-TestRoutersBasic-58273071-12870415 is ready for SSH connections 2026-01-22 16:23:09,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 16:23:09,313 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.97.74.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-22 16:23:09,314 - DEBUG - ping -s 56 -c 3 -W 1 123.97.74.3 2026-01-22 16:23:13,042 - DEBUG - PING 123.97.74.3 (123.97.74.3): 56 data bytes 64 bytes from 123.97.74.3: seq=0 ttl=62 time=5.124 ms 64 bytes from 123.97.74.3: seq=1 ttl=62 time=0.962 ms 64 bytes from 123.97.74.3: seq=2 ttl=62 time=1.076 ms --- 123.97.74.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.962/2.387/5.124 ms 2026-01-22 16:23:13,042 - INFO - Ping to IP 123.97.74.3 from VM ctest-TestRoutersBasic-58273071-58920787 passed 2026-01-22 16:23:13,042 - INFO - Deleting interface with subnet_id 3b5e43c1-5749-4cd3-9dc8-1b5eb10a946b, port_id None from router bdd330b6-25d8-4921-aaa3-13b53f824c39 2026-01-22 16:23:13,263 - INFO - Deleting VM ctest-TestRoutersBasic-58273071-12870415 2026-01-22 16:23:13,335 - INFO - Deleting VM ctest-TestRoutersBasic-58273071-58920787 2026-01-22 16:23:13,427 - INFO - Deleting VN ctest-ext_vn-64970632 2026-01-22 16:23:13,506 - DEBUG - VN 35f1a00a-5a08-47bf-a552-e9ec7a5b6333 still in use: Unable to complete operation on network 35f1a00a-5a08-47bf-a552-e9ec7a5b6333. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-afa8eba6-bdc2-415a-b159-18024088dfb9'] 2026-01-22 16:23:13,507 - WARNING - Deleting VN ctest-ext_vn-64970632 failed..Will retry 2026-01-22 16:23:15,607 - DEBUG - Response for deleting network () 2026-01-22 16:23:15,607 - INFO - Deleting VN ctest-vn-82121076 2026-01-22 16:23:15,708 - DEBUG - Response for deleting network () 2026-01-22 16:23:15,963 - DEBUG - No XMPP flaps were noticed during the test
2026-01-22 16:23:15,963 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-01-22 16:23:15,963 - INFO - -------------------------------------------------------------------------------- 2026-01-22 16:23:16,656 - INFO - Deleted project: ctest-TestRoutersBasic-58273071, ID : 9f530996-85d8-4ea8-aaea-91ed1b6d786e