2025-10-19 22:18:54,745 - INFO - Domain Default found not creating 2025-10-19 22:18:54,886 - INFO - Project ctest-TestRoutersBasic-67223299 not found, creating it 2025-10-19 22:18:55,327 - INFO - Created Project:ctest-TestRoutersBasic-67223299, ID : e378fcd3-3e57-41a0-84db-8ddf5e8a9a54 2025-10-19 22:18:56,746 - INFO - ================================================================================ 2025-10-19 22:18:56,746 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-19 22:18:56,746 - 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-19 22:18:57,011 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-19 22:18:57,011 - INFO - Initial checks done. Running the testcase now 2025-10-19 22:18:57,011 - INFO - 2025-10-19 22:18:57,721 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-67223299 2025-10-19 22:18:57,819 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-67223299 2025-10-19 22:18:58,134 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67223299', 'default']} 2025-10-19 22:18:58,431 - DEBUG - Response for create_network : {'network': {'id': '9baaa0da-437e-4bca-aabf-57e9ffff6795', 'name': 'ctest-vn-88001875', 'tenant_id': 'e378fcd33e5741a084db8ddf5e8a9a54', 'project_id': 'e378fcd33e5741a084db8ddf5e8a9a54', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67223299', 'ctest-vn-88001875'], 'port_security_enabled': True, 'description': ''}} 2025-10-19 22:18:58,654 - DEBUG - Response for create_subnet : {'subnet': {'id': '7f8cddd3-12b7-46aa-a60e-2966355a6627', 'name': '', 'tenant_id': 'e378fcd33e5741a084db8ddf5e8a9a54', 'network_id': '9baaa0da-437e-4bca-aabf-57e9ffff6795', 'ip_version': 4, 'cidr': '109.40.174.64/26', 'allocation_pools': [{'start': '109.40.174.66', 'end': '109.40.174.126'}], 'gateway_ip': '109.40.174.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.40.174.66', 'tags': [], 'project_id': 'e378fcd33e5741a084db8ddf5e8a9a54'}} 2025-10-19 22:18:58,671 - INFO - Created VN ctest-vn-88001875 2025-10-19 22:18:58,722 - DEBUG - VN ctest-vn-88001875 UUID is 9baaa0da-437e-4bca-aabf-57e9ffff6795 2025-10-19 22:18:59,097 - DEBUG - Response for create_network : {'network': {'id': 'a8aaa75d-f9bf-4c0d-b0bb-fb3272dbfa54', 'name': 'ctest-ext_vn-91412531', 'tenant_id': 'e378fcd33e5741a084db8ddf5e8a9a54', 'project_id': 'e378fcd33e5741a084db8ddf5e8a9a54', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67223299', 'ctest-ext_vn-91412531'], 'port_security_enabled': True, 'description': ''}} 2025-10-19 22:18:59,251 - DEBUG - Response for create_subnet : {'subnet': {'id': '19887ae5-2f62-4270-b41d-d83c5a81b8fb', 'name': '', 'tenant_id': 'e378fcd33e5741a084db8ddf5e8a9a54', 'network_id': 'a8aaa75d-f9bf-4c0d-b0bb-fb3272dbfa54', 'ip_version': 4, 'cidr': '154.157.232.64/26', 'allocation_pools': [{'start': '154.157.232.66', 'end': '154.157.232.126'}], 'gateway_ip': '154.157.232.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.157.232.66', 'tags': [], 'project_id': 'e378fcd33e5741a084db8ddf5e8a9a54'}} 2025-10-19 22:18:59,269 - INFO - Created VN ctest-ext_vn-91412531 2025-10-19 22:18:59,322 - DEBUG - VN ctest-ext_vn-91412531 UUID is a8aaa75d-f9bf-4c0d-b0bb-fb3272dbfa54 2025-10-19 22:18:59,491 - DEBUG - Services list from nova: [, , ] 2025-10-19 22:19:00,545 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4365-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4365-1) 2025-10-19 22:19:01,728 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4365-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4365-1) 2025-10-19 22:19:01,800 - INFO - Setting gateway for router ea4413e3-06e6-41c6-a9f2-3ef2a33b30b1 to network a8aaa75d-f9bf-4c0d-b0bb-fb3272dbfa54 2025-10-19 22:19:01,869 - INFO - Adding interface with subnet_id 7f8cddd3-12b7-46aa-a60e-2966355a6627, port_id None to router ea4413e3-06e6-41c6-a9f2-3ef2a33b30b1 2025-10-19 22:19:02,172 - INFO - Waiting for VM ctest-TestRoutersBasic-67223299-39160189 to be up.. 2025-10-19 22:19:02,287 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-19 22:19:07,366 - DEBUG - VM is in ACTIVE state now 2025-10-19 22:19:07,367 - INFO - VM name : ctest-TestRoutersBasic-67223299-39160189 2025-10-19 22:19:07,445 - DEBUG - VM ctest-TestRoutersBasic-67223299-39160189 ID is aac6a484-a1f8-4472-9baf-603f2e29cd90 2025-10-19 22:19:07,463 - DEBUG - VM ctest-TestRoutersBasic-67223299-39160189 launched on Node cn-jenkins-deploy-platform-ansible-os-4365-1 2025-10-19 22:19:07,534 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/aac6a484-a1f8-4472-9baf-603f2e29cd90 2025-10-19 22:19:07,848 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/aac6a484-a1f8-4472-9baf-603f2e29cd90 2025-10-19 22:19:07,888 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bcc669e3-c8f1-4140-a5ac-c82df39a412c 2025-10-19 22:19:11,133 - 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-19 22:19:11,133 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-67223299-39160189 failed! 2025-10-19 22:19:11,190 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-67223299:ctest-vn-88001875 is 109.40.174.65 and allocation pool is NOT set 2025-10-19 22:19:13,249 - 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.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.471 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.471/1.980/3.490/1.509 ms') 2025-10-19 22:19:13,249 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-67223299-39160189 passed 2025-10-19 22:19:13,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 22:19:13,399 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67223299-39160189, IP 109.40.174.67, Port 22 2025-10-19 22:19:13,554 - DEBUG - VM ctest-TestRoutersBasic-67223299-39160189 is ready for SSH connections 2025-10-19 22:19:13,554 - INFO - Waiting for VM ctest-TestRoutersBasic-67223299-42837447 to be up.. 2025-10-19 22:19:13,629 - DEBUG - VM is in ACTIVE state now 2025-10-19 22:19:13,629 - INFO - VM name : ctest-TestRoutersBasic-67223299-42837447 2025-10-19 22:19:13,705 - DEBUG - VM ctest-TestRoutersBasic-67223299-42837447 ID is f92f83d6-8d6d-4c93-9486-010708971498 2025-10-19 22:19:13,705 - DEBUG - VM ctest-TestRoutersBasic-67223299-42837447 launched on Node cn-jenkins-deploy-platform-ansible-os-4365-1 2025-10-19 22:19:13,777 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f92f83d6-8d6d-4c93-9486-010708971498 2025-10-19 22:19:13,785 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d33290d1-7d2a-4035-951d-60324b7476a3 2025-10-19 22:19:15,019 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.525 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.525/1.812/3.100/1.287 ms') 2025-10-19 22:19:15,020 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-67223299-42837447 passed 2025-10-19 22:19:15,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 22:19:15,179 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67223299-42837447, IP 154.157.232.67, Port 22 2025-10-19 22:19:15,333 - DEBUG - VM ctest-TestRoutersBasic-67223299-42837447 is ready for SSH connections 2025-10-19 22:19:15,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 22:19:15,334 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.157.232.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-19 22:19:15,334 - DEBUG - ping -s 56 -c 3 -W 1 154.157.232.67 2025-10-19 22:19:19,333 - DEBUG - PING 154.157.232.67 (154.157.232.67): 56 data bytes 64 bytes from 154.157.232.67: seq=0 ttl=62 time=6.031 ms 64 bytes from 154.157.232.67: seq=1 ttl=62 time=0.895 ms 64 bytes from 154.157.232.67: seq=2 ttl=62 time=1.222 ms --- 154.157.232.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.895/2.716/6.031 ms 2025-10-19 22:19:19,333 - INFO - Ping to IP 154.157.232.67 from VM ctest-TestRoutersBasic-67223299-39160189 passed 2025-10-19 22:19:19,333 - INFO - Deleting interface with subnet_id 7f8cddd3-12b7-46aa-a60e-2966355a6627, port_id None from router ea4413e3-06e6-41c6-a9f2-3ef2a33b30b1 2025-10-19 22:19:19,589 - INFO - Deleting VM ctest-TestRoutersBasic-67223299-42837447 2025-10-19 22:19:19,662 - INFO - Deleting VM ctest-TestRoutersBasic-67223299-39160189 2025-10-19 22:19:19,739 - INFO - Deleting VN ctest-ext_vn-91412531 2025-10-19 22:19:19,805 - DEBUG - VN a8aaa75d-f9bf-4c0d-b0bb-fb3272dbfa54 still in use: Unable to complete operation on network a8aaa75d-f9bf-4c0d-b0bb-fb3272dbfa54. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6eabfece-8e04-494f-8211-c1b897b3f058'] 2025-10-19 22:19:19,806 - WARNING - Deleting VN ctest-ext_vn-91412531 failed..Will retry 2025-10-19 22:19:21,901 - DEBUG - Response for deleting network () 2025-10-19 22:19:21,901 - INFO - Deleting VN ctest-vn-88001875 2025-10-19 22:19:21,996 - DEBUG - Response for deleting network () 2025-10-19 22:19:22,251 - DEBUG - No XMPP flaps were noticed during the test 2025-10-19 22:19:22,251 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-10-19 22:19:22,251 - INFO - -------------------------------------------------------------------------------- 2025-10-19 22:19:22,945 - INFO - Deleted project: ctest-TestRoutersBasic-67223299, ID : e378fcd3-3e57-41a0-84db-8ddf5e8a9a54