2025-09-02 13:17:25,858 - INFO - Domain Default found not creating 2025-09-02 13:17:25,999 - INFO - Project ctest-TestRoutersBasic-42608346 not found, creating it 2025-09-02 13:17:26,452 - INFO - Created Project:ctest-TestRoutersBasic-42608346, ID : 934ff4f9-7ed8-4c2e-ae45-8284de5128d1 2025-09-02 13:17:27,986 - INFO - ================================================================================ 2025-09-02 13:17:27,986 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-02 13:17:27,986 - 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-09-02 13:17:28,243 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-09-02 13:17:28,243 - INFO - Initial checks done. Running the testcase now 2025-09-02 13:17:28,244 - INFO - 2025-09-02 13:17:29,020 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-42608346 2025-09-02 13:17:29,115 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-42608346 2025-09-02 13:17:29,434 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42608346', 'default']} 2025-09-02 13:17:29,730 - DEBUG - Response for create_network : {'network': {'id': 'b42279e2-c31b-4a7f-83c7-20ef0752694c', 'name': 'ctest-vn-70345124', 'tenant_id': '934ff4f97ed84c2eae458284de5128d1', 'project_id': '934ff4f97ed84c2eae458284de5128d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42608346', 'ctest-vn-70345124'], 'port_security_enabled': True, 'description': ''}} 2025-09-02 13:17:29,935 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f9805976-9cf0-4108-a62b-6773c2d9138b', 'name': '', 'tenant_id': '934ff4f97ed84c2eae458284de5128d1', 'network_id': 'b42279e2-c31b-4a7f-83c7-20ef0752694c', 'ip_version': 4, 'cidr': '4.155.177.0/26', 'allocation_pools': [{'start': '4.155.177.2', 'end': '4.155.177.62'}], 'gateway_ip': '4.155.177.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.155.177.2', 'tags': [], 'project_id': '934ff4f97ed84c2eae458284de5128d1'}} 2025-09-02 13:17:29,952 - INFO - Created VN ctest-vn-70345124 2025-09-02 13:17:30,003 - DEBUG - VN ctest-vn-70345124 UUID is b42279e2-c31b-4a7f-83c7-20ef0752694c 2025-09-02 13:17:30,359 - DEBUG - Response for create_network : {'network': {'id': 'a5074604-3fd1-4947-9b67-cceeee52c115', 'name': 'ctest-ext_vn-77801349', 'tenant_id': '934ff4f97ed84c2eae458284de5128d1', 'project_id': '934ff4f97ed84c2eae458284de5128d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42608346', 'ctest-ext_vn-77801349'], 'port_security_enabled': True, 'description': ''}} 2025-09-02 13:17:30,556 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a7a0659-accf-4467-b728-6cd54e13f629', 'name': '', 'tenant_id': '934ff4f97ed84c2eae458284de5128d1', 'network_id': 'a5074604-3fd1-4947-9b67-cceeee52c115', 'ip_version': 4, 'cidr': '14.164.38.64/26', 'allocation_pools': [{'start': '14.164.38.66', 'end': '14.164.38.126'}], 'gateway_ip': '14.164.38.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.164.38.66', 'tags': [], 'project_id': '934ff4f97ed84c2eae458284de5128d1'}} 2025-09-02 13:17:30,575 - INFO - Created VN ctest-ext_vn-77801349 2025-09-02 13:17:30,630 - DEBUG - VN ctest-ext_vn-77801349 UUID is a5074604-3fd1-4947-9b67-cceeee52c115 2025-09-02 13:17:30,849 - DEBUG - Services list from nova: [, , ] 2025-09-02 13:17:31,951 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4002-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4002-1) 2025-09-02 13:17:33,206 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4002-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4002-1) 2025-09-02 13:17:33,301 - INFO - Setting gateway for router f371e4b1-5111-41fa-9a4d-9e18d93c5858 to network a5074604-3fd1-4947-9b67-cceeee52c115 2025-09-02 13:17:33,359 - INFO - Adding interface with subnet_id f9805976-9cf0-4108-a62b-6773c2d9138b, port_id None to router f371e4b1-5111-41fa-9a4d-9e18d93c5858 2025-09-02 13:17:33,686 - INFO - Waiting for VM ctest-TestRoutersBasic-42608346-83517994 to be up.. 2025-09-02 13:17:33,894 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-02 13:17:38,968 - DEBUG - VM is in ACTIVE state now 2025-09-02 13:17:38,968 - INFO - VM name : ctest-TestRoutersBasic-42608346-83517994 2025-09-02 13:17:39,046 - DEBUG - VM ctest-TestRoutersBasic-42608346-83517994 ID is 225f1858-4162-46c0-8f82-ec17de70dfe2 2025-09-02 13:17:39,067 - DEBUG - VM ctest-TestRoutersBasic-42608346-83517994 launched on Node cn-jenkins-deploy-platform-ansible-os-4002-1 2025-09-02 13:17:39,142 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/225f1858-4162-46c0-8f82-ec17de70dfe2 2025-09-02 13:17:39,476 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/225f1858-4162-46c0-8f82-ec17de70dfe2 2025-09-02 13:17:39,513 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/28445f05-8683-4465-a917-a20efd6dc680 2025-09-02 13:17:42,775 - 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 1019ms') 2025-09-02 13:17:42,775 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42608346-83517994 failed! 2025-09-02 13:17:42,835 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-42608346:ctest-vn-70345124 is 4.155.177.1 and allocation pool is NOT set 2025-09-02 13:17:44,894 - 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.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.690 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.690/1.963/3.236/1.273 ms') 2025-09-02 13:17:44,894 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42608346-83517994 passed 2025-09-02 13:17:45,043 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-02 13:17:45,043 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42608346-83517994, IP 4.155.177.3, Port 22 2025-09-02 13:17:45,199 - DEBUG - VM ctest-TestRoutersBasic-42608346-83517994 is ready for SSH connections 2025-09-02 13:17:45,199 - INFO - Waiting for VM ctest-TestRoutersBasic-42608346-28387367 to be up.. 2025-09-02 13:17:45,281 - DEBUG - VM is in ACTIVE state now 2025-09-02 13:17:45,281 - INFO - VM name : ctest-TestRoutersBasic-42608346-28387367 2025-09-02 13:17:45,355 - DEBUG - VM ctest-TestRoutersBasic-42608346-28387367 ID is 883825cd-de57-4704-8ba1-9dbb58861966 2025-09-02 13:17:45,355 - DEBUG - VM ctest-TestRoutersBasic-42608346-28387367 launched on Node cn-jenkins-deploy-platform-ansible-os-4002-1 2025-09-02 13:17:45,431 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/883825cd-de57-4704-8ba1-9dbb58861966 2025-09-02 13:17:45,439 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1afe1ae6-982f-43fc-85ee-3fb421119464 2025-09-02 13:17:46,678 - 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=5.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.28 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 = 1.280/3.316/5.353/2.036 ms') 2025-09-02 13:17:46,678 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-42608346-28387367 passed 2025-09-02 13:17:46,831 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-02 13:17:46,831 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42608346-28387367, IP 14.164.38.67, Port 22 2025-09-02 13:17:46,986 - DEBUG - VM ctest-TestRoutersBasic-42608346-28387367 is ready for SSH connections 2025-09-02 13:17:46,986 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-02 13:17:46,986 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.164.38.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-02 13:17:46,986 - DEBUG - ping -s 56 -c 3 -W 1 14.164.38.67 2025-09-02 13:17:50,748 - DEBUG - PING 14.164.38.67 (14.164.38.67): 56 data bytes 64 bytes from 14.164.38.67: seq=0 ttl=62 time=6.446 ms 64 bytes from 14.164.38.67: seq=1 ttl=62 time=0.923 ms 64 bytes from 14.164.38.67: seq=2 ttl=62 time=1.260 ms --- 14.164.38.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.923/2.876/6.446 ms 2025-09-02 13:17:50,748 - INFO - Ping to IP 14.164.38.67 from VM ctest-TestRoutersBasic-42608346-83517994 passed 2025-09-02 13:17:50,748 - INFO - Deleting interface with subnet_id f9805976-9cf0-4108-a62b-6773c2d9138b, port_id None from router f371e4b1-5111-41fa-9a4d-9e18d93c5858 2025-09-02 13:17:50,953 - INFO - Deleting VM ctest-TestRoutersBasic-42608346-28387367 2025-09-02 13:17:51,029 - INFO - Deleting VM ctest-TestRoutersBasic-42608346-83517994 2025-09-02 13:17:51,107 - INFO - Deleting VN ctest-ext_vn-77801349 2025-09-02 13:17:51,178 - DEBUG - VN a5074604-3fd1-4947-9b67-cceeee52c115 still in use: Unable to complete operation on network a5074604-3fd1-4947-9b67-cceeee52c115. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ef2ba0dd-8646-4918-86f3-5f56483dbbfd'] 2025-09-02 13:17:51,178 - WARNING - Deleting VN ctest-ext_vn-77801349 failed..Will retry 2025-09-02 13:17:53,279 - DEBUG - Response for deleting network () 2025-09-02 13:17:53,279 - INFO - Deleting VN ctest-vn-70345124 2025-09-02 13:17:53,393 - DEBUG - Response for deleting network () 2025-09-02 13:17:53,657 - DEBUG - No XMPP flaps were noticed during the test 2025-09-02 13:17:53,657 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-09-02 13:17:53,657 - INFO - -------------------------------------------------------------------------------- 2025-09-02 13:17:54,381 - INFO - Deleted project: ctest-TestRoutersBasic-42608346, ID : 934ff4f9-7ed8-4c2e-ae45-8284de5128d1