2026-07-08 19:33:02,564 - INFO - Domain Default found not creating 2026-07-08 19:33:02,798 - INFO - Project ctest-TestRoutersBasic-17912336 not found, creating it 2026-07-08 19:33:03,441 - INFO - Created Project:ctest-TestRoutersBasic-17912336, ID : d94f73b8-def9-461f-8d2e-8ecb8812cf03 2026-07-08 19:33:05,452 - INFO - ================================================================================ 2026-07-08 19:33:05,452 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-07-08 19:33:05,452 - 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-07-08 19:33:05,730 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-07-08 19:33:05,730 - INFO - Initial checks done. Running the testcase now 2026-07-08 19:33:05,730 - INFO - 2026-07-08 19:33:06,729 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-17912336 2026-07-08 19:33:06,831 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-17912336 2026-07-08 19:33:07,195 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17912336', 'default']} 2026-07-08 19:33:07,554 - DEBUG - Response for create_network : {'network': {'id': '81005272-a347-419c-8464-0c123313de73', 'name': 'ctest-vn-27511579', 'tenant_id': 'd94f73b8def9461f8d2e8ecb8812cf03', 'project_id': 'd94f73b8def9461f8d2e8ecb8812cf03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17912336', 'ctest-vn-27511579'], 'port_security_enabled': True, 'description': ''}} 2026-07-08 19:33:07,831 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e83f51d2-898f-4ea5-af58-25b50d8287a2', 'name': '', 'tenant_id': 'd94f73b8def9461f8d2e8ecb8812cf03', 'network_id': '81005272-a347-419c-8464-0c123313de73', 'ip_version': 4, 'cidr': '70.158.44.64/26', 'allocation_pools': [{'start': '70.158.44.66', 'end': '70.158.44.126'}], 'gateway_ip': '70.158.44.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.158.44.66', 'tags': [], 'project_id': 'd94f73b8def9461f8d2e8ecb8812cf03'}} 2026-07-08 19:33:07,855 - INFO - Created VN ctest-vn-27511579 2026-07-08 19:33:07,911 - DEBUG - VN ctest-vn-27511579 UUID is 81005272-a347-419c-8464-0c123313de73 2026-07-08 19:33:08,325 - DEBUG - Response for create_network : {'network': {'id': 'c6f0b5b1-aeff-407e-b9a1-6e31eff89a61', 'name': 'ctest-ext_vn-89913191', 'tenant_id': 'd94f73b8def9461f8d2e8ecb8812cf03', 'project_id': 'd94f73b8def9461f8d2e8ecb8812cf03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17912336', 'ctest-ext_vn-89913191'], 'port_security_enabled': True, 'description': ''}} 2026-07-08 19:33:08,602 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a030e1ed-2204-4494-8422-0a6f4183f3f7', 'name': '', 'tenant_id': 'd94f73b8def9461f8d2e8ecb8812cf03', 'network_id': 'c6f0b5b1-aeff-407e-b9a1-6e31eff89a61', 'ip_version': 4, 'cidr': '160.199.57.128/26', 'allocation_pools': [{'start': '160.199.57.130', 'end': '160.199.57.190'}], 'gateway_ip': '160.199.57.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.199.57.130', 'tags': [], 'project_id': 'd94f73b8def9461f8d2e8ecb8812cf03'}} 2026-07-08 19:33:08,633 - INFO - Created VN ctest-ext_vn-89913191 2026-07-08 19:33:08,695 - DEBUG - VN ctest-ext_vn-89913191 UUID is c6f0b5b1-aeff-407e-b9a1-6e31eff89a61 2026-07-08 19:33:08,900 - DEBUG - Services list from nova: [, , ] 2026-07-08 19:33:09,360 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6087-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6087-1) 2026-07-08 19:33:09,867 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6087-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6087-1) 2026-07-08 19:33:09,965 - INFO - Setting gateway for router 2e97afaf-dfb3-42ca-aa84-3ae4bb5cbef4 to network c6f0b5b1-aeff-407e-b9a1-6e31eff89a61 2026-07-08 19:33:10,041 - INFO - Adding interface with subnet_id e83f51d2-898f-4ea5-af58-25b50d8287a2, port_id None to router 2e97afaf-dfb3-42ca-aa84-3ae4bb5cbef4 2026-07-08 19:33:10,397 - INFO - Waiting for VM ctest-TestRoutersBasic-17912336-86600323 to be up.. 2026-07-08 19:33:10,509 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-08 19:33:15,603 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-08 19:33:20,717 - DEBUG - VM is in ACTIVE state now 2026-07-08 19:33:20,717 - INFO - VM name : ctest-TestRoutersBasic-17912336-86600323 2026-07-08 19:33:20,848 - DEBUG - VM ctest-TestRoutersBasic-17912336-86600323 ID is 2cfd8359-12d1-436e-9190-8d84c9677838 2026-07-08 19:33:20,886 - DEBUG - VM ctest-TestRoutersBasic-17912336-86600323 launched on Node cn-jenkins-deploy-platform-ansible-os-6087-1 2026-07-08 19:33:20,996 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2cfd8359-12d1-436e-9190-8d84c9677838 2026-07-08 19:33:21,425 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2cfd8359-12d1-436e-9190-8d84c9677838 2026-07-08 19:33:21,470 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5827b300-39d0-4886-81bc-603037a01cbe 2026-07-08 19:33:24,752 - 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 1012ms') 2026-07-08 19:33:24,753 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-17912336-86600323 failed! 2026-07-08 19:33:24,811 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-17912336:ctest-vn-27511579 is 70.158.44.65 and allocation pool is NOT set 2026-07-08 19:33:28,913 - 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 1031ms') 2026-07-08 19:33:28,913 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-17912336-86600323 failed! 2026-07-08 19:33:28,971 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-17912336:ctest-vn-27511579 is 70.158.44.65 and allocation pool is NOT set 2026-07-08 19:33:31,044 - 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=5.63 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.600 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.600/3.116/5.632/2.516 ms') 2026-07-08 19:33:31,044 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-17912336-86600323 passed 2026-07-08 19:33:31,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-08 19:33:31,207 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17912336-86600323, IP 70.158.44.67, Port 22 2026-07-08 19:33:31,382 - DEBUG - VM ctest-TestRoutersBasic-17912336-86600323 is ready for SSH connections 2026-07-08 19:33:31,382 - INFO - Waiting for VM ctest-TestRoutersBasic-17912336-77628374 to be up.. 2026-07-08 19:33:31,486 - DEBUG - VM is in ACTIVE state now 2026-07-08 19:33:31,486 - INFO - VM name : ctest-TestRoutersBasic-17912336-77628374 2026-07-08 19:33:31,579 - DEBUG - VM ctest-TestRoutersBasic-17912336-77628374 ID is 6e266729-cb89-454b-b98f-8408b8aca26e 2026-07-08 19:33:31,579 - DEBUG - VM ctest-TestRoutersBasic-17912336-77628374 launched on Node cn-jenkins-deploy-platform-ansible-os-6087-1 2026-07-08 19:33:31,668 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6e266729-cb89-454b-b98f-8408b8aca26e 2026-07-08 19:33:31,680 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5783ef90-ff38-43d3-8d8f-7306f611f6d3 2026-07-08 19:33:32,933 - 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.82 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.620 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.620/2.218/3.816/1.598 ms') 2026-07-08 19:33:32,934 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-17912336-77628374 passed 2026-07-08 19:33:33,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-08 19:33:33,092 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17912336-77628374, IP 160.199.57.132, Port 22 2026-07-08 19:33:33,262 - DEBUG - VM ctest-TestRoutersBasic-17912336-77628374 is ready for SSH connections 2026-07-08 19:33:33,262 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-08 19:33:33,262 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.199.57.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-07-08 19:33:33,262 - DEBUG - ping -s 56 -c 3 -W 1 160.199.57.132 2026-07-08 19:33:35,959 - DEBUG - PING 160.199.57.132 (160.199.57.132): 56 data bytes 64 bytes from 160.199.57.132: seq=0 ttl=62 time=8.858 ms 64 bytes from 160.199.57.132: seq=1 ttl=62 time=1.758 ms 64 bytes from 160.199.57.132: seq=2 ttl=62 time=2.160 ms --- 160.199.57.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.758/4.258/8.858 ms 2026-07-08 19:33:35,959 - INFO - Ping to IP 160.199.57.132 from VM ctest-TestRoutersBasic-17912336-86600323 passed 2026-07-08 19:33:35,959 - INFO - Deleting interface with subnet_id e83f51d2-898f-4ea5-af58-25b50d8287a2, port_id None from router 2e97afaf-dfb3-42ca-aa84-3ae4bb5cbef4 2026-07-08 19:33:36,234 - INFO - Deleting VM ctest-TestRoutersBasic-17912336-77628374 2026-07-08 19:33:36,358 - INFO - Deleting VM ctest-TestRoutersBasic-17912336-86600323 2026-07-08 19:33:36,466 - INFO - Deleting VN ctest-ext_vn-89913191 2026-07-08 19:33:36,574 - DEBUG - VN c6f0b5b1-aeff-407e-b9a1-6e31eff89a61 still in use: Unable to complete operation on network c6f0b5b1-aeff-407e-b9a1-6e31eff89a61. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ac967944-14e6-4a98-9313-2ae4efcbb188'] 2026-07-08 19:33:36,575 - WARNING - Deleting VN ctest-ext_vn-89913191 failed..Will retry 2026-07-08 19:33:38,634 - DEBUG - VN c6f0b5b1-aeff-407e-b9a1-6e31eff89a61 still in use: Unable to complete operation on network c6f0b5b1-aeff-407e-b9a1-6e31eff89a61. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6ec80208-7d3d-43d2-a224-f403f2bff219'] 2026-07-08 19:33:38,634 - WARNING - Deleting VN ctest-ext_vn-89913191 failed..Will retry 2026-07-08 19:33:40,762 - DEBUG - Response for deleting network () 2026-07-08 19:33:40,762 - INFO - Deleting VN ctest-vn-27511579 2026-07-08 19:33:40,884 - DEBUG - Response for deleting network () 2026-07-08 19:33:41,162 - DEBUG - No XMPP flaps were noticed during the test 2026-07-08 19:33:41,162 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:36] 2026-07-08 19:33:41,162 - INFO - -------------------------------------------------------------------------------- 2026-07-08 19:33:41,989 - INFO - Deleted project: ctest-TestRoutersBasic-17912336, ID : d94f73b8-def9-461f-8d2e-8ecb8812cf03