2025-01-10 04:31:29,481 - INFO - Domain Default found not creating 2025-01-10 04:31:29,635 - INFO - Project ctest-TestRoutersBasic-81308572 not found, creating it 2025-01-10 04:31:30,122 - INFO - Created Project:ctest-TestRoutersBasic-81308572, ID : d31631ac-503a-4da7-9402-c1898e08e5ff 2025-01-10 04:31:31,558 - INFO - ================================================================================ 2025-01-10 04:31:31,559 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-10 04:31:31,559 - 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-10 04:31:31,813 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.14': '0'}} with 2025-01-10 04:31:31,813 - INFO - Initial checks done. Running the testcase now 2025-01-10 04:31:31,813 - INFO - 2025-01-10 04:31:32,511 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-81308572 2025-01-10 04:31:32,614 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-81308572 2025-01-10 04:31:32,934 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81308572', 'default']} 2025-01-10 04:31:33,265 - DEBUG - Response for create_network : {'network': {'id': 'a1329918-390b-4db9-99dd-f24c434ad4a9', 'name': 'ctest-vn-70096419', 'tenant_id': 'd31631ac503a4da79402c1898e08e5ff', 'project_id': 'd31631ac503a4da79402c1898e08e5ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81308572', 'ctest-vn-70096419'], 'port_security_enabled': True, 'description': ''}} 2025-01-10 04:31:33,424 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f5d98ff-90b6-48fc-b5d0-fd1bb457f1a2', 'name': '', 'tenant_id': 'd31631ac503a4da79402c1898e08e5ff', 'network_id': 'a1329918-390b-4db9-99dd-f24c434ad4a9', 'ip_version': 4, 'cidr': '71.82.237.192/26', 'allocation_pools': [{'start': '71.82.237.194', 'end': '71.82.237.254'}], 'gateway_ip': '71.82.237.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.82.237.194', 'tags': [], 'project_id': 'd31631ac503a4da79402c1898e08e5ff'}} 2025-01-10 04:31:33,443 - INFO - Created VN ctest-vn-70096419 2025-01-10 04:31:33,498 - DEBUG - VN ctest-vn-70096419 UUID is a1329918-390b-4db9-99dd-f24c434ad4a9 2025-01-10 04:31:33,822 - DEBUG - Response for create_network : {'network': {'id': '15d01031-ec36-4580-bb8f-4b49b9c2ea42', 'name': 'ctest-ext_vn-68144250', 'tenant_id': 'd31631ac503a4da79402c1898e08e5ff', 'project_id': 'd31631ac503a4da79402c1898e08e5ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81308572', 'ctest-ext_vn-68144250'], 'port_security_enabled': True, 'description': ''}} 2025-01-10 04:31:34,027 - DEBUG - Response for create_subnet : {'subnet': {'id': '77a43799-c10e-4f7a-9470-2fb00d0129a4', 'name': '', 'tenant_id': 'd31631ac503a4da79402c1898e08e5ff', 'network_id': '15d01031-ec36-4580-bb8f-4b49b9c2ea42', 'ip_version': 4, 'cidr': '186.102.24.192/26', 'allocation_pools': [{'start': '186.102.24.194', 'end': '186.102.24.254'}], 'gateway_ip': '186.102.24.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.102.24.194', 'tags': [], 'project_id': 'd31631ac503a4da79402c1898e08e5ff'}} 2025-01-10 04:31:34,048 - INFO - Created VN ctest-ext_vn-68144250 2025-01-10 04:31:34,102 - DEBUG - VN ctest-ext_vn-68144250 UUID is 15d01031-ec36-4580-bb8f-4b49b9c2ea42 2025-01-10 04:31:34,267 - DEBUG - Services list from nova: [, , ] 2025-01-10 04:31:35,266 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2596-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2596-1) 2025-01-10 04:31:36,423 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2596-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2596-1) 2025-01-10 04:31:36,498 - INFO - Setting gateway for router a4e237f7-0033-44e5-b609-ec3ee060d178 to network 15d01031-ec36-4580-bb8f-4b49b9c2ea42 2025-01-10 04:31:36,574 - INFO - Adding interface with subnet_id 3f5d98ff-90b6-48fc-b5d0-fd1bb457f1a2, port_id None to router a4e237f7-0033-44e5-b609-ec3ee060d178 2025-01-10 04:31:36,974 - INFO - Waiting for VM ctest-TestRoutersBasic-81308572-60092561 to be up.. 2025-01-10 04:31:37,174 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-10 04:31:42,261 - DEBUG - VM is in ACTIVE state now 2025-01-10 04:31:42,261 - INFO - VM name : ctest-TestRoutersBasic-81308572-60092561 2025-01-10 04:31:42,340 - DEBUG - VM ctest-TestRoutersBasic-81308572-60092561 ID is 4cf00e18-f813-49ca-aa27-ed4643def51a 2025-01-10 04:31:42,359 - DEBUG - VM ctest-TestRoutersBasic-81308572-60092561 launched on Node cn-jenkins-deploy-platform-ansible-os-2596-1 2025-01-10 04:31:42,433 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/4cf00e18-f813-49ca-aa27-ed4643def51a 2025-01-10 04:31:42,726 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/4cf00e18-f813-49ca-aa27-ed4643def51a 2025-01-10 04:31:42,759 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/b8dcb90c-e547-4d37-8691-ba766ee7386e 2025-01-10 04:31:46,033 - 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 1030ms') 2025-01-10 04:31:46,033 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81308572-60092561 failed! 2025-01-10 04:31:46,090 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-81308572:ctest-vn-70096419 is 71.82.237.193 and allocation pool is NOT set 2025-01-10 04:31:48,148 - 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.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.419 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.419/1.974/3.530/1.555 ms') 2025-01-10 04:31:48,148 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81308572-60092561 passed 2025-01-10 04:31:48,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-10 04:31:48,299 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81308572-60092561, IP 71.82.237.195, Port 22 2025-01-10 04:31:48,454 - DEBUG - VM ctest-TestRoutersBasic-81308572-60092561 is ready for SSH connections 2025-01-10 04:31:48,454 - INFO - Waiting for VM ctest-TestRoutersBasic-81308572-79771365 to be up.. 2025-01-10 04:31:48,527 - DEBUG - VM is in ACTIVE state now 2025-01-10 04:31:48,527 - INFO - VM name : ctest-TestRoutersBasic-81308572-79771365 2025-01-10 04:31:48,602 - DEBUG - VM ctest-TestRoutersBasic-81308572-79771365 ID is 4abe249c-f83b-4795-af88-8e47d2183076 2025-01-10 04:31:48,602 - DEBUG - VM ctest-TestRoutersBasic-81308572-79771365 launched on Node cn-jenkins-deploy-platform-ansible-os-2596-1 2025-01-10 04:31:48,679 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/4abe249c-f83b-4795-af88-8e47d2183076 2025-01-10 04:31:48,689 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/f1458b0b-f5c0-4740-b328-c587296bc07a 2025-01-10 04:31:49,923 - 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=2.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.428 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.428/1.484/2.541/1.056 ms') 2025-01-10 04:31:49,924 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-81308572-79771365 passed 2025-01-10 04:31:50,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-10 04:31:50,074 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81308572-79771365, IP 186.102.24.195, Port 22 2025-01-10 04:31:50,226 - DEBUG - VM ctest-TestRoutersBasic-81308572-79771365 is ready for SSH connections 2025-01-10 04:31:50,226 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-10 04:31:50,226 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.102.24.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-01-10 04:31:50,226 - DEBUG - ping -s 56 -c 3 -W 1 186.102.24.195 2025-01-10 04:31:53,951 - DEBUG - PING 186.102.24.195 (186.102.24.195): 56 data bytes 64 bytes from 186.102.24.195: seq=0 ttl=62 time=5.875 ms 64 bytes from 186.102.24.195: seq=1 ttl=62 time=0.782 ms 64 bytes from 186.102.24.195: seq=2 ttl=62 time=1.137 ms --- 186.102.24.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.782/2.598/5.875 ms 2025-01-10 04:31:53,951 - INFO - Ping to IP 186.102.24.195 from VM ctest-TestRoutersBasic-81308572-60092561 passed 2025-01-10 04:31:53,951 - INFO - Deleting interface with subnet_id 3f5d98ff-90b6-48fc-b5d0-fd1bb457f1a2, port_id None from router a4e237f7-0033-44e5-b609-ec3ee060d178 2025-01-10 04:31:54,158 - INFO - Deleting VM ctest-TestRoutersBasic-81308572-79771365 2025-01-10 04:31:54,235 - INFO - Deleting VM ctest-TestRoutersBasic-81308572-60092561 2025-01-10 04:31:54,316 - INFO - Deleting VN ctest-ext_vn-68144250 2025-01-10 04:31:54,378 - DEBUG - VN 15d01031-ec36-4580-bb8f-4b49b9c2ea42 still in use: Unable to complete operation on network 15d01031-ec36-4580-bb8f-4b49b9c2ea42. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-93b3b6de-fa23-4bbc-aff6-418b55bf7de7'] 2025-01-10 04:31:54,379 - WARNING - Deleting VN ctest-ext_vn-68144250 failed..Will retry 2025-01-10 04:31:56,487 - DEBUG - Response for deleting network () 2025-01-10 04:31:56,487 - INFO - Deleting VN ctest-vn-70096419 2025-01-10 04:31:56,611 - DEBUG - Response for deleting network () 2025-01-10 04:31:56,868 - DEBUG - No XMPP flaps were noticed during the test
2025-01-10 04:31:56,868 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-01-10 04:31:56,868 - INFO - -------------------------------------------------------------------------------- 2025-01-10 04:31:57,542 - INFO - Deleted project: ctest-TestRoutersBasic-81308572, ID : d31631ac-503a-4da7-9402-c1898e08e5ff