2026-09-02 14:21:30,364 - INFO - Domain Default found not creating 2026-09-02 14:21:30,667 - INFO - Project ctest-TestRoutersBasic-50916845 not found, creating it 2026-09-02 14:21:31,209 - INFO - Created Project:ctest-TestRoutersBasic-50916845, ID : b3c39eb2-5820-40c2-9c8f-a77c58a56904 2026-09-02 14:21:33,097 - INFO - ================================================================================ 2026-09-02 14:21:33,097 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-02 14:21:33,097 - 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-09-02 14:21:33,361 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.25': '0'}} with 2026-09-02 14:21:33,361 - INFO - Initial checks done. Running the testcase now 2026-09-02 14:21:33,361 - INFO - 2026-09-02 14:21:34,280 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-50916845 2026-09-02 14:21:34,381 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-50916845 2026-09-02 14:21:34,733 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50916845', 'default']} 2026-09-02 14:21:35,093 - DEBUG - Response for create_network : {'network': {'id': '62a5153b-6ae8-4e20-ae5c-35db40f9bee0', 'name': 'ctest-vn-33426526', 'tenant_id': 'b3c39eb2582040c29c8fa77c58a56904', 'project_id': 'b3c39eb2582040c29c8fa77c58a56904', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50916845', 'ctest-vn-33426526'], 'port_security_enabled': True, 'description': ''}} 2026-09-02 14:21:35,330 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c8be50e-e26f-4385-8625-25ba44e9f756', 'name': '', 'tenant_id': 'b3c39eb2582040c29c8fa77c58a56904', 'network_id': '62a5153b-6ae8-4e20-ae5c-35db40f9bee0', 'ip_version': 4, 'cidr': '101.161.250.128/26', 'allocation_pools': [{'start': '101.161.250.130', 'end': '101.161.250.190'}], 'gateway_ip': '101.161.250.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.161.250.130', 'tags': [], 'project_id': 'b3c39eb2582040c29c8fa77c58a56904'}} 2026-09-02 14:21:35,349 - INFO - Created VN ctest-vn-33426526 2026-09-02 14:21:35,405 - DEBUG - VN ctest-vn-33426526 UUID is 62a5153b-6ae8-4e20-ae5c-35db40f9bee0 2026-09-02 14:21:35,771 - DEBUG - Response for create_network : {'network': {'id': '718df502-4d95-4fa6-9acb-09f81537b0de', 'name': 'ctest-ext_vn-70019242', 'tenant_id': 'b3c39eb2582040c29c8fa77c58a56904', 'project_id': 'b3c39eb2582040c29c8fa77c58a56904', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50916845', 'ctest-ext_vn-70019242'], 'port_security_enabled': True, 'description': ''}} 2026-09-02 14:21:35,966 - DEBUG - Response for create_subnet : {'subnet': {'id': '1679237b-c255-4ecc-9272-1d4145170fa5', 'name': '', 'tenant_id': 'b3c39eb2582040c29c8fa77c58a56904', 'network_id': '718df502-4d95-4fa6-9acb-09f81537b0de', 'ip_version': 4, 'cidr': '18.86.59.64/26', 'allocation_pools': [{'start': '18.86.59.66', 'end': '18.86.59.126'}], 'gateway_ip': '18.86.59.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.86.59.66', 'tags': [], 'project_id': 'b3c39eb2582040c29c8fa77c58a56904'}} 2026-09-02 14:21:35,986 - INFO - Created VN ctest-ext_vn-70019242 2026-09-02 14:21:36,041 - DEBUG - VN ctest-ext_vn-70019242 UUID is 718df502-4d95-4fa6-9acb-09f81537b0de 2026-09-02 14:21:36,222 - DEBUG - Services list from nova: [, , ] 2026-09-02 14:21:36,807 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6248-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6248-1) 2026-09-02 14:21:37,263 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6248-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6248-1) 2026-09-02 14:21:37,349 - INFO - Setting gateway for router bffa822b-da12-4cae-b7b8-8f4b98709be8 to network 718df502-4d95-4fa6-9acb-09f81537b0de 2026-09-02 14:21:37,413 - INFO - Adding interface with subnet_id 3c8be50e-e26f-4385-8625-25ba44e9f756, port_id None to router bffa822b-da12-4cae-b7b8-8f4b98709be8 2026-09-02 14:21:37,759 - INFO - Waiting for VM ctest-TestRoutersBasic-50916845-13593386 to be up.. 2026-09-02 14:21:37,835 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 14:21:42,930 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 14:21:48,023 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 14:21:53,121 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 14:21:58,218 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 14:22:03,303 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 14:22:08,395 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 14:22:13,488 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 14:22:18,629 - DEBUG - VM is in ACTIVE state now 2026-09-02 14:22:18,629 - INFO - VM name : ctest-TestRoutersBasic-50916845-13593386 2026-09-02 14:22:18,714 - DEBUG - VM ctest-TestRoutersBasic-50916845-13593386 ID is 09f5ad91-7645-412e-9fb9-ea99601c2719 2026-09-02 14:22:18,737 - DEBUG - VM ctest-TestRoutersBasic-50916845-13593386 launched on Node cn-jenkins-deploy-platform-ansible-os-6248-1 2026-09-02 14:22:18,822 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/09f5ad91-7645-412e-9fb9-ea99601c2719 2026-09-02 14:22:19,194 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/09f5ad91-7645-412e-9fb9-ea99601c2719 2026-09-02 14:22:19,226 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/792fa62a-6a84-4833-8e83-0e155bc289c4 2026-09-02 14:22:22,502 - 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 1016ms') 2026-09-02 14:22:22,502 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-50916845-13593386 failed! 2026-09-02 14:22:22,561 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-50916845:ctest-vn-33426526 is 101.161.250.129 and allocation pool is NOT set 2026-09-02 14:22:24,635 - 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=7.91 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.817 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.817/4.363/7.910/3.546 ms') 2026-09-02 14:22:24,635 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-50916845-13593386 passed 2026-09-02 14:22:24,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 14:22:24,789 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50916845-13593386, IP 101.161.250.131, Port 22 2026-09-02 14:22:24,959 - DEBUG - VM ctest-TestRoutersBasic-50916845-13593386 is ready for SSH connections 2026-09-02 14:22:24,960 - INFO - Waiting for VM ctest-TestRoutersBasic-50916845-81904492 to be up.. 2026-09-02 14:22:25,044 - DEBUG - VM is in ACTIVE state now 2026-09-02 14:22:25,045 - INFO - VM name : ctest-TestRoutersBasic-50916845-81904492 2026-09-02 14:22:25,134 - DEBUG - VM ctest-TestRoutersBasic-50916845-81904492 ID is cb7c2580-83f7-42f6-b3ab-82060c6bc321 2026-09-02 14:22:25,134 - DEBUG - VM ctest-TestRoutersBasic-50916845-81904492 launched on Node cn-jenkins-deploy-platform-ansible-os-6248-1 2026-09-02 14:22:25,224 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/cb7c2580-83f7-42f6-b3ab-82060c6bc321 2026-09-02 14:22:25,233 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/9042b94d-70c1-401a-908c-068b8acacb04 2026-09-02 14:22:28,522 - 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 1031ms') 2026-09-02 14:22:28,522 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-50916845-81904492 failed! 2026-09-02 14:22:28,581 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-50916845:ctest-ext_vn-70019242 is 18.86.59.65 and allocation pool is NOT set 2026-09-02 14:22:30,649 - 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.44 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.452 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.452/2.447/4.442/1.995 ms') 2026-09-02 14:22:30,649 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-50916845-81904492 passed 2026-09-02 14:22:30,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 14:22:30,805 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50916845-81904492, IP 18.86.59.68, Port 22 2026-09-02 14:22:30,975 - DEBUG - VM ctest-TestRoutersBasic-50916845-81904492 is ready for SSH connections 2026-09-02 14:22:30,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 14:22:30,976 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.86.59.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-09-02 14:22:30,976 - DEBUG - ping -s 56 -c 3 -W 1 18.86.59.68 2026-09-02 14:22:33,983 - DEBUG - PING 18.86.59.68 (18.86.59.68): 56 data bytes 64 bytes from 18.86.59.68: seq=0 ttl=62 time=10.133 ms 64 bytes from 18.86.59.68: seq=1 ttl=62 time=1.302 ms 64 bytes from 18.86.59.68: seq=2 ttl=62 time=1.967 ms --- 18.86.59.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.302/4.467/10.133 ms 2026-09-02 14:22:33,983 - INFO - Ping to IP 18.86.59.68 from VM ctest-TestRoutersBasic-50916845-13593386 passed 2026-09-02 14:22:33,983 - INFO - Deleting interface with subnet_id 3c8be50e-e26f-4385-8625-25ba44e9f756, port_id None from router bffa822b-da12-4cae-b7b8-8f4b98709be8 2026-09-02 14:22:34,245 - INFO - Deleting VM ctest-TestRoutersBasic-50916845-81904492 2026-09-02 14:22:34,329 - INFO - Deleting VM ctest-TestRoutersBasic-50916845-13593386 2026-09-02 14:22:34,428 - INFO - Deleting VN ctest-ext_vn-70019242 2026-09-02 14:22:34,522 - DEBUG - VN 718df502-4d95-4fa6-9acb-09f81537b0de still in use: Unable to complete operation on network 718df502-4d95-4fa6-9acb-09f81537b0de. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-427e1e86-5a0b-472a-9222-0ca43e96a764'] 2026-09-02 14:22:34,522 - WARNING - Deleting VN ctest-ext_vn-70019242 failed..Will retry 2026-09-02 14:22:36,594 - DEBUG - VN 718df502-4d95-4fa6-9acb-09f81537b0de still in use: Unable to complete operation on network 718df502-4d95-4fa6-9acb-09f81537b0de. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e0b9a4f3-e13a-4f13-a664-622b364f7de3'] 2026-09-02 14:22:36,594 - WARNING - Deleting VN ctest-ext_vn-70019242 failed..Will retry 2026-09-02 14:22:38,727 - DEBUG - Response for deleting network () 2026-09-02 14:22:38,727 - INFO - Deleting VN ctest-vn-33426526 2026-09-02 14:22:38,935 - DEBUG - Response for deleting network () 2026-09-02 14:22:39,207 - DEBUG - No XMPP flaps were noticed during the test
2026-09-02 14:22:39,207 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:06]
2026-09-02 14:22:39,207 - INFO - -------------------------------------------------------------------------------- 2026-09-02 14:22:40,039 - INFO - Deleted project: ctest-TestRoutersBasic-50916845, ID : b3c39eb2-5820-40c2-9c8f-a77c58a56904