2025-11-27 02:20:06,407 - INFO - Domain Default found not creating 2025-11-27 02:20:06,561 - INFO - Project ctest-TestRoutersBasic-30679957 not found, creating it 2025-11-27 02:20:07,096 - INFO - Created Project:ctest-TestRoutersBasic-30679957, ID : de000176-43e4-45f8-921a-0fe1dcea3ec8 2025-11-27 02:20:08,640 - INFO - ================================================================================ 2025-11-27 02:20:08,640 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-27 02:20:08,640 - 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-11-27 02:20:09,920 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.193': '0', '10.20.0.192': '0'}, '10.0.0.130': {'10.20.0.192': '0', '10.20.0.129': '0'}} with 2025-11-27 02:20:09,920 - INFO - Initial checks done. Running the testcase now 2025-11-27 02:20:09,920 - INFO - 2025-11-27 02:20:10,659 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-30679957 2025-11-27 02:20:10,716 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-30679957 2025-11-27 02:20:11,020 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30679957', 'default']} 2025-11-27 02:20:11,517 - DEBUG - Response for create_network : {'network': {'id': 'cf6a4a4a-a761-447f-9513-e39b66b60a31', 'name': 'ctest-vn-72893336', 'tenant_id': 'de00017643e445f8921a0fe1dcea3ec8', 'project_id': 'de00017643e445f8921a0fe1dcea3ec8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30679957', 'ctest-vn-72893336'], 'port_security_enabled': True, 'description': ''}} 2025-11-27 02:20:11,784 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f0e9b20-136b-4191-ba32-6dfc2ddff7e5', 'name': '', 'tenant_id': 'de00017643e445f8921a0fe1dcea3ec8', 'network_id': 'cf6a4a4a-a761-447f-9513-e39b66b60a31', 'ip_version': 4, 'cidr': '165.185.192.0/26', 'allocation_pools': [{'start': '165.185.192.2', 'end': '165.185.192.62'}], 'gateway_ip': '165.185.192.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.185.192.2', 'tags': [], 'project_id': 'de00017643e445f8921a0fe1dcea3ec8'}} 2025-11-27 02:20:11,809 - INFO - Created VN ctest-vn-72893336 2025-11-27 02:20:11,818 - DEBUG - VN ctest-vn-72893336 UUID is cf6a4a4a-a761-447f-9513-e39b66b60a31 2025-11-27 02:20:12,236 - DEBUG - Response for create_network : {'network': {'id': '39e4065f-9538-481c-a707-74f554580343', 'name': 'ctest-ext_vn-83621276', 'tenant_id': 'de00017643e445f8921a0fe1dcea3ec8', 'project_id': 'de00017643e445f8921a0fe1dcea3ec8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30679957', 'ctest-ext_vn-83621276'], 'port_security_enabled': True, 'description': ''}} 2025-11-27 02:20:12,455 - DEBUG - Response for create_subnet : {'subnet': {'id': '859267a9-ab11-4d45-aa63-345c4fc4cf11', 'name': '', 'tenant_id': 'de00017643e445f8921a0fe1dcea3ec8', 'network_id': '39e4065f-9538-481c-a707-74f554580343', 'ip_version': 4, 'cidr': '65.140.242.64/26', 'allocation_pools': [{'start': '65.140.242.66', 'end': '65.140.242.126'}], 'gateway_ip': '65.140.242.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.140.242.66', 'tags': [], 'project_id': 'de00017643e445f8921a0fe1dcea3ec8'}} 2025-11-27 02:20:12,476 - INFO - Created VN ctest-ext_vn-83621276 2025-11-27 02:20:12,486 - DEBUG - VN ctest-ext_vn-83621276 UUID is 39e4065f-9538-481c-a707-74f554580343 2025-11-27 02:20:12,633 - DEBUG - Services list from nova: [, , , ] 2025-11-27 02:20:13,758 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4820-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4820-2) 2025-11-27 02:20:15,111 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4820-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4820-1) 2025-11-27 02:20:15,222 - INFO - Setting gateway for router bb870d2b-b1b8-4392-88b4-92daaf46d5aa to network 39e4065f-9538-481c-a707-74f554580343 2025-11-27 02:20:15,286 - INFO - Adding interface with subnet_id 6f0e9b20-136b-4191-ba32-6dfc2ddff7e5, port_id None to router bb870d2b-b1b8-4392-88b4-92daaf46d5aa 2025-11-27 02:20:15,800 - INFO - Waiting for VM ctest-TestRoutersBasic-30679957-19728688 to be up.. 2025-11-27 02:20:15,979 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-27 02:20:21,084 - DEBUG - VM is in ACTIVE state now 2025-11-27 02:20:21,084 - INFO - VM name : ctest-TestRoutersBasic-30679957-19728688 2025-11-27 02:20:21,164 - DEBUG - VM ctest-TestRoutersBasic-30679957-19728688 ID is 65ae93d6-2795-41ff-b160-fbc3c282628e 2025-11-27 02:20:21,190 - DEBUG - VM ctest-TestRoutersBasic-30679957-19728688 launched on Node an-jenkins-deploy-platform-ansible-os-4820-2 2025-11-27 02:20:21,268 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/65ae93d6-2795-41ff-b160-fbc3c282628e 2025-11-27 02:20:21,566 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/65ae93d6-2795-41ff-b160-fbc3c282628e 2025-11-27 02:20:21,604 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/907efb60-972c-4baa-87b7-7bf9d7af3768 2025-11-27 02:20:24,778 - 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 1018ms') 2025-11-27 02:20:24,778 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30679957-19728688 failed! 2025-11-27 02:20:24,790 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-30679957:ctest-vn-72893336 is 165.185.192.1 and allocation pool is NOT set 2025-11-27 02:20:26,850 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.362 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.362/2.011/3.661/1.649 ms') 2025-11-27 02:20:26,851 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30679957-19728688 passed 2025-11-27 02:20:26,916 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:20:26,916 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30679957-19728688, IP 165.185.192.3, Port 22 2025-11-27 02:20:27,070 - DEBUG - VM ctest-TestRoutersBasic-30679957-19728688 is ready for SSH connections 2025-11-27 02:20:27,070 - INFO - Waiting for VM ctest-TestRoutersBasic-30679957-58433570 to be up.. 2025-11-27 02:20:27,151 - DEBUG - VM is in ACTIVE state now 2025-11-27 02:20:27,151 - INFO - VM name : ctest-TestRoutersBasic-30679957-58433570 2025-11-27 02:20:27,222 - DEBUG - VM ctest-TestRoutersBasic-30679957-58433570 ID is 4d8feb35-1e59-4ecf-ae84-94bb58a18b05 2025-11-27 02:20:27,222 - DEBUG - VM ctest-TestRoutersBasic-30679957-58433570 launched on Node an-jenkins-deploy-platform-ansible-os-4820-1 2025-11-27 02:20:27,291 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/4d8feb35-1e59-4ecf-ae84-94bb58a18b05 2025-11-27 02:20:27,316 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/841959f7-e519-4a77-9014-bd099bf756ed 2025-11-27 02:20:28,497 - 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.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.469 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.469/1.528/2.587/1.059 ms') 2025-11-27 02:20:28,497 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30679957-58433570 passed 2025-11-27 02:20:28,564 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:20:28,564 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30679957-58433570, IP 65.140.242.67, Port 22 2025-11-27 02:20:28,735 - DEBUG - VM ctest-TestRoutersBasic-30679957-58433570 is ready for SSH connections 2025-11-27 02:20:28,736 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:20:28,736 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.140.242.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-11-27 02:20:28,736 - DEBUG - ping -s 56 -c 3 -W 1 65.140.242.67 2025-11-27 02:20:32,373 - DEBUG - PING 65.140.242.67 (65.140.242.67): 56 data bytes 64 bytes from 65.140.242.67: seq=0 ttl=62 time=5.801 ms 64 bytes from 65.140.242.67: seq=1 ttl=62 time=1.325 ms 64 bytes from 65.140.242.67: seq=2 ttl=62 time=1.145 ms --- 65.140.242.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.145/2.757/5.801 ms 2025-11-27 02:20:32,374 - INFO - Ping to IP 65.140.242.67 from VM ctest-TestRoutersBasic-30679957-19728688 passed 2025-11-27 02:20:32,374 - INFO - Deleting interface with subnet_id 6f0e9b20-136b-4191-ba32-6dfc2ddff7e5, port_id None from router bb870d2b-b1b8-4392-88b4-92daaf46d5aa 2025-11-27 02:20:32,726 - INFO - Deleting VM ctest-TestRoutersBasic-30679957-58433570 2025-11-27 02:20:32,910 - INFO - Deleting VM ctest-TestRoutersBasic-30679957-19728688 2025-11-27 02:20:33,069 - INFO - Deleting VN ctest-ext_vn-83621276 2025-11-27 02:20:33,187 - DEBUG - VN 39e4065f-9538-481c-a707-74f554580343 still in use: Unable to complete operation on network 39e4065f-9538-481c-a707-74f554580343. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e1826282-2a26-44d9-ae20-52c90fc003e6'] 2025-11-27 02:20:33,187 - WARNING - Deleting VN ctest-ext_vn-83621276 failed..Will retry 2025-11-27 02:20:35,335 - DEBUG - Response for deleting network () 2025-11-27 02:20:35,336 - INFO - Deleting VN ctest-vn-72893336 2025-11-27 02:20:35,489 - DEBUG - Response for deleting network () 2025-11-27 02:20:36,763 - DEBUG - No XMPP flaps were noticed during the test 2025-11-27 02:20:36,763 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28] 2025-11-27 02:20:36,763 - INFO - -------------------------------------------------------------------------------- 2025-11-27 02:20:37,444 - INFO - Deleted project: ctest-TestRoutersBasic-30679957, ID : de000176-43e4-45f8-921a-0fe1dcea3ec8