2025-11-05 19:31:06,854 - INFO - Domain Default found not creating 2025-11-05 19:31:07,045 - INFO - Project ctest-TestRoutersBasic-32910796 not found, creating it 2025-11-05 19:31:07,528 - INFO - Created Project:ctest-TestRoutersBasic-32910796, ID : 7ac37419-9dcd-40e8-b9e6-2fa2ec1e352e 2025-11-05 19:31:09,096 - INFO - ================================================================================ 2025-11-05 19:31:09,096 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-05 19:31:09,096 - 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-11-05 19:31:09,356 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-11-05 19:31:09,356 - INFO - Initial checks done. Running the testcase now 2025-11-05 19:31:09,356 - INFO - 2025-11-05 19:31:10,092 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-32910796 2025-11-05 19:31:10,185 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-32910796 2025-11-05 19:31:10,509 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32910796', 'default']} 2025-11-05 19:31:10,810 - DEBUG - Response for create_network : {'network': {'id': '7df2f72d-1b6e-454d-8481-f2ec5a493119', 'name': 'ctest-vn-16020422', 'tenant_id': '7ac374199dcd40e8b9e62fa2ec1e352e', 'project_id': '7ac374199dcd40e8b9e62fa2ec1e352e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32910796', 'ctest-vn-16020422'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 19:31:10,997 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9827adb-f46e-4f5b-8f97-fd64ad2437b1', 'name': '', 'tenant_id': '7ac374199dcd40e8b9e62fa2ec1e352e', 'network_id': '7df2f72d-1b6e-454d-8481-f2ec5a493119', 'ip_version': 4, 'cidr': '53.29.203.0/26', 'allocation_pools': [{'start': '53.29.203.2', 'end': '53.29.203.62'}], 'gateway_ip': '53.29.203.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.29.203.2', 'tags': [], 'project_id': '7ac374199dcd40e8b9e62fa2ec1e352e'}} 2025-11-05 19:31:11,034 - INFO - Created VN ctest-vn-16020422 2025-11-05 19:31:11,089 - DEBUG - VN ctest-vn-16020422 UUID is 7df2f72d-1b6e-454d-8481-f2ec5a493119 2025-11-05 19:31:11,525 - DEBUG - Response for create_network : {'network': {'id': '78289b8b-1a15-4dd2-97bc-a6567b1cad47', 'name': 'ctest-ext_vn-49355991', 'tenant_id': '7ac374199dcd40e8b9e62fa2ec1e352e', 'project_id': '7ac374199dcd40e8b9e62fa2ec1e352e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32910796', 'ctest-ext_vn-49355991'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 19:31:11,738 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e8f8687-fd3c-4ce8-a2fa-ca047cbc01d5', 'name': '', 'tenant_id': '7ac374199dcd40e8b9e62fa2ec1e352e', 'network_id': '78289b8b-1a15-4dd2-97bc-a6567b1cad47', 'ip_version': 4, 'cidr': '109.98.213.64/26', 'allocation_pools': [{'start': '109.98.213.66', 'end': '109.98.213.126'}], 'gateway_ip': '109.98.213.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.98.213.66', 'tags': [], 'project_id': '7ac374199dcd40e8b9e62fa2ec1e352e'}} 2025-11-05 19:31:11,760 - INFO - Created VN ctest-ext_vn-49355991 2025-11-05 19:31:11,813 - DEBUG - VN ctest-ext_vn-49355991 UUID is 78289b8b-1a15-4dd2-97bc-a6567b1cad47 2025-11-05 19:31:11,978 - DEBUG - Services list from nova: [, , ] 2025-11-05 19:31:13,023 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4654-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4654-1) 2025-11-05 19:31:14,283 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4654-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4654-1) 2025-11-05 19:31:14,395 - INFO - Setting gateway for router 15145a46-9be8-4a6c-b42e-00354bc49519 to network 78289b8b-1a15-4dd2-97bc-a6567b1cad47 2025-11-05 19:31:14,458 - INFO - Adding interface with subnet_id e9827adb-f46e-4f5b-8f97-fd64ad2437b1, port_id None to router 15145a46-9be8-4a6c-b42e-00354bc49519 2025-11-05 19:31:15,040 - INFO - Waiting for VM ctest-TestRoutersBasic-32910796-91358046 to be up.. 2025-11-05 19:31:15,225 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 19:31:20,316 - DEBUG - VM is in ACTIVE state now 2025-11-05 19:31:20,316 - INFO - VM name : ctest-TestRoutersBasic-32910796-91358046 2025-11-05 19:31:20,409 - DEBUG - VM ctest-TestRoutersBasic-32910796-91358046 ID is ed38f169-3e2b-4cbe-b12b-d670a26e329b 2025-11-05 19:31:20,431 - DEBUG - VM ctest-TestRoutersBasic-32910796-91358046 launched on Node cn-jenkins-deploy-platform-ansible-os-4654-1 2025-11-05 19:31:20,515 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ed38f169-3e2b-4cbe-b12b-d670a26e329b 2025-11-05 19:31:20,821 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ed38f169-3e2b-4cbe-b12b-d670a26e329b 2025-11-05 19:31:20,853 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/24123cdd-137c-483d-bdb2-01d596168915 2025-11-05 19:31:24,120 - 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 1030ms') 2025-11-05 19:31:24,120 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-32910796-91358046 failed! 2025-11-05 19:31:24,177 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-32910796:ctest-vn-16020422 is 53.29.203.1 and allocation pool is NOT set 2025-11-05 19:31:26,234 - 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.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.455 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.455/1.844/3.233/1.389 ms') 2025-11-05 19:31:26,235 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-32910796-91358046 passed 2025-11-05 19:31:26,393 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 19:31:26,393 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32910796-91358046, IP 53.29.203.3, Port 22 2025-11-05 19:31:26,559 - DEBUG - VM ctest-TestRoutersBasic-32910796-91358046 is ready for SSH connections 2025-11-05 19:31:26,559 - INFO - Waiting for VM ctest-TestRoutersBasic-32910796-81458980 to be up.. 2025-11-05 19:31:26,646 - DEBUG - VM is in ACTIVE state now 2025-11-05 19:31:26,646 - INFO - VM name : ctest-TestRoutersBasic-32910796-81458980 2025-11-05 19:31:26,725 - DEBUG - VM ctest-TestRoutersBasic-32910796-81458980 ID is b4f11f24-9b32-4e9e-b853-ea2fc96c68d3 2025-11-05 19:31:26,725 - DEBUG - VM ctest-TestRoutersBasic-32910796-81458980 launched on Node cn-jenkins-deploy-platform-ansible-os-4654-1 2025-11-05 19:31:26,800 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b4f11f24-9b32-4e9e-b853-ea2fc96c68d3 2025-11-05 19:31:26,810 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/976f17b7-442d-4e28-958e-d40998f55552 2025-11-05 19:31:28,053 - 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=5.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.02 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.016/3.923/5.830/1.907 ms') 2025-11-05 19:31:28,053 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-32910796-81458980 passed 2025-11-05 19:31:28,209 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 19:31:28,209 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32910796-81458980, IP 109.98.213.67, Port 22 2025-11-05 19:31:28,364 - DEBUG - VM ctest-TestRoutersBasic-32910796-81458980 is ready for SSH connections 2025-11-05 19:31:28,364 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 19:31:28,364 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.98.213.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-05 19:31:28,364 - DEBUG - ping -s 56 -c 3 -W 1 109.98.213.67 2025-11-05 19:31:32,113 - DEBUG - PING 109.98.213.67 (109.98.213.67): 56 data bytes 64 bytes from 109.98.213.67: seq=0 ttl=62 time=7.196 ms 64 bytes from 109.98.213.67: seq=1 ttl=62 time=1.001 ms 64 bytes from 109.98.213.67: seq=2 ttl=62 time=1.081 ms --- 109.98.213.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.001/3.092/7.196 ms 2025-11-05 19:31:32,113 - INFO - Ping to IP 109.98.213.67 from VM ctest-TestRoutersBasic-32910796-91358046 passed 2025-11-05 19:31:32,113 - INFO - Deleting interface with subnet_id e9827adb-f46e-4f5b-8f97-fd64ad2437b1, port_id None from router 15145a46-9be8-4a6c-b42e-00354bc49519 2025-11-05 19:31:32,328 - INFO - Deleting VM ctest-TestRoutersBasic-32910796-81458980 2025-11-05 19:31:32,398 - INFO - Deleting VM ctest-TestRoutersBasic-32910796-91358046 2025-11-05 19:31:32,489 - INFO - Deleting VN ctest-ext_vn-49355991 2025-11-05 19:31:32,571 - DEBUG - VN 78289b8b-1a15-4dd2-97bc-a6567b1cad47 still in use: Unable to complete operation on network 78289b8b-1a15-4dd2-97bc-a6567b1cad47. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-076c663f-f910-4880-b915-edf66bf7407b'] 2025-11-05 19:31:32,571 - WARNING - Deleting VN ctest-ext_vn-49355991 failed..Will retry 2025-11-05 19:31:34,681 - DEBUG - Response for deleting network () 2025-11-05 19:31:34,681 - INFO - Deleting VN ctest-vn-16020422 2025-11-05 19:31:34,787 - DEBUG - Response for deleting network () 2025-11-05 19:31:35,059 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 19:31:35,059 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-11-05 19:31:35,060 - INFO - -------------------------------------------------------------------------------- 2025-11-05 19:31:35,770 - INFO - Deleted project: ctest-TestRoutersBasic-32910796, ID : 7ac37419-9dcd-40e8-b9e6-2fa2ec1e352e