2025-11-20 17:26:56,815 - INFO - Domain Default found not creating 2025-11-20 17:26:56,988 - INFO - Project ctest-TestRoutersBasic-91557627 not found, creating it 2025-11-20 17:26:57,435 - INFO - Created Project:ctest-TestRoutersBasic-91557627, ID : 25dee01e-8314-46be-bc5b-f3ba519526bc 2025-11-20 17:26:58,881 - INFO - ================================================================================ 2025-11-20 17:26:58,881 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-20 17:26:58,881 - 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-20 17:26:59,137 - DEBUG - Nothing to compare xmpp stats {'10.0.0.145': {'10.20.0.249': '0'}} with 2025-11-20 17:26:59,137 - INFO - Initial checks done. Running the testcase now 2025-11-20 17:26:59,137 - INFO - 2025-11-20 17:26:59,861 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-91557627 2025-11-20 17:26:59,960 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-91557627 2025-11-20 17:27:00,280 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91557627', 'default']} 2025-11-20 17:27:00,586 - DEBUG - Response for create_network : {'network': {'id': '6e0a943b-e895-439d-844e-4aca58a326a2', 'name': 'ctest-vn-03718422', 'tenant_id': '25dee01e831446bebc5bf3ba519526bc', 'project_id': '25dee01e831446bebc5bf3ba519526bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91557627', 'ctest-vn-03718422'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 17:27:00,811 - DEBUG - Response for create_subnet : {'subnet': {'id': '18d43475-b6fc-4fbb-9382-ec878e1dc325', 'name': '', 'tenant_id': '25dee01e831446bebc5bf3ba519526bc', 'network_id': '6e0a943b-e895-439d-844e-4aca58a326a2', 'ip_version': 4, 'cidr': '157.27.17.128/26', 'allocation_pools': [{'start': '157.27.17.130', 'end': '157.27.17.190'}], 'gateway_ip': '157.27.17.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.27.17.130', 'tags': [], 'project_id': '25dee01e831446bebc5bf3ba519526bc'}} 2025-11-20 17:27:00,832 - INFO - Created VN ctest-vn-03718422 2025-11-20 17:27:00,884 - DEBUG - VN ctest-vn-03718422 UUID is 6e0a943b-e895-439d-844e-4aca58a326a2 2025-11-20 17:27:01,200 - DEBUG - Response for create_network : {'network': {'id': '7e71c482-cc13-4b0c-ba7f-8fd63bd6b6eb', 'name': 'ctest-ext_vn-52048008', 'tenant_id': '25dee01e831446bebc5bf3ba519526bc', 'project_id': '25dee01e831446bebc5bf3ba519526bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91557627', 'ctest-ext_vn-52048008'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 17:27:01,387 - DEBUG - Response for create_subnet : {'subnet': {'id': '4f104a9e-41e5-4189-a09b-be79ac46aec3', 'name': '', 'tenant_id': '25dee01e831446bebc5bf3ba519526bc', 'network_id': '7e71c482-cc13-4b0c-ba7f-8fd63bd6b6eb', 'ip_version': 4, 'cidr': '44.39.123.128/26', 'allocation_pools': [{'start': '44.39.123.130', 'end': '44.39.123.190'}], 'gateway_ip': '44.39.123.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.39.123.130', 'tags': [], 'project_id': '25dee01e831446bebc5bf3ba519526bc'}} 2025-11-20 17:27:01,407 - INFO - Created VN ctest-ext_vn-52048008 2025-11-20 17:27:01,464 - DEBUG - VN ctest-ext_vn-52048008 UUID is 7e71c482-cc13-4b0c-ba7f-8fd63bd6b6eb 2025-11-20 17:27:01,653 - DEBUG - Services list from nova: [, , ] 2025-11-20 17:27:02,713 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4782-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4782-1) 2025-11-20 17:27:03,879 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4782-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4782-1) 2025-11-20 17:27:03,963 - INFO - Setting gateway for router 1f8f8ec5-6b38-45f3-b912-bd12216f9111 to network 7e71c482-cc13-4b0c-ba7f-8fd63bd6b6eb 2025-11-20 17:27:04,028 - INFO - Adding interface with subnet_id 18d43475-b6fc-4fbb-9382-ec878e1dc325, port_id None to router 1f8f8ec5-6b38-45f3-b912-bd12216f9111 2025-11-20 17:27:04,391 - INFO - Waiting for VM ctest-TestRoutersBasic-91557627-77150152 to be up.. 2025-11-20 17:27:04,595 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 17:27:09,664 - DEBUG - VM is in ACTIVE state now 2025-11-20 17:27:09,664 - INFO - VM name : ctest-TestRoutersBasic-91557627-77150152 2025-11-20 17:27:09,735 - DEBUG - VM ctest-TestRoutersBasic-91557627-77150152 ID is 44450671-7613-461c-9372-9cabe725cc79 2025-11-20 17:27:09,756 - DEBUG - VM ctest-TestRoutersBasic-91557627-77150152 launched on Node cn-jenkins-deploy-platform-ansible-os-4782-1 2025-11-20 17:27:09,855 - DEBUG - Requesting: http://10.0.0.145:8082/virtual-machine/44450671-7613-461c-9372-9cabe725cc79 2025-11-20 17:27:10,155 - DEBUG - Requesting: http://10.0.0.145:8082/virtual-machine/44450671-7613-461c-9372-9cabe725cc79 2025-11-20 17:27:10,198 - DEBUG - Requesting: http://10.0.0.145:8082/virtual-machine-interface/7743bb52-8ba4-4ea6-bc85-f1e4fbeddd86 2025-11-20 17:27:13,462 - 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 1031ms') 2025-11-20 17:27:13,462 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91557627-77150152 failed! 2025-11-20 17:27:13,516 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-91557627:ctest-vn-03718422 is 157.27.17.129 and allocation pool is NOT set 2025-11-20 17:27:15,584 - 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=6.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.68 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 = 2.683/4.835/6.987/2.152 ms') 2025-11-20 17:27:15,584 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91557627-77150152 passed 2025-11-20 17:27:15,736 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:27:15,736 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91557627-77150152, IP 157.27.17.131, Port 22 2025-11-20 17:27:15,887 - DEBUG - VM ctest-TestRoutersBasic-91557627-77150152 is ready for SSH connections 2025-11-20 17:27:15,887 - INFO - Waiting for VM ctest-TestRoutersBasic-91557627-90432325 to be up.. 2025-11-20 17:27:15,967 - DEBUG - VM is in ACTIVE state now 2025-11-20 17:27:15,967 - INFO - VM name : ctest-TestRoutersBasic-91557627-90432325 2025-11-20 17:27:16,045 - DEBUG - VM ctest-TestRoutersBasic-91557627-90432325 ID is d6cf23e7-a70c-4c7f-93e8-52fb102be6c7 2025-11-20 17:27:16,046 - DEBUG - VM ctest-TestRoutersBasic-91557627-90432325 launched on Node cn-jenkins-deploy-platform-ansible-os-4782-1 2025-11-20 17:27:16,121 - DEBUG - Requesting: http://10.0.0.145:8082/virtual-machine/d6cf23e7-a70c-4c7f-93e8-52fb102be6c7 2025-11-20 17:27:16,128 - DEBUG - Requesting: http://10.0.0.145:8082/virtual-machine-interface/6a88d609-b40c-44d6-9056-3f9a699f171c 2025-11-20 17:27:17,368 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.526 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.526/1.869/3.212/1.343 ms') 2025-11-20 17:27:17,368 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-91557627-90432325 passed 2025-11-20 17:27:17,520 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:27:17,520 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91557627-90432325, IP 44.39.123.131, Port 22 2025-11-20 17:27:17,676 - DEBUG - VM ctest-TestRoutersBasic-91557627-90432325 is ready for SSH connections 2025-11-20 17:27:17,676 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:27:17,676 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.39.123.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.145, gateway password: c0ntrail123 2025-11-20 17:27:17,676 - DEBUG - ping -s 56 -c 3 -W 1 44.39.123.131 2025-11-20 17:27:21,387 - DEBUG - PING 44.39.123.131 (44.39.123.131): 56 data bytes 64 bytes from 44.39.123.131: seq=0 ttl=62 time=4.072 ms 64 bytes from 44.39.123.131: seq=1 ttl=62 time=0.853 ms 64 bytes from 44.39.123.131: seq=2 ttl=62 time=1.402 ms --- 44.39.123.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.853/2.109/4.072 ms 2025-11-20 17:27:21,387 - INFO - Ping to IP 44.39.123.131 from VM ctest-TestRoutersBasic-91557627-77150152 passed 2025-11-20 17:27:21,388 - INFO - Deleting interface with subnet_id 18d43475-b6fc-4fbb-9382-ec878e1dc325, port_id None from router 1f8f8ec5-6b38-45f3-b912-bd12216f9111 2025-11-20 17:27:21,552 - INFO - Deleting VM ctest-TestRoutersBasic-91557627-90432325 2025-11-20 17:27:21,634 - INFO - Deleting VM ctest-TestRoutersBasic-91557627-77150152 2025-11-20 17:27:21,719 - INFO - Deleting VN ctest-ext_vn-52048008 2025-11-20 17:27:21,782 - DEBUG - VN 7e71c482-cc13-4b0c-ba7f-8fd63bd6b6eb still in use: Unable to complete operation on network 7e71c482-cc13-4b0c-ba7f-8fd63bd6b6eb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ee53a24b-3aa3-40f2-b187-ae913d558afc'] 2025-11-20 17:27:21,782 - WARNING - Deleting VN ctest-ext_vn-52048008 failed..Will retry 2025-11-20 17:27:23,881 - DEBUG - Response for deleting network () 2025-11-20 17:27:23,882 - INFO - Deleting VN ctest-vn-03718422 2025-11-20 17:27:23,973 - DEBUG - Response for deleting network () 2025-11-20 17:27:24,225 - DEBUG - No XMPP flaps were noticed during the test
2025-11-20 17:27:24,225 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-11-20 17:27:24,225 - INFO - -------------------------------------------------------------------------------- 2025-11-20 17:27:24,911 - INFO - Deleted project: ctest-TestRoutersBasic-91557627, ID : 25dee01e-8314-46be-bc5b-f3ba519526bc