2025-08-13 16:19:00,548 - INFO - Domain Default found not creating 2025-08-13 16:19:00,676 - INFO - Project ctest-TestRoutersBasic-88677131 not found, creating it 2025-08-13 16:19:01,113 - INFO - Created Project:ctest-TestRoutersBasic-88677131, ID : 3b42f4b6-a966-4f1f-9549-51df52cfae43 2025-08-13 16:19:02,454 - INFO - ================================================================================ 2025-08-13 16:19:02,454 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-13 16:19:02,454 - 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-08-13 16:19:02,709 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2025-08-13 16:19:02,709 - INFO - Initial checks done. Running the testcase now 2025-08-13 16:19:02,709 - INFO - 2025-08-13 16:19:03,384 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-88677131 2025-08-13 16:19:03,484 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-88677131 2025-08-13 16:19:03,808 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88677131', 'default']} 2025-08-13 16:19:04,084 - DEBUG - Response for create_network : {'network': {'id': 'b6b052a9-1ad2-4f59-918a-dcdb5d4b43f3', 'name': 'ctest-vn-96492405', 'tenant_id': '3b42f4b6a9664f1f954951df52cfae43', 'project_id': '3b42f4b6a9664f1f954951df52cfae43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88677131', 'ctest-vn-96492405'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 16:19:04,296 - DEBUG - Response for create_subnet : {'subnet': {'id': '60900a09-c77a-4c7f-8a5d-cab60e7862a7', 'name': '', 'tenant_id': '3b42f4b6a9664f1f954951df52cfae43', 'network_id': 'b6b052a9-1ad2-4f59-918a-dcdb5d4b43f3', 'ip_version': 4, 'cidr': '15.160.125.128/26', 'allocation_pools': [{'start': '15.160.125.130', 'end': '15.160.125.190'}], 'gateway_ip': '15.160.125.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.160.125.130', 'tags': [], 'project_id': '3b42f4b6a9664f1f954951df52cfae43'}} 2025-08-13 16:19:04,311 - INFO - Created VN ctest-vn-96492405 2025-08-13 16:19:04,364 - DEBUG - VN ctest-vn-96492405 UUID is b6b052a9-1ad2-4f59-918a-dcdb5d4b43f3 2025-08-13 16:19:04,699 - DEBUG - Response for create_network : {'network': {'id': '4c47987e-e9c5-47d5-bffc-b554a5fece61', 'name': 'ctest-ext_vn-20627071', 'tenant_id': '3b42f4b6a9664f1f954951df52cfae43', 'project_id': '3b42f4b6a9664f1f954951df52cfae43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88677131', 'ctest-ext_vn-20627071'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 16:19:04,907 - DEBUG - Response for create_subnet : {'subnet': {'id': '1eb8b3d2-d40a-4012-97f1-5cd2b49fc5bc', 'name': '', 'tenant_id': '3b42f4b6a9664f1f954951df52cfae43', 'network_id': '4c47987e-e9c5-47d5-bffc-b554a5fece61', 'ip_version': 4, 'cidr': '39.117.223.128/26', 'allocation_pools': [{'start': '39.117.223.130', 'end': '39.117.223.190'}], 'gateway_ip': '39.117.223.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.117.223.130', 'tags': [], 'project_id': '3b42f4b6a9664f1f954951df52cfae43'}} 2025-08-13 16:19:04,922 - INFO - Created VN ctest-ext_vn-20627071 2025-08-13 16:19:04,972 - DEBUG - VN ctest-ext_vn-20627071 UUID is 4c47987e-e9c5-47d5-bffc-b554a5fece61 2025-08-13 16:19:05,158 - DEBUG - Services list from nova: [, , ] 2025-08-13 16:19:06,120 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3842-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3842-1) 2025-08-13 16:19:07,352 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3842-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3842-1) 2025-08-13 16:19:07,419 - INFO - Setting gateway for router 6d57981e-ca87-435c-a6cb-4258535a6583 to network 4c47987e-e9c5-47d5-bffc-b554a5fece61 2025-08-13 16:19:07,497 - INFO - Adding interface with subnet_id 60900a09-c77a-4c7f-8a5d-cab60e7862a7, port_id None to router 6d57981e-ca87-435c-a6cb-4258535a6583 2025-08-13 16:19:07,793 - INFO - Waiting for VM ctest-TestRoutersBasic-88677131-65520171 to be up.. 2025-08-13 16:19:07,913 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-13 16:19:12,978 - DEBUG - VM is in ACTIVE state now 2025-08-13 16:19:12,979 - INFO - VM name : ctest-TestRoutersBasic-88677131-65520171 2025-08-13 16:19:13,040 - DEBUG - VM ctest-TestRoutersBasic-88677131-65520171 ID is 3dcaca0f-3011-43e8-9a7f-934da421f99c 2025-08-13 16:19:13,056 - DEBUG - VM ctest-TestRoutersBasic-88677131-65520171 launched on Node cn-jenkins-deploy-platform-ansible-os-3842-1 2025-08-13 16:19:13,117 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/3dcaca0f-3011-43e8-9a7f-934da421f99c 2025-08-13 16:19:13,405 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/3dcaca0f-3011-43e8-9a7f-934da421f99c 2025-08-13 16:19:13,434 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/16a0a5d1-a761-40b1-b6be-7e5336452f51 2025-08-13 16:19:16,695 - 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 1027ms') 2025-08-13 16:19:16,695 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88677131-65520171 failed! 2025-08-13 16:19:16,752 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-88677131:ctest-vn-96492405 is 15.160.125.129 and allocation pool is NOT set 2025-08-13 16:19:18,817 - 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.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.280 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.280/1.531/2.782/1.251 ms') 2025-08-13 16:19:18,817 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88677131-65520171 passed 2025-08-13 16:19:18,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 16:19:18,965 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88677131-65520171, IP 15.160.125.131, Port 22 2025-08-13 16:19:19,115 - DEBUG - VM ctest-TestRoutersBasic-88677131-65520171 is ready for SSH connections 2025-08-13 16:19:19,115 - INFO - Waiting for VM ctest-TestRoutersBasic-88677131-99974982 to be up.. 2025-08-13 16:19:19,181 - DEBUG - VM is in ACTIVE state now 2025-08-13 16:19:19,181 - INFO - VM name : ctest-TestRoutersBasic-88677131-99974982 2025-08-13 16:19:19,244 - DEBUG - VM ctest-TestRoutersBasic-88677131-99974982 ID is 572322be-dea8-49f4-b685-4bfb3408d9ae 2025-08-13 16:19:19,244 - DEBUG - VM ctest-TestRoutersBasic-88677131-99974982 launched on Node cn-jenkins-deploy-platform-ansible-os-3842-1 2025-08-13 16:19:19,303 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/572322be-dea8-49f4-b685-4bfb3408d9ae 2025-08-13 16:19:19,311 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/c094445f-b359-4711-ab2f-fbc598f9782d 2025-08-13 16:19:20,548 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.246 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.246/1.922/3.598/1.676 ms') 2025-08-13 16:19:20,548 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-88677131-99974982 passed 2025-08-13 16:19:20,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 16:19:20,704 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88677131-99974982, IP 39.117.223.131, Port 22 2025-08-13 16:19:20,860 - DEBUG - VM ctest-TestRoutersBasic-88677131-99974982 is ready for SSH connections 2025-08-13 16:19:20,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 16:19:20,860 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.117.223.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-13 16:19:20,860 - DEBUG - ping -s 56 -c 3 -W 1 39.117.223.131 2025-08-13 16:19:24,804 - DEBUG - PING 39.117.223.131 (39.117.223.131): 56 data bytes 64 bytes from 39.117.223.131: seq=0 ttl=62 time=5.006 ms 64 bytes from 39.117.223.131: seq=1 ttl=62 time=0.710 ms 64 bytes from 39.117.223.131: seq=2 ttl=62 time=0.788 ms --- 39.117.223.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.710/2.168/5.006 ms 2025-08-13 16:19:24,804 - INFO - Ping to IP 39.117.223.131 from VM ctest-TestRoutersBasic-88677131-65520171 passed 2025-08-13 16:19:24,804 - INFO - Deleting interface with subnet_id 60900a09-c77a-4c7f-8a5d-cab60e7862a7, port_id None from router 6d57981e-ca87-435c-a6cb-4258535a6583 2025-08-13 16:19:24,973 - INFO - Deleting VM ctest-TestRoutersBasic-88677131-99974982 2025-08-13 16:19:25,029 - INFO - Deleting VM ctest-TestRoutersBasic-88677131-65520171 2025-08-13 16:19:25,116 - INFO - Deleting VN ctest-ext_vn-20627071 2025-08-13 16:19:25,173 - DEBUG - VN 4c47987e-e9c5-47d5-bffc-b554a5fece61 still in use: Unable to complete operation on network 4c47987e-e9c5-47d5-bffc-b554a5fece61. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-91cab53f-4d66-4587-9818-d822e81804ac'] 2025-08-13 16:19:25,173 - WARNING - Deleting VN ctest-ext_vn-20627071 failed..Will retry 2025-08-13 16:19:27,266 - DEBUG - Response for deleting network () 2025-08-13 16:19:27,266 - INFO - Deleting VN ctest-vn-96492405 2025-08-13 16:19:27,361 - DEBUG - Response for deleting network () 2025-08-13 16:19:27,617 - DEBUG - No XMPP flaps were noticed during the test
2025-08-13 16:19:27,617 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-08-13 16:19:27,617 - INFO - -------------------------------------------------------------------------------- 2025-08-13 16:19:28,277 - INFO - Deleted project: ctest-TestRoutersBasic-88677131, ID : 3b42f4b6-a966-4f1f-9549-51df52cfae43