2025-07-22 15:57:36,577 - INFO - Domain Default found not creating 2025-07-22 15:57:36,730 - INFO - Project ctest-TestRoutersBasic-75747306 not found, creating it 2025-07-22 15:57:37,336 - INFO - Created Project:ctest-TestRoutersBasic-75747306, ID : 4f37cede-6139-4c9a-acaf-9c46d705ff7e 2025-07-22 15:57:38,800 - INFO - ================================================================================ 2025-07-22 15:57:38,800 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-22 15:57:38,800 - 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-07-22 15:57:40,064 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0', '10.20.0.17': '0'}, '10.0.0.27': {'10.20.0.14': '0', '10.20.0.254': '0'}} with 2025-07-22 15:57:40,064 - INFO - Initial checks done. Running the testcase now 2025-07-22 15:57:40,064 - INFO - 2025-07-22 15:57:40,786 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-75747306 2025-07-22 15:57:40,850 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-75747306 2025-07-22 15:57:41,168 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75747306', 'default']} 2025-07-22 15:57:41,631 - DEBUG - Response for create_network : {'network': {'id': '01657975-6135-43fb-9d67-5e64e9444c70', 'name': 'ctest-vn-14766963', 'tenant_id': '4f37cede61394c9aacaf9c46d705ff7e', 'project_id': '4f37cede61394c9aacaf9c46d705ff7e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75747306', 'ctest-vn-14766963'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 15:57:41,895 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b30da38a-9f3c-4ae7-a95a-d4e7b0aedb73', 'name': '', 'tenant_id': '4f37cede61394c9aacaf9c46d705ff7e', 'network_id': '01657975-6135-43fb-9d67-5e64e9444c70', 'ip_version': 4, 'cidr': '193.149.61.192/26', 'allocation_pools': [{'start': '193.149.61.194', 'end': '193.149.61.254'}], 'gateway_ip': '193.149.61.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.149.61.194', 'tags': [], 'project_id': '4f37cede61394c9aacaf9c46d705ff7e'}} 2025-07-22 15:57:41,917 - INFO - Created VN ctest-vn-14766963 2025-07-22 15:57:41,931 - DEBUG - VN ctest-vn-14766963 UUID is 01657975-6135-43fb-9d67-5e64e9444c70 2025-07-22 15:57:42,393 - DEBUG - Response for create_network : {'network': {'id': '0f53be49-0a34-4530-85ee-c94f2ebf02f5', 'name': 'ctest-ext_vn-33042953', 'tenant_id': '4f37cede61394c9aacaf9c46d705ff7e', 'project_id': '4f37cede61394c9aacaf9c46d705ff7e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75747306', 'ctest-ext_vn-33042953'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 15:57:42,687 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aacd8a42-86eb-4499-87c1-195d3e7ea107', 'name': '', 'tenant_id': '4f37cede61394c9aacaf9c46d705ff7e', 'network_id': '0f53be49-0a34-4530-85ee-c94f2ebf02f5', 'ip_version': 4, 'cidr': '187.192.186.64/26', 'allocation_pools': [{'start': '187.192.186.66', 'end': '187.192.186.126'}], 'gateway_ip': '187.192.186.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.192.186.66', 'tags': [], 'project_id': '4f37cede61394c9aacaf9c46d705ff7e'}} 2025-07-22 15:57:42,728 - INFO - Created VN ctest-ext_vn-33042953 2025-07-22 15:57:42,745 - DEBUG - VN ctest-ext_vn-33042953 UUID is 0f53be49-0a34-4530-85ee-c94f2ebf02f5 2025-07-22 15:57:42,941 - DEBUG - Services list from nova: [, , , ] 2025-07-22 15:57:44,160 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3693-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3693-2) 2025-07-22 15:57:45,593 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3693-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3693-1) 2025-07-22 15:57:45,701 - INFO - Setting gateway for router 85620193-2653-4cbc-9d60-5bd19b303882 to network 0f53be49-0a34-4530-85ee-c94f2ebf02f5 2025-07-22 15:57:45,816 - INFO - Adding interface with subnet_id b30da38a-9f3c-4ae7-a95a-d4e7b0aedb73, port_id None to router 85620193-2653-4cbc-9d60-5bd19b303882 2025-07-22 15:57:46,368 - INFO - Waiting for VM ctest-TestRoutersBasic-75747306-67619906 to be up.. 2025-07-22 15:57:46,535 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-22 15:57:51,612 - DEBUG - VM is in ACTIVE state now 2025-07-22 15:57:51,612 - INFO - VM name : ctest-TestRoutersBasic-75747306-67619906 2025-07-22 15:57:51,693 - DEBUG - VM ctest-TestRoutersBasic-75747306-67619906 ID is 6e994a27-ec35-4986-bab2-76db5c1c6b32 2025-07-22 15:57:51,718 - DEBUG - VM ctest-TestRoutersBasic-75747306-67619906 launched on Node an-jenkins-deploy-platform-ansible-os-3693-2 2025-07-22 15:57:51,802 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/6e994a27-ec35-4986-bab2-76db5c1c6b32 2025-07-22 15:57:52,097 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/6e994a27-ec35-4986-bab2-76db5c1c6b32 2025-07-22 15:57:52,133 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/89403893-2742-4fb1-abe5-263c8ec9229b 2025-07-22 15:57:55,363 - 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 1008ms') 2025-07-22 15:57:55,363 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75747306-67619906 failed! 2025-07-22 15:57:55,379 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-75747306:ctest-vn-14766963 is 193.149.61.193 and allocation pool is NOT set 2025-07-22 15:57:57,446 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.417 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.417/1.572/2.728/1.155 ms') 2025-07-22 15:57:57,446 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75747306-67619906 passed 2025-07-22 15:57:57,565 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 15:57:57,566 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75747306-67619906, IP 193.149.61.195, Port 22 2025-07-22 15:57:57,721 - DEBUG - VM ctest-TestRoutersBasic-75747306-67619906 is ready for SSH connections 2025-07-22 15:57:57,721 - INFO - Waiting for VM ctest-TestRoutersBasic-75747306-47456880 to be up.. 2025-07-22 15:57:57,808 - DEBUG - VM is in ACTIVE state now 2025-07-22 15:57:57,808 - INFO - VM name : ctest-TestRoutersBasic-75747306-47456880 2025-07-22 15:57:57,904 - DEBUG - VM ctest-TestRoutersBasic-75747306-47456880 ID is a32f7b63-8fdc-41af-a47f-3ec442ca47ff 2025-07-22 15:57:57,904 - DEBUG - VM ctest-TestRoutersBasic-75747306-47456880 launched on Node an-jenkins-deploy-platform-ansible-os-3693-1 2025-07-22 15:57:57,990 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/a32f7b63-8fdc-41af-a47f-3ec442ca47ff 2025-07-22 15:57:58,004 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/309119a6-d458-435c-8d80-536a3868c092 2025-07-22 15:57:59,216 - 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=4.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.839 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.839/2.433/4.027/1.594 ms') 2025-07-22 15:57:59,216 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75747306-47456880 passed 2025-07-22 15:57:59,335 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 15:57:59,335 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75747306-47456880, IP 187.192.186.67, Port 22 2025-07-22 15:57:59,492 - DEBUG - VM ctest-TestRoutersBasic-75747306-47456880 is ready for SSH connections 2025-07-22 15:57:59,492 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 15:57:59,492 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.192.186.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-07-22 15:57:59,492 - DEBUG - ping -s 56 -c 3 -W 1 187.192.186.67 2025-07-22 15:58:03,484 - DEBUG - PING 187.192.186.67 (187.192.186.67): 56 data bytes 64 bytes from 187.192.186.67: seq=0 ttl=62 time=11.563 ms 64 bytes from 187.192.186.67: seq=1 ttl=62 time=1.199 ms 64 bytes from 187.192.186.67: seq=2 ttl=62 time=1.140 ms --- 187.192.186.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.140/4.634/11.563 ms 2025-07-22 15:58:03,484 - INFO - Ping to IP 187.192.186.67 from VM ctest-TestRoutersBasic-75747306-67619906 passed 2025-07-22 15:58:03,484 - INFO - Deleting interface with subnet_id b30da38a-9f3c-4ae7-a95a-d4e7b0aedb73, port_id None from router 85620193-2653-4cbc-9d60-5bd19b303882 2025-07-22 15:58:03,907 - INFO - Deleting VM ctest-TestRoutersBasic-75747306-47456880 2025-07-22 15:58:04,000 - INFO - Deleting VM ctest-TestRoutersBasic-75747306-67619906 2025-07-22 15:58:04,158 - INFO - Deleting VN ctest-ext_vn-33042953 2025-07-22 15:58:04,289 - DEBUG - VN 0f53be49-0a34-4530-85ee-c94f2ebf02f5 still in use: Unable to complete operation on network 0f53be49-0a34-4530-85ee-c94f2ebf02f5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d05b8bcd-98e8-4429-bf07-33dd44530adb'] 2025-07-22 15:58:04,289 - WARNING - Deleting VN ctest-ext_vn-33042953 failed..Will retry 2025-07-22 15:58:06,467 - DEBUG - Response for deleting network () 2025-07-22 15:58:06,467 - INFO - Deleting VN ctest-vn-14766963 2025-07-22 15:58:06,671 - DEBUG - Response for deleting network () 2025-07-22 15:58:07,950 - DEBUG - No XMPP flaps were noticed during the test 2025-07-22 15:58:07,950 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29] 2025-07-22 15:58:07,950 - INFO - -------------------------------------------------------------------------------- 2025-07-22 15:58:08,720 - INFO - Deleted project: ctest-TestRoutersBasic-75747306, ID : 4f37cede-6139-4c9a-acaf-9c46d705ff7e