2025-09-25 22:21:18,296 - INFO - Domain Default found not creating 2025-09-25 22:21:18,428 - INFO - Project ctest-TestRoutersBasic-05969356 not found, creating it 2025-09-25 22:21:18,855 - INFO - Created Project:ctest-TestRoutersBasic-05969356, ID : 7fbb574f-c73d-4343-a1bb-fe6b15492207 2025-09-25 22:21:20,173 - INFO - ================================================================================ 2025-09-25 22:21:20,173 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-25 22:21:20,173 - 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-09-25 22:21:20,428 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-25 22:21:20,428 - INFO - Initial checks done. Running the testcase now 2025-09-25 22:21:20,428 - INFO - 2025-09-25 22:21:21,096 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-05969356 2025-09-25 22:21:21,191 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-05969356 2025-09-25 22:21:21,507 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05969356', 'default']} 2025-09-25 22:21:21,785 - DEBUG - Response for create_network : {'network': {'id': '3a6b98f5-0efe-4e98-a061-e161434753ce', 'name': 'ctest-vn-16639140', 'tenant_id': '7fbb574fc73d4343a1bbfe6b15492207', 'project_id': '7fbb574fc73d4343a1bbfe6b15492207', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05969356', 'ctest-vn-16639140'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 22:21:21,990 - DEBUG - Response for create_subnet : {'subnet': {'id': '0fff9e92-cb10-47d6-99f2-51218064c91f', 'name': '', 'tenant_id': '7fbb574fc73d4343a1bbfe6b15492207', 'network_id': '3a6b98f5-0efe-4e98-a061-e161434753ce', 'ip_version': 4, 'cidr': '195.112.138.64/26', 'allocation_pools': [{'start': '195.112.138.66', 'end': '195.112.138.126'}], 'gateway_ip': '195.112.138.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.112.138.66', 'tags': [], 'project_id': '7fbb574fc73d4343a1bbfe6b15492207'}} 2025-09-25 22:21:22,005 - INFO - Created VN ctest-vn-16639140 2025-09-25 22:21:22,055 - DEBUG - VN ctest-vn-16639140 UUID is 3a6b98f5-0efe-4e98-a061-e161434753ce 2025-09-25 22:21:22,372 - DEBUG - Response for create_network : {'network': {'id': '1046644b-fe3b-4443-8a70-5f2f4fa42267', 'name': 'ctest-ext_vn-42538191', 'tenant_id': '7fbb574fc73d4343a1bbfe6b15492207', 'project_id': '7fbb574fc73d4343a1bbfe6b15492207', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05969356', 'ctest-ext_vn-42538191'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 22:21:22,534 - DEBUG - Response for create_subnet : {'subnet': {'id': '05a72d3d-22bc-4693-a32b-69cd9ca846da', 'name': '', 'tenant_id': '7fbb574fc73d4343a1bbfe6b15492207', 'network_id': '1046644b-fe3b-4443-8a70-5f2f4fa42267', 'ip_version': 4, 'cidr': '144.95.47.192/26', 'allocation_pools': [{'start': '144.95.47.194', 'end': '144.95.47.254'}], 'gateway_ip': '144.95.47.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.95.47.194', 'tags': [], 'project_id': '7fbb574fc73d4343a1bbfe6b15492207'}} 2025-09-25 22:21:22,549 - INFO - Created VN ctest-ext_vn-42538191 2025-09-25 22:21:22,599 - DEBUG - VN ctest-ext_vn-42538191 UUID is 1046644b-fe3b-4443-8a70-5f2f4fa42267 2025-09-25 22:21:22,784 - DEBUG - Services list from nova: [, , ] 2025-09-25 22:21:23,753 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4195-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4195-1) 2025-09-25 22:21:24,792 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4195-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4195-1) 2025-09-25 22:21:24,860 - INFO - Setting gateway for router 50a97398-821e-4db1-aa36-ebf817bff5d7 to network 1046644b-fe3b-4443-8a70-5f2f4fa42267 2025-09-25 22:21:24,911 - INFO - Adding interface with subnet_id 0fff9e92-cb10-47d6-99f2-51218064c91f, port_id None to router 50a97398-821e-4db1-aa36-ebf817bff5d7 2025-09-25 22:21:25,222 - INFO - Waiting for VM ctest-TestRoutersBasic-05969356-98627697 to be up.. 2025-09-25 22:21:25,350 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-25 22:21:30,415 - DEBUG - VM is in ACTIVE state now 2025-09-25 22:21:30,415 - INFO - VM name : ctest-TestRoutersBasic-05969356-98627697 2025-09-25 22:21:30,484 - DEBUG - VM ctest-TestRoutersBasic-05969356-98627697 ID is 6b140526-1db5-4118-b486-075ad91b15a3 2025-09-25 22:21:30,501 - DEBUG - VM ctest-TestRoutersBasic-05969356-98627697 launched on Node cn-jenkins-deploy-platform-ansible-os-4195-1 2025-09-25 22:21:30,564 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6b140526-1db5-4118-b486-075ad91b15a3 2025-09-25 22:21:30,889 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6b140526-1db5-4118-b486-075ad91b15a3 2025-09-25 22:21:30,924 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/13d33a60-5b25-47c7-bdda-353eb73f82d9 2025-09-25 22:21:34,182 - 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 1019ms') 2025-09-25 22:21:34,182 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05969356-98627697 failed! 2025-09-25 22:21:34,239 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-05969356:ctest-vn-16639140 is 195.112.138.65 and allocation pool is NOT set 2025-09-25 22:21:36,300 - 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=2.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.694 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.694/1.794/2.894/1.100 ms') 2025-09-25 22:21:36,300 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05969356-98627697 passed 2025-09-25 22:21:36,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 22:21:36,447 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05969356-98627697, IP 195.112.138.67, Port 22 2025-09-25 22:21:36,607 - DEBUG - VM ctest-TestRoutersBasic-05969356-98627697 is ready for SSH connections 2025-09-25 22:21:36,607 - INFO - Waiting for VM ctest-TestRoutersBasic-05969356-31770304 to be up.. 2025-09-25 22:21:36,673 - DEBUG - VM is in ACTIVE state now 2025-09-25 22:21:36,673 - INFO - VM name : ctest-TestRoutersBasic-05969356-31770304 2025-09-25 22:21:36,747 - DEBUG - VM ctest-TestRoutersBasic-05969356-31770304 ID is 3111a71b-7eda-41f7-86a7-9cde3f809d67 2025-09-25 22:21:36,747 - DEBUG - VM ctest-TestRoutersBasic-05969356-31770304 launched on Node cn-jenkins-deploy-platform-ansible-os-4195-1 2025-09-25 22:21:36,810 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3111a71b-7eda-41f7-86a7-9cde3f809d67 2025-09-25 22:21:36,818 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/918cd433-8be4-45ca-8f90-065b19007d56 2025-09-25 22:21:38,045 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.390 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.390/1.534/2.678/1.144 ms') 2025-09-25 22:21:38,045 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-05969356-31770304 passed 2025-09-25 22:21:38,191 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 22:21:38,191 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05969356-31770304, IP 144.95.47.195, Port 22 2025-09-25 22:21:38,343 - DEBUG - VM ctest-TestRoutersBasic-05969356-31770304 is ready for SSH connections 2025-09-25 22:21:38,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 22:21:38,343 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.95.47.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-25 22:21:38,343 - DEBUG - ping -s 56 -c 3 -W 1 144.95.47.195 2025-09-25 22:21:42,023 - DEBUG - PING 144.95.47.195 (144.95.47.195): 56 data bytes 64 bytes from 144.95.47.195: seq=0 ttl=62 time=5.278 ms 64 bytes from 144.95.47.195: seq=1 ttl=62 time=0.725 ms 64 bytes from 144.95.47.195: seq=2 ttl=62 time=0.808 ms --- 144.95.47.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.725/2.270/5.278 ms 2025-09-25 22:21:42,023 - INFO - Ping to IP 144.95.47.195 from VM ctest-TestRoutersBasic-05969356-98627697 passed 2025-09-25 22:21:42,023 - INFO - Deleting interface with subnet_id 0fff9e92-cb10-47d6-99f2-51218064c91f, port_id None from router 50a97398-821e-4db1-aa36-ebf817bff5d7 2025-09-25 22:21:42,204 - INFO - Deleting VM ctest-TestRoutersBasic-05969356-31770304 2025-09-25 22:21:42,272 - INFO - Deleting VM ctest-TestRoutersBasic-05969356-98627697 2025-09-25 22:21:42,349 - INFO - Deleting VN ctest-ext_vn-42538191 2025-09-25 22:21:42,419 - DEBUG - VN 1046644b-fe3b-4443-8a70-5f2f4fa42267 still in use: Unable to complete operation on network 1046644b-fe3b-4443-8a70-5f2f4fa42267. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-508540c0-b770-4ec6-a8f5-e912cc5743bd'] 2025-09-25 22:21:42,419 - WARNING - Deleting VN ctest-ext_vn-42538191 failed..Will retry 2025-09-25 22:21:44,506 - DEBUG - Response for deleting network () 2025-09-25 22:21:44,506 - INFO - Deleting VN ctest-vn-16639140 2025-09-25 22:21:44,594 - DEBUG - Response for deleting network () 2025-09-25 22:21:44,851 - DEBUG - No XMPP flaps were noticed during the test 2025-09-25 22:21:44,851 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24] 2025-09-25 22:21:44,851 - INFO - -------------------------------------------------------------------------------- 2025-09-25 22:21:45,502 - INFO - Deleted project: ctest-TestRoutersBasic-05969356, ID : 7fbb574f-c73d-4343-a1bb-fe6b15492207