2026-10-05 02:33:37,086 - INFO - Domain Default found not creating 2026-10-05 02:33:37,284 - INFO - Project ctest-TestRoutersBasic-29921330 not found, creating it 2026-10-05 02:33:37,805 - INFO - Created Project:ctest-TestRoutersBasic-29921330, ID : 197ba68d-bdd7-4ebc-be39-54310fd83a75 2026-10-05 02:33:39,583 - INFO - ================================================================================ 2026-10-05 02:33:39,583 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-05 02:33:39,583 - 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-10-05 02:33:39,854 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.17': '0'}} with 2026-10-05 02:33:39,855 - INFO - Initial checks done. Running the testcase now 2026-10-05 02:33:39,855 - INFO - 2026-10-05 02:33:40,869 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-29921330 2026-10-05 02:33:40,973 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-29921330 2026-10-05 02:33:41,337 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29921330', 'default']} 2026-10-05 02:33:41,674 - DEBUG - Response for create_network : {'network': {'id': '71929f72-a828-414c-8e2b-6c77b332978b', 'name': 'ctest-vn-58360891', 'tenant_id': '197ba68dbdd74ebcbe3954310fd83a75', 'project_id': '197ba68dbdd74ebcbe3954310fd83a75', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29921330', 'ctest-vn-58360891'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-10-05 02:33:41,892 - DEBUG - Response for create_subnet : {'subnet': {'id': '4bc020f8-7cbb-47a1-b934-192652991f6f', 'name': '', 'tenant_id': '197ba68dbdd74ebcbe3954310fd83a75', 'network_id': '71929f72-a828-414c-8e2b-6c77b332978b', 'ip_version': 4, 'cidr': '92.147.1.0/26', 'allocation_pools': [{'start': '92.147.1.2', 'end': '92.147.1.62'}], 'gateway_ip': '92.147.1.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-10-05T02:33:41.823583', 'updated_at': '2026-10-05T02:33:41.823583', 'dns_server_address': '92.147.1.2', 'tags': [], 'project_id': '197ba68dbdd74ebcbe3954310fd83a75'}} 2026-10-05 02:33:41,912 - INFO - Created VN ctest-vn-58360891 2026-10-05 02:33:41,965 - DEBUG - VN ctest-vn-58360891 UUID is 71929f72-a828-414c-8e2b-6c77b332978b 2026-10-05 02:33:42,337 - DEBUG - Response for create_network : {'network': {'id': 'eae1d21a-d42d-4512-8103-3d665901bfad', 'name': 'ctest-ext_vn-34913126', 'tenant_id': '197ba68dbdd74ebcbe3954310fd83a75', 'project_id': '197ba68dbdd74ebcbe3954310fd83a75', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29921330', 'ctest-ext_vn-34913126'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-10-05 02:33:42,517 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2bad281-dcfc-4c0b-99b8-495accb685d2', 'name': '', 'tenant_id': '197ba68dbdd74ebcbe3954310fd83a75', 'network_id': 'eae1d21a-d42d-4512-8103-3d665901bfad', 'ip_version': 4, 'cidr': '144.116.40.64/26', 'allocation_pools': [{'start': '144.116.40.66', 'end': '144.116.40.126'}], 'gateway_ip': '144.116.40.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-10-05T02:33:42.449385', 'updated_at': '2026-10-05T02:33:42.449385', 'dns_server_address': '144.116.40.66', 'tags': [], 'project_id': '197ba68dbdd74ebcbe3954310fd83a75'}} 2026-10-05 02:33:42,537 - INFO - Created VN ctest-ext_vn-34913126 2026-10-05 02:33:42,593 - DEBUG - VN ctest-ext_vn-34913126 UUID is eae1d21a-d42d-4512-8103-3d665901bfad 2026-10-05 02:33:42,776 - DEBUG - Services list from nova: [, , ] 2026-10-05 02:33:43,162 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6344-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6344-1) 2026-10-05 02:33:43,585 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6344-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6344-1) 2026-10-05 02:33:43,666 - INFO - Setting gateway for router 87f7eb72-2d2e-4c63-afd4-86b30639228a to network eae1d21a-d42d-4512-8103-3d665901bfad 2026-10-05 02:33:43,728 - INFO - Adding interface with subnet_id 4bc020f8-7cbb-47a1-b934-192652991f6f, port_id None to router 87f7eb72-2d2e-4c63-afd4-86b30639228a 2026-10-05 02:33:44,011 - INFO - Waiting for VM ctest-TestRoutersBasic-29921330-12079638 to be up.. 2026-10-05 02:33:44,089 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 02:33:49,171 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 02:33:54,260 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 02:33:59,412 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 02:34:04,500 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 02:34:09,587 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 02:34:14,674 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 02:34:19,762 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 02:34:24,851 - DEBUG - VM is in ACTIVE state now 2026-10-05 02:34:24,852 - INFO - VM name : ctest-TestRoutersBasic-29921330-12079638 2026-10-05 02:34:24,938 - DEBUG - VM ctest-TestRoutersBasic-29921330-12079638 ID is 3a0794ec-688c-4e7a-ab48-9ad6228c0b07 2026-10-05 02:34:24,960 - DEBUG - VM ctest-TestRoutersBasic-29921330-12079638 launched on Node cn-jenkins-deploy-platform-ansible-os-6344-1 2026-10-05 02:34:25,049 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/3a0794ec-688c-4e7a-ab48-9ad6228c0b07 2026-10-05 02:34:25,428 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/3a0794ec-688c-4e7a-ab48-9ad6228c0b07 2026-10-05 02:34:25,463 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/bd1cff4a-8ad9-4e73-9673-4cc32459941b 2026-10-05 02:34:28,731 - 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 1021ms') 2026-10-05 02:34:28,731 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-29921330-12079638 failed! 2026-10-05 02:34:28,793 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-29921330:ctest-vn-58360891 is 92.147.1.1 and allocation pool is NOT set 2026-10-05 02:34:30,858 - 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.99 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.498 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.498/2.245/3.993/1.747 ms') 2026-10-05 02:34:30,858 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-29921330-12079638 passed 2026-10-05 02:34:31,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 02:34:31,013 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29921330-12079638, IP 92.147.1.3, Port 22 2026-10-05 02:34:31,173 - DEBUG - VM ctest-TestRoutersBasic-29921330-12079638 is ready for SSH connections 2026-10-05 02:34:31,173 - INFO - Waiting for VM ctest-TestRoutersBasic-29921330-64143270 to be up.. 2026-10-05 02:34:31,256 - DEBUG - VM is in ACTIVE state now 2026-10-05 02:34:31,256 - INFO - VM name : ctest-TestRoutersBasic-29921330-64143270 2026-10-05 02:34:31,341 - DEBUG - VM ctest-TestRoutersBasic-29921330-64143270 ID is 8a35814b-32e6-48de-bb10-abe46d2a4cd7 2026-10-05 02:34:31,341 - DEBUG - VM ctest-TestRoutersBasic-29921330-64143270 launched on Node cn-jenkins-deploy-platform-ansible-os-6344-1 2026-10-05 02:34:31,428 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/8a35814b-32e6-48de-bb10-abe46d2a4cd7 2026-10-05 02:34:31,440 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/6827b65e-13c6-4670-9823-6881e29df82e 2026-10-05 02:34:32,692 - 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.96 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.485 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.485/2.224/3.963/1.739 ms') 2026-10-05 02:34:32,692 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-29921330-64143270 passed 2026-10-05 02:34:32,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 02:34:32,849 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29921330-64143270, IP 144.116.40.68, Port 22 2026-10-05 02:34:33,019 - DEBUG - VM ctest-TestRoutersBasic-29921330-64143270 is ready for SSH connections 2026-10-05 02:34:33,020 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 02:34:33,020 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.116.40.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-10-05 02:34:33,020 - DEBUG - ping -s 56 -c 3 -W 1 144.116.40.68 2026-10-05 02:34:36,064 - DEBUG - PING 144.116.40.68 (144.116.40.68): 56 data bytes 64 bytes from 144.116.40.68: seq=0 ttl=62 time=8.015 ms 64 bytes from 144.116.40.68: seq=1 ttl=62 time=1.089 ms 64 bytes from 144.116.40.68: seq=2 ttl=62 time=1.407 ms --- 144.116.40.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.089/3.503/8.015 ms 2026-10-05 02:34:36,064 - INFO - Ping to IP 144.116.40.68 from VM ctest-TestRoutersBasic-29921330-12079638 passed 2026-10-05 02:34:36,064 - INFO - Deleting interface with subnet_id 4bc020f8-7cbb-47a1-b934-192652991f6f, port_id None from router 87f7eb72-2d2e-4c63-afd4-86b30639228a 2026-10-05 02:34:36,317 - INFO - Deleting VM ctest-TestRoutersBasic-29921330-64143270 2026-10-05 02:34:36,404 - INFO - Deleting VM ctest-TestRoutersBasic-29921330-12079638 2026-10-05 02:34:36,498 - INFO - Deleting VN ctest-ext_vn-34913126 2026-10-05 02:34:36,580 - DEBUG - VN eae1d21a-d42d-4512-8103-3d665901bfad still in use: Unable to complete operation on network eae1d21a-d42d-4512-8103-3d665901bfad. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7ebbc5bd-34c9-42ed-83ab-c34ed394ca8a'] 2026-10-05 02:34:36,581 - WARNING - Deleting VN ctest-ext_vn-34913126 failed..Will retry 2026-10-05 02:34:38,625 - DEBUG - VN eae1d21a-d42d-4512-8103-3d665901bfad still in use: Unable to complete operation on network eae1d21a-d42d-4512-8103-3d665901bfad. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ef05956e-a2eb-48af-b313-2f944925f3a4'] 2026-10-05 02:34:38,625 - WARNING - Deleting VN ctest-ext_vn-34913126 failed..Will retry 2026-10-05 02:34:40,766 - DEBUG - Response for deleting network () 2026-10-05 02:34:40,766 - INFO - Deleting VN ctest-vn-58360891 2026-10-05 02:34:41,005 - DEBUG - Response for deleting network () 2026-10-05 02:34:41,287 - DEBUG - No XMPP flaps were noticed during the test
2026-10-05 02:34:41,287 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:02]
2026-10-05 02:34:41,287 - INFO - -------------------------------------------------------------------------------- 2026-10-05 02:34:42,154 - INFO - Deleted project: ctest-TestRoutersBasic-29921330, ID : 197ba68d-bdd7-4ebc-be39-54310fd83a75