2024-10-23 20:30:00,976 - INFO - Domain Default found not creating 2024-10-23 20:30:01,171 - INFO - Project ctest-TestRoutersBasic-77554977 not found, creating it 2024-10-23 20:30:01,727 - INFO - Created Project:ctest-TestRoutersBasic-77554977, ID : 65f69ab3-00b9-48c8-b06a-b20fe513639c 2024-10-23 20:30:03,246 - INFO - ================================================================================ 2024-10-23 20:30:03,246 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-10-23 20:30:03,247 - 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 2024-10-23 20:30:03,510 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.5': '0'}} with 2024-10-23 20:30:03,510 - INFO - Initial checks done. Running the testcase now 2024-10-23 20:30:03,510 - INFO - 2024-10-23 20:30:04,231 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-77554977 2024-10-23 20:30:04,330 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-77554977 2024-10-23 20:30:04,681 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77554977', 'default']} 2024-10-23 20:30:05,009 - DEBUG - Response for create_network : {'network': {'id': 'e0912bb5-231e-4d36-b27f-1ecfd4cdecb2', 'name': 'ctest-vn-46530524', 'tenant_id': '65f69ab300b948c8b06ab20fe513639c', 'project_id': '65f69ab300b948c8b06ab20fe513639c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77554977', 'ctest-vn-46530524'], 'port_security_enabled': True, 'description': ''}} 2024-10-23 20:30:05,239 - DEBUG - Response for create_subnet : {'subnet': {'id': '238f0827-3c75-4425-8afd-b571e9ad7cb6', 'name': '', 'tenant_id': '65f69ab300b948c8b06ab20fe513639c', 'network_id': 'e0912bb5-231e-4d36-b27f-1ecfd4cdecb2', 'ip_version': 4, 'cidr': '39.70.199.128/26', 'allocation_pools': [{'start': '39.70.199.130', 'end': '39.70.199.190'}], 'gateway_ip': '39.70.199.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.70.199.130', 'tags': [], 'project_id': '65f69ab300b948c8b06ab20fe513639c'}} 2024-10-23 20:30:05,261 - INFO - Created VN ctest-vn-46530524 2024-10-23 20:30:05,318 - DEBUG - VN ctest-vn-46530524 UUID is e0912bb5-231e-4d36-b27f-1ecfd4cdecb2 2024-10-23 20:30:05,717 - DEBUG - Response for create_network : {'network': {'id': '6c3c5a05-981c-4449-908b-e113c01b8eec', 'name': 'ctest-ext_vn-63591189', 'tenant_id': '65f69ab300b948c8b06ab20fe513639c', 'project_id': '65f69ab300b948c8b06ab20fe513639c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77554977', 'ctest-ext_vn-63591189'], 'port_security_enabled': True, 'description': ''}} 2024-10-23 20:30:05,890 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c0a7176-55c6-4828-ab59-7a059f599d21', 'name': '', 'tenant_id': '65f69ab300b948c8b06ab20fe513639c', 'network_id': '6c3c5a05-981c-4449-908b-e113c01b8eec', 'ip_version': 4, 'cidr': '59.112.216.192/26', 'allocation_pools': [{'start': '59.112.216.194', 'end': '59.112.216.254'}], 'gateway_ip': '59.112.216.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.112.216.194', 'tags': [], 'project_id': '65f69ab300b948c8b06ab20fe513639c'}} 2024-10-23 20:30:05,911 - INFO - Created VN ctest-ext_vn-63591189 2024-10-23 20:30:05,970 - DEBUG - VN ctest-ext_vn-63591189 UUID is 6c3c5a05-981c-4449-908b-e113c01b8eec 2024-10-23 20:30:06,163 - DEBUG - Services list from nova: [, , ] 2024-10-23 20:30:07,277 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2133-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2133-1) 2024-10-23 20:30:09,011 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2133-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2133-1) 2024-10-23 20:30:09,090 - INFO - Setting gateway for router f4524ecf-738a-4b5d-8c8c-b6e582c2d3bd to network 6c3c5a05-981c-4449-908b-e113c01b8eec 2024-10-23 20:30:09,173 - INFO - Adding interface with subnet_id 238f0827-3c75-4425-8afd-b571e9ad7cb6, port_id None to router f4524ecf-738a-4b5d-8c8c-b6e582c2d3bd 2024-10-23 20:30:09,599 - INFO - Waiting for VM ctest-TestRoutersBasic-77554977-45399385 to be up.. 2024-10-23 20:30:09,808 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-23 20:30:14,885 - DEBUG - VM is in ACTIVE state now 2024-10-23 20:30:14,885 - INFO - VM name : ctest-TestRoutersBasic-77554977-45399385 2024-10-23 20:30:14,962 - DEBUG - VM ctest-TestRoutersBasic-77554977-45399385 ID is e165bdf1-f720-4ca8-98ed-9b0da5de1e6a 2024-10-23 20:30:14,978 - DEBUG - VM ctest-TestRoutersBasic-77554977-45399385 launched on Node cn-jenkins-deploy-platform-ansible-os-2133-1 2024-10-23 20:30:15,054 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/e165bdf1-f720-4ca8-98ed-9b0da5de1e6a 2024-10-23 20:30:15,357 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/e165bdf1-f720-4ca8-98ed-9b0da5de1e6a 2024-10-23 20:30:15,393 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/c162d5a1-d76b-4e0a-a1fd-aff00661f78f 2024-10-23 20:30:18,672 - 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 1023ms') 2024-10-23 20:30:18,672 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77554977-45399385 failed! 2024-10-23 20:30:18,734 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-77554977:ctest-vn-46530524 is 39.70.199.129 and allocation pool is NOT set 2024-10-23 20:30:20,799 - 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=4.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.30 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.298/2.827/4.356/1.529 ms') 2024-10-23 20:30:20,799 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77554977-45399385 passed 2024-10-23 20:30:20,958 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 20:30:20,958 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77554977-45399385, IP 39.70.199.131, Port 22 2024-10-23 20:30:21,123 - DEBUG - VM ctest-TestRoutersBasic-77554977-45399385 is ready for SSH connections 2024-10-23 20:30:21,123 - INFO - Waiting for VM ctest-TestRoutersBasic-77554977-28103916 to be up.. 2024-10-23 20:30:21,222 - DEBUG - VM is in ACTIVE state now 2024-10-23 20:30:21,222 - INFO - VM name : ctest-TestRoutersBasic-77554977-28103916 2024-10-23 20:30:21,303 - DEBUG - VM ctest-TestRoutersBasic-77554977-28103916 ID is af410705-ec9a-45c3-abee-28caf57643c4 2024-10-23 20:30:21,303 - DEBUG - VM ctest-TestRoutersBasic-77554977-28103916 launched on Node cn-jenkins-deploy-platform-ansible-os-2133-1 2024-10-23 20:30:21,379 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/af410705-ec9a-45c3-abee-28caf57643c4 2024-10-23 20:30:21,390 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/48ba9254-4835-4099-8338-b0a7c6069563 2024-10-23 20:30:22,640 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.431 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.431/2.503/4.575/2.072 ms') 2024-10-23 20:30:22,640 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-77554977-28103916 passed 2024-10-23 20:30:22,798 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 20:30:22,798 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77554977-28103916, IP 59.112.216.195, Port 22 2024-10-23 20:30:22,969 - DEBUG - VM ctest-TestRoutersBasic-77554977-28103916 is ready for SSH connections 2024-10-23 20:30:22,969 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 20:30:22,969 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.112.216.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2024-10-23 20:30:22,970 - DEBUG - ping -s 56 -c 3 -W 1 59.112.216.195 2024-10-23 20:30:26,974 - DEBUG - PING 59.112.216.195 (59.112.216.195): 56 data bytes 64 bytes from 59.112.216.195: seq=0 ttl=62 time=4.050 ms 64 bytes from 59.112.216.195: seq=1 ttl=62 time=0.994 ms 64 bytes from 59.112.216.195: seq=2 ttl=62 time=0.796 ms --- 59.112.216.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.796/1.946/4.050 ms 2024-10-23 20:30:26,974 - INFO - Ping to IP 59.112.216.195 from VM ctest-TestRoutersBasic-77554977-45399385 passed 2024-10-23 20:30:26,974 - INFO - Deleting interface with subnet_id 238f0827-3c75-4425-8afd-b571e9ad7cb6, port_id None from router f4524ecf-738a-4b5d-8c8c-b6e582c2d3bd 2024-10-23 20:30:27,197 - INFO - Deleting VM ctest-TestRoutersBasic-77554977-28103916 2024-10-23 20:30:27,263 - INFO - Deleting VM ctest-TestRoutersBasic-77554977-45399385 2024-10-23 20:30:27,337 - INFO - Deleting VN ctest-ext_vn-63591189 2024-10-23 20:30:27,418 - DEBUG - VN 6c3c5a05-981c-4449-908b-e113c01b8eec still in use: Unable to complete operation on network 6c3c5a05-981c-4449-908b-e113c01b8eec. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-07e74075-b4f5-43a0-8f44-38cf4685b35c'] 2024-10-23 20:30:27,418 - WARNING - Deleting VN ctest-ext_vn-63591189 failed..Will retry 2024-10-23 20:30:29,527 - DEBUG - Response for deleting network () 2024-10-23 20:30:29,527 - INFO - Deleting VN ctest-vn-46530524 2024-10-23 20:30:29,636 - DEBUG - Response for deleting network () 2024-10-23 20:30:29,891 - DEBUG - No XMPP flaps were noticed during the test
2024-10-23 20:30:29,891 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-10-23 20:30:29,892 - INFO - -------------------------------------------------------------------------------- 2024-10-23 20:30:30,603 - INFO - Deleted project: ctest-TestRoutersBasic-77554977, ID : 65f69ab3-00b9-48c8-b06a-b20fe513639c