2025-06-27 13:59:03,703 - INFO - Domain Default found not creating 2025-06-27 13:59:03,874 - INFO - Project ctest-TestRoutersBasic-80198702 not found, creating it 2025-06-27 13:59:04,353 - INFO - Created Project:ctest-TestRoutersBasic-80198702, ID : ea554a23-f51e-4c34-9d36-7698398bffa3 2025-06-27 13:59:05,864 - INFO - ================================================================================ 2025-06-27 13:59:05,864 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-27 13:59:05,864 - 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-06-27 13:59:06,120 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-27 13:59:06,120 - INFO - Initial checks done. Running the testcase now 2025-06-27 13:59:06,121 - INFO - 2025-06-27 13:59:06,882 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-80198702 2025-06-27 13:59:06,984 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-80198702 2025-06-27 13:59:07,332 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80198702', 'default']} 2025-06-27 13:59:07,642 - DEBUG - Response for create_network : {'network': {'id': 'efc9b85b-4852-4a97-b430-07dc51d24d65', 'name': 'ctest-vn-30244312', 'tenant_id': 'ea554a23f51e4c349d367698398bffa3', 'project_id': 'ea554a23f51e4c349d367698398bffa3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80198702', 'ctest-vn-30244312'], 'port_security_enabled': True, 'description': ''}} 2025-06-27 13:59:07,857 - DEBUG - Response for create_subnet : {'subnet': {'id': '484c36c3-1e41-422c-9553-e4b72425e78b', 'name': '', 'tenant_id': 'ea554a23f51e4c349d367698398bffa3', 'network_id': 'efc9b85b-4852-4a97-b430-07dc51d24d65', 'ip_version': 4, 'cidr': '217.76.17.64/26', 'allocation_pools': [{'start': '217.76.17.66', 'end': '217.76.17.126'}], 'gateway_ip': '217.76.17.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.76.17.66', 'tags': [], 'project_id': 'ea554a23f51e4c349d367698398bffa3'}} 2025-06-27 13:59:07,877 - INFO - Created VN ctest-vn-30244312 2025-06-27 13:59:07,932 - DEBUG - VN ctest-vn-30244312 UUID is efc9b85b-4852-4a97-b430-07dc51d24d65 2025-06-27 13:59:08,327 - DEBUG - Response for create_network : {'network': {'id': '54dcccc9-5c63-4e33-be46-dd82409b43e0', 'name': 'ctest-ext_vn-02775415', 'tenant_id': 'ea554a23f51e4c349d367698398bffa3', 'project_id': 'ea554a23f51e4c349d367698398bffa3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80198702', 'ctest-ext_vn-02775415'], 'port_security_enabled': True, 'description': ''}} 2025-06-27 13:59:08,505 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5fe2559-520a-45e5-8a8e-96e616d87b6e', 'name': '', 'tenant_id': 'ea554a23f51e4c349d367698398bffa3', 'network_id': '54dcccc9-5c63-4e33-be46-dd82409b43e0', 'ip_version': 4, 'cidr': '46.84.216.0/26', 'allocation_pools': [{'start': '46.84.216.2', 'end': '46.84.216.62'}], 'gateway_ip': '46.84.216.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.84.216.2', 'tags': [], 'project_id': 'ea554a23f51e4c349d367698398bffa3'}} 2025-06-27 13:59:08,524 - INFO - Created VN ctest-ext_vn-02775415 2025-06-27 13:59:08,583 - DEBUG - VN ctest-ext_vn-02775415 UUID is 54dcccc9-5c63-4e33-be46-dd82409b43e0 2025-06-27 13:59:08,777 - DEBUG - Services list from nova: [, , ] 2025-06-27 13:59:09,824 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3566-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3566-1) 2025-06-27 13:59:11,050 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3566-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3566-1) 2025-06-27 13:59:11,136 - INFO - Setting gateway for router 98765333-5ccb-424c-a73a-e21d9a128c54 to network 54dcccc9-5c63-4e33-be46-dd82409b43e0 2025-06-27 13:59:11,211 - INFO - Adding interface with subnet_id 484c36c3-1e41-422c-9553-e4b72425e78b, port_id None to router 98765333-5ccb-424c-a73a-e21d9a128c54 2025-06-27 13:59:11,607 - INFO - Waiting for VM ctest-TestRoutersBasic-80198702-29980353 to be up.. 2025-06-27 13:59:11,857 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-27 13:59:16,945 - DEBUG - VM is in ACTIVE state now 2025-06-27 13:59:16,945 - INFO - VM name : ctest-TestRoutersBasic-80198702-29980353 2025-06-27 13:59:17,029 - DEBUG - VM ctest-TestRoutersBasic-80198702-29980353 ID is cdf9b1c7-4105-4e17-901e-daa21bbd5b5b 2025-06-27 13:59:17,051 - DEBUG - VM ctest-TestRoutersBasic-80198702-29980353 launched on Node cn-jenkins-deploy-platform-ansible-os-3566-1 2025-06-27 13:59:17,139 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cdf9b1c7-4105-4e17-901e-daa21bbd5b5b 2025-06-27 13:59:17,438 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cdf9b1c7-4105-4e17-901e-daa21bbd5b5b 2025-06-27 13:59:17,474 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6de427f3-33c5-420e-a783-470bdb48f203 2025-06-27 13:59:20,753 - 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 1026ms') 2025-06-27 13:59:20,753 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-80198702-29980353 failed! 2025-06-27 13:59:20,808 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-80198702:ctest-vn-30244312 is 217.76.17.65 and allocation pool is NOT set 2025-06-27 13:59:22,869 - 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=2.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.597 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.597/1.743/2.889/1.146 ms') 2025-06-27 13:59:22,869 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-80198702-29980353 passed 2025-06-27 13:59:23,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-27 13:59:23,024 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-80198702-29980353, IP 217.76.17.67, Port 22 2025-06-27 13:59:23,180 - DEBUG - VM ctest-TestRoutersBasic-80198702-29980353 is ready for SSH connections 2025-06-27 13:59:23,180 - INFO - Waiting for VM ctest-TestRoutersBasic-80198702-67643000 to be up.. 2025-06-27 13:59:23,264 - DEBUG - VM is in ACTIVE state now 2025-06-27 13:59:23,264 - INFO - VM name : ctest-TestRoutersBasic-80198702-67643000 2025-06-27 13:59:23,357 - DEBUG - VM ctest-TestRoutersBasic-80198702-67643000 ID is 47577ac5-bac0-42fc-8358-eec92ee27d31 2025-06-27 13:59:23,357 - DEBUG - VM ctest-TestRoutersBasic-80198702-67643000 launched on Node cn-jenkins-deploy-platform-ansible-os-3566-1 2025-06-27 13:59:23,440 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/47577ac5-bac0-42fc-8358-eec92ee27d31 2025-06-27 13:59:23,451 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a47f88bc-5173-4642-950a-af27e69cad73 2025-06-27 13:59:24,708 - 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=4.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.551 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.551/2.455/4.359/1.904 ms') 2025-06-27 13:59:24,709 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-80198702-67643000 passed 2025-06-27 13:59:24,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-27 13:59:24,869 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-80198702-67643000, IP 46.84.216.3, Port 22 2025-06-27 13:59:25,024 - DEBUG - VM ctest-TestRoutersBasic-80198702-67643000 is ready for SSH connections 2025-06-27 13:59:25,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-27 13:59:25,024 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.84.216.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-27 13:59:25,024 - DEBUG - ping -s 56 -c 3 -W 1 46.84.216.3 2025-06-27 13:59:29,084 - DEBUG - PING 46.84.216.3 (46.84.216.3): 56 data bytes 64 bytes from 46.84.216.3: seq=0 ttl=62 time=5.882 ms 64 bytes from 46.84.216.3: seq=1 ttl=62 time=1.109 ms 64 bytes from 46.84.216.3: seq=2 ttl=62 time=0.892 ms --- 46.84.216.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.892/2.627/5.882 ms 2025-06-27 13:59:29,084 - INFO - Ping to IP 46.84.216.3 from VM ctest-TestRoutersBasic-80198702-29980353 passed 2025-06-27 13:59:29,084 - INFO - Deleting interface with subnet_id 484c36c3-1e41-422c-9553-e4b72425e78b, port_id None from router 98765333-5ccb-424c-a73a-e21d9a128c54 2025-06-27 13:59:29,364 - INFO - Deleting VM ctest-TestRoutersBasic-80198702-67643000 2025-06-27 13:59:29,458 - INFO - Deleting VM ctest-TestRoutersBasic-80198702-29980353 2025-06-27 13:59:29,582 - INFO - Deleting VN ctest-ext_vn-02775415 2025-06-27 13:59:29,684 - DEBUG - VN 54dcccc9-5c63-4e33-be46-dd82409b43e0 still in use: Unable to complete operation on network 54dcccc9-5c63-4e33-be46-dd82409b43e0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5486e4c9-b9f7-4055-b665-3a91c397e9a1'] 2025-06-27 13:59:29,684 - WARNING - Deleting VN ctest-ext_vn-02775415 failed..Will retry 2025-06-27 13:59:31,824 - DEBUG - Response for deleting network () 2025-06-27 13:59:31,825 - INFO - Deleting VN ctest-vn-30244312 2025-06-27 13:59:31,962 - DEBUG - Response for deleting network () 2025-06-27 13:59:32,224 - DEBUG - No XMPP flaps were noticed during the test
2025-06-27 13:59:32,224 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-06-27 13:59:32,224 - INFO - -------------------------------------------------------------------------------- 2025-06-27 13:59:32,885 - INFO - Deleted project: ctest-TestRoutersBasic-80198702, ID : ea554a23-f51e-4c34-9d36-7698398bffa3