2025-10-28 21:42:59,761 - INFO - Domain Default found not creating 2025-10-28 21:42:59,895 - INFO - Project ctest-TestRoutersBasic-44755965 not found, creating it 2025-10-28 21:43:00,328 - INFO - Created Project:ctest-TestRoutersBasic-44755965, ID : c8e042db-5e58-4748-9644-db618df75775 2025-10-28 21:43:01,736 - INFO - ================================================================================ 2025-10-28 21:43:01,736 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-28 21:43:01,736 - 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 2025-10-28 21:43:02,008 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.25': '0'}} with 2025-10-28 21:43:02,008 - INFO - Initial checks done. Running the testcase now 2025-10-28 21:43:02,009 - INFO - 2025-10-28 21:43:02,692 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-44755965 2025-10-28 21:43:02,787 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-44755965 2025-10-28 21:43:03,106 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44755965', 'default']} 2025-10-28 21:43:03,373 - DEBUG - Response for create_network : {'network': {'id': '7580bfda-1a6c-448a-94f9-60b92cd7f714', 'name': 'ctest-vn-85907095', 'tenant_id': 'c8e042db5e5847489644db618df75775', 'project_id': 'c8e042db5e5847489644db618df75775', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44755965', 'ctest-vn-85907095'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:43:03,575 - DEBUG - Response for create_subnet : {'subnet': {'id': '39e8653f-0164-445b-b37c-fffd73cf9d63', 'name': '', 'tenant_id': 'c8e042db5e5847489644db618df75775', 'network_id': '7580bfda-1a6c-448a-94f9-60b92cd7f714', 'ip_version': 4, 'cidr': '24.143.83.192/26', 'allocation_pools': [{'start': '24.143.83.194', 'end': '24.143.83.254'}], 'gateway_ip': '24.143.83.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.143.83.194', 'tags': [], 'project_id': 'c8e042db5e5847489644db618df75775'}} 2025-10-28 21:43:03,591 - INFO - Created VN ctest-vn-85907095 2025-10-28 21:43:03,643 - DEBUG - VN ctest-vn-85907095 UUID is 7580bfda-1a6c-448a-94f9-60b92cd7f714 2025-10-28 21:43:03,969 - DEBUG - Response for create_network : {'network': {'id': 'f51297a7-e1dc-4299-b05d-5ef8f6d56785', 'name': 'ctest-ext_vn-68012498', 'tenant_id': 'c8e042db5e5847489644db618df75775', 'project_id': 'c8e042db5e5847489644db618df75775', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44755965', 'ctest-ext_vn-68012498'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:43:04,168 - DEBUG - Response for create_subnet : {'subnet': {'id': '77755335-186a-4366-87e7-0f60768e4068', 'name': '', 'tenant_id': 'c8e042db5e5847489644db618df75775', 'network_id': 'f51297a7-e1dc-4299-b05d-5ef8f6d56785', 'ip_version': 4, 'cidr': '106.120.185.64/26', 'allocation_pools': [{'start': '106.120.185.66', 'end': '106.120.185.126'}], 'gateway_ip': '106.120.185.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.120.185.66', 'tags': [], 'project_id': 'c8e042db5e5847489644db618df75775'}} 2025-10-28 21:43:04,185 - INFO - Created VN ctest-ext_vn-68012498 2025-10-28 21:43:04,235 - DEBUG - VN ctest-ext_vn-68012498 UUID is f51297a7-e1dc-4299-b05d-5ef8f6d56785 2025-10-28 21:43:04,441 - DEBUG - Services list from nova: [, , ] 2025-10-28 21:43:05,433 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4520-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4520-1) 2025-10-28 21:43:06,499 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4520-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4520-1) 2025-10-28 21:43:06,560 - INFO - Setting gateway for router 946117a6-f1db-49a5-ba4d-51848583b4ce to network f51297a7-e1dc-4299-b05d-5ef8f6d56785 2025-10-28 21:43:06,661 - INFO - Adding interface with subnet_id 39e8653f-0164-445b-b37c-fffd73cf9d63, port_id None to router 946117a6-f1db-49a5-ba4d-51848583b4ce 2025-10-28 21:43:07,088 - INFO - Waiting for VM ctest-TestRoutersBasic-44755965-93968743 to be up.. 2025-10-28 21:43:07,238 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-28 21:43:12,322 - DEBUG - VM is in ACTIVE state now 2025-10-28 21:43:12,322 - INFO - VM name : ctest-TestRoutersBasic-44755965-93968743 2025-10-28 21:43:12,391 - DEBUG - VM ctest-TestRoutersBasic-44755965-93968743 ID is 9c688933-037e-4474-83ba-72838362a6cf 2025-10-28 21:43:12,416 - DEBUG - VM ctest-TestRoutersBasic-44755965-93968743 launched on Node cn-jenkins-deploy-platform-ansible-os-4520-1 2025-10-28 21:43:12,494 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9c688933-037e-4474-83ba-72838362a6cf 2025-10-28 21:43:12,784 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9c688933-037e-4474-83ba-72838362a6cf 2025-10-28 21:43:12,821 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/998c7026-1566-4aca-974d-fd22df68d185 2025-10-28 21:43:16,056 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1004ms') 2025-10-28 21:43:16,056 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-44755965-93968743 failed! 2025-10-28 21:43:16,111 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-44755965:ctest-vn-85907095 is 24.143.83.193 and allocation pool is NOT set 2025-10-28 21:43:18,175 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.371 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.371/1.958/3.545/1.587 ms') 2025-10-28 21:43:18,175 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-44755965-93968743 passed 2025-10-28 21:43:18,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:43:18,327 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44755965-93968743, IP 24.143.83.195, Port 22 2025-10-28 21:43:18,494 - DEBUG - VM ctest-TestRoutersBasic-44755965-93968743 is ready for SSH connections 2025-10-28 21:43:18,494 - INFO - Waiting for VM ctest-TestRoutersBasic-44755965-50453797 to be up.. 2025-10-28 21:43:18,578 - DEBUG - VM is in ACTIVE state now 2025-10-28 21:43:18,579 - INFO - VM name : ctest-TestRoutersBasic-44755965-50453797 2025-10-28 21:43:18,652 - DEBUG - VM ctest-TestRoutersBasic-44755965-50453797 ID is e69a06c6-5e5c-4e41-be94-e932823f7d9d 2025-10-28 21:43:18,652 - DEBUG - VM ctest-TestRoutersBasic-44755965-50453797 launched on Node cn-jenkins-deploy-platform-ansible-os-4520-1 2025-10-28 21:43:18,725 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e69a06c6-5e5c-4e41-be94-e932823f7d9d 2025-10-28 21:43:18,732 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/74162282-7647-4ec9-b01c-e292d6113cc9 2025-10-28 21:43:19,982 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.370 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.370/1.961/3.552/1.591 ms') 2025-10-28 21:43:19,982 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-44755965-50453797 passed 2025-10-28 21:43:20,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:43:20,131 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44755965-50453797, IP 106.120.185.67, Port 22 2025-10-28 21:43:20,298 - DEBUG - VM ctest-TestRoutersBasic-44755965-50453797 is ready for SSH connections 2025-10-28 21:43:20,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:43:20,299 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.120.185.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-28 21:43:20,299 - DEBUG - ping -s 56 -c 3 -W 1 106.120.185.67 2025-10-28 21:43:23,999 - DEBUG - PING 106.120.185.67 (106.120.185.67): 56 data bytes 64 bytes from 106.120.185.67: seq=0 ttl=62 time=8.537 ms 64 bytes from 106.120.185.67: seq=1 ttl=62 time=0.997 ms 64 bytes from 106.120.185.67: seq=2 ttl=62 time=0.825 ms --- 106.120.185.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.825/3.453/8.537 ms 2025-10-28 21:43:23,999 - INFO - Ping to IP 106.120.185.67 from VM ctest-TestRoutersBasic-44755965-93968743 passed 2025-10-28 21:43:23,999 - INFO - Deleting interface with subnet_id 39e8653f-0164-445b-b37c-fffd73cf9d63, port_id None from router 946117a6-f1db-49a5-ba4d-51848583b4ce 2025-10-28 21:43:24,190 - INFO - Deleting VM ctest-TestRoutersBasic-44755965-50453797 2025-10-28 21:43:24,266 - INFO - Deleting VM ctest-TestRoutersBasic-44755965-93968743 2025-10-28 21:43:24,342 - INFO - Deleting VN ctest-ext_vn-68012498 2025-10-28 21:43:24,402 - DEBUG - VN f51297a7-e1dc-4299-b05d-5ef8f6d56785 still in use: Unable to complete operation on network f51297a7-e1dc-4299-b05d-5ef8f6d56785. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-30386abf-f7df-4bce-ae78-ef0541f94bc9'] 2025-10-28 21:43:24,402 - WARNING - Deleting VN ctest-ext_vn-68012498 failed..Will retry 2025-10-28 21:43:26,495 - DEBUG - Response for deleting network () 2025-10-28 21:43:26,495 - INFO - Deleting VN ctest-vn-85907095 2025-10-28 21:43:26,574 - DEBUG - Response for deleting network () 2025-10-28 21:43:26,835 - DEBUG - No XMPP flaps were noticed during the test 2025-10-28 21:43:26,835 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-28 21:43:26,835 - INFO - -------------------------------------------------------------------------------- 2025-10-28 21:43:27,492 - INFO - Deleted project: ctest-TestRoutersBasic-44755965, ID : c8e042db-5e58-4748-9644-db618df75775