2026-08-04 09:29:33,750 - INFO - Domain Default found not creating 2026-08-04 09:29:33,943 - INFO - Project ctest-TestRoutersBasic-69224298 not found, creating it 2026-08-04 09:29:34,533 - INFO - Created Project:ctest-TestRoutersBasic-69224298, ID : 81f24abf-059e-4f5f-856c-1b5b5fc7749e 2026-08-04 09:29:36,293 - INFO - ================================================================================ 2026-08-04 09:29:36,293 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-04 09:29:36,293 - 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-04 09:29:36,566 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-08-04 09:29:36,567 - INFO - Initial checks done. Running the testcase now 2026-08-04 09:29:36,567 - INFO - 2026-08-04 09:29:37,470 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-69224298 2026-08-04 09:29:37,569 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-69224298 2026-08-04 09:29:37,901 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69224298', 'default']} 2026-08-04 09:29:38,219 - DEBUG - Response for create_network : {'network': {'id': 'a411b86e-2c80-4a8e-8266-6e1548553bf0', 'name': 'ctest-vn-55560223', 'tenant_id': '81f24abf059e4f5f856c1b5b5fc7749e', 'project_id': '81f24abf059e4f5f856c1b5b5fc7749e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69224298', 'ctest-vn-55560223'], 'port_security_enabled': True, 'description': ''}} 2026-08-04 09:29:38,447 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6b7d827-8096-44aa-84ca-45f9ccf81c6f', 'name': '', 'tenant_id': '81f24abf059e4f5f856c1b5b5fc7749e', 'network_id': 'a411b86e-2c80-4a8e-8266-6e1548553bf0', 'ip_version': 4, 'cidr': '210.222.123.0/26', 'allocation_pools': [{'start': '210.222.123.2', 'end': '210.222.123.62'}], 'gateway_ip': '210.222.123.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.222.123.2', 'tags': [], 'project_id': '81f24abf059e4f5f856c1b5b5fc7749e'}} 2026-08-04 09:29:38,471 - INFO - Created VN ctest-vn-55560223 2026-08-04 09:29:38,525 - DEBUG - VN ctest-vn-55560223 UUID is a411b86e-2c80-4a8e-8266-6e1548553bf0 2026-08-04 09:29:38,875 - DEBUG - Response for create_network : {'network': {'id': 'ba3d0c4d-2998-4ff4-8cec-ec70fce2358d', 'name': 'ctest-ext_vn-26731409', 'tenant_id': '81f24abf059e4f5f856c1b5b5fc7749e', 'project_id': '81f24abf059e4f5f856c1b5b5fc7749e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69224298', 'ctest-ext_vn-26731409'], 'port_security_enabled': True, 'description': ''}} 2026-08-04 09:29:39,111 - DEBUG - Response for create_subnet : {'subnet': {'id': '9600ed10-f232-4f64-930e-e14d50be00b8', 'name': '', 'tenant_id': '81f24abf059e4f5f856c1b5b5fc7749e', 'network_id': 'ba3d0c4d-2998-4ff4-8cec-ec70fce2358d', 'ip_version': 4, 'cidr': '175.229.20.0/26', 'allocation_pools': [{'start': '175.229.20.2', 'end': '175.229.20.62'}], 'gateway_ip': '175.229.20.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.229.20.2', 'tags': [], 'project_id': '81f24abf059e4f5f856c1b5b5fc7749e'}} 2026-08-04 09:29:39,129 - INFO - Created VN ctest-ext_vn-26731409 2026-08-04 09:29:39,185 - DEBUG - VN ctest-ext_vn-26731409 UUID is ba3d0c4d-2998-4ff4-8cec-ec70fce2358d 2026-08-04 09:29:39,370 - DEBUG - Services list from nova: [, , ] 2026-08-04 09:29:39,731 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6131-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6131-1) 2026-08-04 09:29:40,172 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6131-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6131-1) 2026-08-04 09:29:40,249 - INFO - Setting gateway for router 877126c0-277c-4ef3-9f3c-36a28b72ffbe to network ba3d0c4d-2998-4ff4-8cec-ec70fce2358d 2026-08-04 09:29:40,327 - INFO - Adding interface with subnet_id d6b7d827-8096-44aa-84ca-45f9ccf81c6f, port_id None to router 877126c0-277c-4ef3-9f3c-36a28b72ffbe 2026-08-04 09:29:40,693 - INFO - Waiting for VM ctest-TestRoutersBasic-69224298-43428996 to be up.. 2026-08-04 09:29:40,769 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 09:29:45,913 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 09:29:51,000 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 09:29:56,077 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 09:30:01,175 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 09:30:06,273 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 09:30:11,376 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 09:30:16,478 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 09:30:21,585 - DEBUG - VM is in ACTIVE state now 2026-08-04 09:30:21,585 - INFO - VM name : ctest-TestRoutersBasic-69224298-43428996 2026-08-04 09:30:21,688 - DEBUG - VM ctest-TestRoutersBasic-69224298-43428996 ID is a5415471-e762-40af-9d59-a84adddc5c1f 2026-08-04 09:30:21,715 - DEBUG - VM ctest-TestRoutersBasic-69224298-43428996 launched on Node cn-jenkins-deploy-platform-ansible-os-6131-1 2026-08-04 09:30:21,792 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a5415471-e762-40af-9d59-a84adddc5c1f 2026-08-04 09:30:22,177 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a5415471-e762-40af-9d59-a84adddc5c1f 2026-08-04 09:30:22,215 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5571be3a-cfca-448e-a029-30943dd1e62c 2026-08-04 09:30:25,489 - 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 1015ms') 2026-08-04 09:30:25,489 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-69224298-43428996 failed! 2026-08-04 09:30:25,545 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-69224298:ctest-vn-55560223 is 210.222.123.1 and allocation pool is NOT set 2026-08-04 09:30:27,615 - 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.64 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.25 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 = 1.250/3.446/5.643/2.196 ms') 2026-08-04 09:30:27,615 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-69224298-43428996 passed 2026-08-04 09:30:27,773 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-04 09:30:27,773 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69224298-43428996, IP 210.222.123.3, Port 22 2026-08-04 09:30:27,947 - DEBUG - VM ctest-TestRoutersBasic-69224298-43428996 is ready for SSH connections 2026-08-04 09:30:27,947 - INFO - Waiting for VM ctest-TestRoutersBasic-69224298-75705873 to be up.. 2026-08-04 09:30:28,053 - DEBUG - VM is in ACTIVE state now 2026-08-04 09:30:28,053 - INFO - VM name : ctest-TestRoutersBasic-69224298-75705873 2026-08-04 09:30:28,152 - DEBUG - VM ctest-TestRoutersBasic-69224298-75705873 ID is de8f506d-1e12-461e-9f3a-73ae5fe772f5 2026-08-04 09:30:28,152 - DEBUG - VM ctest-TestRoutersBasic-69224298-75705873 launched on Node cn-jenkins-deploy-platform-ansible-os-6131-1 2026-08-04 09:30:28,248 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/de8f506d-1e12-461e-9f3a-73ae5fe772f5 2026-08-04 09:30:28,260 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7720031c-f654-45f8-9415-2905d06d820d 2026-08-04 09:30:31,537 - 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=6.73 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1019ms\r\nrtt min/avg/max/mdev = 6.725/6.725/6.725/0.000 ms') 2026-08-04 09:30:31,537 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-69224298-75705873 passed 2026-08-04 09:30:31,693 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-04 09:30:31,693 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69224298-75705873, IP 175.229.20.4, Port 22 2026-08-04 09:30:31,867 - DEBUG - VM ctest-TestRoutersBasic-69224298-75705873 is ready for SSH connections 2026-08-04 09:30:31,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-04 09:30:31,868 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.229.20.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-08-04 09:30:31,868 - DEBUG - ping -s 56 -c 3 -W 1 175.229.20.4 2026-08-04 09:30:34,965 - DEBUG - PING 175.229.20.4 (175.229.20.4): 56 data bytes 64 bytes from 175.229.20.4: seq=0 ttl=62 time=8.418 ms 64 bytes from 175.229.20.4: seq=1 ttl=62 time=1.239 ms 64 bytes from 175.229.20.4: seq=2 ttl=62 time=1.334 ms --- 175.229.20.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.239/3.663/8.418 ms 2026-08-04 09:30:34,965 - INFO - Ping to IP 175.229.20.4 from VM ctest-TestRoutersBasic-69224298-43428996 passed 2026-08-04 09:30:34,965 - INFO - Deleting interface with subnet_id d6b7d827-8096-44aa-84ca-45f9ccf81c6f, port_id None from router 877126c0-277c-4ef3-9f3c-36a28b72ffbe 2026-08-04 09:30:35,220 - INFO - Deleting VM ctest-TestRoutersBasic-69224298-75705873 2026-08-04 09:30:35,318 - INFO - Deleting VM ctest-TestRoutersBasic-69224298-43428996 2026-08-04 09:30:35,397 - INFO - Deleting VN ctest-ext_vn-26731409 2026-08-04 09:30:35,487 - DEBUG - VN ba3d0c4d-2998-4ff4-8cec-ec70fce2358d still in use: Unable to complete operation on network ba3d0c4d-2998-4ff4-8cec-ec70fce2358d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ed0e4d01-a877-42cc-83fb-95fd3bab0fce'] 2026-08-04 09:30:35,488 - WARNING - Deleting VN ctest-ext_vn-26731409 failed..Will retry 2026-08-04 09:30:37,666 - DEBUG - Response for deleting network () 2026-08-04 09:30:37,667 - INFO - Deleting VN ctest-vn-55560223 2026-08-04 09:30:37,789 - DEBUG - Response for deleting network () 2026-08-04 09:30:38,066 - DEBUG - No XMPP flaps were noticed during the test 2026-08-04 09:30:38,066 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:02] 2026-08-04 09:30:38,066 - INFO - -------------------------------------------------------------------------------- 2026-08-04 09:30:38,913 - INFO - Deleted project: ctest-TestRoutersBasic-69224298, ID : 81f24abf-059e-4f5f-856c-1b5b5fc7749e