2025-08-20 18:33:56,699 - INFO - Domain Default found not creating 2025-08-20 18:33:56,831 - INFO - Project ctest-TestRoutersBasic-91502470 not found, creating it 2025-08-20 18:33:57,306 - INFO - Created Project:ctest-TestRoutersBasic-91502470, ID : 82bbccb9-d51c-4905-93a4-e12137cfde89 2025-08-20 18:33:58,652 - INFO - ================================================================================ 2025-08-20 18:33:58,652 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-20 18:33:58,652 - 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-20 18:33:58,918 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-20 18:33:58,918 - INFO - Initial checks done. Running the testcase now 2025-08-20 18:33:58,918 - INFO - 2025-08-20 18:33:59,605 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-91502470 2025-08-20 18:33:59,701 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-91502470 2025-08-20 18:34:00,024 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91502470', 'default']} 2025-08-20 18:34:00,322 - DEBUG - Response for create_network : {'network': {'id': '023d7726-0741-4dc4-b9d0-56f2ba381caf', 'name': 'ctest-vn-04576449', 'tenant_id': '82bbccb9d51c490593a4e12137cfde89', 'project_id': '82bbccb9d51c490593a4e12137cfde89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91502470', 'ctest-vn-04576449'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 18:34:00,484 - DEBUG - Response for create_subnet : {'subnet': {'id': '40f0efaa-ef20-4005-8414-2df2d09992a3', 'name': '', 'tenant_id': '82bbccb9d51c490593a4e12137cfde89', 'network_id': '023d7726-0741-4dc4-b9d0-56f2ba381caf', 'ip_version': 4, 'cidr': '54.132.51.192/26', 'allocation_pools': [{'start': '54.132.51.194', 'end': '54.132.51.254'}], 'gateway_ip': '54.132.51.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.132.51.194', 'tags': [], 'project_id': '82bbccb9d51c490593a4e12137cfde89'}} 2025-08-20 18:34:00,502 - INFO - Created VN ctest-vn-04576449 2025-08-20 18:34:00,557 - DEBUG - VN ctest-vn-04576449 UUID is 023d7726-0741-4dc4-b9d0-56f2ba381caf 2025-08-20 18:34:00,912 - DEBUG - Response for create_network : {'network': {'id': '9ea29432-5910-4be7-91d5-6803f3f561a3', 'name': 'ctest-ext_vn-56579094', 'tenant_id': '82bbccb9d51c490593a4e12137cfde89', 'project_id': '82bbccb9d51c490593a4e12137cfde89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91502470', 'ctest-ext_vn-56579094'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 18:34:01,101 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f092fd58-7dba-4019-8775-7c9e87758bfb', 'name': '', 'tenant_id': '82bbccb9d51c490593a4e12137cfde89', 'network_id': '9ea29432-5910-4be7-91d5-6803f3f561a3', 'ip_version': 4, 'cidr': '188.162.174.192/26', 'allocation_pools': [{'start': '188.162.174.194', 'end': '188.162.174.254'}], 'gateway_ip': '188.162.174.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.162.174.194', 'tags': [], 'project_id': '82bbccb9d51c490593a4e12137cfde89'}} 2025-08-20 18:34:01,120 - INFO - Created VN ctest-ext_vn-56579094 2025-08-20 18:34:01,177 - DEBUG - VN ctest-ext_vn-56579094 UUID is 9ea29432-5910-4be7-91d5-6803f3f561a3 2025-08-20 18:34:01,339 - DEBUG - Services list from nova: [, , ] 2025-08-20 18:34:02,353 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3901-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3901-1) 2025-08-20 18:34:03,650 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3901-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3901-1) 2025-08-20 18:34:03,745 - INFO - Setting gateway for router e3998cee-25f4-40bd-8ffc-436d0fe00f0f to network 9ea29432-5910-4be7-91d5-6803f3f561a3 2025-08-20 18:34:03,848 - INFO - Adding interface with subnet_id 40f0efaa-ef20-4005-8414-2df2d09992a3, port_id None to router e3998cee-25f4-40bd-8ffc-436d0fe00f0f 2025-08-20 18:34:04,364 - INFO - Waiting for VM ctest-TestRoutersBasic-91502470-18867813 to be up.. 2025-08-20 18:34:04,560 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-20 18:34:09,636 - DEBUG - VM is in ACTIVE state now 2025-08-20 18:34:09,636 - INFO - VM name : ctest-TestRoutersBasic-91502470-18867813 2025-08-20 18:34:09,719 - DEBUG - VM ctest-TestRoutersBasic-91502470-18867813 ID is 25122144-b563-43c2-a129-ea7c630479e4 2025-08-20 18:34:09,741 - DEBUG - VM ctest-TestRoutersBasic-91502470-18867813 launched on Node cn-jenkins-deploy-platform-ansible-os-3901-1 2025-08-20 18:34:09,819 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/25122144-b563-43c2-a129-ea7c630479e4 2025-08-20 18:34:10,118 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/25122144-b563-43c2-a129-ea7c630479e4 2025-08-20 18:34:10,151 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/08785f99-9470-451e-adf7-4500d7116b8c 2025-08-20 18:34:13,411 - 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=2 ttl=63 time=6.83 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1012ms\r\nrtt min/avg/max/mdev = 6.834/6.834/6.834/0.000 ms') 2025-08-20 18:34:13,411 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91502470-18867813 passed 2025-08-20 18:34:13,565 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 18:34:13,565 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91502470-18867813, IP 54.132.51.195, Port 22 2025-08-20 18:34:13,738 - DEBUG - VM ctest-TestRoutersBasic-91502470-18867813 is ready for SSH connections 2025-08-20 18:34:13,739 - INFO - Waiting for VM ctest-TestRoutersBasic-91502470-78428347 to be up.. 2025-08-20 18:34:13,814 - DEBUG - VM is in ACTIVE state now 2025-08-20 18:34:13,814 - INFO - VM name : ctest-TestRoutersBasic-91502470-78428347 2025-08-20 18:34:13,889 - DEBUG - VM ctest-TestRoutersBasic-91502470-78428347 ID is 4733461e-9da4-45ad-9dd4-9e3080edb021 2025-08-20 18:34:13,890 - DEBUG - VM ctest-TestRoutersBasic-91502470-78428347 launched on Node cn-jenkins-deploy-platform-ansible-os-3901-1 2025-08-20 18:34:13,958 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4733461e-9da4-45ad-9dd4-9e3080edb021 2025-08-20 18:34:13,968 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/96821c32-cebc-4397-918c-ede608b85235 2025-08-20 18:34:15,206 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.14 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 = 1.139/2.948/4.758/1.809 ms') 2025-08-20 18:34:15,206 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-91502470-78428347 passed 2025-08-20 18:34:15,361 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 18:34:15,361 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91502470-78428347, IP 188.162.174.195, Port 22 2025-08-20 18:34:15,520 - DEBUG - VM ctest-TestRoutersBasic-91502470-78428347 is ready for SSH connections 2025-08-20 18:34:15,520 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 18:34:15,520 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.162.174.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-20 18:34:15,520 - DEBUG - ping -s 56 -c 3 -W 1 188.162.174.195 2025-08-20 18:34:19,194 - DEBUG - PING 188.162.174.195 (188.162.174.195): 56 data bytes 64 bytes from 188.162.174.195: seq=0 ttl=62 time=6.452 ms 64 bytes from 188.162.174.195: seq=1 ttl=62 time=0.716 ms 64 bytes from 188.162.174.195: seq=2 ttl=62 time=0.830 ms --- 188.162.174.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.716/2.666/6.452 ms 2025-08-20 18:34:19,194 - INFO - Ping to IP 188.162.174.195 from VM ctest-TestRoutersBasic-91502470-18867813 passed 2025-08-20 18:34:19,195 - INFO - Deleting interface with subnet_id 40f0efaa-ef20-4005-8414-2df2d09992a3, port_id None from router e3998cee-25f4-40bd-8ffc-436d0fe00f0f 2025-08-20 18:34:19,414 - INFO - Deleting VM ctest-TestRoutersBasic-91502470-78428347 2025-08-20 18:34:19,495 - INFO - Deleting VM ctest-TestRoutersBasic-91502470-18867813 2025-08-20 18:34:19,596 - INFO - Deleting VN ctest-ext_vn-56579094 2025-08-20 18:34:19,672 - DEBUG - VN 9ea29432-5910-4be7-91d5-6803f3f561a3 still in use: Unable to complete operation on network 9ea29432-5910-4be7-91d5-6803f3f561a3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f02e2b25-d7a7-48d2-8a7f-85b318c1f5ce'] 2025-08-20 18:34:19,672 - WARNING - Deleting VN ctest-ext_vn-56579094 failed..Will retry 2025-08-20 18:34:21,792 - DEBUG - Response for deleting network () 2025-08-20 18:34:21,792 - INFO - Deleting VN ctest-vn-04576449 2025-08-20 18:34:21,919 - DEBUG - Response for deleting network () 2025-08-20 18:34:22,181 - DEBUG - No XMPP flaps were noticed during the test
2025-08-20 18:34:22,181 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24]
2025-08-20 18:34:22,181 - INFO - -------------------------------------------------------------------------------- 2025-08-20 18:34:22,894 - INFO - Deleted project: ctest-TestRoutersBasic-91502470, ID : 82bbccb9-d51c-4905-93a4-e12137cfde89