2025-10-09 14:36:02,057 - INFO - Domain Default found not creating 2025-10-09 14:36:02,195 - INFO - Project ctest-TestRoutersBasic-97891965 not found, creating it 2025-10-09 14:36:02,626 - INFO - Created Project:ctest-TestRoutersBasic-97891965, ID : 8f80ee31-fffc-40ed-ad71-36646aec0226 2025-10-09 14:36:04,027 - INFO - ================================================================================ 2025-10-09 14:36:04,028 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-09 14:36:04,028 - 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-10-09 14:36:04,289 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-10-09 14:36:04,289 - INFO - Initial checks done. Running the testcase now 2025-10-09 14:36:04,289 - INFO - 2025-10-09 14:36:04,980 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-97891965 2025-10-09 14:36:05,076 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-97891965 2025-10-09 14:36:05,388 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97891965', 'default']} 2025-10-09 14:36:05,673 - DEBUG - Response for create_network : {'network': {'id': 'e5b4b5de-8c08-4078-b4e6-b387ac57b9af', 'name': 'ctest-vn-29910511', 'tenant_id': '8f80ee31fffc40edad7136646aec0226', 'project_id': '8f80ee31fffc40edad7136646aec0226', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97891965', 'ctest-vn-29910511'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 14:36:05,834 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d10fbed-e746-41b2-93ae-8a5ac7bce3f1', 'name': '', 'tenant_id': '8f80ee31fffc40edad7136646aec0226', 'network_id': 'e5b4b5de-8c08-4078-b4e6-b387ac57b9af', 'ip_version': 4, 'cidr': '85.55.16.0/26', 'allocation_pools': [{'start': '85.55.16.2', 'end': '85.55.16.62'}], 'gateway_ip': '85.55.16.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.55.16.2', 'tags': [], 'project_id': '8f80ee31fffc40edad7136646aec0226'}} 2025-10-09 14:36:05,851 - INFO - Created VN ctest-vn-29910511 2025-10-09 14:36:05,904 - DEBUG - VN ctest-vn-29910511 UUID is e5b4b5de-8c08-4078-b4e6-b387ac57b9af 2025-10-09 14:36:06,238 - DEBUG - Response for create_network : {'network': {'id': '3c87df03-97f9-4134-871f-e78efd7f662e', 'name': 'ctest-ext_vn-77259894', 'tenant_id': '8f80ee31fffc40edad7136646aec0226', 'project_id': '8f80ee31fffc40edad7136646aec0226', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97891965', 'ctest-ext_vn-77259894'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 14:36:06,439 - DEBUG - Response for create_subnet : {'subnet': {'id': '1949dc31-70c7-4d54-b022-f1aa7ebc62f6', 'name': '', 'tenant_id': '8f80ee31fffc40edad7136646aec0226', 'network_id': '3c87df03-97f9-4134-871f-e78efd7f662e', 'ip_version': 4, 'cidr': '215.150.214.192/26', 'allocation_pools': [{'start': '215.150.214.194', 'end': '215.150.214.254'}], 'gateway_ip': '215.150.214.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.150.214.194', 'tags': [], 'project_id': '8f80ee31fffc40edad7136646aec0226'}} 2025-10-09 14:36:06,457 - INFO - Created VN ctest-ext_vn-77259894 2025-10-09 14:36:06,508 - DEBUG - VN ctest-ext_vn-77259894 UUID is 3c87df03-97f9-4134-871f-e78efd7f662e 2025-10-09 14:36:06,711 - DEBUG - Services list from nova: [, , ] 2025-10-09 14:36:07,734 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4263-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4263-1) 2025-10-09 14:36:08,813 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4263-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4263-1) 2025-10-09 14:36:08,867 - INFO - Setting gateway for router 3d8849ef-b52c-4f8f-98e7-55595afc7acf to network 3c87df03-97f9-4134-871f-e78efd7f662e 2025-10-09 14:36:08,929 - INFO - Adding interface with subnet_id 3d10fbed-e746-41b2-93ae-8a5ac7bce3f1, port_id None to router 3d8849ef-b52c-4f8f-98e7-55595afc7acf 2025-10-09 14:36:09,216 - INFO - Waiting for VM ctest-TestRoutersBasic-97891965-81732731 to be up.. 2025-10-09 14:36:09,361 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 14:36:14,436 - DEBUG - VM is in ACTIVE state now 2025-10-09 14:36:14,436 - INFO - VM name : ctest-TestRoutersBasic-97891965-81732731 2025-10-09 14:36:14,503 - DEBUG - VM ctest-TestRoutersBasic-97891965-81732731 ID is ab8ac5a6-e1eb-4d6b-95d2-4facb4793912 2025-10-09 14:36:14,524 - DEBUG - VM ctest-TestRoutersBasic-97891965-81732731 launched on Node cn-jenkins-deploy-platform-ansible-os-4263-1 2025-10-09 14:36:14,595 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/ab8ac5a6-e1eb-4d6b-95d2-4facb4793912 2025-10-09 14:36:14,885 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/ab8ac5a6-e1eb-4d6b-95d2-4facb4793912 2025-10-09 14:36:14,915 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/f2ece00e-dcfc-4ed8-a3b1-5fcd07260355 2025-10-09 14:36:18,161 - 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-10-09 14:36:18,161 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97891965-81732731 failed! 2025-10-09 14:36:18,216 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-97891965:ctest-vn-29910511 is 85.55.16.1 and allocation pool is NOT set 2025-10-09 14:36:20,277 - 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=3.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.419 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.419/1.966/3.513/1.547 ms') 2025-10-09 14:36:20,277 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97891965-81732731 passed 2025-10-09 14:36:20,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:36:20,424 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97891965-81732731, IP 85.55.16.3, Port 22 2025-10-09 14:36:20,588 - DEBUG - VM ctest-TestRoutersBasic-97891965-81732731 is ready for SSH connections 2025-10-09 14:36:20,588 - INFO - Waiting for VM ctest-TestRoutersBasic-97891965-32261238 to be up.. 2025-10-09 14:36:20,658 - DEBUG - VM is in ACTIVE state now 2025-10-09 14:36:20,658 - INFO - VM name : ctest-TestRoutersBasic-97891965-32261238 2025-10-09 14:36:20,731 - DEBUG - VM ctest-TestRoutersBasic-97891965-32261238 ID is 332bfbf9-1e89-467e-8086-091a54a14be5 2025-10-09 14:36:20,732 - DEBUG - VM ctest-TestRoutersBasic-97891965-32261238 launched on Node cn-jenkins-deploy-platform-ansible-os-4263-1 2025-10-09 14:36:20,793 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/332bfbf9-1e89-467e-8086-091a54a14be5 2025-10-09 14:36:20,800 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/790121c3-76db-4c14-ac57-f300426feb27 2025-10-09 14:36:22,028 - 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=2.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.347 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.347/1.541/2.736/1.194 ms') 2025-10-09 14:36:22,028 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-97891965-32261238 passed 2025-10-09 14:36:22,176 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:36:22,176 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97891965-32261238, IP 215.150.214.195, Port 22 2025-10-09 14:36:22,339 - DEBUG - VM ctest-TestRoutersBasic-97891965-32261238 is ready for SSH connections 2025-10-09 14:36:22,339 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:36:22,339 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 215.150.214.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-09 14:36:22,339 - DEBUG - ping -s 56 -c 3 -W 1 215.150.214.195 2025-10-09 14:36:26,323 - DEBUG - PING 215.150.214.195 (215.150.214.195): 56 data bytes 64 bytes from 215.150.214.195: seq=0 ttl=62 time=4.274 ms 64 bytes from 215.150.214.195: seq=1 ttl=62 time=0.819 ms 64 bytes from 215.150.214.195: seq=2 ttl=62 time=1.013 ms --- 215.150.214.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.819/2.035/4.274 ms 2025-10-09 14:36:26,323 - INFO - Ping to IP 215.150.214.195 from VM ctest-TestRoutersBasic-97891965-81732731 passed 2025-10-09 14:36:26,323 - INFO - Deleting interface with subnet_id 3d10fbed-e746-41b2-93ae-8a5ac7bce3f1, port_id None from router 3d8849ef-b52c-4f8f-98e7-55595afc7acf 2025-10-09 14:36:26,571 - INFO - Deleting VM ctest-TestRoutersBasic-97891965-32261238 2025-10-09 14:36:26,630 - INFO - Deleting VM ctest-TestRoutersBasic-97891965-81732731 2025-10-09 14:36:26,701 - INFO - Deleting VN ctest-ext_vn-77259894 2025-10-09 14:36:26,764 - DEBUG - VN 3c87df03-97f9-4134-871f-e78efd7f662e still in use: Unable to complete operation on network 3c87df03-97f9-4134-871f-e78efd7f662e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-39ba92ce-3c77-4bd2-b44b-1646846d5c01'] 2025-10-09 14:36:26,764 - WARNING - Deleting VN ctest-ext_vn-77259894 failed..Will retry 2025-10-09 14:36:28,861 - DEBUG - Response for deleting network () 2025-10-09 14:36:28,861 - INFO - Deleting VN ctest-vn-29910511 2025-10-09 14:36:28,959 - DEBUG - Response for deleting network () 2025-10-09 14:36:29,212 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 14:36:29,212 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-09 14:36:29,212 - INFO - -------------------------------------------------------------------------------- 2025-10-09 14:36:29,875 - INFO - Deleted project: ctest-TestRoutersBasic-97891965, ID : 8f80ee31-fffc-40ed-ad71-36646aec0226