2026-09-18 13:39:30,473 - INFO - Domain Default found not creating 2026-09-18 13:39:30,666 - INFO - Project ctest-TestRoutersBasic-73611653 not found, creating it 2026-09-18 13:39:31,188 - INFO - Created Project:ctest-TestRoutersBasic-73611653, ID : a7614d03-a847-4d9c-a918-81538b2ee6a8 2026-09-18 13:39:32,913 - INFO - ================================================================================ 2026-09-18 13:39:32,914 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-18 13:39:32,914 - 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-18 13:39:33,184 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.17': '0'}} with 2026-09-18 13:39:33,184 - INFO - Initial checks done. Running the testcase now 2026-09-18 13:39:33,184 - INFO - 2026-09-18 13:39:33,983 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-73611653 2026-09-18 13:39:34,078 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-73611653 2026-09-18 13:39:34,406 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73611653', 'default']} 2026-09-18 13:39:34,727 - DEBUG - Response for create_network : {'network': {'id': '74f6a517-985a-4d59-9479-03aff3563189', 'name': 'ctest-vn-09727375', 'tenant_id': 'a7614d03a8474d9ca91881538b2ee6a8', 'project_id': 'a7614d03a8474d9ca91881538b2ee6a8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73611653', 'ctest-vn-09727375'], 'port_security_enabled': True, 'description': ''}} 2026-09-18 13:39:34,915 - DEBUG - Response for create_subnet : {'subnet': {'id': '06c9cfe7-d7c7-4b5b-be93-3ba6ac5af475', 'name': '', 'tenant_id': 'a7614d03a8474d9ca91881538b2ee6a8', 'network_id': '74f6a517-985a-4d59-9479-03aff3563189', 'ip_version': 4, 'cidr': '157.68.219.128/26', 'allocation_pools': [{'start': '157.68.219.130', 'end': '157.68.219.190'}], 'gateway_ip': '157.68.219.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.68.219.130', 'tags': [], 'project_id': 'a7614d03a8474d9ca91881538b2ee6a8'}} 2026-09-18 13:39:34,935 - INFO - Created VN ctest-vn-09727375 2026-09-18 13:39:34,990 - DEBUG - VN ctest-vn-09727375 UUID is 74f6a517-985a-4d59-9479-03aff3563189 2026-09-18 13:39:35,358 - DEBUG - Response for create_network : {'network': {'id': '5ad294f4-644d-429b-92e8-09db7ee20f8e', 'name': 'ctest-ext_vn-44471966', 'tenant_id': 'a7614d03a8474d9ca91881538b2ee6a8', 'project_id': 'a7614d03a8474d9ca91881538b2ee6a8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73611653', 'ctest-ext_vn-44471966'], 'port_security_enabled': True, 'description': ''}} 2026-09-18 13:39:35,582 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb511af6-33be-4d39-9805-d561d5e0ac62', 'name': '', 'tenant_id': 'a7614d03a8474d9ca91881538b2ee6a8', 'network_id': '5ad294f4-644d-429b-92e8-09db7ee20f8e', 'ip_version': 4, 'cidr': '189.46.18.192/26', 'allocation_pools': [{'start': '189.46.18.194', 'end': '189.46.18.254'}], 'gateway_ip': '189.46.18.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.46.18.194', 'tags': [], 'project_id': 'a7614d03a8474d9ca91881538b2ee6a8'}} 2026-09-18 13:39:35,600 - INFO - Created VN ctest-ext_vn-44471966 2026-09-18 13:39:35,654 - DEBUG - VN ctest-ext_vn-44471966 UUID is 5ad294f4-644d-429b-92e8-09db7ee20f8e 2026-09-18 13:39:35,821 - DEBUG - Services list from nova: [, , ] 2026-09-18 13:39:36,188 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6310-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6310-1) 2026-09-18 13:39:36,610 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6310-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6310-1) 2026-09-18 13:39:36,694 - INFO - Setting gateway for router 4f3779d6-9e78-49cd-b9d5-6d52818e78da to network 5ad294f4-644d-429b-92e8-09db7ee20f8e 2026-09-18 13:39:36,763 - INFO - Adding interface with subnet_id 06c9cfe7-d7c7-4b5b-be93-3ba6ac5af475, port_id None to router 4f3779d6-9e78-49cd-b9d5-6d52818e78da 2026-09-18 13:39:37,064 - INFO - Waiting for VM ctest-TestRoutersBasic-73611653-67732261 to be up.. 2026-09-18 13:39:37,133 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-18 13:39:42,225 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-18 13:39:47,456 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-18 13:39:52,544 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-18 13:39:57,640 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-18 13:40:02,739 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-18 13:40:07,824 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-18 13:40:12,917 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-18 13:40:18,034 - DEBUG - VM is in ACTIVE state now 2026-09-18 13:40:18,034 - INFO - VM name : ctest-TestRoutersBasic-73611653-67732261 2026-09-18 13:40:18,128 - DEBUG - VM ctest-TestRoutersBasic-73611653-67732261 ID is b2675506-2f8b-4e25-8ea4-637f84dd7554 2026-09-18 13:40:18,154 - DEBUG - VM ctest-TestRoutersBasic-73611653-67732261 launched on Node cn-jenkins-deploy-platform-ansible-os-6310-1 2026-09-18 13:40:18,243 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/b2675506-2f8b-4e25-8ea4-637f84dd7554 2026-09-18 13:40:18,572 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/b2675506-2f8b-4e25-8ea4-637f84dd7554 2026-09-18 13:40:18,610 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/f9941659-f427-4744-87b3-960f77ccfa3c 2026-09-18 13:40:21,885 - 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=2 ttl=63 time=9.89 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 9.887/9.887/9.887/0.000 ms') 2026-09-18 13:40:21,885 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-73611653-67732261 passed 2026-09-18 13:40:22,034 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-18 13:40:22,034 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73611653-67732261, IP 157.68.219.131, Port 22 2026-09-18 13:40:22,205 - DEBUG - VM ctest-TestRoutersBasic-73611653-67732261 is ready for SSH connections 2026-09-18 13:40:22,205 - INFO - Waiting for VM ctest-TestRoutersBasic-73611653-18313623 to be up.. 2026-09-18 13:40:22,289 - DEBUG - VM is in ACTIVE state now 2026-09-18 13:40:22,289 - INFO - VM name : ctest-TestRoutersBasic-73611653-18313623 2026-09-18 13:40:22,382 - DEBUG - VM ctest-TestRoutersBasic-73611653-18313623 ID is 526a90ca-59e0-4d85-ae30-aea898e92d30 2026-09-18 13:40:22,382 - DEBUG - VM ctest-TestRoutersBasic-73611653-18313623 launched on Node cn-jenkins-deploy-platform-ansible-os-6310-1 2026-09-18 13:40:22,477 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/526a90ca-59e0-4d85-ae30-aea898e92d30 2026-09-18 13:40:22,488 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/8e28dc6f-90cc-440e-afd7-c8042a672946 2026-09-18 13:40:25,756 - 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 1021ms') 2026-09-18 13:40:25,757 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-73611653-18313623 failed! 2026-09-18 13:40:25,814 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-73611653:ctest-ext_vn-44471966 is 189.46.18.193 and allocation pool is NOT set 2026-09-18 13:40:27,883 - 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.48 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.507 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.507/1.991/3.476/1.484 ms') 2026-09-18 13:40:27,883 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-73611653-18313623 passed 2026-09-18 13:40:28,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-18 13:40:28,038 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73611653-18313623, IP 189.46.18.196, Port 22 2026-09-18 13:40:28,213 - DEBUG - VM ctest-TestRoutersBasic-73611653-18313623 is ready for SSH connections 2026-09-18 13:40:28,213 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-18 13:40:28,213 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.46.18.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-09-18 13:40:28,213 - DEBUG - ping -s 56 -c 3 -W 1 189.46.18.196 2026-09-18 13:40:31,135 - DEBUG - PING 189.46.18.196 (189.46.18.196): 56 data bytes 64 bytes from 189.46.18.196: seq=0 ttl=62 time=6.113 ms 64 bytes from 189.46.18.196: seq=1 ttl=62 time=1.511 ms 64 bytes from 189.46.18.196: seq=2 ttl=62 time=1.172 ms --- 189.46.18.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.172/2.932/6.113 ms 2026-09-18 13:40:31,135 - INFO - Ping to IP 189.46.18.196 from VM ctest-TestRoutersBasic-73611653-67732261 passed 2026-09-18 13:40:31,135 - INFO - Deleting interface with subnet_id 06c9cfe7-d7c7-4b5b-be93-3ba6ac5af475, port_id None from router 4f3779d6-9e78-49cd-b9d5-6d52818e78da 2026-09-18 13:40:31,383 - INFO - Deleting VM ctest-TestRoutersBasic-73611653-18313623 2026-09-18 13:40:31,483 - INFO - Deleting VM ctest-TestRoutersBasic-73611653-67732261 2026-09-18 13:40:31,560 - INFO - Deleting VN ctest-ext_vn-44471966 2026-09-18 13:40:31,637 - DEBUG - VN 5ad294f4-644d-429b-92e8-09db7ee20f8e still in use: Unable to complete operation on network 5ad294f4-644d-429b-92e8-09db7ee20f8e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-108dbad8-a319-4e46-a88a-68a351070324'] 2026-09-18 13:40:31,637 - WARNING - Deleting VN ctest-ext_vn-44471966 failed..Will retry 2026-09-18 13:40:33,691 - DEBUG - VN 5ad294f4-644d-429b-92e8-09db7ee20f8e still in use: Unable to complete operation on network 5ad294f4-644d-429b-92e8-09db7ee20f8e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5ebc9aef-7524-4de9-bcff-58f659e92dad'] 2026-09-18 13:40:33,691 - WARNING - Deleting VN ctest-ext_vn-44471966 failed..Will retry 2026-09-18 13:40:35,811 - DEBUG - Response for deleting network () 2026-09-18 13:40:35,811 - INFO - Deleting VN ctest-vn-09727375 2026-09-18 13:40:35,925 - DEBUG - Response for deleting network () 2026-09-18 13:40:36,188 - DEBUG - No XMPP flaps were noticed during the test
2026-09-18 13:40:36,188 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:04]
2026-09-18 13:40:36,188 - INFO - -------------------------------------------------------------------------------- 2026-09-18 13:40:36,984 - INFO - Deleted project: ctest-TestRoutersBasic-73611653, ID : a7614d03-a847-4d9c-a918-81538b2ee6a8