2025-08-11 11:19:36,330 - INFO - Domain Default found not creating 2025-08-11 11:19:36,448 - INFO - Project ctest-TestRoutersBasic-49269023 not found, creating it 2025-08-11 11:19:36,885 - INFO - Created Project:ctest-TestRoutersBasic-49269023, ID : 677caacf-35d3-4a6b-a48a-901c5c991b9b 2025-08-11 11:19:38,226 - INFO - ================================================================================ 2025-08-11 11:19:38,226 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-11 11:19:38,226 - 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-11 11:19:38,474 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.18': '0'}} with 2025-08-11 11:19:38,474 - INFO - Initial checks done. Running the testcase now 2025-08-11 11:19:38,474 - INFO - 2025-08-11 11:19:39,175 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-49269023 2025-08-11 11:19:39,273 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-49269023 2025-08-11 11:19:39,592 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49269023', 'default']} 2025-08-11 11:19:39,866 - DEBUG - Response for create_network : {'network': {'id': '29e03d95-4779-47b0-9323-53f15440baeb', 'name': 'ctest-vn-65304596', 'tenant_id': '677caacf35d34a6ba48a901c5c991b9b', 'project_id': '677caacf35d34a6ba48a901c5c991b9b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49269023', 'ctest-vn-65304596'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 11:19:40,065 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a58dee2-9f44-443d-8737-77af26c7ee12', 'name': '', 'tenant_id': '677caacf35d34a6ba48a901c5c991b9b', 'network_id': '29e03d95-4779-47b0-9323-53f15440baeb', 'ip_version': 4, 'cidr': '200.8.153.128/26', 'allocation_pools': [{'start': '200.8.153.130', 'end': '200.8.153.190'}], 'gateway_ip': '200.8.153.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.8.153.130', 'tags': [], 'project_id': '677caacf35d34a6ba48a901c5c991b9b'}} 2025-08-11 11:19:40,083 - INFO - Created VN ctest-vn-65304596 2025-08-11 11:19:40,137 - DEBUG - VN ctest-vn-65304596 UUID is 29e03d95-4779-47b0-9323-53f15440baeb 2025-08-11 11:19:40,463 - DEBUG - Response for create_network : {'network': {'id': 'd1fb40fb-d977-4776-b87b-dc8b3580c09a', 'name': 'ctest-ext_vn-49654788', 'tenant_id': '677caacf35d34a6ba48a901c5c991b9b', 'project_id': '677caacf35d34a6ba48a901c5c991b9b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49269023', 'ctest-ext_vn-49654788'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 11:19:40,600 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8a1b41a-3fed-439a-8aae-6ceb60852c8d', 'name': '', 'tenant_id': '677caacf35d34a6ba48a901c5c991b9b', 'network_id': 'd1fb40fb-d977-4776-b87b-dc8b3580c09a', 'ip_version': 4, 'cidr': '141.43.171.192/26', 'allocation_pools': [{'start': '141.43.171.194', 'end': '141.43.171.254'}], 'gateway_ip': '141.43.171.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.43.171.194', 'tags': [], 'project_id': '677caacf35d34a6ba48a901c5c991b9b'}} 2025-08-11 11:19:40,615 - INFO - Created VN ctest-ext_vn-49654788 2025-08-11 11:19:40,669 - DEBUG - VN ctest-ext_vn-49654788 UUID is d1fb40fb-d977-4776-b87b-dc8b3580c09a 2025-08-11 11:19:40,857 - DEBUG - Services list from nova: [, , ] 2025-08-11 11:19:41,791 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3804-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3804-1) 2025-08-11 11:19:42,823 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3804-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3804-1) 2025-08-11 11:19:42,894 - INFO - Setting gateway for router 4a147a5b-004b-4c9a-80b9-ffc88c110d68 to network d1fb40fb-d977-4776-b87b-dc8b3580c09a 2025-08-11 11:19:42,950 - INFO - Adding interface with subnet_id 3a58dee2-9f44-443d-8737-77af26c7ee12, port_id None to router 4a147a5b-004b-4c9a-80b9-ffc88c110d68 2025-08-11 11:19:43,228 - INFO - Waiting for VM ctest-TestRoutersBasic-49269023-58105521 to be up.. 2025-08-11 11:19:43,375 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 11:19:48,438 - DEBUG - VM is in ACTIVE state now 2025-08-11 11:19:48,438 - INFO - VM name : ctest-TestRoutersBasic-49269023-58105521 2025-08-11 11:19:48,503 - DEBUG - VM ctest-TestRoutersBasic-49269023-58105521 ID is 04996f35-e55c-4cb9-91e2-9e7176732bfc 2025-08-11 11:19:48,519 - DEBUG - VM ctest-TestRoutersBasic-49269023-58105521 launched on Node cn-jenkins-deploy-platform-ansible-os-3804-1 2025-08-11 11:19:48,585 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/04996f35-e55c-4cb9-91e2-9e7176732bfc 2025-08-11 11:19:48,885 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/04996f35-e55c-4cb9-91e2-9e7176732bfc 2025-08-11 11:19:48,914 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/01f35fc7-b434-4362-a069-17d6eafa2c54 2025-08-11 11:19:52,172 - 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 1024ms') 2025-08-11 11:19:52,172 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-49269023-58105521 failed! 2025-08-11 11:19:52,225 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-49269023:ctest-vn-65304596 is 200.8.153.129 and allocation pool is NOT set 2025-08-11 11:19:54,282 - 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=2.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.386 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.386/1.662/2.939/1.276 ms') 2025-08-11 11:19:54,282 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-49269023-58105521 passed 2025-08-11 11:19:54,429 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 11:19:54,429 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49269023-58105521, IP 200.8.153.131, Port 22 2025-08-11 11:19:54,588 - DEBUG - VM ctest-TestRoutersBasic-49269023-58105521 is ready for SSH connections 2025-08-11 11:19:54,588 - INFO - Waiting for VM ctest-TestRoutersBasic-49269023-90955587 to be up.. 2025-08-11 11:19:54,654 - DEBUG - VM is in ACTIVE state now 2025-08-11 11:19:54,654 - INFO - VM name : ctest-TestRoutersBasic-49269023-90955587 2025-08-11 11:19:54,717 - DEBUG - VM ctest-TestRoutersBasic-49269023-90955587 ID is be1f5728-659a-42f5-bcb1-88c85b0698f1 2025-08-11 11:19:54,718 - DEBUG - VM ctest-TestRoutersBasic-49269023-90955587 launched on Node cn-jenkins-deploy-platform-ansible-os-3804-1 2025-08-11 11:19:54,781 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/be1f5728-659a-42f5-bcb1-88c85b0698f1 2025-08-11 11:19:54,790 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/48a9cb70-3c42-46c8-9db8-65922a421bd5 2025-08-11 11:19:56,029 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.342 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.342/1.660/2.978/1.318 ms') 2025-08-11 11:19:56,029 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-49269023-90955587 passed 2025-08-11 11:19:56,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 11:19:56,181 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49269023-90955587, IP 141.43.171.195, Port 22 2025-08-11 11:19:56,336 - DEBUG - VM ctest-TestRoutersBasic-49269023-90955587 is ready for SSH connections 2025-08-11 11:19:56,336 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 11:19:56,336 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.43.171.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-11 11:19:56,336 - DEBUG - ping -s 56 -c 3 -W 1 141.43.171.195 2025-08-11 11:20:00,015 - DEBUG - PING 141.43.171.195 (141.43.171.195): 56 data bytes 64 bytes from 141.43.171.195: seq=0 ttl=62 time=4.126 ms 64 bytes from 141.43.171.195: seq=1 ttl=62 time=0.777 ms 64 bytes from 141.43.171.195: seq=2 ttl=62 time=0.758 ms --- 141.43.171.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.758/1.887/4.126 ms 2025-08-11 11:20:00,015 - INFO - Ping to IP 141.43.171.195 from VM ctest-TestRoutersBasic-49269023-58105521 passed 2025-08-11 11:20:00,015 - INFO - Deleting interface with subnet_id 3a58dee2-9f44-443d-8737-77af26c7ee12, port_id None from router 4a147a5b-004b-4c9a-80b9-ffc88c110d68 2025-08-11 11:20:00,193 - INFO - Deleting VM ctest-TestRoutersBasic-49269023-90955587 2025-08-11 11:20:00,258 - INFO - Deleting VM ctest-TestRoutersBasic-49269023-58105521 2025-08-11 11:20:00,337 - INFO - Deleting VN ctest-ext_vn-49654788 2025-08-11 11:20:00,407 - DEBUG - VN d1fb40fb-d977-4776-b87b-dc8b3580c09a still in use: Unable to complete operation on network d1fb40fb-d977-4776-b87b-dc8b3580c09a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-490275c7-d463-438a-b478-fd59096ec4f3'] 2025-08-11 11:20:00,407 - WARNING - Deleting VN ctest-ext_vn-49654788 failed..Will retry 2025-08-11 11:20:02,503 - DEBUG - Response for deleting network () 2025-08-11 11:20:02,503 - INFO - Deleting VN ctest-vn-65304596 2025-08-11 11:20:02,605 - DEBUG - Response for deleting network () 2025-08-11 11:20:02,870 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 11:20:02,870 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24] 2025-08-11 11:20:02,871 - INFO - -------------------------------------------------------------------------------- 2025-08-11 11:20:03,536 - INFO - Deleted project: ctest-TestRoutersBasic-49269023, ID : 677caacf-35d3-4a6b-a48a-901c5c991b9b