2025-08-07 02:14:47,765 - INFO - Domain Default found not creating 2025-08-07 02:14:47,922 - INFO - Project ctest-TestRoutersBasic-19719196 not found, creating it 2025-08-07 02:14:48,406 - INFO - Created Project:ctest-TestRoutersBasic-19719196, ID : 7c55260b-8291-4066-be0a-15edc1ea8e69 2025-08-07 02:14:49,990 - INFO - ================================================================================ 2025-08-07 02:14:49,990 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-07 02:14:49,990 - 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-07 02:14:50,245 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-08-07 02:14:50,245 - INFO - Initial checks done. Running the testcase now 2025-08-07 02:14:50,245 - INFO - 2025-08-07 02:14:51,027 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-19719196 2025-08-07 02:14:51,130 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-19719196 2025-08-07 02:14:51,454 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19719196', 'default']} 2025-08-07 02:14:51,769 - DEBUG - Response for create_network : {'network': {'id': '67428179-4714-4dd3-8b57-59ce19290536', 'name': 'ctest-vn-48771845', 'tenant_id': '7c55260b82914066be0a15edc1ea8e69', 'project_id': '7c55260b82914066be0a15edc1ea8e69', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19719196', 'ctest-vn-48771845'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:14:52,000 - DEBUG - Response for create_subnet : {'subnet': {'id': '39b958ae-aae5-41ee-a2e7-aea3339d89a7', 'name': '', 'tenant_id': '7c55260b82914066be0a15edc1ea8e69', 'network_id': '67428179-4714-4dd3-8b57-59ce19290536', 'ip_version': 4, 'cidr': '28.15.98.128/26', 'allocation_pools': [{'start': '28.15.98.130', 'end': '28.15.98.190'}], 'gateway_ip': '28.15.98.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.15.98.130', 'tags': [], 'project_id': '7c55260b82914066be0a15edc1ea8e69'}} 2025-08-07 02:14:52,019 - INFO - Created VN ctest-vn-48771845 2025-08-07 02:14:52,070 - DEBUG - VN ctest-vn-48771845 UUID is 67428179-4714-4dd3-8b57-59ce19290536 2025-08-07 02:14:52,400 - DEBUG - Response for create_network : {'network': {'id': '766ac8ed-0860-4ed7-b02f-a6b26e2ced0f', 'name': 'ctest-ext_vn-01203503', 'tenant_id': '7c55260b82914066be0a15edc1ea8e69', 'project_id': '7c55260b82914066be0a15edc1ea8e69', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19719196', 'ctest-ext_vn-01203503'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:14:52,591 - DEBUG - Response for create_subnet : {'subnet': {'id': '4450887c-0eef-47d8-9c88-4e141299c887', 'name': '', 'tenant_id': '7c55260b82914066be0a15edc1ea8e69', 'network_id': '766ac8ed-0860-4ed7-b02f-a6b26e2ced0f', 'ip_version': 4, 'cidr': '26.252.145.0/26', 'allocation_pools': [{'start': '26.252.145.2', 'end': '26.252.145.62'}], 'gateway_ip': '26.252.145.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.252.145.2', 'tags': [], 'project_id': '7c55260b82914066be0a15edc1ea8e69'}} 2025-08-07 02:14:52,610 - INFO - Created VN ctest-ext_vn-01203503 2025-08-07 02:14:52,666 - DEBUG - VN ctest-ext_vn-01203503 UUID is 766ac8ed-0860-4ed7-b02f-a6b26e2ced0f 2025-08-07 02:14:52,841 - DEBUG - Services list from nova: [, , ] 2025-08-07 02:14:53,934 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3764-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3764-1) 2025-08-07 02:14:55,165 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3764-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3764-1) 2025-08-07 02:14:55,240 - INFO - Setting gateway for router d2cfeadb-6e61-4d7b-99aa-a2f36dcde15c to network 766ac8ed-0860-4ed7-b02f-a6b26e2ced0f 2025-08-07 02:14:55,295 - INFO - Adding interface with subnet_id 39b958ae-aae5-41ee-a2e7-aea3339d89a7, port_id None to router d2cfeadb-6e61-4d7b-99aa-a2f36dcde15c 2025-08-07 02:14:55,618 - INFO - Waiting for VM ctest-TestRoutersBasic-19719196-52908185 to be up.. 2025-08-07 02:14:55,770 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 02:15:00,848 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:15:00,848 - INFO - VM name : ctest-TestRoutersBasic-19719196-52908185 2025-08-07 02:15:00,923 - DEBUG - VM ctest-TestRoutersBasic-19719196-52908185 ID is ff7ef268-1068-45de-a7c4-fd943c763eaf 2025-08-07 02:15:00,942 - DEBUG - VM ctest-TestRoutersBasic-19719196-52908185 launched on Node cn-jenkins-deploy-platform-ansible-os-3764-1 2025-08-07 02:15:01,015 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ff7ef268-1068-45de-a7c4-fd943c763eaf 2025-08-07 02:15:01,354 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ff7ef268-1068-45de-a7c4-fd943c763eaf 2025-08-07 02:15:01,386 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/afc6f8c0-7213-475d-a3fd-ef8a3e2b0eab 2025-08-07 02:15:04,637 - 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 1005ms') 2025-08-07 02:15:04,637 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19719196-52908185 failed! 2025-08-07 02:15:04,694 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-19719196:ctest-vn-48771845 is 28.15.98.129 and allocation pool is NOT set 2025-08-07 02:15:06,762 - 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=3.58 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 = 3.104/3.340/3.576/0.236 ms') 2025-08-07 02:15:06,762 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19719196-52908185 passed 2025-08-07 02:15:06,914 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:15:06,914 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19719196-52908185, IP 28.15.98.131, Port 22 2025-08-07 02:15:07,074 - DEBUG - VM ctest-TestRoutersBasic-19719196-52908185 is ready for SSH connections 2025-08-07 02:15:07,074 - INFO - Waiting for VM ctest-TestRoutersBasic-19719196-52127085 to be up.. 2025-08-07 02:15:07,164 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:15:07,164 - INFO - VM name : ctest-TestRoutersBasic-19719196-52127085 2025-08-07 02:15:07,246 - DEBUG - VM ctest-TestRoutersBasic-19719196-52127085 ID is 54a11332-d2ef-4fa5-b256-1aa16e5a74df 2025-08-07 02:15:07,246 - DEBUG - VM ctest-TestRoutersBasic-19719196-52127085 launched on Node cn-jenkins-deploy-platform-ansible-os-3764-1 2025-08-07 02:15:07,324 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/54a11332-d2ef-4fa5-b256-1aa16e5a74df 2025-08-07 02:15:07,334 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ec3be284-2d7e-4f9d-9721-a1f5d6f5da19 2025-08-07 02:15:08,579 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.523 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.523/2.113/3.704/1.590 ms') 2025-08-07 02:15:08,580 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-19719196-52127085 passed 2025-08-07 02:15:08,730 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:15:08,730 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19719196-52127085, IP 26.252.145.3, Port 22 2025-08-07 02:15:08,885 - DEBUG - VM ctest-TestRoutersBasic-19719196-52127085 is ready for SSH connections 2025-08-07 02:15:08,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:15:08,886 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.252.145.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-07 02:15:08,886 - DEBUG - ping -s 56 -c 3 -W 1 26.252.145.3 2025-08-07 02:15:12,612 - DEBUG - PING 26.252.145.3 (26.252.145.3): 56 data bytes 64 bytes from 26.252.145.3: seq=0 ttl=62 time=7.935 ms 64 bytes from 26.252.145.3: seq=1 ttl=62 time=0.934 ms 64 bytes from 26.252.145.3: seq=2 ttl=62 time=0.820 ms --- 26.252.145.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.820/3.229/7.935 ms 2025-08-07 02:15:12,612 - INFO - Ping to IP 26.252.145.3 from VM ctest-TestRoutersBasic-19719196-52908185 passed 2025-08-07 02:15:12,612 - INFO - Deleting interface with subnet_id 39b958ae-aae5-41ee-a2e7-aea3339d89a7, port_id None from router d2cfeadb-6e61-4d7b-99aa-a2f36dcde15c 2025-08-07 02:15:12,872 - INFO - Deleting VM ctest-TestRoutersBasic-19719196-52127085 2025-08-07 02:15:12,946 - INFO - Deleting VM ctest-TestRoutersBasic-19719196-52908185 2025-08-07 02:15:13,031 - INFO - Deleting VN ctest-ext_vn-01203503 2025-08-07 02:15:13,099 - DEBUG - VN 766ac8ed-0860-4ed7-b02f-a6b26e2ced0f still in use: Unable to complete operation on network 766ac8ed-0860-4ed7-b02f-a6b26e2ced0f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-50186462-f98d-457a-8b7c-0628b21ea710'] 2025-08-07 02:15:13,100 - WARNING - Deleting VN ctest-ext_vn-01203503 failed..Will retry 2025-08-07 02:15:15,215 - DEBUG - Response for deleting network () 2025-08-07 02:15:15,215 - INFO - Deleting VN ctest-vn-48771845 2025-08-07 02:15:15,330 - DEBUG - Response for deleting network () 2025-08-07 02:15:15,591 - DEBUG - No XMPP flaps were noticed during the test 2025-08-07 02:15:15,591 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-08-07 02:15:15,591 - INFO - -------------------------------------------------------------------------------- 2025-08-07 02:15:16,313 - INFO - Deleted project: ctest-TestRoutersBasic-19719196, ID : 7c55260b-8291-4066-be0a-15edc1ea8e69