2025-12-29 02:24:20,076 - INFO - Domain Default found not creating 2025-12-29 02:24:20,233 - INFO - Project ctest-TestRoutersBasic-11401480 not found, creating it 2025-12-29 02:24:20,696 - INFO - Created Project:ctest-TestRoutersBasic-11401480, ID : 478f067c-ae19-4270-baf3-5b9c9e1e5429 2025-12-29 02:24:22,173 - INFO - ================================================================================ 2025-12-29 02:24:22,173 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-29 02:24:22,173 - 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-12-29 02:24:22,434 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.249': '0'}} with 2025-12-29 02:24:22,434 - INFO - Initial checks done. Running the testcase now 2025-12-29 02:24:22,434 - INFO - 2025-12-29 02:24:23,178 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-11401480 2025-12-29 02:24:23,273 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-11401480 2025-12-29 02:24:23,601 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11401480', 'default']} 2025-12-29 02:24:23,886 - DEBUG - Response for create_network : {'network': {'id': 'b148f371-d230-44ba-8ad7-bde0f9753cd9', 'name': 'ctest-vn-82380343', 'tenant_id': '478f067cae194270baf35b9c9e1e5429', 'project_id': '478f067cae194270baf35b9c9e1e5429', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11401480', 'ctest-vn-82380343'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 02:24:24,035 - DEBUG - Response for create_subnet : {'subnet': {'id': '05965541-a0c7-49be-8a30-14da6722d524', 'name': '', 'tenant_id': '478f067cae194270baf35b9c9e1e5429', 'network_id': 'b148f371-d230-44ba-8ad7-bde0f9753cd9', 'ip_version': 4, 'cidr': '144.176.48.0/26', 'allocation_pools': [{'start': '144.176.48.2', 'end': '144.176.48.62'}], 'gateway_ip': '144.176.48.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.176.48.2', 'tags': [], 'project_id': '478f067cae194270baf35b9c9e1e5429'}} 2025-12-29 02:24:24,052 - INFO - Created VN ctest-vn-82380343 2025-12-29 02:24:24,105 - DEBUG - VN ctest-vn-82380343 UUID is b148f371-d230-44ba-8ad7-bde0f9753cd9 2025-12-29 02:24:24,444 - DEBUG - Response for create_network : {'network': {'id': '098ca5a4-a242-4c91-b110-a2cd6dc41259', 'name': 'ctest-ext_vn-89002295', 'tenant_id': '478f067cae194270baf35b9c9e1e5429', 'project_id': '478f067cae194270baf35b9c9e1e5429', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11401480', 'ctest-ext_vn-89002295'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 02:24:24,610 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eaf716eb-bc19-41bb-a8cc-212b72e62810', 'name': '', 'tenant_id': '478f067cae194270baf35b9c9e1e5429', 'network_id': '098ca5a4-a242-4c91-b110-a2cd6dc41259', 'ip_version': 4, 'cidr': '144.211.95.128/26', 'allocation_pools': [{'start': '144.211.95.130', 'end': '144.211.95.190'}], 'gateway_ip': '144.211.95.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.211.95.130', 'tags': [], 'project_id': '478f067cae194270baf35b9c9e1e5429'}} 2025-12-29 02:24:24,627 - INFO - Created VN ctest-ext_vn-89002295 2025-12-29 02:24:24,677 - DEBUG - VN ctest-ext_vn-89002295 UUID is 098ca5a4-a242-4c91-b110-a2cd6dc41259 2025-12-29 02:24:24,882 - DEBUG - Services list from nova: [, , ] 2025-12-29 02:24:25,905 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4933-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4933-1) 2025-12-29 02:24:27,027 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4933-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4933-1) 2025-12-29 02:24:27,091 - INFO - Setting gateway for router b85ac254-750c-40c1-ab79-2936a5d0b1f4 to network 098ca5a4-a242-4c91-b110-a2cd6dc41259 2025-12-29 02:24:27,156 - INFO - Adding interface with subnet_id 05965541-a0c7-49be-8a30-14da6722d524, port_id None to router b85ac254-750c-40c1-ab79-2936a5d0b1f4 2025-12-29 02:24:27,398 - INFO - Waiting for VM ctest-TestRoutersBasic-11401480-15576192 to be up.. 2025-12-29 02:24:27,550 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-29 02:24:32,618 - DEBUG - VM is in ACTIVE state now 2025-12-29 02:24:32,618 - INFO - VM name : ctest-TestRoutersBasic-11401480-15576192 2025-12-29 02:24:32,689 - DEBUG - VM ctest-TestRoutersBasic-11401480-15576192 ID is d4b0705a-88fc-4879-a911-75be73172b02 2025-12-29 02:24:32,708 - DEBUG - VM ctest-TestRoutersBasic-11401480-15576192 launched on Node cn-jenkins-deploy-platform-ansible-os-4933-1 2025-12-29 02:24:32,777 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/d4b0705a-88fc-4879-a911-75be73172b02 2025-12-29 02:24:33,072 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/d4b0705a-88fc-4879-a911-75be73172b02 2025-12-29 02:24:33,103 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/894faaef-d07f-4c31-874d-dab1d3a99678 2025-12-29 02:24:36,360 - 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 1024ms') 2025-12-29 02:24:36,360 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-11401480-15576192 failed! 2025-12-29 02:24:36,413 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-11401480:ctest-vn-82380343 is 144.176.48.1 and allocation pool is NOT set 2025-12-29 02:24:38,473 - 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=4.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.453 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.453/2.394/4.336/1.941 ms') 2025-12-29 02:24:38,473 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-11401480-15576192 passed 2025-12-29 02:24:38,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:24:38,621 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11401480-15576192, IP 144.176.48.3, Port 22 2025-12-29 02:24:38,777 - DEBUG - VM ctest-TestRoutersBasic-11401480-15576192 is ready for SSH connections 2025-12-29 02:24:38,777 - INFO - Waiting for VM ctest-TestRoutersBasic-11401480-37654971 to be up.. 2025-12-29 02:24:38,870 - DEBUG - VM is in ACTIVE state now 2025-12-29 02:24:38,870 - INFO - VM name : ctest-TestRoutersBasic-11401480-37654971 2025-12-29 02:24:38,950 - DEBUG - VM ctest-TestRoutersBasic-11401480-37654971 ID is 869bd0a2-e5a8-4e05-9db2-2a89a28e27f2 2025-12-29 02:24:38,950 - DEBUG - VM ctest-TestRoutersBasic-11401480-37654971 launched on Node cn-jenkins-deploy-platform-ansible-os-4933-1 2025-12-29 02:24:39,026 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/869bd0a2-e5a8-4e05-9db2-2a89a28e27f2 2025-12-29 02:24:39,035 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/376292ca-02a8-4fb1-a407-ebec21b8f990 2025-12-29 02:24:40,265 - 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=4.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.440 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.440/2.515/4.591/2.075 ms') 2025-12-29 02:24:40,265 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-11401480-37654971 passed 2025-12-29 02:24:40,413 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:24:40,413 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11401480-37654971, IP 144.211.95.131, Port 22 2025-12-29 02:24:40,569 - DEBUG - VM ctest-TestRoutersBasic-11401480-37654971 is ready for SSH connections 2025-12-29 02:24:40,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:24:40,569 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.211.95.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-12-29 02:24:40,569 - DEBUG - ping -s 56 -c 3 -W 1 144.211.95.131 2025-12-29 02:24:44,281 - DEBUG - PING 144.211.95.131 (144.211.95.131): 56 data bytes 64 bytes from 144.211.95.131: seq=0 ttl=62 time=6.044 ms 64 bytes from 144.211.95.131: seq=1 ttl=62 time=0.946 ms 64 bytes from 144.211.95.131: seq=2 ttl=62 time=0.895 ms --- 144.211.95.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.895/2.628/6.044 ms 2025-12-29 02:24:44,281 - INFO - Ping to IP 144.211.95.131 from VM ctest-TestRoutersBasic-11401480-15576192 passed 2025-12-29 02:24:44,281 - INFO - Deleting interface with subnet_id 05965541-a0c7-49be-8a30-14da6722d524, port_id None from router b85ac254-750c-40c1-ab79-2936a5d0b1f4 2025-12-29 02:24:44,442 - INFO - Deleting VM ctest-TestRoutersBasic-11401480-37654971 2025-12-29 02:24:44,504 - INFO - Deleting VM ctest-TestRoutersBasic-11401480-15576192 2025-12-29 02:24:44,580 - INFO - Deleting VN ctest-ext_vn-89002295 2025-12-29 02:24:44,642 - DEBUG - VN 098ca5a4-a242-4c91-b110-a2cd6dc41259 still in use: Unable to complete operation on network 098ca5a4-a242-4c91-b110-a2cd6dc41259. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-91ef4bb7-9909-4bf2-bb34-2a119c216d65'] 2025-12-29 02:24:44,642 - WARNING - Deleting VN ctest-ext_vn-89002295 failed..Will retry 2025-12-29 02:24:46,733 - DEBUG - Response for deleting network () 2025-12-29 02:24:46,733 - INFO - Deleting VN ctest-vn-82380343 2025-12-29 02:24:46,833 - DEBUG - Response for deleting network () 2025-12-29 02:24:47,089 - DEBUG - No XMPP flaps were noticed during the test
2025-12-29 02:24:47,089 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-12-29 02:24:47,089 - INFO - -------------------------------------------------------------------------------- 2025-12-29 02:24:47,782 - INFO - Deleted project: ctest-TestRoutersBasic-11401480, ID : 478f067c-ae19-4270-baf3-5b9c9e1e5429