2025-07-22 23:25:26,813 - INFO - Domain Default found not creating 2025-07-22 23:25:26,962 - INFO - Project ctest-TestRoutersBasic-42548454 not found, creating it 2025-07-22 23:25:27,445 - INFO - Created Project:ctest-TestRoutersBasic-42548454, ID : 5efbccf1-faf8-4711-8a11-9f3a957f9cce 2025-07-22 23:25:28,911 - INFO - ================================================================================ 2025-07-22 23:25:28,911 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-22 23:25:28,912 - 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-07-22 23:25:29,169 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-07-22 23:25:29,169 - INFO - Initial checks done. Running the testcase now 2025-07-22 23:25:29,169 - INFO - 2025-07-22 23:25:29,878 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-42548454 2025-07-22 23:25:29,979 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-42548454 2025-07-22 23:25:30,307 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42548454', 'default']} 2025-07-22 23:25:30,635 - DEBUG - Response for create_network : {'network': {'id': '4c886407-eb47-458f-a115-a7ebb8f41856', 'name': 'ctest-vn-27038629', 'tenant_id': '5efbccf1faf847118a119f3a957f9cce', 'project_id': '5efbccf1faf847118a119f3a957f9cce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42548454', 'ctest-vn-27038629'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 23:25:30,800 - DEBUG - Response for create_subnet : {'subnet': {'id': '6baa96bc-ac2f-4c9f-b3ae-fc620354a534', 'name': '', 'tenant_id': '5efbccf1faf847118a119f3a957f9cce', 'network_id': '4c886407-eb47-458f-a115-a7ebb8f41856', 'ip_version': 4, 'cidr': '130.101.192.128/26', 'allocation_pools': [{'start': '130.101.192.130', 'end': '130.101.192.190'}], 'gateway_ip': '130.101.192.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.101.192.130', 'tags': [], 'project_id': '5efbccf1faf847118a119f3a957f9cce'}} 2025-07-22 23:25:30,818 - INFO - Created VN ctest-vn-27038629 2025-07-22 23:25:30,871 - DEBUG - VN ctest-vn-27038629 UUID is 4c886407-eb47-458f-a115-a7ebb8f41856 2025-07-22 23:25:31,181 - DEBUG - Response for create_network : {'network': {'id': 'ce3ae408-148c-4716-9ed1-871a3689e3b8', 'name': 'ctest-ext_vn-71661777', 'tenant_id': '5efbccf1faf847118a119f3a957f9cce', 'project_id': '5efbccf1faf847118a119f3a957f9cce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42548454', 'ctest-ext_vn-71661777'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 23:25:31,387 - DEBUG - Response for create_subnet : {'subnet': {'id': '86c9a297-9740-4f77-bde4-f0d4a3a7a69f', 'name': '', 'tenant_id': '5efbccf1faf847118a119f3a957f9cce', 'network_id': 'ce3ae408-148c-4716-9ed1-871a3689e3b8', 'ip_version': 4, 'cidr': '221.211.26.192/26', 'allocation_pools': [{'start': '221.211.26.194', 'end': '221.211.26.254'}], 'gateway_ip': '221.211.26.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.211.26.194', 'tags': [], 'project_id': '5efbccf1faf847118a119f3a957f9cce'}} 2025-07-22 23:25:31,405 - INFO - Created VN ctest-ext_vn-71661777 2025-07-22 23:25:31,459 - DEBUG - VN ctest-ext_vn-71661777 UUID is ce3ae408-148c-4716-9ed1-871a3689e3b8 2025-07-22 23:25:31,625 - DEBUG - Services list from nova: [, , ] 2025-07-22 23:25:32,642 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3696-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3696-1) 2025-07-22 23:25:33,831 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3696-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3696-1) 2025-07-22 23:25:33,916 - INFO - Setting gateway for router 021c4c97-e95f-42ce-b53b-c47d8615f492 to network ce3ae408-148c-4716-9ed1-871a3689e3b8 2025-07-22 23:25:33,975 - INFO - Adding interface with subnet_id 6baa96bc-ac2f-4c9f-b3ae-fc620354a534, port_id None to router 021c4c97-e95f-42ce-b53b-c47d8615f492 2025-07-22 23:25:34,378 - INFO - Waiting for VM ctest-TestRoutersBasic-42548454-42130562 to be up.. 2025-07-22 23:25:34,515 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-22 23:25:39,590 - DEBUG - VM is in ACTIVE state now 2025-07-22 23:25:39,590 - INFO - VM name : ctest-TestRoutersBasic-42548454-42130562 2025-07-22 23:25:39,665 - DEBUG - VM ctest-TestRoutersBasic-42548454-42130562 ID is bb9936ce-81fd-4bc7-91de-4c02efbb36ec 2025-07-22 23:25:39,687 - DEBUG - VM ctest-TestRoutersBasic-42548454-42130562 launched on Node cn-jenkins-deploy-platform-ansible-os-3696-1 2025-07-22 23:25:39,763 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bb9936ce-81fd-4bc7-91de-4c02efbb36ec 2025-07-22 23:25:40,076 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bb9936ce-81fd-4bc7-91de-4c02efbb36ec 2025-07-22 23:25:40,120 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/21418f8c-7001-4f9c-bf28-3e40219ca516 2025-07-22 23:25:43,394 - 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 1023ms') 2025-07-22 23:25:43,394 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42548454-42130562 failed! 2025-07-22 23:25:43,451 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-42548454:ctest-vn-27038629 is 130.101.192.129 and allocation pool is NOT set 2025-07-22 23:25:45,508 - 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.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.448 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.448/1.715/2.983/1.267 ms') 2025-07-22 23:25:45,508 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42548454-42130562 passed 2025-07-22 23:25:45,663 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 23:25:45,663 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42548454-42130562, IP 130.101.192.131, Port 22 2025-07-22 23:25:45,818 - DEBUG - VM ctest-TestRoutersBasic-42548454-42130562 is ready for SSH connections 2025-07-22 23:25:45,818 - INFO - Waiting for VM ctest-TestRoutersBasic-42548454-36470656 to be up.. 2025-07-22 23:25:45,903 - DEBUG - VM is in ACTIVE state now 2025-07-22 23:25:45,904 - INFO - VM name : ctest-TestRoutersBasic-42548454-36470656 2025-07-22 23:25:45,975 - DEBUG - VM ctest-TestRoutersBasic-42548454-36470656 ID is a9e0849b-be3e-4a16-bf8e-8012ead3d0d6 2025-07-22 23:25:45,975 - DEBUG - VM ctest-TestRoutersBasic-42548454-36470656 launched on Node cn-jenkins-deploy-platform-ansible-os-3696-1 2025-07-22 23:25:46,049 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a9e0849b-be3e-4a16-bf8e-8012ead3d0d6 2025-07-22 23:25:46,058 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/82d0204e-24f8-4fa6-a0eb-694821149b2e 2025-07-22 23:25:47,301 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.391 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.391/1.544/2.697/1.153 ms') 2025-07-22 23:25:47,301 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-42548454-36470656 passed 2025-07-22 23:25:47,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 23:25:47,459 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42548454-36470656, IP 221.211.26.195, Port 22 2025-07-22 23:25:47,614 - DEBUG - VM ctest-TestRoutersBasic-42548454-36470656 is ready for SSH connections 2025-07-22 23:25:47,614 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 23:25:47,614 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.211.26.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-07-22 23:25:47,615 - DEBUG - ping -s 56 -c 3 -W 1 221.211.26.195 2025-07-22 23:25:51,306 - DEBUG - PING 221.211.26.195 (221.211.26.195): 56 data bytes 64 bytes from 221.211.26.195: seq=0 ttl=62 time=4.615 ms 64 bytes from 221.211.26.195: seq=1 ttl=62 time=0.841 ms 64 bytes from 221.211.26.195: seq=2 ttl=62 time=0.796 ms --- 221.211.26.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.796/2.084/4.615 ms 2025-07-22 23:25:51,306 - INFO - Ping to IP 221.211.26.195 from VM ctest-TestRoutersBasic-42548454-42130562 passed 2025-07-22 23:25:51,306 - INFO - Deleting interface with subnet_id 6baa96bc-ac2f-4c9f-b3ae-fc620354a534, port_id None from router 021c4c97-e95f-42ce-b53b-c47d8615f492 2025-07-22 23:25:51,502 - INFO - Deleting VM ctest-TestRoutersBasic-42548454-36470656 2025-07-22 23:25:51,571 - INFO - Deleting VM ctest-TestRoutersBasic-42548454-42130562 2025-07-22 23:25:51,645 - INFO - Deleting VN ctest-ext_vn-71661777 2025-07-22 23:25:51,735 - DEBUG - VN ce3ae408-148c-4716-9ed1-871a3689e3b8 still in use: Unable to complete operation on network ce3ae408-148c-4716-9ed1-871a3689e3b8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bb6b185f-7827-494c-8714-6078306fe976'] 2025-07-22 23:25:51,736 - WARNING - Deleting VN ctest-ext_vn-71661777 failed..Will retry 2025-07-22 23:25:53,832 - DEBUG - Response for deleting network () 2025-07-22 23:25:53,832 - INFO - Deleting VN ctest-vn-27038629 2025-07-22 23:25:53,958 - DEBUG - Response for deleting network () 2025-07-22 23:25:54,213 - DEBUG - No XMPP flaps were noticed during the test 2025-07-22 23:25:54,213 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-07-22 23:25:54,213 - INFO - -------------------------------------------------------------------------------- 2025-07-22 23:25:54,927 - INFO - Deleted project: ctest-TestRoutersBasic-42548454, ID : 5efbccf1-faf8-4711-8a11-9f3a957f9cce