2025-12-06 02:04:45,463 - INFO - Domain Default found not creating 2025-12-06 02:04:45,820 - INFO - Project ctest-TestRoutersBasic-72882114 not found, creating it 2025-12-06 02:04:46,311 - INFO - Created Project:ctest-TestRoutersBasic-72882114, ID : ce7ba9ae-5ab3-49ad-a68e-6d29e17ee3c5 2025-12-06 02:04:48,121 - INFO - ================================================================================ 2025-12-06 02:04:48,122 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-06 02:04:48,122 - 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-12-06 02:04:48,438 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-06 02:04:48,439 - INFO - Initial checks done. Running the testcase now 2025-12-06 02:04:48,439 - INFO - 2025-12-06 02:04:49,384 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-72882114 2025-12-06 02:04:49,483 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-72882114 2025-12-06 02:04:49,879 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72882114', 'default']} 2025-12-06 02:04:50,218 - DEBUG - Response for create_network : {'network': {'id': 'bf2321c5-5180-4b24-9629-db4bfdfda83d', 'name': 'ctest-vn-53554122', 'tenant_id': 'ce7ba9ae5ab349ada68e6d29e17ee3c5', 'project_id': 'ce7ba9ae5ab349ada68e6d29e17ee3c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72882114', 'ctest-vn-53554122'], 'port_security_enabled': True, 'description': ''}} 2025-12-06 02:04:50,422 - DEBUG - Response for create_subnet : {'subnet': {'id': '6dbab37c-823a-4852-b72d-04ef05b8db73', 'name': '', 'tenant_id': 'ce7ba9ae5ab349ada68e6d29e17ee3c5', 'network_id': 'bf2321c5-5180-4b24-9629-db4bfdfda83d', 'ip_version': 4, 'cidr': '114.212.156.128/26', 'allocation_pools': [{'start': '114.212.156.130', 'end': '114.212.156.190'}], 'gateway_ip': '114.212.156.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.212.156.130', 'tags': [], 'project_id': 'ce7ba9ae5ab349ada68e6d29e17ee3c5'}} 2025-12-06 02:04:50,440 - INFO - Created VN ctest-vn-53554122 2025-12-06 02:04:50,496 - DEBUG - VN ctest-vn-53554122 UUID is bf2321c5-5180-4b24-9629-db4bfdfda83d 2025-12-06 02:04:50,939 - DEBUG - Response for create_network : {'network': {'id': '0d1990a9-0182-4869-84dd-c36065e4429c', 'name': 'ctest-ext_vn-52454136', 'tenant_id': 'ce7ba9ae5ab349ada68e6d29e17ee3c5', 'project_id': 'ce7ba9ae5ab349ada68e6d29e17ee3c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72882114', 'ctest-ext_vn-52454136'], 'port_security_enabled': True, 'description': ''}} 2025-12-06 02:04:51,187 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b55f1ff-5cc4-43ba-9633-0515ed5d1f3d', 'name': '', 'tenant_id': 'ce7ba9ae5ab349ada68e6d29e17ee3c5', 'network_id': '0d1990a9-0182-4869-84dd-c36065e4429c', 'ip_version': 4, 'cidr': '132.71.119.192/26', 'allocation_pools': [{'start': '132.71.119.194', 'end': '132.71.119.254'}], 'gateway_ip': '132.71.119.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.71.119.194', 'tags': [], 'project_id': 'ce7ba9ae5ab349ada68e6d29e17ee3c5'}} 2025-12-06 02:04:51,211 - INFO - Created VN ctest-ext_vn-52454136 2025-12-06 02:04:51,264 - DEBUG - VN ctest-ext_vn-52454136 UUID is 0d1990a9-0182-4869-84dd-c36065e4429c 2025-12-06 02:04:51,487 - DEBUG - Services list from nova: [, , ] 2025-12-06 02:04:52,845 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4849-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4849-1) 2025-12-06 02:04:54,308 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4849-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4849-1) 2025-12-06 02:04:54,405 - INFO - Setting gateway for router 7b507757-6a93-479b-becd-28c198c6f9d6 to network 0d1990a9-0182-4869-84dd-c36065e4429c 2025-12-06 02:04:54,476 - INFO - Adding interface with subnet_id 6dbab37c-823a-4852-b72d-04ef05b8db73, port_id None to router 7b507757-6a93-479b-becd-28c198c6f9d6 2025-12-06 02:04:54,848 - INFO - Waiting for VM ctest-TestRoutersBasic-72882114-94843800 to be up.. 2025-12-06 02:04:55,071 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-06 02:05:00,219 - DEBUG - VM is in ACTIVE state now 2025-12-06 02:05:00,219 - INFO - VM name : ctest-TestRoutersBasic-72882114-94843800 2025-12-06 02:05:00,315 - DEBUG - VM ctest-TestRoutersBasic-72882114-94843800 ID is 798cb11c-0efc-4700-9506-4bef9e20783c 2025-12-06 02:05:00,341 - DEBUG - VM ctest-TestRoutersBasic-72882114-94843800 launched on Node cn-jenkins-deploy-platform-ansible-os-4849-1 2025-12-06 02:05:00,455 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/798cb11c-0efc-4700-9506-4bef9e20783c 2025-12-06 02:05:00,762 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/798cb11c-0efc-4700-9506-4bef9e20783c 2025-12-06 02:05:00,805 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/86e465b0-9863-48b6-b436-4121aa7eb9bc 2025-12-06 02:05:04,064 - 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 1013ms') 2025-12-06 02:05:04,065 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72882114-94843800 failed! 2025-12-06 02:05:04,136 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-72882114:ctest-vn-53554122 is 114.212.156.129 and allocation pool is NOT set 2025-12-06 02:05:06,206 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.995 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 = 0.995/1.803/2.612/0.808 ms') 2025-12-06 02:05:06,207 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72882114-94843800 passed 2025-12-06 02:05:06,372 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-06 02:05:06,372 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72882114-94843800, IP 114.212.156.131, Port 22 2025-12-06 02:05:06,558 - DEBUG - VM ctest-TestRoutersBasic-72882114-94843800 is ready for SSH connections 2025-12-06 02:05:06,558 - INFO - Waiting for VM ctest-TestRoutersBasic-72882114-52419864 to be up.. 2025-12-06 02:05:06,764 - DEBUG - VM is in ACTIVE state now 2025-12-06 02:05:06,765 - INFO - VM name : ctest-TestRoutersBasic-72882114-52419864 2025-12-06 02:05:06,890 - DEBUG - VM ctest-TestRoutersBasic-72882114-52419864 ID is e5d8ccb2-dfa0-4511-8206-38a63e3c51d4 2025-12-06 02:05:06,890 - DEBUG - VM ctest-TestRoutersBasic-72882114-52419864 launched on Node cn-jenkins-deploy-platform-ansible-os-4849-1 2025-12-06 02:05:07,022 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e5d8ccb2-dfa0-4511-8206-38a63e3c51d4 2025-12-06 02:05:07,034 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/70142a3f-0fc0-4c3b-a1f0-4b17d508a95e 2025-12-06 02:05:08,313 - 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=3.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.994 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.994/2.376/3.758/1.382 ms') 2025-12-06 02:05:08,313 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-72882114-52419864 passed 2025-12-06 02:05:08,484 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-06 02:05:08,484 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72882114-52419864, IP 132.71.119.195, Port 22 2025-12-06 02:05:08,677 - DEBUG - VM ctest-TestRoutersBasic-72882114-52419864 is ready for SSH connections 2025-12-06 02:05:08,678 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-06 02:05:08,678 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.71.119.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-06 02:05:08,678 - DEBUG - ping -s 56 -c 3 -W 1 132.71.119.195 2025-12-06 02:05:12,798 - DEBUG - PING 132.71.119.195 (132.71.119.195): 56 data bytes 64 bytes from 132.71.119.195: seq=0 ttl=62 time=6.511 ms 64 bytes from 132.71.119.195: seq=1 ttl=62 time=2.843 ms 64 bytes from 132.71.119.195: seq=2 ttl=62 time=1.867 ms --- 132.71.119.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.867/3.740/6.511 ms 2025-12-06 02:05:12,798 - INFO - Ping to IP 132.71.119.195 from VM ctest-TestRoutersBasic-72882114-94843800 passed 2025-12-06 02:05:12,798 - INFO - Deleting interface with subnet_id 6dbab37c-823a-4852-b72d-04ef05b8db73, port_id None from router 7b507757-6a93-479b-becd-28c198c6f9d6 2025-12-06 02:05:13,069 - INFO - Deleting VM ctest-TestRoutersBasic-72882114-52419864 2025-12-06 02:05:13,149 - INFO - Deleting VM ctest-TestRoutersBasic-72882114-94843800 2025-12-06 02:05:13,258 - INFO - Deleting VN ctest-ext_vn-52454136 2025-12-06 02:05:13,343 - DEBUG - VN 0d1990a9-0182-4869-84dd-c36065e4429c still in use: Unable to complete operation on network 0d1990a9-0182-4869-84dd-c36065e4429c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-62eadbe1-d5f3-43c4-9be3-b6ac5ae591e0'] 2025-12-06 02:05:13,343 - WARNING - Deleting VN ctest-ext_vn-52454136 failed..Will retry 2025-12-06 02:05:15,542 - DEBUG - Response for deleting network () 2025-12-06 02:05:15,542 - INFO - Deleting VN ctest-vn-53554122 2025-12-06 02:05:15,668 - DEBUG - Response for deleting network () 2025-12-06 02:05:15,962 - DEBUG - No XMPP flaps were noticed during the test 2025-12-06 02:05:15,963 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2025-12-06 02:05:15,963 - INFO - -------------------------------------------------------------------------------- 2025-12-06 02:05:16,818 - INFO - Deleted project: ctest-TestRoutersBasic-72882114, ID : ce7ba9ae-5ab3-49ad-a68e-6d29e17ee3c5