2025-06-26 23:09:00,197 - INFO - Domain Default found not creating 2025-06-26 23:09:00,335 - INFO - Project ctest-TestRoutersBasic-78708684 not found, creating it 2025-06-26 23:09:00,784 - INFO - Created Project:ctest-TestRoutersBasic-78708684, ID : 0cc89988-da18-4c44-841d-a1156791dac0 2025-06-26 23:09:02,180 - INFO - ================================================================================ 2025-06-26 23:09:02,180 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-26 23:09:02,180 - 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-06-26 23:09:02,437 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-06-26 23:09:02,437 - INFO - Initial checks done. Running the testcase now 2025-06-26 23:09:02,437 - INFO - 2025-06-26 23:09:03,126 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-78708684 2025-06-26 23:09:03,222 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-78708684 2025-06-26 23:09:03,541 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78708684', 'default']} 2025-06-26 23:09:03,834 - DEBUG - Response for create_network : {'network': {'id': 'adfd4cec-e03e-4e73-a984-5d9d846409d2', 'name': 'ctest-vn-32269997', 'tenant_id': '0cc89988da184c44841da1156791dac0', 'project_id': '0cc89988da184c44841da1156791dac0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78708684', 'ctest-vn-32269997'], 'port_security_enabled': True, 'description': ''}} 2025-06-26 23:09:03,984 - DEBUG - Response for create_subnet : {'subnet': {'id': '48002e0c-ee2b-421f-be07-a3dfb8df7a1e', 'name': '', 'tenant_id': '0cc89988da184c44841da1156791dac0', 'network_id': 'adfd4cec-e03e-4e73-a984-5d9d846409d2', 'ip_version': 4, 'cidr': '142.17.87.64/26', 'allocation_pools': [{'start': '142.17.87.66', 'end': '142.17.87.126'}], 'gateway_ip': '142.17.87.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.17.87.66', 'tags': [], 'project_id': '0cc89988da184c44841da1156791dac0'}} 2025-06-26 23:09:04,003 - INFO - Created VN ctest-vn-32269997 2025-06-26 23:09:04,058 - DEBUG - VN ctest-vn-32269997 UUID is adfd4cec-e03e-4e73-a984-5d9d846409d2 2025-06-26 23:09:04,388 - DEBUG - Response for create_network : {'network': {'id': '32adb8ad-61b9-415d-a0b9-05df849d4c5c', 'name': 'ctest-ext_vn-84560605', 'tenant_id': '0cc89988da184c44841da1156791dac0', 'project_id': '0cc89988da184c44841da1156791dac0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78708684', 'ctest-ext_vn-84560605'], 'port_security_enabled': True, 'description': ''}} 2025-06-26 23:09:04,534 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cbf2c0d8-4181-4755-9603-77d3cafd2a78', 'name': '', 'tenant_id': '0cc89988da184c44841da1156791dac0', 'network_id': '32adb8ad-61b9-415d-a0b9-05df849d4c5c', 'ip_version': 4, 'cidr': '174.105.102.128/26', 'allocation_pools': [{'start': '174.105.102.130', 'end': '174.105.102.190'}], 'gateway_ip': '174.105.102.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.105.102.130', 'tags': [], 'project_id': '0cc89988da184c44841da1156791dac0'}} 2025-06-26 23:09:04,555 - INFO - Created VN ctest-ext_vn-84560605 2025-06-26 23:09:04,606 - DEBUG - VN ctest-ext_vn-84560605 UUID is 32adb8ad-61b9-415d-a0b9-05df849d4c5c 2025-06-26 23:09:04,801 - DEBUG - Services list from nova: [, , ] 2025-06-26 23:09:05,902 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3564-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3564-1) 2025-06-26 23:09:07,024 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3564-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3564-1) 2025-06-26 23:09:07,110 - INFO - Setting gateway for router ef712171-549e-495a-b132-9f03d286f52d to network 32adb8ad-61b9-415d-a0b9-05df849d4c5c 2025-06-26 23:09:07,175 - INFO - Adding interface with subnet_id 48002e0c-ee2b-421f-be07-a3dfb8df7a1e, port_id None to router ef712171-549e-495a-b132-9f03d286f52d 2025-06-26 23:09:07,702 - INFO - Waiting for VM ctest-TestRoutersBasic-78708684-45467216 to be up.. 2025-06-26 23:09:07,813 - DEBUG - VM is in ACTIVE state now 2025-06-26 23:09:07,813 - INFO - VM name : ctest-TestRoutersBasic-78708684-45467216 2025-06-26 23:09:07,917 - DEBUG - VM ctest-TestRoutersBasic-78708684-45467216 ID is e9f5caee-907b-44d9-85fb-e2178f492979 2025-06-26 23:09:07,939 - DEBUG - VM ctest-TestRoutersBasic-78708684-45467216 launched on Node cn-jenkins-deploy-platform-ansible-os-3564-1 2025-06-26 23:09:08,047 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e9f5caee-907b-44d9-85fb-e2178f492979 2025-06-26 23:09:08,343 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e9f5caee-907b-44d9-85fb-e2178f492979 2025-06-26 23:09:08,406 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/51a00ead-3289-4fe8-9d8e-e266fac74afa 2025-06-26 23:09:11,689 - 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 1028ms') 2025-06-26 23:09:11,689 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78708684-45467216 failed! 2025-06-26 23:09:11,746 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-78708684:ctest-vn-32269997 is 142.17.87.65 and allocation pool is NOT set 2025-06-26 23:09:15,817 - 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 1011ms') 2025-06-26 23:09:15,817 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78708684-45467216 failed! 2025-06-26 23:09:15,874 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-78708684:ctest-vn-32269997 is 142.17.87.65 and allocation pool is NOT set 2025-06-26 23:09:17,930 - 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=7.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.527 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.527/3.927/7.328/3.400 ms') 2025-06-26 23:09:17,930 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78708684-45467216 passed 2025-06-26 23:09:18,082 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 23:09:18,082 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78708684-45467216, IP 142.17.87.67, Port 22 2025-06-26 23:09:18,233 - DEBUG - VM ctest-TestRoutersBasic-78708684-45467216 is ready for SSH connections 2025-06-26 23:09:18,233 - INFO - Waiting for VM ctest-TestRoutersBasic-78708684-15000514 to be up.. 2025-06-26 23:09:18,305 - DEBUG - VM is in ACTIVE state now 2025-06-26 23:09:18,305 - INFO - VM name : ctest-TestRoutersBasic-78708684-15000514 2025-06-26 23:09:18,372 - DEBUG - VM ctest-TestRoutersBasic-78708684-15000514 ID is fec9b5af-f3ce-49aa-a902-e318ef61e391 2025-06-26 23:09:18,372 - DEBUG - VM ctest-TestRoutersBasic-78708684-15000514 launched on Node cn-jenkins-deploy-platform-ansible-os-3564-1 2025-06-26 23:09:18,444 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fec9b5af-f3ce-49aa-a902-e318ef61e391 2025-06-26 23:09:18,452 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/391ee332-7b43-4764-a90e-cafd22267465 2025-06-26 23:09:19,685 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.459 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.459/1.636/2.814/1.177 ms') 2025-06-26 23:09:19,685 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-78708684-15000514 passed 2025-06-26 23:09:19,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 23:09:19,834 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78708684-15000514, IP 174.105.102.131, Port 22 2025-06-26 23:09:19,986 - DEBUG - VM ctest-TestRoutersBasic-78708684-15000514 is ready for SSH connections 2025-06-26 23:09:19,986 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 23:09:19,986 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.105.102.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-26 23:09:19,986 - DEBUG - ping -s 56 -c 3 -W 1 174.105.102.131 2025-06-26 23:09:23,702 - DEBUG - PING 174.105.102.131 (174.105.102.131): 56 data bytes 64 bytes from 174.105.102.131: seq=0 ttl=62 time=4.855 ms 64 bytes from 174.105.102.131: seq=1 ttl=62 time=0.767 ms 64 bytes from 174.105.102.131: seq=2 ttl=62 time=1.028 ms --- 174.105.102.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.767/2.216/4.855 ms 2025-06-26 23:09:23,702 - INFO - Ping to IP 174.105.102.131 from VM ctest-TestRoutersBasic-78708684-45467216 passed 2025-06-26 23:09:23,702 - INFO - Deleting interface with subnet_id 48002e0c-ee2b-421f-be07-a3dfb8df7a1e, port_id None from router ef712171-549e-495a-b132-9f03d286f52d 2025-06-26 23:09:24,202 - INFO - Deleting VM ctest-TestRoutersBasic-78708684-15000514 2025-06-26 23:09:24,280 - INFO - Deleting VM ctest-TestRoutersBasic-78708684-45467216 2025-06-26 23:09:24,370 - INFO - Deleting VN ctest-ext_vn-84560605 2025-06-26 23:09:24,442 - DEBUG - VN 32adb8ad-61b9-415d-a0b9-05df849d4c5c still in use: Unable to complete operation on network 32adb8ad-61b9-415d-a0b9-05df849d4c5c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-16598957-1b50-4eb5-be7b-3bdbf90174a0'] 2025-06-26 23:09:24,443 - WARNING - Deleting VN ctest-ext_vn-84560605 failed..Will retry 2025-06-26 23:09:26,544 - DEBUG - Response for deleting network () 2025-06-26 23:09:26,544 - INFO - Deleting VN ctest-vn-32269997 2025-06-26 23:09:26,648 - DEBUG - Response for deleting network () 2025-06-26 23:09:26,908 - DEBUG - No XMPP flaps were noticed during the test 2025-06-26 23:09:26,908 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24] 2025-06-26 23:09:26,908 - INFO - -------------------------------------------------------------------------------- 2025-06-26 23:09:27,567 - INFO - Deleted project: ctest-TestRoutersBasic-78708684, ID : 0cc89988-da18-4c44-841d-a1156791dac0