2026-08-25 20:56:49,788 - INFO - Domain Default found not creating 2026-08-25 20:56:49,945 - INFO - Project ctest-TestRoutersBasic-24431824 not found, creating it 2026-08-25 20:56:50,410 - INFO - Created Project:ctest-TestRoutersBasic-24431824, ID : 366d5f24-ec26-46b7-907f-3c296e155a53 2026-08-25 20:56:52,024 - INFO - ================================================================================ 2026-08-25 20:56:52,025 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-25 20:56:52,025 - 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-08-25 20:56:52,288 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.25': '0'}} with 2026-08-25 20:56:52,289 - INFO - Initial checks done. Running the testcase now 2026-08-25 20:56:52,289 - INFO - 2026-08-25 20:56:53,222 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-24431824 2026-08-25 20:56:53,322 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-24431824 2026-08-25 20:56:53,646 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24431824', 'default']} 2026-08-25 20:56:53,950 - DEBUG - Response for create_network : {'network': {'id': 'cca6296e-96ac-4a7e-91bb-73e3da3fa650', 'name': 'ctest-vn-98045306', 'tenant_id': '366d5f24ec2646b7907f3c296e155a53', 'project_id': '366d5f24ec2646b7907f3c296e155a53', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24431824', 'ctest-vn-98045306'], 'port_security_enabled': True, 'description': ''}} 2026-08-25 20:56:54,157 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f67b78ef-c19d-47fa-abb8-97dca0f35003', 'name': '', 'tenant_id': '366d5f24ec2646b7907f3c296e155a53', 'network_id': 'cca6296e-96ac-4a7e-91bb-73e3da3fa650', 'ip_version': 4, 'cidr': '93.102.159.0/26', 'allocation_pools': [{'start': '93.102.159.2', 'end': '93.102.159.62'}], 'gateway_ip': '93.102.159.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.102.159.2', 'tags': [], 'project_id': '366d5f24ec2646b7907f3c296e155a53'}} 2026-08-25 20:56:54,173 - INFO - Created VN ctest-vn-98045306 2026-08-25 20:56:54,230 - DEBUG - VN ctest-vn-98045306 UUID is cca6296e-96ac-4a7e-91bb-73e3da3fa650 2026-08-25 20:56:54,569 - DEBUG - Response for create_network : {'network': {'id': 'b3089416-82d0-4e76-9289-968992793a00', 'name': 'ctest-ext_vn-65255363', 'tenant_id': '366d5f24ec2646b7907f3c296e155a53', 'project_id': '366d5f24ec2646b7907f3c296e155a53', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24431824', 'ctest-ext_vn-65255363'], 'port_security_enabled': True, 'description': ''}} 2026-08-25 20:56:54,784 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ab7474c-6f2d-4d8d-846d-f1cf984a0404', 'name': '', 'tenant_id': '366d5f24ec2646b7907f3c296e155a53', 'network_id': 'b3089416-82d0-4e76-9289-968992793a00', 'ip_version': 4, 'cidr': '124.201.200.64/26', 'allocation_pools': [{'start': '124.201.200.66', 'end': '124.201.200.126'}], 'gateway_ip': '124.201.200.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.201.200.66', 'tags': [], 'project_id': '366d5f24ec2646b7907f3c296e155a53'}} 2026-08-25 20:56:54,802 - INFO - Created VN ctest-ext_vn-65255363 2026-08-25 20:56:54,858 - DEBUG - VN ctest-ext_vn-65255363 UUID is b3089416-82d0-4e76-9289-968992793a00 2026-08-25 20:56:55,064 - DEBUG - Services list from nova: [, , ] 2026-08-25 20:56:55,398 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6228-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6228-1) 2026-08-25 20:56:55,793 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6228-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6228-1) 2026-08-25 20:56:55,887 - INFO - Setting gateway for router 0f499231-861b-4058-8c64-aa13f5645389 to network b3089416-82d0-4e76-9289-968992793a00 2026-08-25 20:56:55,959 - INFO - Adding interface with subnet_id f67b78ef-c19d-47fa-abb8-97dca0f35003, port_id None to router 0f499231-861b-4058-8c64-aa13f5645389 2026-08-25 20:56:56,263 - INFO - Waiting for VM ctest-TestRoutersBasic-24431824-68360233 to be up.. 2026-08-25 20:56:56,333 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 20:57:01,413 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 20:57:06,546 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 20:57:11,624 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 20:57:16,707 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 20:57:21,785 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 20:57:26,931 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 20:57:32,005 - DEBUG - VM is in ACTIVE state now 2026-08-25 20:57:32,005 - INFO - VM name : ctest-TestRoutersBasic-24431824-68360233 2026-08-25 20:57:32,076 - DEBUG - VM ctest-TestRoutersBasic-24431824-68360233 ID is 946b49b0-a2af-4956-94eb-8b5f741f19b0 2026-08-25 20:57:32,096 - DEBUG - VM ctest-TestRoutersBasic-24431824-68360233 launched on Node cn-jenkins-deploy-platform-ansible-os-6228-1 2026-08-25 20:57:32,165 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/946b49b0-a2af-4956-94eb-8b5f741f19b0 2026-08-25 20:57:32,485 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/946b49b0-a2af-4956-94eb-8b5f741f19b0 2026-08-25 20:57:32,518 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/1d645324-f99c-4021-b28e-cf307c6bf7fa 2026-08-25 20:57:35,771 - 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 1009ms') 2026-08-25 20:57:35,771 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-24431824-68360233 failed! 2026-08-25 20:57:35,826 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-24431824:ctest-vn-98045306 is 93.102.159.1 and allocation pool is NOT set 2026-08-25 20:57:37,889 - 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=10.8 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.501 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.501/5.654/10.808/5.153 ms') 2026-08-25 20:57:37,889 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-24431824-68360233 passed 2026-08-25 20:57:38,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 20:57:38,042 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-24431824-68360233, IP 93.102.159.3, Port 22 2026-08-25 20:57:38,208 - DEBUG - VM ctest-TestRoutersBasic-24431824-68360233 is ready for SSH connections 2026-08-25 20:57:38,208 - INFO - Waiting for VM ctest-TestRoutersBasic-24431824-77427212 to be up.. 2026-08-25 20:57:38,289 - DEBUG - VM is in ACTIVE state now 2026-08-25 20:57:38,289 - INFO - VM name : ctest-TestRoutersBasic-24431824-77427212 2026-08-25 20:57:38,362 - DEBUG - VM ctest-TestRoutersBasic-24431824-77427212 ID is 75ec7694-f7fc-4944-9441-93b3df89f384 2026-08-25 20:57:38,362 - DEBUG - VM ctest-TestRoutersBasic-24431824-77427212 launched on Node cn-jenkins-deploy-platform-ansible-os-6228-1 2026-08-25 20:57:38,435 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/75ec7694-f7fc-4944-9441-93b3df89f384 2026-08-25 20:57:38,444 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/e7541b1a-feec-4dd4-9459-d241550335ae 2026-08-25 20:57:41,696 - 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=2 ttl=63 time=8.13 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1005ms\r\nrtt min/avg/max/mdev = 8.132/8.132/8.132/0.000 ms') 2026-08-25 20:57:41,696 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-24431824-77427212 passed 2026-08-25 20:57:41,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 20:57:41,850 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-24431824-77427212, IP 124.201.200.68, Port 22 2026-08-25 20:57:42,009 - DEBUG - VM ctest-TestRoutersBasic-24431824-77427212 is ready for SSH connections 2026-08-25 20:57:42,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 20:57:42,010 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.201.200.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-08-25 20:57:42,010 - DEBUG - ping -s 56 -c 3 -W 1 124.201.200.68 2026-08-25 20:57:44,932 - DEBUG - PING 124.201.200.68 (124.201.200.68): 56 data bytes 64 bytes from 124.201.200.68: seq=0 ttl=62 time=12.752 ms 64 bytes from 124.201.200.68: seq=1 ttl=62 time=1.290 ms 64 bytes from 124.201.200.68: seq=2 ttl=62 time=0.890 ms --- 124.201.200.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.890/4.977/12.752 ms 2026-08-25 20:57:44,932 - INFO - Ping to IP 124.201.200.68 from VM ctest-TestRoutersBasic-24431824-68360233 passed 2026-08-25 20:57:44,932 - INFO - Deleting interface with subnet_id f67b78ef-c19d-47fa-abb8-97dca0f35003, port_id None from router 0f499231-861b-4058-8c64-aa13f5645389 2026-08-25 20:57:45,145 - INFO - Deleting VM ctest-TestRoutersBasic-24431824-77427212 2026-08-25 20:57:45,214 - INFO - Deleting VM ctest-TestRoutersBasic-24431824-68360233 2026-08-25 20:57:45,281 - INFO - Deleting VN ctest-ext_vn-65255363 2026-08-25 20:57:45,337 - DEBUG - VN b3089416-82d0-4e76-9289-968992793a00 still in use: Unable to complete operation on network b3089416-82d0-4e76-9289-968992793a00. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e1ebd13a-8b21-4622-a867-a9b868547e76'] 2026-08-25 20:57:45,337 - WARNING - Deleting VN ctest-ext_vn-65255363 failed..Will retry 2026-08-25 20:57:47,388 - DEBUG - VN b3089416-82d0-4e76-9289-968992793a00 still in use: Unable to complete operation on network b3089416-82d0-4e76-9289-968992793a00. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-edf0c576-3e8a-47f6-bdc4-6bdfcffdb678'] 2026-08-25 20:57:47,389 - WARNING - Deleting VN ctest-ext_vn-65255363 failed..Will retry 2026-08-25 20:57:49,499 - DEBUG - Response for deleting network () 2026-08-25 20:57:49,499 - INFO - Deleting VN ctest-vn-98045306 2026-08-25 20:57:49,608 - DEBUG - Response for deleting network () 2026-08-25 20:57:49,868 - DEBUG - No XMPP flaps were noticed during the test 2026-08-25 20:57:49,868 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:57] 2026-08-25 20:57:49,869 - INFO - -------------------------------------------------------------------------------- 2026-08-25 20:57:50,603 - INFO - Deleted project: ctest-TestRoutersBasic-24431824, ID : 366d5f24-ec26-46b7-907f-3c296e155a53