2025-10-30 10:10:55,708 - INFO - Domain Default found not creating 2025-10-30 10:10:55,856 - INFO - Project ctest-TestRoutersBasic-03509518 not found, creating it 2025-10-30 10:10:56,284 - INFO - Created Project:ctest-TestRoutersBasic-03509518, ID : 1b47fe4c-b5b5-45eb-8357-69b68f0b7229 2025-10-30 10:10:57,687 - INFO - ================================================================================ 2025-10-30 10:10:57,687 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-30 10:10:57,688 - 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-30 10:10:57,940 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.241': '0'}} with 2025-10-30 10:10:57,940 - INFO - Initial checks done. Running the testcase now 2025-10-30 10:10:57,940 - INFO - 2025-10-30 10:10:58,630 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-03509518 2025-10-30 10:10:58,723 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-03509518 2025-10-30 10:10:59,039 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03509518', 'default']} 2025-10-30 10:10:59,323 - DEBUG - Response for create_network : {'network': {'id': '288b3304-eea7-49a7-9a3b-b3c48da7a3c8', 'name': 'ctest-vn-83146155', 'tenant_id': '1b47fe4cb5b545eb835769b68f0b7229', 'project_id': '1b47fe4cb5b545eb835769b68f0b7229', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03509518', 'ctest-vn-83146155'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 10:10:59,466 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b6a9b70-932a-4068-a0b0-3d1f3f6103e7', 'name': '', 'tenant_id': '1b47fe4cb5b545eb835769b68f0b7229', 'network_id': '288b3304-eea7-49a7-9a3b-b3c48da7a3c8', 'ip_version': 4, 'cidr': '219.75.3.128/26', 'allocation_pools': [{'start': '219.75.3.130', 'end': '219.75.3.190'}], 'gateway_ip': '219.75.3.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.75.3.130', 'tags': [], 'project_id': '1b47fe4cb5b545eb835769b68f0b7229'}} 2025-10-30 10:10:59,482 - INFO - Created VN ctest-vn-83146155 2025-10-30 10:10:59,535 - DEBUG - VN ctest-vn-83146155 UUID is 288b3304-eea7-49a7-9a3b-b3c48da7a3c8 2025-10-30 10:10:59,820 - DEBUG - Response for create_network : {'network': {'id': '009c4b7b-8251-4861-87e3-f0a243c76030', 'name': 'ctest-ext_vn-06749768', 'tenant_id': '1b47fe4cb5b545eb835769b68f0b7229', 'project_id': '1b47fe4cb5b545eb835769b68f0b7229', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03509518', 'ctest-ext_vn-06749768'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 10:11:00,015 - DEBUG - Response for create_subnet : {'subnet': {'id': '86f4258f-a810-4e2f-805d-5d66c5bbf3e1', 'name': '', 'tenant_id': '1b47fe4cb5b545eb835769b68f0b7229', 'network_id': '009c4b7b-8251-4861-87e3-f0a243c76030', 'ip_version': 4, 'cidr': '198.231.246.192/26', 'allocation_pools': [{'start': '198.231.246.194', 'end': '198.231.246.254'}], 'gateway_ip': '198.231.246.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.231.246.194', 'tags': [], 'project_id': '1b47fe4cb5b545eb835769b68f0b7229'}} 2025-10-30 10:11:00,032 - INFO - Created VN ctest-ext_vn-06749768 2025-10-30 10:11:00,083 - DEBUG - VN ctest-ext_vn-06749768 UUID is 009c4b7b-8251-4861-87e3-f0a243c76030 2025-10-30 10:11:00,245 - DEBUG - Services list from nova: [, , ] 2025-10-30 10:11:01,219 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4542-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4542-1) 2025-10-30 10:11:02,309 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4542-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4542-1) 2025-10-30 10:11:02,386 - INFO - Setting gateway for router 434dca3c-a31b-4e8b-bfec-02fd66dd0e60 to network 009c4b7b-8251-4861-87e3-f0a243c76030 2025-10-30 10:11:02,468 - INFO - Adding interface with subnet_id 6b6a9b70-932a-4068-a0b0-3d1f3f6103e7, port_id None to router 434dca3c-a31b-4e8b-bfec-02fd66dd0e60 2025-10-30 10:11:02,810 - INFO - Waiting for VM ctest-TestRoutersBasic-03509518-93420174 to be up.. 2025-10-30 10:11:02,946 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 10:11:08,016 - DEBUG - VM is in ACTIVE state now 2025-10-30 10:11:08,016 - INFO - VM name : ctest-TestRoutersBasic-03509518-93420174 2025-10-30 10:11:08,086 - DEBUG - VM ctest-TestRoutersBasic-03509518-93420174 ID is cabd9a4a-9339-4cd3-b7b3-cda863ba04e6 2025-10-30 10:11:08,106 - DEBUG - VM ctest-TestRoutersBasic-03509518-93420174 launched on Node cn-jenkins-deploy-platform-ansible-os-4542-1 2025-10-30 10:11:08,175 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/cabd9a4a-9339-4cd3-b7b3-cda863ba04e6 2025-10-30 10:11:08,466 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/cabd9a4a-9339-4cd3-b7b3-cda863ba04e6 2025-10-30 10:11:08,495 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/1a723ca9-2aaf-4b7e-9531-cf8f38bab602 2025-10-30 10:11:11,739 - 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 1011ms') 2025-10-30 10:11:11,739 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03509518-93420174 failed! 2025-10-30 10:11:11,795 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-03509518:ctest-vn-83146155 is 219.75.3.129 and allocation pool is NOT set 2025-10-30 10:11:13,853 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.430 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.430/1.572/2.714/1.142 ms') 2025-10-30 10:11:13,853 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03509518-93420174 passed 2025-10-30 10:11:13,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 10:11:13,999 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03509518-93420174, IP 219.75.3.131, Port 22 2025-10-30 10:11:14,155 - DEBUG - VM ctest-TestRoutersBasic-03509518-93420174 is ready for SSH connections 2025-10-30 10:11:14,155 - INFO - Waiting for VM ctest-TestRoutersBasic-03509518-37619270 to be up.. 2025-10-30 10:11:14,224 - DEBUG - VM is in ACTIVE state now 2025-10-30 10:11:14,224 - INFO - VM name : ctest-TestRoutersBasic-03509518-37619270 2025-10-30 10:11:14,293 - DEBUG - VM ctest-TestRoutersBasic-03509518-37619270 ID is 01916383-fc52-46c1-9021-47584208dc3c 2025-10-30 10:11:14,293 - DEBUG - VM ctest-TestRoutersBasic-03509518-37619270 launched on Node cn-jenkins-deploy-platform-ansible-os-4542-1 2025-10-30 10:11:14,361 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/01916383-fc52-46c1-9021-47584208dc3c 2025-10-30 10:11:14,368 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/f93f0737-f9fb-43f6-8a7f-95dd529d4b20 2025-10-30 10:11:15,597 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.440 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 = 0.440/1.799/3.158/1.359 ms') 2025-10-30 10:11:15,597 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-03509518-37619270 passed 2025-10-30 10:11:15,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 10:11:15,747 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03509518-37619270, IP 198.231.246.195, Port 22 2025-10-30 10:11:15,903 - DEBUG - VM ctest-TestRoutersBasic-03509518-37619270 is ready for SSH connections 2025-10-30 10:11:15,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 10:11:15,903 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.231.246.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-10-30 10:11:15,903 - DEBUG - ping -s 56 -c 3 -W 1 198.231.246.195 2025-10-30 10:11:20,025 - DEBUG - PING 198.231.246.195 (198.231.246.195): 56 data bytes 64 bytes from 198.231.246.195: seq=0 ttl=62 time=6.486 ms 64 bytes from 198.231.246.195: seq=1 ttl=62 time=1.147 ms 64 bytes from 198.231.246.195: seq=2 ttl=62 time=0.776 ms --- 198.231.246.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.776/2.803/6.486 ms 2025-10-30 10:11:20,025 - INFO - Ping to IP 198.231.246.195 from VM ctest-TestRoutersBasic-03509518-93420174 passed 2025-10-30 10:11:20,025 - INFO - Deleting interface with subnet_id 6b6a9b70-932a-4068-a0b0-3d1f3f6103e7, port_id None from router 434dca3c-a31b-4e8b-bfec-02fd66dd0e60 2025-10-30 10:11:20,189 - INFO - Deleting VM ctest-TestRoutersBasic-03509518-37619270 2025-10-30 10:11:20,254 - INFO - Deleting VM ctest-TestRoutersBasic-03509518-93420174 2025-10-30 10:11:20,329 - INFO - Deleting VN ctest-ext_vn-06749768 2025-10-30 10:11:20,391 - DEBUG - VN 009c4b7b-8251-4861-87e3-f0a243c76030 still in use: Unable to complete operation on network 009c4b7b-8251-4861-87e3-f0a243c76030. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b72ed7fd-b25d-441c-b0d2-3a215cb178e0'] 2025-10-30 10:11:20,391 - WARNING - Deleting VN ctest-ext_vn-06749768 failed..Will retry 2025-10-30 10:11:22,479 - DEBUG - Response for deleting network () 2025-10-30 10:11:22,479 - INFO - Deleting VN ctest-vn-83146155 2025-10-30 10:11:22,564 - DEBUG - Response for deleting network () 2025-10-30 10:11:22,825 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 10:11:22,825 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-30 10:11:22,825 - INFO - -------------------------------------------------------------------------------- 2025-10-30 10:11:23,483 - INFO - Deleted project: ctest-TestRoutersBasic-03509518, ID : 1b47fe4c-b5b5-45eb-8357-69b68f0b7229