2025-09-13 16:57:01,848 - INFO - Domain Default found not creating 2025-09-13 16:57:02,025 - INFO - Project ctest-TestRoutersBasic-42254715 not found, creating it 2025-09-13 16:57:02,518 - INFO - Created Project:ctest-TestRoutersBasic-42254715, ID : 6fce3786-9f28-41a3-b3e9-822e33acc106 2025-09-13 16:57:04,048 - INFO - ================================================================================ 2025-09-13 16:57:04,048 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-13 16:57:04,048 - 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-09-13 16:57:04,320 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-13 16:57:04,320 - INFO - Initial checks done. Running the testcase now 2025-09-13 16:57:04,320 - INFO - 2025-09-13 16:57:05,041 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-42254715 2025-09-13 16:57:05,135 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-42254715 2025-09-13 16:57:05,455 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42254715', 'default']} 2025-09-13 16:57:05,753 - DEBUG - Response for create_network : {'network': {'id': '93f904d2-3cda-4df1-ac1e-f92674b31512', 'name': 'ctest-vn-99649455', 'tenant_id': '6fce37869f2841a3b3e9822e33acc106', 'project_id': '6fce37869f2841a3b3e9822e33acc106', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42254715', 'ctest-vn-99649455'], 'port_security_enabled': True, 'description': ''}} 2025-09-13 16:57:05,918 - DEBUG - Response for create_subnet : {'subnet': {'id': '5444e629-5862-46da-b5cd-3b2d07b61fd7', 'name': '', 'tenant_id': '6fce37869f2841a3b3e9822e33acc106', 'network_id': '93f904d2-3cda-4df1-ac1e-f92674b31512', 'ip_version': 4, 'cidr': '173.198.78.128/26', 'allocation_pools': [{'start': '173.198.78.130', 'end': '173.198.78.190'}], 'gateway_ip': '173.198.78.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.198.78.130', 'tags': [], 'project_id': '6fce37869f2841a3b3e9822e33acc106'}} 2025-09-13 16:57:05,936 - INFO - Created VN ctest-vn-99649455 2025-09-13 16:57:05,987 - DEBUG - VN ctest-vn-99649455 UUID is 93f904d2-3cda-4df1-ac1e-f92674b31512 2025-09-13 16:57:06,336 - DEBUG - Response for create_network : {'network': {'id': '727ff8a2-9b51-417c-ad1c-f523de2ba421', 'name': 'ctest-ext_vn-40623794', 'tenant_id': '6fce37869f2841a3b3e9822e33acc106', 'project_id': '6fce37869f2841a3b3e9822e33acc106', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42254715', 'ctest-ext_vn-40623794'], 'port_security_enabled': True, 'description': ''}} 2025-09-13 16:57:06,492 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6d0509c-7bdc-4089-a3ee-810e719c6498', 'name': '', 'tenant_id': '6fce37869f2841a3b3e9822e33acc106', 'network_id': '727ff8a2-9b51-417c-ad1c-f523de2ba421', 'ip_version': 4, 'cidr': '194.53.177.0/26', 'allocation_pools': [{'start': '194.53.177.2', 'end': '194.53.177.62'}], 'gateway_ip': '194.53.177.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.53.177.2', 'tags': [], 'project_id': '6fce37869f2841a3b3e9822e33acc106'}} 2025-09-13 16:57:06,509 - INFO - Created VN ctest-ext_vn-40623794 2025-09-13 16:57:06,563 - DEBUG - VN ctest-ext_vn-40623794 UUID is 727ff8a2-9b51-417c-ad1c-f523de2ba421 2025-09-13 16:57:06,733 - DEBUG - Services list from nova: [, , ] 2025-09-13 16:57:07,846 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4103-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4103-1) 2025-09-13 16:57:09,113 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4103-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4103-1) 2025-09-13 16:57:09,237 - INFO - Setting gateway for router c8dedcb9-a8fc-476f-86a3-21627558e051 to network 727ff8a2-9b51-417c-ad1c-f523de2ba421 2025-09-13 16:57:09,350 - INFO - Adding interface with subnet_id 5444e629-5862-46da-b5cd-3b2d07b61fd7, port_id None to router c8dedcb9-a8fc-476f-86a3-21627558e051 2025-09-13 16:57:09,853 - INFO - Waiting for VM ctest-TestRoutersBasic-42254715-53870586 to be up.. 2025-09-13 16:57:10,068 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-13 16:57:15,161 - DEBUG - VM is in ACTIVE state now 2025-09-13 16:57:15,161 - INFO - VM name : ctest-TestRoutersBasic-42254715-53870586 2025-09-13 16:57:15,253 - DEBUG - VM ctest-TestRoutersBasic-42254715-53870586 ID is 4a09e46b-1b6b-42ee-a5de-31896b563331 2025-09-13 16:57:15,278 - DEBUG - VM ctest-TestRoutersBasic-42254715-53870586 launched on Node cn-jenkins-deploy-platform-ansible-os-4103-1 2025-09-13 16:57:15,367 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4a09e46b-1b6b-42ee-a5de-31896b563331 2025-09-13 16:57:15,685 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4a09e46b-1b6b-42ee-a5de-31896b563331 2025-09-13 16:57:15,719 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b86d8b4c-672a-488a-ab3d-a5b55f9d6af3 2025-09-13 16:57:18,971 - 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 1002ms') 2025-09-13 16:57:18,971 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42254715-53870586 failed! 2025-09-13 16:57:19,027 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-42254715:ctest-vn-99649455 is 173.198.78.129 and allocation pool is NOT set 2025-09-13 16:57:21,089 - 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.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.645 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.645/2.087/3.530/1.442 ms') 2025-09-13 16:57:21,089 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42254715-53870586 passed 2025-09-13 16:57:21,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 16:57:21,243 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42254715-53870586, IP 173.198.78.131, Port 22 2025-09-13 16:57:21,413 - DEBUG - VM ctest-TestRoutersBasic-42254715-53870586 is ready for SSH connections 2025-09-13 16:57:21,413 - INFO - Waiting for VM ctest-TestRoutersBasic-42254715-13644254 to be up.. 2025-09-13 16:57:21,503 - DEBUG - VM is in ACTIVE state now 2025-09-13 16:57:21,504 - INFO - VM name : ctest-TestRoutersBasic-42254715-13644254 2025-09-13 16:57:21,584 - DEBUG - VM ctest-TestRoutersBasic-42254715-13644254 ID is 51295b76-8a65-4070-9de7-8e7789d2af01 2025-09-13 16:57:21,584 - DEBUG - VM ctest-TestRoutersBasic-42254715-13644254 launched on Node cn-jenkins-deploy-platform-ansible-os-4103-1 2025-09-13 16:57:21,670 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/51295b76-8a65-4070-9de7-8e7789d2af01 2025-09-13 16:57:21,681 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d429ec42-1a3c-4c5e-aa6b-d192ccdbc267 2025-09-13 16:57:22,916 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.466 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.466/1.765/3.065/1.299 ms') 2025-09-13 16:57:22,916 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-42254715-13644254 passed 2025-09-13 16:57:23,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 16:57:23,067 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42254715-13644254, IP 194.53.177.3, Port 22 2025-09-13 16:57:23,223 - DEBUG - VM ctest-TestRoutersBasic-42254715-13644254 is ready for SSH connections 2025-09-13 16:57:23,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 16:57:23,223 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.53.177.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-13 16:57:23,223 - DEBUG - ping -s 56 -c 3 -W 1 194.53.177.3 2025-09-13 16:57:26,938 - DEBUG - PING 194.53.177.3 (194.53.177.3): 56 data bytes 64 bytes from 194.53.177.3: seq=0 ttl=62 time=6.213 ms 64 bytes from 194.53.177.3: seq=1 ttl=62 time=1.322 ms 64 bytes from 194.53.177.3: seq=2 ttl=62 time=1.469 ms --- 194.53.177.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.322/3.001/6.213 ms 2025-09-13 16:57:26,938 - INFO - Ping to IP 194.53.177.3 from VM ctest-TestRoutersBasic-42254715-53870586 passed 2025-09-13 16:57:26,939 - INFO - Deleting interface with subnet_id 5444e629-5862-46da-b5cd-3b2d07b61fd7, port_id None from router c8dedcb9-a8fc-476f-86a3-21627558e051 2025-09-13 16:57:27,171 - INFO - Deleting VM ctest-TestRoutersBasic-42254715-13644254 2025-09-13 16:57:27,241 - INFO - Deleting VM ctest-TestRoutersBasic-42254715-53870586 2025-09-13 16:57:27,320 - INFO - Deleting VN ctest-ext_vn-40623794 2025-09-13 16:57:27,391 - DEBUG - VN 727ff8a2-9b51-417c-ad1c-f523de2ba421 still in use: Unable to complete operation on network 727ff8a2-9b51-417c-ad1c-f523de2ba421. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e1f3b780-e015-4f18-917a-5af8145d08cf'] 2025-09-13 16:57:27,391 - WARNING - Deleting VN ctest-ext_vn-40623794 failed..Will retry 2025-09-13 16:57:29,500 - DEBUG - Response for deleting network () 2025-09-13 16:57:29,500 - INFO - Deleting VN ctest-vn-99649455 2025-09-13 16:57:29,617 - DEBUG - Response for deleting network () 2025-09-13 16:57:29,888 - DEBUG - No XMPP flaps were noticed during the test 2025-09-13 16:57:29,888 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-09-13 16:57:29,888 - INFO - -------------------------------------------------------------------------------- 2025-09-13 16:57:30,604 - INFO - Deleted project: ctest-TestRoutersBasic-42254715, ID : 6fce3786-9f28-41a3-b3e9-822e33acc106