2025-09-15 11:26:15,248 - INFO - Domain Default found not creating 2025-09-15 11:26:15,411 - INFO - Project ctest-TestRoutersBasic-30416008 not found, creating it 2025-09-15 11:26:15,891 - INFO - Created Project:ctest-TestRoutersBasic-30416008, ID : 5d5c3120-b3eb-4907-999d-d250b30308cf 2025-09-15 11:26:17,378 - INFO - ================================================================================ 2025-09-15 11:26:17,378 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-15 11:26:17,379 - 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-15 11:26:17,642 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-09-15 11:26:17,642 - INFO - Initial checks done. Running the testcase now 2025-09-15 11:26:17,642 - INFO - 2025-09-15 11:26:18,360 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-30416008 2025-09-15 11:26:18,457 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-30416008 2025-09-15 11:26:18,784 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30416008', 'default']} 2025-09-15 11:26:19,084 - DEBUG - Response for create_network : {'network': {'id': '67534e8a-499b-4607-a9be-b518acea7cee', 'name': 'ctest-vn-54370830', 'tenant_id': '5d5c3120b3eb4907999dd250b30308cf', 'project_id': '5d5c3120b3eb4907999dd250b30308cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30416008', 'ctest-vn-54370830'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 11:26:19,279 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd77bdf01-d509-48a0-a8a2-42252d653972', 'name': '', 'tenant_id': '5d5c3120b3eb4907999dd250b30308cf', 'network_id': '67534e8a-499b-4607-a9be-b518acea7cee', 'ip_version': 4, 'cidr': '195.21.39.192/26', 'allocation_pools': [{'start': '195.21.39.194', 'end': '195.21.39.254'}], 'gateway_ip': '195.21.39.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.21.39.194', 'tags': [], 'project_id': '5d5c3120b3eb4907999dd250b30308cf'}} 2025-09-15 11:26:19,300 - INFO - Created VN ctest-vn-54370830 2025-09-15 11:26:19,353 - DEBUG - VN ctest-vn-54370830 UUID is 67534e8a-499b-4607-a9be-b518acea7cee 2025-09-15 11:26:19,702 - DEBUG - Response for create_network : {'network': {'id': 'b5d045fe-2e50-49dd-9130-2029398693a8', 'name': 'ctest-ext_vn-27023239', 'tenant_id': '5d5c3120b3eb4907999dd250b30308cf', 'project_id': '5d5c3120b3eb4907999dd250b30308cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30416008', 'ctest-ext_vn-27023239'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 11:26:19,877 - DEBUG - Response for create_subnet : {'subnet': {'id': '35e48546-2abf-4a99-832f-a425daec8540', 'name': '', 'tenant_id': '5d5c3120b3eb4907999dd250b30308cf', 'network_id': 'b5d045fe-2e50-49dd-9130-2029398693a8', 'ip_version': 4, 'cidr': '174.163.162.0/26', 'allocation_pools': [{'start': '174.163.162.2', 'end': '174.163.162.62'}], 'gateway_ip': '174.163.162.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.163.162.2', 'tags': [], 'project_id': '5d5c3120b3eb4907999dd250b30308cf'}} 2025-09-15 11:26:19,898 - INFO - Created VN ctest-ext_vn-27023239 2025-09-15 11:26:19,952 - DEBUG - VN ctest-ext_vn-27023239 UUID is b5d045fe-2e50-49dd-9130-2029398693a8 2025-09-15 11:26:20,129 - DEBUG - Services list from nova: [, , ] 2025-09-15 11:26:21,135 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4114-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4114-1) 2025-09-15 11:26:22,272 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4114-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4114-1) 2025-09-15 11:26:22,372 - INFO - Setting gateway for router 912e621c-82e6-453a-8d36-a6991f6deb23 to network b5d045fe-2e50-49dd-9130-2029398693a8 2025-09-15 11:26:22,454 - INFO - Adding interface with subnet_id d77bdf01-d509-48a0-a8a2-42252d653972, port_id None to router 912e621c-82e6-453a-8d36-a6991f6deb23 2025-09-15 11:26:22,823 - INFO - Waiting for VM ctest-TestRoutersBasic-30416008-10868667 to be up.. 2025-09-15 11:26:23,001 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-15 11:26:28,078 - DEBUG - VM is in ACTIVE state now 2025-09-15 11:26:28,078 - INFO - VM name : ctest-TestRoutersBasic-30416008-10868667 2025-09-15 11:26:28,149 - DEBUG - VM ctest-TestRoutersBasic-30416008-10868667 ID is a197ec3e-5c51-494f-94b5-8a821e402163 2025-09-15 11:26:28,167 - DEBUG - VM ctest-TestRoutersBasic-30416008-10868667 launched on Node cn-jenkins-deploy-platform-ansible-os-4114-1 2025-09-15 11:26:28,234 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/a197ec3e-5c51-494f-94b5-8a821e402163 2025-09-15 11:26:28,532 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/a197ec3e-5c51-494f-94b5-8a821e402163 2025-09-15 11:26:28,566 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/e686ab15-16c8-4ac9-b9df-da3dd1f898b7 2025-09-15 11:26:31,824 - 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-09-15 11:26:31,824 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30416008-10868667 failed! 2025-09-15 11:26:31,876 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-30416008:ctest-vn-54370830 is 195.21.39.193 and allocation pool is NOT set 2025-09-15 11:26:33,933 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.504 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.504/1.731/2.959/1.227 ms') 2025-09-15 11:26:33,933 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30416008-10868667 passed 2025-09-15 11:26:34,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:26:34,081 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30416008-10868667, IP 195.21.39.195, Port 22 2025-09-15 11:26:34,250 - DEBUG - VM ctest-TestRoutersBasic-30416008-10868667 is ready for SSH connections 2025-09-15 11:26:34,250 - INFO - Waiting for VM ctest-TestRoutersBasic-30416008-94675543 to be up.. 2025-09-15 11:26:34,335 - DEBUG - VM is in ACTIVE state now 2025-09-15 11:26:34,335 - INFO - VM name : ctest-TestRoutersBasic-30416008-94675543 2025-09-15 11:26:34,413 - DEBUG - VM ctest-TestRoutersBasic-30416008-94675543 ID is 6a613f49-bd41-4653-bfc6-b0216f4261d6 2025-09-15 11:26:34,413 - DEBUG - VM ctest-TestRoutersBasic-30416008-94675543 launched on Node cn-jenkins-deploy-platform-ansible-os-4114-1 2025-09-15 11:26:34,491 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/6a613f49-bd41-4653-bfc6-b0216f4261d6 2025-09-15 11:26:34,501 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/eb575825-943d-43b4-b243-9b8fc76dc1f2 2025-09-15 11:26:35,745 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.414 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.414/1.850/3.286/1.436 ms') 2025-09-15 11:26:35,746 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-30416008-94675543 passed 2025-09-15 11:26:35,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:26:35,901 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30416008-94675543, IP 174.163.162.3, Port 22 2025-09-15 11:26:36,056 - DEBUG - VM ctest-TestRoutersBasic-30416008-94675543 is ready for SSH connections 2025-09-15 11:26:36,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:26:36,056 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.163.162.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-09-15 11:26:36,056 - DEBUG - ping -s 56 -c 3 -W 1 174.163.162.3 2025-09-15 11:26:39,797 - DEBUG - PING 174.163.162.3 (174.163.162.3): 56 data bytes 64 bytes from 174.163.162.3: seq=0 ttl=62 time=5.708 ms 64 bytes from 174.163.162.3: seq=1 ttl=62 time=1.180 ms 64 bytes from 174.163.162.3: seq=2 ttl=62 time=0.948 ms --- 174.163.162.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.948/2.612/5.708 ms 2025-09-15 11:26:39,798 - INFO - Ping to IP 174.163.162.3 from VM ctest-TestRoutersBasic-30416008-10868667 passed 2025-09-15 11:26:39,798 - INFO - Deleting interface with subnet_id d77bdf01-d509-48a0-a8a2-42252d653972, port_id None from router 912e621c-82e6-453a-8d36-a6991f6deb23 2025-09-15 11:26:40,108 - INFO - Deleting VM ctest-TestRoutersBasic-30416008-94675543 2025-09-15 11:26:40,190 - INFO - Deleting VM ctest-TestRoutersBasic-30416008-10868667 2025-09-15 11:26:40,274 - INFO - Deleting VN ctest-ext_vn-27023239 2025-09-15 11:26:40,363 - DEBUG - VN b5d045fe-2e50-49dd-9130-2029398693a8 still in use: Unable to complete operation on network b5d045fe-2e50-49dd-9130-2029398693a8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ebdafa28-2862-4552-b67d-b54e771c6aba'] 2025-09-15 11:26:40,364 - WARNING - Deleting VN ctest-ext_vn-27023239 failed..Will retry 2025-09-15 11:26:42,465 - DEBUG - Response for deleting network () 2025-09-15 11:26:42,465 - INFO - Deleting VN ctest-vn-54370830 2025-09-15 11:26:42,581 - DEBUG - Response for deleting network () 2025-09-15 11:26:42,838 - DEBUG - No XMPP flaps were noticed during the test 2025-09-15 11:26:42,838 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-09-15 11:26:42,838 - INFO - -------------------------------------------------------------------------------- 2025-09-15 11:26:43,530 - INFO - Deleted project: ctest-TestRoutersBasic-30416008, ID : 5d5c3120-b3eb-4907-999d-d250b30308cf