2025-01-14 17:46:43,142 - INFO - Domain Default found not creating 2025-01-14 17:46:43,326 - INFO - Project ctest-TestRoutersBasic-19437347 not found, creating it 2025-01-14 17:46:43,830 - INFO - Created Project:ctest-TestRoutersBasic-19437347, ID : fd6898b1-4404-49df-9061-f280246afaf2 2025-01-14 17:46:45,355 - INFO - ================================================================================ 2025-01-14 17:46:45,355 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-14 17:46:45,355 - 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-01-14 17:46:45,618 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.6': '0'}} with 2025-01-14 17:46:45,618 - INFO - Initial checks done. Running the testcase now 2025-01-14 17:46:45,618 - INFO - 2025-01-14 17:46:46,316 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-19437347 2025-01-14 17:46:46,420 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-19437347 2025-01-14 17:46:46,754 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19437347', 'default']} 2025-01-14 17:46:47,077 - DEBUG - Response for create_network : {'network': {'id': '3feaf59e-4ad1-4f6d-a418-ea7883eaa390', 'name': 'ctest-vn-47746770', 'tenant_id': 'fd6898b1440449df9061f280246afaf2', 'project_id': 'fd6898b1440449df9061f280246afaf2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19437347', 'ctest-vn-47746770'], 'port_security_enabled': True, 'description': ''}} 2025-01-14 17:46:47,231 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aa5f78cc-cf5b-463b-bf1d-a68f4756addd', 'name': '', 'tenant_id': 'fd6898b1440449df9061f280246afaf2', 'network_id': '3feaf59e-4ad1-4f6d-a418-ea7883eaa390', 'ip_version': 4, 'cidr': '128.126.181.0/26', 'allocation_pools': [{'start': '128.126.181.2', 'end': '128.126.181.62'}], 'gateway_ip': '128.126.181.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.126.181.2', 'tags': [], 'project_id': 'fd6898b1440449df9061f280246afaf2'}} 2025-01-14 17:46:47,254 - INFO - Created VN ctest-vn-47746770 2025-01-14 17:46:47,308 - DEBUG - VN ctest-vn-47746770 UUID is 3feaf59e-4ad1-4f6d-a418-ea7883eaa390 2025-01-14 17:46:47,662 - DEBUG - Response for create_network : {'network': {'id': '4c1ff644-0437-4293-952c-b63b48e50ec8', 'name': 'ctest-ext_vn-36012914', 'tenant_id': 'fd6898b1440449df9061f280246afaf2', 'project_id': 'fd6898b1440449df9061f280246afaf2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19437347', 'ctest-ext_vn-36012914'], 'port_security_enabled': True, 'description': ''}} 2025-01-14 17:46:47,835 - DEBUG - Response for create_subnet : {'subnet': {'id': '7fb43a14-cdca-498c-979f-2fe885c5db0a', 'name': '', 'tenant_id': 'fd6898b1440449df9061f280246afaf2', 'network_id': '4c1ff644-0437-4293-952c-b63b48e50ec8', 'ip_version': 4, 'cidr': '73.203.243.128/26', 'allocation_pools': [{'start': '73.203.243.130', 'end': '73.203.243.190'}], 'gateway_ip': '73.203.243.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.203.243.130', 'tags': [], 'project_id': 'fd6898b1440449df9061f280246afaf2'}} 2025-01-14 17:46:47,857 - INFO - Created VN ctest-ext_vn-36012914 2025-01-14 17:46:47,915 - DEBUG - VN ctest-ext_vn-36012914 UUID is 4c1ff644-0437-4293-952c-b63b48e50ec8 2025-01-14 17:46:48,103 - DEBUG - Services list from nova: [, , ] 2025-01-14 17:46:49,146 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2628-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2628-1) 2025-01-14 17:46:50,307 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2628-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2628-1) 2025-01-14 17:46:50,380 - INFO - Setting gateway for router 67154565-b1da-4ed9-99a8-1c7a888b3ed7 to network 4c1ff644-0437-4293-952c-b63b48e50ec8 2025-01-14 17:46:50,460 - INFO - Adding interface with subnet_id aa5f78cc-cf5b-463b-bf1d-a68f4756addd, port_id None to router 67154565-b1da-4ed9-99a8-1c7a888b3ed7 2025-01-14 17:46:50,907 - INFO - Waiting for VM ctest-TestRoutersBasic-19437347-92969845 to be up.. 2025-01-14 17:46:51,124 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-14 17:46:56,216 - DEBUG - VM is in ACTIVE state now 2025-01-14 17:46:56,216 - INFO - VM name : ctest-TestRoutersBasic-19437347-92969845 2025-01-14 17:46:56,300 - DEBUG - VM ctest-TestRoutersBasic-19437347-92969845 ID is 9ec96a89-b814-439a-90d3-e3d2af8a0c8b 2025-01-14 17:46:56,320 - DEBUG - VM ctest-TestRoutersBasic-19437347-92969845 launched on Node cn-jenkins-deploy-platform-ansible-os-2628-1 2025-01-14 17:46:56,411 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/9ec96a89-b814-439a-90d3-e3d2af8a0c8b 2025-01-14 17:46:56,721 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/9ec96a89-b814-439a-90d3-e3d2af8a0c8b 2025-01-14 17:46:56,761 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/e0c7132d-888b-4986-918f-16468f93a9df 2025-01-14 17:47:00,025 - 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 1017ms') 2025-01-14 17:47:00,025 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19437347-92969845 failed! 2025-01-14 17:47:00,084 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-19437347:ctest-vn-47746770 is 128.126.181.1 and allocation pool is NOT set 2025-01-14 17:47:02,150 - 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=5.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.28 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.276/3.211/5.146/1.935 ms') 2025-01-14 17:47:02,150 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19437347-92969845 passed 2025-01-14 17:47:02,312 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 17:47:02,312 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19437347-92969845, IP 128.126.181.3, Port 22 2025-01-14 17:47:02,467 - DEBUG - VM ctest-TestRoutersBasic-19437347-92969845 is ready for SSH connections 2025-01-14 17:47:02,467 - INFO - Waiting for VM ctest-TestRoutersBasic-19437347-57146750 to be up.. 2025-01-14 17:47:02,583 - DEBUG - VM is in ACTIVE state now 2025-01-14 17:47:02,583 - INFO - VM name : ctest-TestRoutersBasic-19437347-57146750 2025-01-14 17:47:02,673 - DEBUG - VM ctest-TestRoutersBasic-19437347-57146750 ID is bd95dcfa-d676-4a63-9b0b-fb286952a2c8 2025-01-14 17:47:02,673 - DEBUG - VM ctest-TestRoutersBasic-19437347-57146750 launched on Node cn-jenkins-deploy-platform-ansible-os-2628-1 2025-01-14 17:47:02,765 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/bd95dcfa-d676-4a63-9b0b-fb286952a2c8 2025-01-14 17:47:02,775 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/f84d6a89-13ef-4621-9e2d-a5d744c5c332 2025-01-14 17:47:04,031 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.557 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.557/2.006/3.456/1.449 ms') 2025-01-14 17:47:04,032 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-19437347-57146750 passed 2025-01-14 17:47:04,191 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 17:47:04,192 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19437347-57146750, IP 73.203.243.131, Port 22 2025-01-14 17:47:04,347 - DEBUG - VM ctest-TestRoutersBasic-19437347-57146750 is ready for SSH connections 2025-01-14 17:47:04,348 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 17:47:04,348 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.203.243.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-01-14 17:47:04,348 - DEBUG - ping -s 56 -c 3 -W 1 73.203.243.131 2025-01-14 17:47:08,385 - DEBUG - PING 73.203.243.131 (73.203.243.131): 56 data bytes 64 bytes from 73.203.243.131: seq=0 ttl=62 time=5.375 ms 64 bytes from 73.203.243.131: seq=1 ttl=62 time=1.432 ms 64 bytes from 73.203.243.131: seq=2 ttl=62 time=1.137 ms --- 73.203.243.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.137/2.648/5.375 ms 2025-01-14 17:47:08,385 - INFO - Ping to IP 73.203.243.131 from VM ctest-TestRoutersBasic-19437347-92969845 passed 2025-01-14 17:47:08,385 - INFO - Deleting interface with subnet_id aa5f78cc-cf5b-463b-bf1d-a68f4756addd, port_id None from router 67154565-b1da-4ed9-99a8-1c7a888b3ed7 2025-01-14 17:47:08,632 - INFO - Deleting VM ctest-TestRoutersBasic-19437347-57146750 2025-01-14 17:47:08,705 - INFO - Deleting VM ctest-TestRoutersBasic-19437347-92969845 2025-01-14 17:47:08,811 - INFO - Deleting VN ctest-ext_vn-36012914 2025-01-14 17:47:08,890 - DEBUG - VN 4c1ff644-0437-4293-952c-b63b48e50ec8 still in use: Unable to complete operation on network 4c1ff644-0437-4293-952c-b63b48e50ec8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dcff6244-3827-4bfe-ac8f-74697ae14a0e'] 2025-01-14 17:47:08,891 - WARNING - Deleting VN ctest-ext_vn-36012914 failed..Will retry 2025-01-14 17:47:11,003 - DEBUG - Response for deleting network () 2025-01-14 17:47:11,003 - INFO - Deleting VN ctest-vn-47746770 2025-01-14 17:47:11,112 - DEBUG - Response for deleting network () 2025-01-14 17:47:11,370 - DEBUG - No XMPP flaps were noticed during the test
2025-01-14 17:47:11,370 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-14 17:47:11,370 - INFO - -------------------------------------------------------------------------------- 2025-01-14 17:47:12,077 - INFO - Deleted project: ctest-TestRoutersBasic-19437347, ID : fd6898b1-4404-49df-9061-f280246afaf2