2025-11-21 17:18:55,034 - INFO - Domain Default found not creating 2025-11-21 17:18:55,226 - INFO - Project ctest-TestRoutersBasic-11926829 not found, creating it 2025-11-21 17:18:55,751 - INFO - Created Project:ctest-TestRoutersBasic-11926829, ID : e24cc8b4-3094-46a5-b9c0-957c28d1a090 2025-11-21 17:18:57,448 - INFO - ================================================================================ 2025-11-21 17:18:57,448 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-21 17:18:57,448 - 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-21 17:18:57,708 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.192': '0'}} with 2025-11-21 17:18:57,708 - INFO - Initial checks done. Running the testcase now 2025-11-21 17:18:57,708 - INFO - 2025-11-21 17:18:58,459 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-11926829 2025-11-21 17:18:58,558 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-11926829 2025-11-21 17:18:58,882 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11926829', 'default']} 2025-11-21 17:18:59,216 - DEBUG - Response for create_network : {'network': {'id': 'c07ea9e1-ca80-4d8a-877d-8c742179f50f', 'name': 'ctest-vn-31157782', 'tenant_id': 'e24cc8b4309446a5b9c0957c28d1a090', 'project_id': 'e24cc8b4309446a5b9c0957c28d1a090', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11926829', 'ctest-vn-31157782'], 'port_security_enabled': True, 'description': ''}} 2025-11-21 17:18:59,399 - DEBUG - Response for create_subnet : {'subnet': {'id': '2578e707-e117-47a1-8f4b-bee78ca3d7f8', 'name': '', 'tenant_id': 'e24cc8b4309446a5b9c0957c28d1a090', 'network_id': 'c07ea9e1-ca80-4d8a-877d-8c742179f50f', 'ip_version': 4, 'cidr': '112.98.115.128/26', 'allocation_pools': [{'start': '112.98.115.130', 'end': '112.98.115.190'}], 'gateway_ip': '112.98.115.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.98.115.130', 'tags': [], 'project_id': 'e24cc8b4309446a5b9c0957c28d1a090'}} 2025-11-21 17:18:59,420 - INFO - Created VN ctest-vn-31157782 2025-11-21 17:18:59,474 - DEBUG - VN ctest-vn-31157782 UUID is c07ea9e1-ca80-4d8a-877d-8c742179f50f 2025-11-21 17:18:59,815 - DEBUG - Response for create_network : {'network': {'id': 'a248213d-2310-4965-b59b-00394f96233d', 'name': 'ctest-ext_vn-36729546', 'tenant_id': 'e24cc8b4309446a5b9c0957c28d1a090', 'project_id': 'e24cc8b4309446a5b9c0957c28d1a090', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11926829', 'ctest-ext_vn-36729546'], 'port_security_enabled': True, 'description': ''}} 2025-11-21 17:19:00,042 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b54c1d7-348d-4046-bed9-7ff6cc4eff8b', 'name': '', 'tenant_id': 'e24cc8b4309446a5b9c0957c28d1a090', 'network_id': 'a248213d-2310-4965-b59b-00394f96233d', 'ip_version': 4, 'cidr': '135.61.155.0/26', 'allocation_pools': [{'start': '135.61.155.2', 'end': '135.61.155.62'}], 'gateway_ip': '135.61.155.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.61.155.2', 'tags': [], 'project_id': 'e24cc8b4309446a5b9c0957c28d1a090'}} 2025-11-21 17:19:00,063 - INFO - Created VN ctest-ext_vn-36729546 2025-11-21 17:19:00,118 - DEBUG - VN ctest-ext_vn-36729546 UUID is a248213d-2310-4965-b59b-00394f96233d 2025-11-21 17:19:00,317 - DEBUG - Services list from nova: [, , ] 2025-11-21 17:19:01,681 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4791-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4791-1) 2025-11-21 17:19:02,971 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4791-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4791-1) 2025-11-21 17:19:03,036 - INFO - Setting gateway for router 1b8d5537-3c74-4190-8793-f51ad1be51b6 to network a248213d-2310-4965-b59b-00394f96233d 2025-11-21 17:19:03,122 - INFO - Adding interface with subnet_id 2578e707-e117-47a1-8f4b-bee78ca3d7f8, port_id None to router 1b8d5537-3c74-4190-8793-f51ad1be51b6 2025-11-21 17:19:03,484 - INFO - Waiting for VM ctest-TestRoutersBasic-11926829-35768438 to be up.. 2025-11-21 17:19:03,615 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-21 17:19:08,740 - DEBUG - VM is in ACTIVE state now 2025-11-21 17:19:08,741 - INFO - VM name : ctest-TestRoutersBasic-11926829-35768438 2025-11-21 17:19:08,860 - DEBUG - VM ctest-TestRoutersBasic-11926829-35768438 ID is 237f1e1e-5c34-46d6-af06-3c8f8c909f44 2025-11-21 17:19:08,890 - DEBUG - VM ctest-TestRoutersBasic-11926829-35768438 launched on Node cn-jenkins-deploy-platform-ansible-os-4791-1 2025-11-21 17:19:08,990 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/237f1e1e-5c34-46d6-af06-3c8f8c909f44 2025-11-21 17:19:09,297 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/237f1e1e-5c34-46d6-af06-3c8f8c909f44 2025-11-21 17:19:09,336 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2e82e4b4-f041-49d4-aff4-b18ad3cfd21c 2025-11-21 17:19:12,609 - 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 1023ms') 2025-11-21 17:19:12,609 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-11926829-35768438 failed! 2025-11-21 17:19:12,666 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-11926829:ctest-vn-31157782 is 112.98.115.129 and allocation pool is NOT set 2025-11-21 17:19:14,724 - 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=5.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.84 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 = 1.838/3.448/5.059/1.610 ms') 2025-11-21 17:19:14,724 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-11926829-35768438 passed 2025-11-21 17:19:14,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:19:14,891 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11926829-35768438, IP 112.98.115.131, Port 22 2025-11-21 17:19:15,065 - DEBUG - VM ctest-TestRoutersBasic-11926829-35768438 is ready for SSH connections 2025-11-21 17:19:15,065 - INFO - Waiting for VM ctest-TestRoutersBasic-11926829-42495657 to be up.. 2025-11-21 17:19:15,170 - DEBUG - VM is in ACTIVE state now 2025-11-21 17:19:15,170 - INFO - VM name : ctest-TestRoutersBasic-11926829-42495657 2025-11-21 17:19:15,258 - DEBUG - VM ctest-TestRoutersBasic-11926829-42495657 ID is 5b24a4e3-06d9-48bc-bcc2-b06539480b8e 2025-11-21 17:19:15,258 - DEBUG - VM ctest-TestRoutersBasic-11926829-42495657 launched on Node cn-jenkins-deploy-platform-ansible-os-4791-1 2025-11-21 17:19:15,364 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/5b24a4e3-06d9-48bc-bcc2-b06539480b8e 2025-11-21 17:19:15,374 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ff822693-01ef-493f-a66f-3d39f5902d6f 2025-11-21 17:19:16,626 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.493 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.493/2.643/4.793/2.150 ms') 2025-11-21 17:19:16,626 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-11926829-42495657 passed 2025-11-21 17:19:16,782 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:19:16,782 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11926829-42495657, IP 135.61.155.3, Port 22 2025-11-21 17:19:16,942 - DEBUG - VM ctest-TestRoutersBasic-11926829-42495657 is ready for SSH connections 2025-11-21 17:19:16,942 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:19:16,942 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 135.61.155.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-21 17:19:16,942 - DEBUG - ping -s 56 -c 3 -W 1 135.61.155.3 2025-11-21 17:19:20,672 - DEBUG - PING 135.61.155.3 (135.61.155.3): 56 data bytes 64 bytes from 135.61.155.3: seq=0 ttl=62 time=7.238 ms 64 bytes from 135.61.155.3: seq=1 ttl=62 time=1.111 ms 64 bytes from 135.61.155.3: seq=2 ttl=62 time=1.256 ms --- 135.61.155.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.111/3.201/7.238 ms 2025-11-21 17:19:20,673 - INFO - Ping to IP 135.61.155.3 from VM ctest-TestRoutersBasic-11926829-35768438 passed 2025-11-21 17:19:20,673 - INFO - Deleting interface with subnet_id 2578e707-e117-47a1-8f4b-bee78ca3d7f8, port_id None from router 1b8d5537-3c74-4190-8793-f51ad1be51b6 2025-11-21 17:19:20,886 - INFO - Deleting VM ctest-TestRoutersBasic-11926829-42495657 2025-11-21 17:19:20,959 - INFO - Deleting VM ctest-TestRoutersBasic-11926829-35768438 2025-11-21 17:19:21,045 - INFO - Deleting VN ctest-ext_vn-36729546 2025-11-21 17:19:21,128 - DEBUG - VN a248213d-2310-4965-b59b-00394f96233d still in use: Unable to complete operation on network a248213d-2310-4965-b59b-00394f96233d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-37aa7c7b-d0fc-4b47-8b46-94b62fc72f5a'] 2025-11-21 17:19:21,128 - WARNING - Deleting VN ctest-ext_vn-36729546 failed..Will retry 2025-11-21 17:19:23,238 - DEBUG - Response for deleting network () 2025-11-21 17:19:23,239 - INFO - Deleting VN ctest-vn-31157782 2025-11-21 17:19:23,343 - DEBUG - Response for deleting network () 2025-11-21 17:19:23,606 - DEBUG - No XMPP flaps were noticed during the test 2025-11-21 17:19:23,606 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-11-21 17:19:23,606 - INFO - -------------------------------------------------------------------------------- 2025-11-21 17:19:24,365 - INFO - Deleted project: ctest-TestRoutersBasic-11926829, ID : e24cc8b4-3094-46a5-b9c0-957c28d1a090