2025-07-03 02:13:43,745 - INFO - Domain Default found not creating 2025-07-03 02:13:43,882 - INFO - Project ctest-TestRoutersBasic-75479755 not found, creating it 2025-07-03 02:13:44,355 - INFO - Created Project:ctest-TestRoutersBasic-75479755, ID : 4a395d8f-9692-4538-b7a4-eebb41efd665 2025-07-03 02:13:45,722 - INFO - ================================================================================ 2025-07-03 02:13:45,722 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-03 02:13:45,722 - 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-07-03 02:13:45,979 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2025-07-03 02:13:45,979 - INFO - Initial checks done. Running the testcase now 2025-07-03 02:13:45,979 - INFO - 2025-07-03 02:13:46,668 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-75479755 2025-07-03 02:13:46,765 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-75479755 2025-07-03 02:13:47,085 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75479755', 'default']} 2025-07-03 02:13:47,366 - DEBUG - Response for create_network : {'network': {'id': '266d7db6-b610-4c96-8562-3addfbb4e524', 'name': 'ctest-vn-45088040', 'tenant_id': '4a395d8f96924538b7a4eebb41efd665', 'project_id': '4a395d8f96924538b7a4eebb41efd665', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75479755', 'ctest-vn-45088040'], 'port_security_enabled': True, 'description': ''}} 2025-07-03 02:13:47,561 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d96520f-1674-4038-86d1-a235c6d36e47', 'name': '', 'tenant_id': '4a395d8f96924538b7a4eebb41efd665', 'network_id': '266d7db6-b610-4c96-8562-3addfbb4e524', 'ip_version': 4, 'cidr': '18.214.119.0/26', 'allocation_pools': [{'start': '18.214.119.2', 'end': '18.214.119.62'}], 'gateway_ip': '18.214.119.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.214.119.2', 'tags': [], 'project_id': '4a395d8f96924538b7a4eebb41efd665'}} 2025-07-03 02:13:47,579 - INFO - Created VN ctest-vn-45088040 2025-07-03 02:13:47,633 - DEBUG - VN ctest-vn-45088040 UUID is 266d7db6-b610-4c96-8562-3addfbb4e524 2025-07-03 02:13:47,950 - DEBUG - Response for create_network : {'network': {'id': 'fe2c7e7e-be4a-4283-b694-acce478284e4', 'name': 'ctest-ext_vn-50006672', 'tenant_id': '4a395d8f96924538b7a4eebb41efd665', 'project_id': '4a395d8f96924538b7a4eebb41efd665', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75479755', 'ctest-ext_vn-50006672'], 'port_security_enabled': True, 'description': ''}} 2025-07-03 02:13:48,125 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2bf2187-c30e-49b0-8c9b-f4ba1a3a5a1b', 'name': '', 'tenant_id': '4a395d8f96924538b7a4eebb41efd665', 'network_id': 'fe2c7e7e-be4a-4283-b694-acce478284e4', 'ip_version': 4, 'cidr': '87.96.46.0/26', 'allocation_pools': [{'start': '87.96.46.2', 'end': '87.96.46.62'}], 'gateway_ip': '87.96.46.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.96.46.2', 'tags': [], 'project_id': '4a395d8f96924538b7a4eebb41efd665'}} 2025-07-03 02:13:48,143 - INFO - Created VN ctest-ext_vn-50006672 2025-07-03 02:13:48,197 - DEBUG - VN ctest-ext_vn-50006672 UUID is fe2c7e7e-be4a-4283-b694-acce478284e4 2025-07-03 02:13:48,363 - DEBUG - Services list from nova: [, , ] 2025-07-03 02:13:49,350 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3593-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3593-1) 2025-07-03 02:13:50,611 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3593-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3593-1) 2025-07-03 02:13:50,772 - INFO - Setting gateway for router c14097b0-254f-4626-940a-5e2b60fe0843 to network fe2c7e7e-be4a-4283-b694-acce478284e4 2025-07-03 02:13:50,892 - INFO - Adding interface with subnet_id 0d96520f-1674-4038-86d1-a235c6d36e47, port_id None to router c14097b0-254f-4626-940a-5e2b60fe0843 2025-07-03 02:13:51,592 - INFO - Waiting for VM ctest-TestRoutersBasic-75479755-19623754 to be up.. 2025-07-03 02:13:51,741 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-03 02:13:56,822 - DEBUG - VM is in ACTIVE state now 2025-07-03 02:13:56,822 - INFO - VM name : ctest-TestRoutersBasic-75479755-19623754 2025-07-03 02:13:56,907 - DEBUG - VM ctest-TestRoutersBasic-75479755-19623754 ID is e454fb5f-ac9f-480c-99d8-ebf6d22be54c 2025-07-03 02:13:56,925 - DEBUG - VM ctest-TestRoutersBasic-75479755-19623754 launched on Node cn-jenkins-deploy-platform-ansible-os-3593-1 2025-07-03 02:13:57,005 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e454fb5f-ac9f-480c-99d8-ebf6d22be54c 2025-07-03 02:13:57,313 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e454fb5f-ac9f-480c-99d8-ebf6d22be54c 2025-07-03 02:13:57,346 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/33c85fdc-b7dc-4f90-9e07-bf0ddc612742 2025-07-03 02:14:00,615 - 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-07-03 02:14:00,615 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75479755-19623754 failed! 2025-07-03 02:14:00,681 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-75479755:ctest-vn-45088040 is 18.214.119.1 and allocation pool is NOT set 2025-07-03 02:14:02,746 - 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.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.513 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 = 0.513/1.806/3.100/1.293 ms') 2025-07-03 02:14:02,746 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75479755-19623754 passed 2025-07-03 02:14:02,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 02:14:02,897 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75479755-19623754, IP 18.214.119.3, Port 22 2025-07-03 02:14:03,063 - DEBUG - VM ctest-TestRoutersBasic-75479755-19623754 is ready for SSH connections 2025-07-03 02:14:03,063 - INFO - Waiting for VM ctest-TestRoutersBasic-75479755-74977813 to be up.. 2025-07-03 02:14:03,144 - DEBUG - VM is in ACTIVE state now 2025-07-03 02:14:03,144 - INFO - VM name : ctest-TestRoutersBasic-75479755-74977813 2025-07-03 02:14:03,217 - DEBUG - VM ctest-TestRoutersBasic-75479755-74977813 ID is ed3ad0d3-20fe-459f-b272-0e44d7476ec9 2025-07-03 02:14:03,218 - DEBUG - VM ctest-TestRoutersBasic-75479755-74977813 launched on Node cn-jenkins-deploy-platform-ansible-os-3593-1 2025-07-03 02:14:03,319 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ed3ad0d3-20fe-459f-b272-0e44d7476ec9 2025-07-03 02:14:03,328 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/edf2c80f-5124-48ce-8b03-c5bba8d18b6a 2025-07-03 02:14:04,569 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.511 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.511/1.849/3.188/1.338 ms') 2025-07-03 02:14:04,569 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-75479755-74977813 passed 2025-07-03 02:14:04,725 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 02:14:04,725 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75479755-74977813, IP 87.96.46.3, Port 22 2025-07-03 02:14:04,880 - DEBUG - VM ctest-TestRoutersBasic-75479755-74977813 is ready for SSH connections 2025-07-03 02:14:04,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 02:14:04,880 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.96.46.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-07-03 02:14:04,880 - DEBUG - ping -s 56 -c 3 -W 1 87.96.46.3 2025-07-03 02:14:08,953 - DEBUG - PING 87.96.46.3 (87.96.46.3): 56 data bytes 64 bytes from 87.96.46.3: seq=0 ttl=62 time=3.948 ms 64 bytes from 87.96.46.3: seq=1 ttl=62 time=0.857 ms 64 bytes from 87.96.46.3: seq=2 ttl=62 time=0.760 ms --- 87.96.46.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.760/1.855/3.948 ms 2025-07-03 02:14:08,953 - INFO - Ping to IP 87.96.46.3 from VM ctest-TestRoutersBasic-75479755-19623754 passed 2025-07-03 02:14:08,953 - INFO - Deleting interface with subnet_id 0d96520f-1674-4038-86d1-a235c6d36e47, port_id None from router c14097b0-254f-4626-940a-5e2b60fe0843 2025-07-03 02:14:09,170 - INFO - Deleting VM ctest-TestRoutersBasic-75479755-74977813 2025-07-03 02:14:09,244 - INFO - Deleting VM ctest-TestRoutersBasic-75479755-19623754 2025-07-03 02:14:09,341 - INFO - Deleting VN ctest-ext_vn-50006672 2025-07-03 02:14:09,437 - DEBUG - VN fe2c7e7e-be4a-4283-b694-acce478284e4 still in use: Unable to complete operation on network fe2c7e7e-be4a-4283-b694-acce478284e4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-74b170a0-35ab-4c91-b0af-5ad435c224b2'] 2025-07-03 02:14:09,438 - WARNING - Deleting VN ctest-ext_vn-50006672 failed..Will retry 2025-07-03 02:14:11,559 - DEBUG - Response for deleting network () 2025-07-03 02:14:11,559 - INFO - Deleting VN ctest-vn-45088040 2025-07-03 02:14:11,668 - DEBUG - Response for deleting network () 2025-07-03 02:14:11,923 - DEBUG - No XMPP flaps were noticed during the test
2025-07-03 02:14:11,924 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-07-03 02:14:11,924 - INFO - -------------------------------------------------------------------------------- 2025-07-03 02:14:12,618 - INFO - Deleted project: ctest-TestRoutersBasic-75479755, ID : 4a395d8f-9692-4538-b7a4-eebb41efd665