2025-10-20 12:11:38,805 - INFO - Domain Default found not creating 2025-10-20 12:11:38,946 - INFO - Project ctest-TestRoutersBasic-11425978 not found, creating it 2025-10-20 12:11:39,386 - INFO - Created Project:ctest-TestRoutersBasic-11425978, ID : 338992af-5294-49a1-9f48-4cb416443339 2025-10-20 12:11:40,803 - INFO - ================================================================================ 2025-10-20 12:11:40,803 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-20 12:11:40,803 - 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-20 12:11:41,064 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-10-20 12:11:41,064 - INFO - Initial checks done. Running the testcase now 2025-10-20 12:11:41,064 - INFO - 2025-10-20 12:11:41,781 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-11425978 2025-10-20 12:11:41,877 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-11425978 2025-10-20 12:11:42,201 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11425978', 'default']} 2025-10-20 12:11:42,498 - DEBUG - Response for create_network : {'network': {'id': 'ba8b0065-4d3f-46d2-bcbe-bf3d0a2178a9', 'name': 'ctest-vn-46700996', 'tenant_id': '338992af529449a19f484cb416443339', 'project_id': '338992af529449a19f484cb416443339', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11425978', 'ctest-vn-46700996'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 12:11:42,710 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aae4f2dc-e0ef-4968-a147-e610d7707d6c', 'name': '', 'tenant_id': '338992af529449a19f484cb416443339', 'network_id': 'ba8b0065-4d3f-46d2-bcbe-bf3d0a2178a9', 'ip_version': 4, 'cidr': '61.254.107.192/26', 'allocation_pools': [{'start': '61.254.107.194', 'end': '61.254.107.254'}], 'gateway_ip': '61.254.107.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.254.107.194', 'tags': [], 'project_id': '338992af529449a19f484cb416443339'}} 2025-10-20 12:11:42,726 - INFO - Created VN ctest-vn-46700996 2025-10-20 12:11:42,777 - DEBUG - VN ctest-vn-46700996 UUID is ba8b0065-4d3f-46d2-bcbe-bf3d0a2178a9 2025-10-20 12:11:43,092 - DEBUG - Response for create_network : {'network': {'id': 'c8cda5b4-2b53-4234-baa5-61d0115f5b44', 'name': 'ctest-ext_vn-77495256', 'tenant_id': '338992af529449a19f484cb416443339', 'project_id': '338992af529449a19f484cb416443339', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11425978', 'ctest-ext_vn-77495256'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 12:11:43,272 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aa56ff1b-3284-45d7-b92f-41fea90b0d99', 'name': '', 'tenant_id': '338992af529449a19f484cb416443339', 'network_id': 'c8cda5b4-2b53-4234-baa5-61d0115f5b44', 'ip_version': 4, 'cidr': '3.215.105.64/26', 'allocation_pools': [{'start': '3.215.105.66', 'end': '3.215.105.126'}], 'gateway_ip': '3.215.105.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.215.105.66', 'tags': [], 'project_id': '338992af529449a19f484cb416443339'}} 2025-10-20 12:11:43,288 - INFO - Created VN ctest-ext_vn-77495256 2025-10-20 12:11:43,341 - DEBUG - VN ctest-ext_vn-77495256 UUID is c8cda5b4-2b53-4234-baa5-61d0115f5b44 2025-10-20 12:11:43,535 - DEBUG - Services list from nova: [, , ] 2025-10-20 12:11:44,522 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4375-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4375-1) 2025-10-20 12:11:45,680 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4375-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4375-1) 2025-10-20 12:11:45,755 - INFO - Setting gateway for router 3b98b26d-d9dc-45dd-8ded-a7ad45c88031 to network c8cda5b4-2b53-4234-baa5-61d0115f5b44 2025-10-20 12:11:45,839 - INFO - Adding interface with subnet_id aae4f2dc-e0ef-4968-a147-e610d7707d6c, port_id None to router 3b98b26d-d9dc-45dd-8ded-a7ad45c88031 2025-10-20 12:11:46,295 - INFO - Waiting for VM ctest-TestRoutersBasic-11425978-25903005 to be up.. 2025-10-20 12:11:46,393 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-20 12:11:51,464 - DEBUG - VM is in ACTIVE state now 2025-10-20 12:11:51,465 - INFO - VM name : ctest-TestRoutersBasic-11425978-25903005 2025-10-20 12:11:51,535 - DEBUG - VM ctest-TestRoutersBasic-11425978-25903005 ID is ecd1c19b-a4de-497f-8741-ae43a1ef9640 2025-10-20 12:11:51,554 - DEBUG - VM ctest-TestRoutersBasic-11425978-25903005 launched on Node cn-jenkins-deploy-platform-ansible-os-4375-1 2025-10-20 12:11:51,623 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ecd1c19b-a4de-497f-8741-ae43a1ef9640 2025-10-20 12:11:51,918 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ecd1c19b-a4de-497f-8741-ae43a1ef9640 2025-10-20 12:11:51,958 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/517583ca-5e6f-4a7f-8ea6-2fbd0074f3bb 2025-10-20 12:11:55,221 - 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 1014ms') 2025-10-20 12:11:55,221 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-11425978-25903005 failed! 2025-10-20 12:11:55,277 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-11425978:ctest-vn-46700996 is 61.254.107.193 and allocation pool is NOT set 2025-10-20 12:11:57,337 - 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.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.08 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 = 1.083/2.174/3.265/1.091 ms') 2025-10-20 12:11:57,337 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-11425978-25903005 passed 2025-10-20 12:11:57,493 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 12:11:57,494 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11425978-25903005, IP 61.254.107.195, Port 22 2025-10-20 12:11:57,648 - DEBUG - VM ctest-TestRoutersBasic-11425978-25903005 is ready for SSH connections 2025-10-20 12:11:57,649 - INFO - Waiting for VM ctest-TestRoutersBasic-11425978-42788392 to be up.. 2025-10-20 12:11:57,723 - DEBUG - VM is in ACTIVE state now 2025-10-20 12:11:57,723 - INFO - VM name : ctest-TestRoutersBasic-11425978-42788392 2025-10-20 12:11:57,791 - DEBUG - VM ctest-TestRoutersBasic-11425978-42788392 ID is 185b24dd-0313-4fde-8103-87f7f13649b8 2025-10-20 12:11:57,791 - DEBUG - VM ctest-TestRoutersBasic-11425978-42788392 launched on Node cn-jenkins-deploy-platform-ansible-os-4375-1 2025-10-20 12:11:57,860 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/185b24dd-0313-4fde-8103-87f7f13649b8 2025-10-20 12:11:57,867 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9c53a38e-81c1-4d92-9a5c-1a504dbea979 2025-10-20 12:11:59,095 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.446 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.446/2.266/4.086/1.820 ms') 2025-10-20 12:11:59,095 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-11425978-42788392 passed 2025-10-20 12:11:59,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 12:11:59,242 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11425978-42788392, IP 3.215.105.67, Port 22 2025-10-20 12:11:59,401 - DEBUG - VM ctest-TestRoutersBasic-11425978-42788392 is ready for SSH connections 2025-10-20 12:11:59,401 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 12:11:59,401 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.215.105.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-20 12:11:59,401 - DEBUG - ping -s 56 -c 3 -W 1 3.215.105.67 2025-10-20 12:12:03,087 - DEBUG - PING 3.215.105.67 (3.215.105.67): 56 data bytes 64 bytes from 3.215.105.67: seq=0 ttl=62 time=4.662 ms 64 bytes from 3.215.105.67: seq=1 ttl=62 time=0.945 ms 64 bytes from 3.215.105.67: seq=2 ttl=62 time=0.918 ms --- 3.215.105.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.918/2.175/4.662 ms 2025-10-20 12:12:03,087 - INFO - Ping to IP 3.215.105.67 from VM ctest-TestRoutersBasic-11425978-25903005 passed 2025-10-20 12:12:03,087 - INFO - Deleting interface with subnet_id aae4f2dc-e0ef-4968-a147-e610d7707d6c, port_id None from router 3b98b26d-d9dc-45dd-8ded-a7ad45c88031 2025-10-20 12:12:03,276 - INFO - Deleting VM ctest-TestRoutersBasic-11425978-42788392 2025-10-20 12:12:03,345 - INFO - Deleting VM ctest-TestRoutersBasic-11425978-25903005 2025-10-20 12:12:03,422 - INFO - Deleting VN ctest-ext_vn-77495256 2025-10-20 12:12:03,490 - DEBUG - VN c8cda5b4-2b53-4234-baa5-61d0115f5b44 still in use: Unable to complete operation on network c8cda5b4-2b53-4234-baa5-61d0115f5b44. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-944789de-d758-4e91-a84e-90bce2075b39'] 2025-10-20 12:12:03,490 - WARNING - Deleting VN ctest-ext_vn-77495256 failed..Will retry 2025-10-20 12:12:05,586 - DEBUG - Response for deleting network () 2025-10-20 12:12:05,587 - INFO - Deleting VN ctest-vn-46700996 2025-10-20 12:12:05,682 - DEBUG - Response for deleting network () 2025-10-20 12:12:05,938 - DEBUG - No XMPP flaps were noticed during the test 2025-10-20 12:12:05,938 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-20 12:12:05,938 - INFO - -------------------------------------------------------------------------------- 2025-10-20 12:12:06,659 - INFO - Deleted project: ctest-TestRoutersBasic-11425978, ID : 338992af-5294-49a1-9f48-4cb416443339