2025-10-21 21:51:34,908 - INFO - Domain Default found not creating 2025-10-21 21:51:35,059 - INFO - Project ctest-TestRoutersBasic-15839667 not found, creating it 2025-10-21 21:51:35,496 - INFO - Created Project:ctest-TestRoutersBasic-15839667, ID : c6c7c33d-e8e1-4eb2-a3d8-427010b46a9b 2025-10-21 21:51:36,910 - INFO - ================================================================================ 2025-10-21 21:51:36,911 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-21 21:51:36,911 - 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-10-21 21:51:37,170 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-21 21:51:37,170 - INFO - Initial checks done. Running the testcase now 2025-10-21 21:51:37,170 - INFO - 2025-10-21 21:51:37,865 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-15839667 2025-10-21 21:51:37,961 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-15839667 2025-10-21 21:51:38,276 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15839667', 'default']} 2025-10-21 21:51:38,581 - DEBUG - Response for create_network : {'network': {'id': 'b65d30c6-00c7-486d-9140-f75ef6797d6d', 'name': 'ctest-vn-47936178', 'tenant_id': 'c6c7c33de8e14eb2a3d8427010b46a9b', 'project_id': 'c6c7c33de8e14eb2a3d8427010b46a9b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15839667', 'ctest-vn-47936178'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 21:51:38,761 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a857ec74-29e1-493d-a78b-424b2b1edd66', 'name': '', 'tenant_id': 'c6c7c33de8e14eb2a3d8427010b46a9b', 'network_id': 'b65d30c6-00c7-486d-9140-f75ef6797d6d', 'ip_version': 4, 'cidr': '114.78.195.192/26', 'allocation_pools': [{'start': '114.78.195.194', 'end': '114.78.195.254'}], 'gateway_ip': '114.78.195.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.78.195.194', 'tags': [], 'project_id': 'c6c7c33de8e14eb2a3d8427010b46a9b'}} 2025-10-21 21:51:38,778 - INFO - Created VN ctest-vn-47936178 2025-10-21 21:51:38,829 - DEBUG - VN ctest-vn-47936178 UUID is b65d30c6-00c7-486d-9140-f75ef6797d6d 2025-10-21 21:51:39,137 - DEBUG - Response for create_network : {'network': {'id': '1e82d320-f273-4aca-b9a4-506e1b5b742b', 'name': 'ctest-ext_vn-04822814', 'tenant_id': 'c6c7c33de8e14eb2a3d8427010b46a9b', 'project_id': 'c6c7c33de8e14eb2a3d8427010b46a9b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15839667', 'ctest-ext_vn-04822814'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 21:51:39,284 - DEBUG - Response for create_subnet : {'subnet': {'id': '987f77e2-3304-40ad-b59d-0dc7356bc433', 'name': '', 'tenant_id': 'c6c7c33de8e14eb2a3d8427010b46a9b', 'network_id': '1e82d320-f273-4aca-b9a4-506e1b5b742b', 'ip_version': 4, 'cidr': '39.82.21.64/26', 'allocation_pools': [{'start': '39.82.21.66', 'end': '39.82.21.126'}], 'gateway_ip': '39.82.21.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.82.21.66', 'tags': [], 'project_id': 'c6c7c33de8e14eb2a3d8427010b46a9b'}} 2025-10-21 21:51:39,302 - INFO - Created VN ctest-ext_vn-04822814 2025-10-21 21:51:39,353 - DEBUG - VN ctest-ext_vn-04822814 UUID is 1e82d320-f273-4aca-b9a4-506e1b5b742b 2025-10-21 21:51:39,555 - DEBUG - Services list from nova: [, , ] 2025-10-21 21:51:40,568 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4409-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4409-1) 2025-10-21 21:51:41,685 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4409-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4409-1) 2025-10-21 21:51:41,750 - INFO - Setting gateway for router 8bc0bece-e56e-42de-b4f3-9493eee91d26 to network 1e82d320-f273-4aca-b9a4-506e1b5b742b 2025-10-21 21:51:41,812 - INFO - Adding interface with subnet_id a857ec74-29e1-493d-a78b-424b2b1edd66, port_id None to router 8bc0bece-e56e-42de-b4f3-9493eee91d26 2025-10-21 21:51:42,100 - INFO - Waiting for VM ctest-TestRoutersBasic-15839667-85391320 to be up.. 2025-10-21 21:51:42,233 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 21:51:47,319 - DEBUG - VM is in ACTIVE state now 2025-10-21 21:51:47,319 - INFO - VM name : ctest-TestRoutersBasic-15839667-85391320 2025-10-21 21:51:47,405 - DEBUG - VM ctest-TestRoutersBasic-15839667-85391320 ID is 0aa192af-214d-4ee9-a9f8-5f3623f0e456 2025-10-21 21:51:47,430 - DEBUG - VM ctest-TestRoutersBasic-15839667-85391320 launched on Node cn-jenkins-deploy-platform-ansible-os-4409-1 2025-10-21 21:51:47,518 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0aa192af-214d-4ee9-a9f8-5f3623f0e456 2025-10-21 21:51:47,817 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0aa192af-214d-4ee9-a9f8-5f3623f0e456 2025-10-21 21:51:47,852 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b8d2421d-ba09-410d-bc18-63357f29ba53 2025-10-21 21:51:51,086 - 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 1002ms') 2025-10-21 21:51:51,086 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15839667-85391320 failed! 2025-10-21 21:51:51,141 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-15839667:ctest-vn-47936178 is 114.78.195.193 and allocation pool is NOT set 2025-10-21 21:51:53,204 - 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=4.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.613 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.613/2.480/4.347/1.867 ms') 2025-10-21 21:51:53,205 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15839667-85391320 passed 2025-10-21 21:51:53,353 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:51:53,353 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15839667-85391320, IP 114.78.195.195, Port 22 2025-10-21 21:51:53,519 - DEBUG - VM ctest-TestRoutersBasic-15839667-85391320 is ready for SSH connections 2025-10-21 21:51:53,519 - INFO - Waiting for VM ctest-TestRoutersBasic-15839667-00742110 to be up.. 2025-10-21 21:51:53,596 - DEBUG - VM is in ACTIVE state now 2025-10-21 21:51:53,596 - INFO - VM name : ctest-TestRoutersBasic-15839667-00742110 2025-10-21 21:51:53,666 - DEBUG - VM ctest-TestRoutersBasic-15839667-00742110 ID is 950f5d66-5149-4803-b65e-e8b5735200ad 2025-10-21 21:51:53,666 - DEBUG - VM ctest-TestRoutersBasic-15839667-00742110 launched on Node cn-jenkins-deploy-platform-ansible-os-4409-1 2025-10-21 21:51:53,739 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/950f5d66-5149-4803-b65e-e8b5735200ad 2025-10-21 21:51:53,747 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3db61a07-a542-4c6b-998d-dd13ec964335 2025-10-21 21:51:54,975 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.705 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.705/1.838/2.971/1.133 ms') 2025-10-21 21:51:54,975 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-15839667-00742110 passed 2025-10-21 21:51:55,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:51:55,125 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15839667-00742110, IP 39.82.21.67, Port 22 2025-10-21 21:51:55,279 - DEBUG - VM ctest-TestRoutersBasic-15839667-00742110 is ready for SSH connections 2025-10-21 21:51:55,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:51:55,280 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.82.21.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-21 21:51:55,280 - DEBUG - ping -s 56 -c 3 -W 1 39.82.21.67 2025-10-21 21:51:58,960 - DEBUG - PING 39.82.21.67 (39.82.21.67): 56 data bytes 64 bytes from 39.82.21.67: seq=0 ttl=62 time=8.618 ms 64 bytes from 39.82.21.67: seq=1 ttl=62 time=0.906 ms 64 bytes from 39.82.21.67: seq=2 ttl=62 time=0.966 ms --- 39.82.21.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.906/3.496/8.618 ms 2025-10-21 21:51:58,961 - INFO - Ping to IP 39.82.21.67 from VM ctest-TestRoutersBasic-15839667-85391320 passed 2025-10-21 21:51:58,961 - INFO - Deleting interface with subnet_id a857ec74-29e1-493d-a78b-424b2b1edd66, port_id None from router 8bc0bece-e56e-42de-b4f3-9493eee91d26 2025-10-21 21:51:59,140 - INFO - Deleting VM ctest-TestRoutersBasic-15839667-00742110 2025-10-21 21:51:59,220 - INFO - Deleting VM ctest-TestRoutersBasic-15839667-85391320 2025-10-21 21:51:59,302 - INFO - Deleting VN ctest-ext_vn-04822814 2025-10-21 21:51:59,387 - DEBUG - VN 1e82d320-f273-4aca-b9a4-506e1b5b742b still in use: Unable to complete operation on network 1e82d320-f273-4aca-b9a4-506e1b5b742b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-02215af2-4656-4741-b574-9e71aa760898'] 2025-10-21 21:51:59,387 - WARNING - Deleting VN ctest-ext_vn-04822814 failed..Will retry 2025-10-21 21:52:01,492 - DEBUG - Response for deleting network () 2025-10-21 21:52:01,492 - INFO - Deleting VN ctest-vn-47936178 2025-10-21 21:52:01,601 - DEBUG - Response for deleting network () 2025-10-21 21:52:01,859 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 21:52:01,859 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-21 21:52:01,859 - INFO - -------------------------------------------------------------------------------- 2025-10-21 21:52:02,526 - INFO - Deleted project: ctest-TestRoutersBasic-15839667, ID : c6c7c33d-e8e1-4eb2-a3d8-427010b46a9b