2025-08-11 13:14:20,155 - INFO - Domain Default found not creating 2025-08-11 13:14:20,284 - INFO - Project ctest-TestRoutersBasic-92043457 not found, creating it 2025-08-11 13:14:20,724 - INFO - Created Project:ctest-TestRoutersBasic-92043457, ID : 101e4691-b6e3-4fe9-a694-cff5cb573ad6 2025-08-11 13:14:22,219 - INFO - ================================================================================ 2025-08-11 13:14:22,219 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-11 13:14:22,219 - 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-11 13:14:22,473 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.14': '0'}} with 2025-08-11 13:14:22,473 - INFO - Initial checks done. Running the testcase now 2025-08-11 13:14:22,473 - INFO - 2025-08-11 13:14:23,241 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-92043457 2025-08-11 13:14:23,336 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-92043457 2025-08-11 13:14:23,660 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92043457', 'default']} 2025-08-11 13:14:23,945 - DEBUG - Response for create_network : {'network': {'id': 'f8e71e6c-b6e2-443e-90ae-333a30dcaace', 'name': 'ctest-vn-82802987', 'tenant_id': '101e4691b6e34fe9a694cff5cb573ad6', 'project_id': '101e4691b6e34fe9a694cff5cb573ad6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92043457', 'ctest-vn-82802987'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 13:14:24,171 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c61e05d7-7e0a-4e3c-9235-012d8ec67858', 'name': '', 'tenant_id': '101e4691b6e34fe9a694cff5cb573ad6', 'network_id': 'f8e71e6c-b6e2-443e-90ae-333a30dcaace', 'ip_version': 4, 'cidr': '219.107.23.192/26', 'allocation_pools': [{'start': '219.107.23.194', 'end': '219.107.23.254'}], 'gateway_ip': '219.107.23.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.107.23.194', 'tags': [], 'project_id': '101e4691b6e34fe9a694cff5cb573ad6'}} 2025-08-11 13:14:24,187 - INFO - Created VN ctest-vn-82802987 2025-08-11 13:14:24,240 - DEBUG - VN ctest-vn-82802987 UUID is f8e71e6c-b6e2-443e-90ae-333a30dcaace 2025-08-11 13:14:24,549 - DEBUG - Response for create_network : {'network': {'id': '1aa7688e-c18f-4608-8d34-3c7a2f1b52ce', 'name': 'ctest-ext_vn-44061964', 'tenant_id': '101e4691b6e34fe9a694cff5cb573ad6', 'project_id': '101e4691b6e34fe9a694cff5cb573ad6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92043457', 'ctest-ext_vn-44061964'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 13:14:24,765 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f8c87c3-8e83-4e93-916d-e109d9cc3524', 'name': '', 'tenant_id': '101e4691b6e34fe9a694cff5cb573ad6', 'network_id': '1aa7688e-c18f-4608-8d34-3c7a2f1b52ce', 'ip_version': 4, 'cidr': '3.32.73.192/26', 'allocation_pools': [{'start': '3.32.73.194', 'end': '3.32.73.254'}], 'gateway_ip': '3.32.73.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.32.73.194', 'tags': [], 'project_id': '101e4691b6e34fe9a694cff5cb573ad6'}} 2025-08-11 13:14:24,784 - INFO - Created VN ctest-ext_vn-44061964 2025-08-11 13:14:24,836 - DEBUG - VN ctest-ext_vn-44061964 UUID is 1aa7688e-c18f-4608-8d34-3c7a2f1b52ce 2025-08-11 13:14:25,000 - DEBUG - Services list from nova: [, , ] 2025-08-11 13:14:26,072 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3806-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3806-1) 2025-08-11 13:14:27,266 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3806-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3806-1) 2025-08-11 13:14:27,335 - INFO - Setting gateway for router d7eecbe1-58ee-4856-88d7-68278f9590a3 to network 1aa7688e-c18f-4608-8d34-3c7a2f1b52ce 2025-08-11 13:14:27,423 - INFO - Adding interface with subnet_id c61e05d7-7e0a-4e3c-9235-012d8ec67858, port_id None to router d7eecbe1-58ee-4856-88d7-68278f9590a3 2025-08-11 13:14:27,836 - INFO - Waiting for VM ctest-TestRoutersBasic-92043457-64121416 to be up.. 2025-08-11 13:14:27,988 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 13:14:33,072 - DEBUG - VM is in ACTIVE state now 2025-08-11 13:14:33,072 - INFO - VM name : ctest-TestRoutersBasic-92043457-64121416 2025-08-11 13:14:33,166 - DEBUG - VM ctest-TestRoutersBasic-92043457-64121416 ID is a5a44a3a-ebf8-4da5-86da-b68d1f3f59a0 2025-08-11 13:14:33,187 - DEBUG - VM ctest-TestRoutersBasic-92043457-64121416 launched on Node cn-jenkins-deploy-platform-ansible-os-3806-1 2025-08-11 13:14:33,263 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/a5a44a3a-ebf8-4da5-86da-b68d1f3f59a0 2025-08-11 13:14:33,604 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/a5a44a3a-ebf8-4da5-86da-b68d1f3f59a0 2025-08-11 13:14:33,665 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/f70bd679-fd25-42c2-b8ac-bdadb7f546be 2025-08-11 13:14:36,915 - 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 1007ms') 2025-08-11 13:14:36,915 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-92043457-64121416 failed! 2025-08-11 13:14:36,972 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-92043457:ctest-vn-82802987 is 219.107.23.193 and allocation pool is NOT set 2025-08-11 13:14:39,030 - 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.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.11 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.105/2.625/4.146/1.520 ms') 2025-08-11 13:14:39,031 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-92043457-64121416 passed 2025-08-11 13:14:39,180 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 13:14:39,180 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-92043457-64121416, IP 219.107.23.195, Port 22 2025-08-11 13:14:39,339 - DEBUG - VM ctest-TestRoutersBasic-92043457-64121416 is ready for SSH connections 2025-08-11 13:14:39,339 - INFO - Waiting for VM ctest-TestRoutersBasic-92043457-63266885 to be up.. 2025-08-11 13:14:39,411 - DEBUG - VM is in ACTIVE state now 2025-08-11 13:14:39,411 - INFO - VM name : ctest-TestRoutersBasic-92043457-63266885 2025-08-11 13:14:39,480 - DEBUG - VM ctest-TestRoutersBasic-92043457-63266885 ID is d1b73368-46fd-4104-9367-955d1614cd16 2025-08-11 13:14:39,481 - DEBUG - VM ctest-TestRoutersBasic-92043457-63266885 launched on Node cn-jenkins-deploy-platform-ansible-os-3806-1 2025-08-11 13:14:39,548 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/d1b73368-46fd-4104-9367-955d1614cd16 2025-08-11 13:14:39,556 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/2931d0f4-f59f-405e-9c4c-999020947209 2025-08-11 13:14:40,798 - 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.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.16 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 = 2.156/3.236/4.316/1.080 ms') 2025-08-11 13:14:40,798 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-92043457-63266885 passed 2025-08-11 13:14:40,952 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 13:14:40,952 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-92043457-63266885, IP 3.32.73.195, Port 22 2025-08-11 13:14:41,111 - DEBUG - VM ctest-TestRoutersBasic-92043457-63266885 is ready for SSH connections 2025-08-11 13:14:41,111 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 13:14:41,111 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.32.73.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-11 13:14:41,112 - DEBUG - ping -s 56 -c 3 -W 1 3.32.73.195 2025-08-11 13:14:45,153 - DEBUG - PING 3.32.73.195 (3.32.73.195): 56 data bytes 64 bytes from 3.32.73.195: seq=0 ttl=62 time=4.692 ms 64 bytes from 3.32.73.195: seq=1 ttl=62 time=0.805 ms 64 bytes from 3.32.73.195: seq=2 ttl=62 time=1.118 ms --- 3.32.73.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.805/2.205/4.692 ms 2025-08-11 13:14:45,153 - INFO - Ping to IP 3.32.73.195 from VM ctest-TestRoutersBasic-92043457-64121416 passed 2025-08-11 13:14:45,153 - INFO - Deleting interface with subnet_id c61e05d7-7e0a-4e3c-9235-012d8ec67858, port_id None from router d7eecbe1-58ee-4856-88d7-68278f9590a3 2025-08-11 13:14:45,354 - INFO - Deleting VM ctest-TestRoutersBasic-92043457-63266885 2025-08-11 13:14:45,418 - INFO - Deleting VM ctest-TestRoutersBasic-92043457-64121416 2025-08-11 13:14:45,492 - INFO - Deleting VN ctest-ext_vn-44061964 2025-08-11 13:14:45,560 - DEBUG - VN 1aa7688e-c18f-4608-8d34-3c7a2f1b52ce still in use: Unable to complete operation on network 1aa7688e-c18f-4608-8d34-3c7a2f1b52ce. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e0f30316-e970-414e-ba14-9d431f70b715'] 2025-08-11 13:14:45,560 - WARNING - Deleting VN ctest-ext_vn-44061964 failed..Will retry 2025-08-11 13:14:47,666 - DEBUG - Response for deleting network () 2025-08-11 13:14:47,667 - INFO - Deleting VN ctest-vn-82802987 2025-08-11 13:14:47,776 - DEBUG - Response for deleting network () 2025-08-11 13:14:48,030 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 13:14:48,030 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-08-11 13:14:48,030 - INFO - -------------------------------------------------------------------------------- 2025-08-11 13:14:48,735 - INFO - Deleted project: ctest-TestRoutersBasic-92043457, ID : 101e4691-b6e3-4fe9-a694-cff5cb573ad6