2025-12-04 02:35:34,945 - INFO - Domain Default found not creating 2025-12-04 02:35:35,139 - INFO - Project ctest-TestRoutersBasic-90220224 not found, creating it 2025-12-04 02:35:35,678 - INFO - Created Project:ctest-TestRoutersBasic-90220224, ID : 5e0a3541-6283-4a7d-883c-47ace375a4b1 2025-12-04 02:35:37,292 - INFO - ================================================================================ 2025-12-04 02:35:37,292 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-04 02:35:37,293 - 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-04 02:35:38,553 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.209': '0', '10.20.0.254': '0'}, '10.0.0.130': {'10.20.0.192': '0', '10.20.0.209': '0'}} with 2025-12-04 02:35:38,553 - INFO - Initial checks done. Running the testcase now 2025-12-04 02:35:38,553 - INFO - 2025-12-04 02:35:39,335 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-90220224 2025-12-04 02:35:39,390 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-90220224 2025-12-04 02:35:39,693 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90220224', 'default']} 2025-12-04 02:35:40,131 - DEBUG - Response for create_network : {'network': {'id': '040adc02-377c-4c7f-91e1-fd86735df94b', 'name': 'ctest-vn-95064050', 'tenant_id': '5e0a354162834a7d883c47ace375a4b1', 'project_id': '5e0a354162834a7d883c47ace375a4b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90220224', 'ctest-vn-95064050'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 02:35:40,433 - DEBUG - Response for create_subnet : {'subnet': {'id': '411223bd-e7b6-48d6-95be-6d8bcb440273', 'name': '', 'tenant_id': '5e0a354162834a7d883c47ace375a4b1', 'network_id': '040adc02-377c-4c7f-91e1-fd86735df94b', 'ip_version': 4, 'cidr': '173.141.251.128/26', 'allocation_pools': [{'start': '173.141.251.130', 'end': '173.141.251.190'}], 'gateway_ip': '173.141.251.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.141.251.130', 'tags': [], 'project_id': '5e0a354162834a7d883c47ace375a4b1'}} 2025-12-04 02:35:40,460 - INFO - Created VN ctest-vn-95064050 2025-12-04 02:35:40,472 - DEBUG - VN ctest-vn-95064050 UUID is 040adc02-377c-4c7f-91e1-fd86735df94b 2025-12-04 02:35:40,931 - DEBUG - Response for create_network : {'network': {'id': '17db98c3-4b09-4d05-bda1-c50bb7e7723d', 'name': 'ctest-ext_vn-97919805', 'tenant_id': '5e0a354162834a7d883c47ace375a4b1', 'project_id': '5e0a354162834a7d883c47ace375a4b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90220224', 'ctest-ext_vn-97919805'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 02:35:41,233 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e1b0964-80c1-4e35-bc9a-5d3d03128cc5', 'name': '', 'tenant_id': '5e0a354162834a7d883c47ace375a4b1', 'network_id': '17db98c3-4b09-4d05-bda1-c50bb7e7723d', 'ip_version': 4, 'cidr': '2.9.161.0/26', 'allocation_pools': [{'start': '2.9.161.2', 'end': '2.9.161.62'}], 'gateway_ip': '2.9.161.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.9.161.2', 'tags': [], 'project_id': '5e0a354162834a7d883c47ace375a4b1'}} 2025-12-04 02:35:41,256 - INFO - Created VN ctest-ext_vn-97919805 2025-12-04 02:35:41,270 - DEBUG - VN ctest-ext_vn-97919805 UUID is 17db98c3-4b09-4d05-bda1-c50bb7e7723d 2025-12-04 02:35:41,443 - DEBUG - Services list from nova: [, , , ] 2025-12-04 02:35:42,576 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4840-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4840-1) 2025-12-04 02:35:44,061 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4840-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4840-2) 2025-12-04 02:35:44,219 - INFO - Setting gateway for router faa6f4f2-1e07-4324-92a9-6c44a9d09b2f to network 17db98c3-4b09-4d05-bda1-c50bb7e7723d 2025-12-04 02:35:44,332 - INFO - Adding interface with subnet_id 411223bd-e7b6-48d6-95be-6d8bcb440273, port_id None to router faa6f4f2-1e07-4324-92a9-6c44a9d09b2f 2025-12-04 02:35:44,841 - INFO - Waiting for VM ctest-TestRoutersBasic-90220224-40812981 to be up.. 2025-12-04 02:35:45,083 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-04 02:35:50,177 - DEBUG - VM is in ACTIVE state now 2025-12-04 02:35:50,177 - INFO - VM name : ctest-TestRoutersBasic-90220224-40812981 2025-12-04 02:35:50,292 - DEBUG - VM ctest-TestRoutersBasic-90220224-40812981 ID is 36521c4d-cb82-4e2f-bb6c-ebf307b96630 2025-12-04 02:35:50,323 - DEBUG - VM ctest-TestRoutersBasic-90220224-40812981 launched on Node an-jenkins-deploy-platform-ansible-os-4840-1 2025-12-04 02:35:50,425 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/36521c4d-cb82-4e2f-bb6c-ebf307b96630 2025-12-04 02:35:50,725 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/36521c4d-cb82-4e2f-bb6c-ebf307b96630 2025-12-04 02:35:50,763 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/99b0892a-43aa-4959-9ff9-845cd2cef53e 2025-12-04 02:35:53,959 - 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 1027ms') 2025-12-04 02:35:53,959 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90220224-40812981 failed! 2025-12-04 02:35:53,975 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-90220224:ctest-vn-95064050 is 173.141.251.129 and allocation pool is NOT set 2025-12-04 02:35:56,037 - 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=5.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.651 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.651/2.988/5.326/2.337 ms') 2025-12-04 02:35:56,037 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90220224-40812981 passed 2025-12-04 02:35:56,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:35:56,110 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90220224-40812981, IP 173.141.251.131, Port 22 2025-12-04 02:35:56,268 - DEBUG - VM ctest-TestRoutersBasic-90220224-40812981 is ready for SSH connections 2025-12-04 02:35:56,268 - INFO - Waiting for VM ctest-TestRoutersBasic-90220224-94840726 to be up.. 2025-12-04 02:35:56,372 - DEBUG - VM is in ACTIVE state now 2025-12-04 02:35:56,372 - INFO - VM name : ctest-TestRoutersBasic-90220224-94840726 2025-12-04 02:35:56,475 - DEBUG - VM ctest-TestRoutersBasic-90220224-94840726 ID is dd672b4a-d650-48a1-9b76-231a9186a058 2025-12-04 02:35:56,475 - DEBUG - VM ctest-TestRoutersBasic-90220224-94840726 launched on Node an-jenkins-deploy-platform-ansible-os-4840-2 2025-12-04 02:35:56,575 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/dd672b4a-d650-48a1-9b76-231a9186a058 2025-12-04 02:35:56,585 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/5faab594-03a1-417a-bb84-5e50c2d84fa9 2025-12-04 02:35:57,773 - 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=9.00 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 1001ms\r\nrtt min/avg/max/mdev = 0.362/4.680/8.998/4.318 ms') 2025-12-04 02:35:57,773 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90220224-94840726 passed 2025-12-04 02:35:57,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:35:57,842 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90220224-94840726, IP 2.9.161.3, Port 22 2025-12-04 02:35:58,014 - DEBUG - VM ctest-TestRoutersBasic-90220224-94840726 is ready for SSH connections 2025-12-04 02:35:58,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:35:58,015 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.9.161.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-04 02:35:58,015 - DEBUG - ping -s 56 -c 3 -W 1 2.9.161.3 2025-12-04 02:36:01,734 - DEBUG - PING 2.9.161.3 (2.9.161.3): 56 data bytes 64 bytes from 2.9.161.3: seq=0 ttl=62 time=10.018 ms 64 bytes from 2.9.161.3: seq=1 ttl=62 time=1.615 ms 64 bytes from 2.9.161.3: seq=2 ttl=62 time=2.723 ms --- 2.9.161.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.615/4.785/10.018 ms 2025-12-04 02:36:01,735 - INFO - Ping to IP 2.9.161.3 from VM ctest-TestRoutersBasic-90220224-40812981 passed 2025-12-04 02:36:01,735 - INFO - Deleting interface with subnet_id 411223bd-e7b6-48d6-95be-6d8bcb440273, port_id None from router faa6f4f2-1e07-4324-92a9-6c44a9d09b2f 2025-12-04 02:36:02,087 - INFO - Deleting VM ctest-TestRoutersBasic-90220224-94840726 2025-12-04 02:36:02,179 - INFO - Deleting VM ctest-TestRoutersBasic-90220224-40812981 2025-12-04 02:36:02,305 - INFO - Deleting VN ctest-ext_vn-97919805 2025-12-04 02:36:02,445 - DEBUG - VN 17db98c3-4b09-4d05-bda1-c50bb7e7723d still in use: Unable to complete operation on network 17db98c3-4b09-4d05-bda1-c50bb7e7723d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4adcf9fc-ed63-4fdd-be8b-7b6d6e645faa'] 2025-12-04 02:36:02,445 - WARNING - Deleting VN ctest-ext_vn-97919805 failed..Will retry 2025-12-04 02:36:04,619 - DEBUG - Response for deleting network () 2025-12-04 02:36:04,619 - INFO - Deleting VN ctest-vn-95064050 2025-12-04 02:36:04,803 - DEBUG - Response for deleting network () 2025-12-04 02:36:06,081 - DEBUG - No XMPP flaps were noticed during the test 2025-12-04 02:36:06,081 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29] 2025-12-04 02:36:06,081 - INFO - -------------------------------------------------------------------------------- 2025-12-04 02:36:06,871 - INFO - Deleted project: ctest-TestRoutersBasic-90220224, ID : 5e0a3541-6283-4a7d-883c-47ace375a4b1