2025-11-17 20:45:13,609 - INFO - Domain Default found not creating 2025-11-17 20:45:13,776 - INFO - Project ctest-TestRoutersBasic-84000008 not found, creating it 2025-11-17 20:45:14,244 - INFO - Created Project:ctest-TestRoutersBasic-84000008, ID : 13281d81-2d53-4df0-95d9-276345840ffe 2025-11-17 20:45:15,869 - INFO - ================================================================================ 2025-11-17 20:45:15,870 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-17 20:45:15,870 - 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-11-17 20:45:16,125 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-11-17 20:45:16,126 - INFO - Initial checks done. Running the testcase now 2025-11-17 20:45:16,126 - INFO - 2025-11-17 20:45:16,847 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-84000008 2025-11-17 20:45:16,944 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-84000008 2025-11-17 20:45:17,267 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84000008', 'default']} 2025-11-17 20:45:17,563 - DEBUG - Response for create_network : {'network': {'id': 'a6ac9c9c-3679-4da9-aea2-96a1787c8641', 'name': 'ctest-vn-27721037', 'tenant_id': '13281d812d534df095d9276345840ffe', 'project_id': '13281d812d534df095d9276345840ffe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84000008', 'ctest-vn-27721037'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 20:45:17,733 - DEBUG - Response for create_subnet : {'subnet': {'id': '0a989b76-3b05-4940-b970-942e9359b5a5', 'name': '', 'tenant_id': '13281d812d534df095d9276345840ffe', 'network_id': 'a6ac9c9c-3679-4da9-aea2-96a1787c8641', 'ip_version': 4, 'cidr': '104.152.23.0/26', 'allocation_pools': [{'start': '104.152.23.2', 'end': '104.152.23.62'}], 'gateway_ip': '104.152.23.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.152.23.2', 'tags': [], 'project_id': '13281d812d534df095d9276345840ffe'}} 2025-11-17 20:45:17,750 - INFO - Created VN ctest-vn-27721037 2025-11-17 20:45:17,804 - DEBUG - VN ctest-vn-27721037 UUID is a6ac9c9c-3679-4da9-aea2-96a1787c8641 2025-11-17 20:45:18,181 - DEBUG - Response for create_network : {'network': {'id': '7b0d8289-a305-4dfb-8b3e-821636915d32', 'name': 'ctest-ext_vn-68910949', 'tenant_id': '13281d812d534df095d9276345840ffe', 'project_id': '13281d812d534df095d9276345840ffe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84000008', 'ctest-ext_vn-68910949'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 20:45:18,454 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e27b6b2-8c52-4748-b80e-d2509b5d42ae', 'name': '', 'tenant_id': '13281d812d534df095d9276345840ffe', 'network_id': '7b0d8289-a305-4dfb-8b3e-821636915d32', 'ip_version': 4, 'cidr': '47.57.19.192/26', 'allocation_pools': [{'start': '47.57.19.194', 'end': '47.57.19.254'}], 'gateway_ip': '47.57.19.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.57.19.194', 'tags': [], 'project_id': '13281d812d534df095d9276345840ffe'}} 2025-11-17 20:45:18,480 - INFO - Created VN ctest-ext_vn-68910949 2025-11-17 20:45:18,536 - DEBUG - VN ctest-ext_vn-68910949 UUID is 7b0d8289-a305-4dfb-8b3e-821636915d32 2025-11-17 20:45:18,729 - DEBUG - Services list from nova: [, , ] 2025-11-17 20:45:19,787 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4747-1) 2025-11-17 20:45:20,982 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4747-1) 2025-11-17 20:45:21,071 - INFO - Setting gateway for router 51b0016b-7c82-4c7f-837b-4c2800d97604 to network 7b0d8289-a305-4dfb-8b3e-821636915d32 2025-11-17 20:45:21,121 - INFO - Adding interface with subnet_id 0a989b76-3b05-4940-b970-942e9359b5a5, port_id None to router 51b0016b-7c82-4c7f-837b-4c2800d97604 2025-11-17 20:45:21,458 - INFO - Waiting for VM ctest-TestRoutersBasic-84000008-81682816 to be up.. 2025-11-17 20:45:21,619 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 20:45:26,707 - DEBUG - VM is in ACTIVE state now 2025-11-17 20:45:26,707 - INFO - VM name : ctest-TestRoutersBasic-84000008-81682816 2025-11-17 20:45:26,791 - DEBUG - VM ctest-TestRoutersBasic-84000008-81682816 ID is 799c4acb-f465-4b04-b117-30643a1777fc 2025-11-17 20:45:26,818 - DEBUG - VM ctest-TestRoutersBasic-84000008-81682816 launched on Node cn-jenkins-deploy-platform-ansible-os-4747-1 2025-11-17 20:45:26,911 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/799c4acb-f465-4b04-b117-30643a1777fc 2025-11-17 20:45:27,243 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/799c4acb-f465-4b04-b117-30643a1777fc 2025-11-17 20:45:27,281 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/089aa979-a124-4a10-8f1c-1f1a2dc9b0a9 2025-11-17 20:45:30,524 - 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 1001ms') 2025-11-17 20:45:30,524 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84000008-81682816 failed! 2025-11-17 20:45:30,580 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-84000008:ctest-vn-27721037 is 104.152.23.1 and allocation pool is NOT set 2025-11-17 20:45:32,642 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.530 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.530/1.758/2.987/1.228 ms') 2025-11-17 20:45:32,642 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84000008-81682816 passed 2025-11-17 20:45:32,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 20:45:32,804 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84000008-81682816, IP 104.152.23.3, Port 22 2025-11-17 20:45:32,959 - DEBUG - VM ctest-TestRoutersBasic-84000008-81682816 is ready for SSH connections 2025-11-17 20:45:32,959 - INFO - Waiting for VM ctest-TestRoutersBasic-84000008-18587739 to be up.. 2025-11-17 20:45:33,039 - DEBUG - VM is in ACTIVE state now 2025-11-17 20:45:33,039 - INFO - VM name : ctest-TestRoutersBasic-84000008-18587739 2025-11-17 20:45:33,117 - DEBUG - VM ctest-TestRoutersBasic-84000008-18587739 ID is d07aaaa7-969d-4e59-8730-0bab03bfa25c 2025-11-17 20:45:33,118 - DEBUG - VM ctest-TestRoutersBasic-84000008-18587739 launched on Node cn-jenkins-deploy-platform-ansible-os-4747-1 2025-11-17 20:45:33,198 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d07aaaa7-969d-4e59-8730-0bab03bfa25c 2025-11-17 20:45:33,207 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f6a09de7-2047-4f06-a61e-9c35a7a34de1 2025-11-17 20:45:34,443 - 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=4.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.23 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 = 1.228/2.652/4.077/1.424 ms') 2025-11-17 20:45:34,443 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-84000008-18587739 passed 2025-11-17 20:45:34,596 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 20:45:34,596 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84000008-18587739, IP 47.57.19.195, Port 22 2025-11-17 20:45:34,751 - DEBUG - VM ctest-TestRoutersBasic-84000008-18587739 is ready for SSH connections 2025-11-17 20:45:34,751 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 20:45:34,752 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.57.19.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 20:45:34,752 - DEBUG - ping -s 56 -c 3 -W 1 47.57.19.195 2025-11-17 20:45:38,470 - DEBUG - PING 47.57.19.195 (47.57.19.195): 56 data bytes 64 bytes from 47.57.19.195: seq=0 ttl=62 time=8.197 ms 64 bytes from 47.57.19.195: seq=1 ttl=62 time=0.937 ms 64 bytes from 47.57.19.195: seq=2 ttl=62 time=0.980 ms --- 47.57.19.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.937/3.371/8.197 ms 2025-11-17 20:45:38,470 - INFO - Ping to IP 47.57.19.195 from VM ctest-TestRoutersBasic-84000008-81682816 passed 2025-11-17 20:45:38,470 - INFO - Deleting interface with subnet_id 0a989b76-3b05-4940-b970-942e9359b5a5, port_id None from router 51b0016b-7c82-4c7f-837b-4c2800d97604 2025-11-17 20:45:38,666 - INFO - Deleting VM ctest-TestRoutersBasic-84000008-18587739 2025-11-17 20:45:38,774 - INFO - Deleting VM ctest-TestRoutersBasic-84000008-81682816 2025-11-17 20:45:38,850 - INFO - Deleting VN ctest-ext_vn-68910949 2025-11-17 20:45:38,926 - DEBUG - VN 7b0d8289-a305-4dfb-8b3e-821636915d32 still in use: Unable to complete operation on network 7b0d8289-a305-4dfb-8b3e-821636915d32. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-015fa0f9-45d8-46e9-835e-a1ebfa50d2e5'] 2025-11-17 20:45:38,926 - WARNING - Deleting VN ctest-ext_vn-68910949 failed..Will retry 2025-11-17 20:45:41,025 - DEBUG - Response for deleting network () 2025-11-17 20:45:41,025 - INFO - Deleting VN ctest-vn-27721037 2025-11-17 20:45:41,130 - DEBUG - Response for deleting network () 2025-11-17 20:45:41,386 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 20:45:41,386 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-11-17 20:45:41,386 - INFO - -------------------------------------------------------------------------------- 2025-11-17 20:45:42,066 - INFO - Deleted project: ctest-TestRoutersBasic-84000008, ID : 13281d81-2d53-4df0-95d9-276345840ffe