2025-04-08 12:59:31,759 - INFO - Domain Default found not creating 2025-04-08 12:59:31,921 - INFO - Project ctest-TestRoutersBasic-84219857 not found, creating it 2025-04-08 12:59:32,438 - INFO - Created Project:ctest-TestRoutersBasic-84219857, ID : e273bbd6-1e38-484e-b18b-2ea16772bab2 2025-04-08 12:59:33,950 - INFO - ================================================================================ 2025-04-08 12:59:33,950 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-08 12:59:33,950 - 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-04-08 12:59:34,217 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.17': '0'}} with 2025-04-08 12:59:34,217 - INFO - Initial checks done. Running the testcase now 2025-04-08 12:59:34,217 - INFO - 2025-04-08 12:59:34,961 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-84219857 2025-04-08 12:59:35,066 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-84219857 2025-04-08 12:59:35,413 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84219857', 'default']} 2025-04-08 12:59:35,735 - DEBUG - Response for create_network : {'network': {'id': 'a85bedf6-2eb8-4e2f-a41e-32a8379ec41a', 'name': 'ctest-vn-66770937', 'tenant_id': 'e273bbd61e38484eb18b2ea16772bab2', 'project_id': 'e273bbd61e38484eb18b2ea16772bab2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84219857', 'ctest-vn-66770937'], 'port_security_enabled': True, 'description': ''}} 2025-04-08 12:59:35,969 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aa417d29-6490-4e84-8e56-fc3ac97af93c', 'name': '', 'tenant_id': 'e273bbd61e38484eb18b2ea16772bab2', 'network_id': 'a85bedf6-2eb8-4e2f-a41e-32a8379ec41a', 'ip_version': 4, 'cidr': '123.145.4.128/26', 'allocation_pools': [{'start': '123.145.4.130', 'end': '123.145.4.190'}], 'gateway_ip': '123.145.4.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.145.4.130', 'tags': [], 'project_id': 'e273bbd61e38484eb18b2ea16772bab2'}} 2025-04-08 12:59:35,994 - INFO - Created VN ctest-vn-66770937 2025-04-08 12:59:36,050 - DEBUG - VN ctest-vn-66770937 UUID is a85bedf6-2eb8-4e2f-a41e-32a8379ec41a 2025-04-08 12:59:36,710 - DEBUG - Response for create_network : {'network': {'id': '26bad9f1-6b05-4e39-a2b8-16751d368270', 'name': 'ctest-ext_vn-46371509', 'tenant_id': 'e273bbd61e38484eb18b2ea16772bab2', 'project_id': 'e273bbd61e38484eb18b2ea16772bab2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84219857', 'ctest-ext_vn-46371509'], 'port_security_enabled': True, 'description': ''}} 2025-04-08 12:59:37,226 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f953b925-29f0-4b3b-80a8-5ba2428e6e0f', 'name': '', 'tenant_id': 'e273bbd61e38484eb18b2ea16772bab2', 'network_id': '26bad9f1-6b05-4e39-a2b8-16751d368270', 'ip_version': 4, 'cidr': '176.124.131.192/26', 'allocation_pools': [{'start': '176.124.131.194', 'end': '176.124.131.254'}], 'gateway_ip': '176.124.131.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.124.131.194', 'tags': [], 'project_id': 'e273bbd61e38484eb18b2ea16772bab2'}} 2025-04-08 12:59:37,259 - INFO - Created VN ctest-ext_vn-46371509 2025-04-08 12:59:37,322 - DEBUG - VN ctest-ext_vn-46371509 UUID is 26bad9f1-6b05-4e39-a2b8-16751d368270 2025-04-08 12:59:37,559 - DEBUG - Services list from nova: [, , ] 2025-04-08 12:59:38,691 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3051-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3051-1) 2025-04-08 12:59:39,951 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3051-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3051-1) 2025-04-08 12:59:40,031 - INFO - Setting gateway for router c020477f-17f8-488c-9c45-b6da55e5e35d to network 26bad9f1-6b05-4e39-a2b8-16751d368270 2025-04-08 12:59:40,104 - INFO - Adding interface with subnet_id aa417d29-6490-4e84-8e56-fc3ac97af93c, port_id None to router c020477f-17f8-488c-9c45-b6da55e5e35d 2025-04-08 12:59:40,407 - INFO - Waiting for VM ctest-TestRoutersBasic-84219857-35824804 to be up.. 2025-04-08 12:59:40,640 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-08 12:59:45,724 - DEBUG - VM is in ACTIVE state now 2025-04-08 12:59:45,724 - INFO - VM name : ctest-TestRoutersBasic-84219857-35824804 2025-04-08 12:59:45,816 - DEBUG - VM ctest-TestRoutersBasic-84219857-35824804 ID is bbe632f7-2b71-4530-a86f-5be651a36aaa 2025-04-08 12:59:45,842 - DEBUG - VM ctest-TestRoutersBasic-84219857-35824804 launched on Node cn-jenkins-deploy-platform-ansible-os-3051-1 2025-04-08 12:59:45,928 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/bbe632f7-2b71-4530-a86f-5be651a36aaa 2025-04-08 12:59:46,234 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/bbe632f7-2b71-4530-a86f-5be651a36aaa 2025-04-08 12:59:46,283 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/0d5308c4-7120-4894-bc81-818c3f497427 2025-04-08 12:59:49,580 - 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-04-08 12:59:49,580 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84219857-35824804 failed! 2025-04-08 12:59:49,637 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-84219857:ctest-vn-66770937 is 123.145.4.129 and allocation pool is NOT set 2025-04-08 12:59:51,699 - 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.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.14 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 = 2.137/3.704/5.271/1.567 ms') 2025-04-08 12:59:51,700 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84219857-35824804 passed 2025-04-08 12:59:51,810 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 12:59:51,810 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84219857-35824804, IP 123.145.4.131, Port 22 2025-04-08 12:59:51,970 - DEBUG - VM ctest-TestRoutersBasic-84219857-35824804 is ready for SSH connections 2025-04-08 12:59:51,970 - INFO - Waiting for VM ctest-TestRoutersBasic-84219857-26964664 to be up.. 2025-04-08 12:59:52,055 - DEBUG - VM is in ACTIVE state now 2025-04-08 12:59:52,056 - INFO - VM name : ctest-TestRoutersBasic-84219857-26964664 2025-04-08 12:59:52,154 - DEBUG - VM ctest-TestRoutersBasic-84219857-26964664 ID is faabace2-fb9e-488f-8e9d-09567dd0167e 2025-04-08 12:59:52,154 - DEBUG - VM ctest-TestRoutersBasic-84219857-26964664 launched on Node cn-jenkins-deploy-platform-ansible-os-3051-1 2025-04-08 12:59:52,236 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/faabace2-fb9e-488f-8e9d-09567dd0167e 2025-04-08 12:59:52,246 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/f17ae1f4-22cd-48c4-b174-3db88c35d49a 2025-04-08 12:59:53,501 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.459 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.459/1.728/2.997/1.269 ms') 2025-04-08 12:59:53,501 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-84219857-26964664 passed 2025-04-08 12:59:53,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 12:59:53,670 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84219857-26964664, IP 176.124.131.195, Port 22 2025-04-08 12:59:53,826 - DEBUG - VM ctest-TestRoutersBasic-84219857-26964664 is ready for SSH connections 2025-04-08 12:59:53,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 12:59:53,826 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.124.131.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2025-04-08 12:59:53,826 - DEBUG - ping -s 56 -c 3 -W 1 176.124.131.195 2025-04-08 12:59:57,843 - DEBUG - PING 176.124.131.195 (176.124.131.195): 56 data bytes 64 bytes from 176.124.131.195: seq=0 ttl=62 time=7.079 ms 64 bytes from 176.124.131.195: seq=1 ttl=62 time=0.801 ms 64 bytes from 176.124.131.195: seq=2 ttl=62 time=1.371 ms --- 176.124.131.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.801/3.083/7.079 ms 2025-04-08 12:59:57,843 - INFO - Ping to IP 176.124.131.195 from VM ctest-TestRoutersBasic-84219857-35824804 passed 2025-04-08 12:59:57,843 - INFO - Deleting interface with subnet_id aa417d29-6490-4e84-8e56-fc3ac97af93c, port_id None from router c020477f-17f8-488c-9c45-b6da55e5e35d 2025-04-08 12:59:58,078 - INFO - Deleting VM ctest-TestRoutersBasic-84219857-26964664 2025-04-08 12:59:58,155 - INFO - Deleting VM ctest-TestRoutersBasic-84219857-35824804 2025-04-08 12:59:58,253 - INFO - Deleting VN ctest-ext_vn-46371509 2025-04-08 12:59:58,382 - DEBUG - VN 26bad9f1-6b05-4e39-a2b8-16751d368270 still in use: Unable to complete operation on network 26bad9f1-6b05-4e39-a2b8-16751d368270. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e82e210e-bdf5-4acd-98f0-e6dc3b4cbeed'] 2025-04-08 12:59:58,382 - WARNING - Deleting VN ctest-ext_vn-46371509 failed..Will retry 2025-04-08 13:00:00,509 - DEBUG - Response for deleting network () 2025-04-08 13:00:00,509 - INFO - Deleting VN ctest-vn-66770937 2025-04-08 13:00:00,651 - DEBUG - Response for deleting network () 2025-04-08 13:00:00,927 - DEBUG - No XMPP flaps were noticed during the test
2025-04-08 13:00:00,928 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-04-08 13:00:00,928 - INFO - -------------------------------------------------------------------------------- 2025-04-08 13:00:01,691 - INFO - Deleted project: ctest-TestRoutersBasic-84219857, ID : e273bbd6-1e38-484e-b18b-2ea16772bab2