2025-08-12 01:43:40,555 - INFO - Domain Default found not creating 2025-08-12 01:43:40,690 - INFO - Project ctest-TestRoutersBasic-30944474 not found, creating it 2025-08-12 01:43:41,129 - INFO - Created Project:ctest-TestRoutersBasic-30944474, ID : 9cbd745e-9848-42ac-b7e5-296a47ba073f 2025-08-12 01:43:42,521 - INFO - ================================================================================ 2025-08-12 01:43:42,521 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-12 01:43:42,521 - 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-08-12 01:43:42,770 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-08-12 01:43:42,770 - INFO - Initial checks done. Running the testcase now 2025-08-12 01:43:42,770 - INFO - 2025-08-12 01:43:43,468 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-30944474 2025-08-12 01:43:43,564 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-30944474 2025-08-12 01:43:43,892 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30944474', 'default']} 2025-08-12 01:43:44,189 - DEBUG - Response for create_network : {'network': {'id': '52dc71a5-ffb8-4a2f-b1d4-ebba6a8f56b2', 'name': 'ctest-vn-57380554', 'tenant_id': '9cbd745e984842acb7e5296a47ba073f', 'project_id': '9cbd745e984842acb7e5296a47ba073f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30944474', 'ctest-vn-57380554'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 01:43:44,370 - DEBUG - Response for create_subnet : {'subnet': {'id': '7109bf82-dc97-49b5-bdc7-ddd25f925c0e', 'name': '', 'tenant_id': '9cbd745e984842acb7e5296a47ba073f', 'network_id': '52dc71a5-ffb8-4a2f-b1d4-ebba6a8f56b2', 'ip_version': 4, 'cidr': '218.174.197.64/26', 'allocation_pools': [{'start': '218.174.197.66', 'end': '218.174.197.126'}], 'gateway_ip': '218.174.197.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.174.197.66', 'tags': [], 'project_id': '9cbd745e984842acb7e5296a47ba073f'}} 2025-08-12 01:43:44,389 - INFO - Created VN ctest-vn-57380554 2025-08-12 01:43:44,444 - DEBUG - VN ctest-vn-57380554 UUID is 52dc71a5-ffb8-4a2f-b1d4-ebba6a8f56b2 2025-08-12 01:43:44,754 - DEBUG - Response for create_network : {'network': {'id': 'ab2bc2ee-4870-4c4d-a662-583908f796e3', 'name': 'ctest-ext_vn-95397886', 'tenant_id': '9cbd745e984842acb7e5296a47ba073f', 'project_id': '9cbd745e984842acb7e5296a47ba073f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30944474', 'ctest-ext_vn-95397886'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 01:43:44,916 - DEBUG - Response for create_subnet : {'subnet': {'id': '8272c315-69dd-49aa-b6e6-ebfc92a3129b', 'name': '', 'tenant_id': '9cbd745e984842acb7e5296a47ba073f', 'network_id': 'ab2bc2ee-4870-4c4d-a662-583908f796e3', 'ip_version': 4, 'cidr': '195.67.10.64/26', 'allocation_pools': [{'start': '195.67.10.66', 'end': '195.67.10.126'}], 'gateway_ip': '195.67.10.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.67.10.66', 'tags': [], 'project_id': '9cbd745e984842acb7e5296a47ba073f'}} 2025-08-12 01:43:44,935 - INFO - Created VN ctest-ext_vn-95397886 2025-08-12 01:43:44,988 - DEBUG - VN ctest-ext_vn-95397886 UUID is ab2bc2ee-4870-4c4d-a662-583908f796e3 2025-08-12 01:43:45,163 - DEBUG - Services list from nova: [, , ] 2025-08-12 01:43:46,163 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3828-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3828-1) 2025-08-12 01:43:47,285 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3828-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3828-1) 2025-08-12 01:43:47,387 - INFO - Setting gateway for router ff3d16da-5416-42b4-92ab-c86b0b6b02fb to network ab2bc2ee-4870-4c4d-a662-583908f796e3 2025-08-12 01:43:47,464 - INFO - Adding interface with subnet_id 7109bf82-dc97-49b5-bdc7-ddd25f925c0e, port_id None to router ff3d16da-5416-42b4-92ab-c86b0b6b02fb 2025-08-12 01:43:47,746 - INFO - Waiting for VM ctest-TestRoutersBasic-30944474-56978621 to be up.. 2025-08-12 01:43:47,888 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-12 01:43:53,017 - DEBUG - VM is in ACTIVE state now 2025-08-12 01:43:53,017 - INFO - VM name : ctest-TestRoutersBasic-30944474-56978621 2025-08-12 01:43:53,121 - DEBUG - VM ctest-TestRoutersBasic-30944474-56978621 ID is d21118c7-6fd5-4852-b18a-39cacf0f5f0d 2025-08-12 01:43:53,148 - DEBUG - VM ctest-TestRoutersBasic-30944474-56978621 launched on Node cn-jenkins-deploy-platform-ansible-os-3828-1 2025-08-12 01:43:53,285 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/d21118c7-6fd5-4852-b18a-39cacf0f5f0d 2025-08-12 01:43:53,607 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/d21118c7-6fd5-4852-b18a-39cacf0f5f0d 2025-08-12 01:43:53,639 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/81b93989-d831-45bb-afe3-946d64e59927 2025-08-12 01:43:56,907 - 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 1022ms') 2025-08-12 01:43:56,908 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30944474-56978621 failed! 2025-08-12 01:43:56,964 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-30944474:ctest-vn-57380554 is 218.174.197.65 and allocation pool is NOT set 2025-08-12 01:43:59,025 - 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.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.444 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.444/1.749/3.054/1.305 ms') 2025-08-12 01:43:59,025 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30944474-56978621 passed 2025-08-12 01:43:59,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 01:43:59,184 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30944474-56978621, IP 218.174.197.67, Port 22 2025-08-12 01:43:59,336 - DEBUG - VM ctest-TestRoutersBasic-30944474-56978621 is ready for SSH connections 2025-08-12 01:43:59,336 - INFO - Waiting for VM ctest-TestRoutersBasic-30944474-62286537 to be up.. 2025-08-12 01:43:59,408 - DEBUG - VM is in ACTIVE state now 2025-08-12 01:43:59,408 - INFO - VM name : ctest-TestRoutersBasic-30944474-62286537 2025-08-12 01:43:59,489 - DEBUG - VM ctest-TestRoutersBasic-30944474-62286537 ID is 4b878b23-e314-4897-9e4b-457278a9d45f 2025-08-12 01:43:59,489 - DEBUG - VM ctest-TestRoutersBasic-30944474-62286537 launched on Node cn-jenkins-deploy-platform-ansible-os-3828-1 2025-08-12 01:43:59,564 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/4b878b23-e314-4897-9e4b-457278a9d45f 2025-08-12 01:43:59,573 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/894172ba-ef00-4e21-a6f2-2345650e1b82 2025-08-12 01:44:00,824 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.435 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.435/1.596/2.757/1.161 ms') 2025-08-12 01:44:00,824 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-30944474-62286537 passed 2025-08-12 01:44:00,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 01:44:00,989 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30944474-62286537, IP 195.67.10.67, Port 22 2025-08-12 01:44:01,144 - DEBUG - VM ctest-TestRoutersBasic-30944474-62286537 is ready for SSH connections 2025-08-12 01:44:01,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 01:44:01,144 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.67.10.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-12 01:44:01,144 - DEBUG - ping -s 56 -c 3 -W 1 195.67.10.67 2025-08-12 01:44:05,261 - DEBUG - PING 195.67.10.67 (195.67.10.67): 56 data bytes 64 bytes from 195.67.10.67: seq=0 ttl=62 time=5.673 ms 64 bytes from 195.67.10.67: seq=1 ttl=62 time=0.929 ms 64 bytes from 195.67.10.67: seq=2 ttl=62 time=0.754 ms --- 195.67.10.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.754/2.452/5.673 ms 2025-08-12 01:44:05,262 - INFO - Ping to IP 195.67.10.67 from VM ctest-TestRoutersBasic-30944474-56978621 passed 2025-08-12 01:44:05,262 - INFO - Deleting interface with subnet_id 7109bf82-dc97-49b5-bdc7-ddd25f925c0e, port_id None from router ff3d16da-5416-42b4-92ab-c86b0b6b02fb 2025-08-12 01:44:05,467 - INFO - Deleting VM ctest-TestRoutersBasic-30944474-62286537 2025-08-12 01:44:05,545 - INFO - Deleting VM ctest-TestRoutersBasic-30944474-56978621 2025-08-12 01:44:05,620 - INFO - Deleting VN ctest-ext_vn-95397886 2025-08-12 01:44:05,689 - DEBUG - VN ab2bc2ee-4870-4c4d-a662-583908f796e3 still in use: Unable to complete operation on network ab2bc2ee-4870-4c4d-a662-583908f796e3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-af33cdff-ccdd-4d2b-9d34-ed81d446a61a'] 2025-08-12 01:44:05,689 - WARNING - Deleting VN ctest-ext_vn-95397886 failed..Will retry 2025-08-12 01:44:07,792 - DEBUG - Response for deleting network () 2025-08-12 01:44:07,792 - INFO - Deleting VN ctest-vn-57380554 2025-08-12 01:44:07,907 - DEBUG - Response for deleting network () 2025-08-12 01:44:08,165 - DEBUG - No XMPP flaps were noticed during the test 2025-08-12 01:44:08,166 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-08-12 01:44:08,166 - INFO - -------------------------------------------------------------------------------- 2025-08-12 01:44:08,853 - INFO - Deleted project: ctest-TestRoutersBasic-30944474, ID : 9cbd745e-9848-42ac-b7e5-296a47ba073f