2025-12-11 17:36:57,139 - INFO - Domain Default found not creating 2025-12-11 17:36:57,320 - INFO - Project ctest-TestRoutersBasic-88291398 not found, creating it 2025-12-11 17:36:57,812 - INFO - Created Project:ctest-TestRoutersBasic-88291398, ID : fa70a347-20f5-4bc1-a8c2-168b2d518b09 2025-12-11 17:36:59,427 - INFO - ================================================================================ 2025-12-11 17:36:59,427 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-11 17:36:59,427 - 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-11 17:36:59,685 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.25': '0'}} with 2025-12-11 17:36:59,685 - INFO - Initial checks done. Running the testcase now 2025-12-11 17:36:59,685 - INFO - 2025-12-11 17:37:00,437 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-88291398 2025-12-11 17:37:00,534 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-88291398 2025-12-11 17:37:00,866 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88291398', 'default']} 2025-12-11 17:37:01,190 - DEBUG - Response for create_network : {'network': {'id': 'f156a626-6af1-49d3-b45e-1d886293a4ca', 'name': 'ctest-vn-85340254', 'tenant_id': 'fa70a34720f54bc1a8c2168b2d518b09', 'project_id': 'fa70a34720f54bc1a8c2168b2d518b09', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88291398', 'ctest-vn-85340254'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 17:37:01,388 - DEBUG - Response for create_subnet : {'subnet': {'id': '433e556e-dd7d-4762-84e8-2cd2e690705a', 'name': '', 'tenant_id': 'fa70a34720f54bc1a8c2168b2d518b09', 'network_id': 'f156a626-6af1-49d3-b45e-1d886293a4ca', 'ip_version': 4, 'cidr': '21.127.185.0/26', 'allocation_pools': [{'start': '21.127.185.2', 'end': '21.127.185.62'}], 'gateway_ip': '21.127.185.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.127.185.2', 'tags': [], 'project_id': 'fa70a34720f54bc1a8c2168b2d518b09'}} 2025-12-11 17:37:01,406 - INFO - Created VN ctest-vn-85340254 2025-12-11 17:37:01,458 - DEBUG - VN ctest-vn-85340254 UUID is f156a626-6af1-49d3-b45e-1d886293a4ca 2025-12-11 17:37:01,778 - DEBUG - Response for create_network : {'network': {'id': 'd0dd828b-f8f6-4596-b42e-b2c0e1ba7175', 'name': 'ctest-ext_vn-66615621', 'tenant_id': 'fa70a34720f54bc1a8c2168b2d518b09', 'project_id': 'fa70a34720f54bc1a8c2168b2d518b09', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88291398', 'ctest-ext_vn-66615621'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 17:37:01,976 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f159e47f-a175-49cc-bf93-ecba68825582', 'name': '', 'tenant_id': 'fa70a34720f54bc1a8c2168b2d518b09', 'network_id': 'd0dd828b-f8f6-4596-b42e-b2c0e1ba7175', 'ip_version': 4, 'cidr': '187.140.139.0/26', 'allocation_pools': [{'start': '187.140.139.2', 'end': '187.140.139.62'}], 'gateway_ip': '187.140.139.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.140.139.2', 'tags': [], 'project_id': 'fa70a34720f54bc1a8c2168b2d518b09'}} 2025-12-11 17:37:01,995 - INFO - Created VN ctest-ext_vn-66615621 2025-12-11 17:37:02,046 - DEBUG - VN ctest-ext_vn-66615621 UUID is d0dd828b-f8f6-4596-b42e-b2c0e1ba7175 2025-12-11 17:37:02,219 - DEBUG - Services list from nova: [, , ] 2025-12-11 17:37:03,273 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4887-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4887-1) 2025-12-11 17:37:04,461 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4887-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4887-1) 2025-12-11 17:37:04,535 - INFO - Setting gateway for router 313c56ef-7fef-4d40-be0e-259e5ecbec78 to network d0dd828b-f8f6-4596-b42e-b2c0e1ba7175 2025-12-11 17:37:04,622 - INFO - Adding interface with subnet_id 433e556e-dd7d-4762-84e8-2cd2e690705a, port_id None to router 313c56ef-7fef-4d40-be0e-259e5ecbec78 2025-12-11 17:37:05,066 - INFO - Waiting for VM ctest-TestRoutersBasic-88291398-98682333 to be up.. 2025-12-11 17:37:05,215 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-11 17:37:10,307 - DEBUG - VM is in ACTIVE state now 2025-12-11 17:37:10,307 - INFO - VM name : ctest-TestRoutersBasic-88291398-98682333 2025-12-11 17:37:10,403 - DEBUG - VM ctest-TestRoutersBasic-88291398-98682333 ID is a1268fb5-f90e-4546-90f5-62a56b828a3c 2025-12-11 17:37:10,425 - DEBUG - VM ctest-TestRoutersBasic-88291398-98682333 launched on Node cn-jenkins-deploy-platform-ansible-os-4887-1 2025-12-11 17:37:10,508 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/a1268fb5-f90e-4546-90f5-62a56b828a3c 2025-12-11 17:37:10,834 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/a1268fb5-f90e-4546-90f5-62a56b828a3c 2025-12-11 17:37:10,875 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/be9eff69-e76c-43b9-a096-b9ba6b8e265f 2025-12-11 17:37:14,137 - 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 1022ms') 2025-12-11 17:37:14,137 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88291398-98682333 failed! 2025-12-11 17:37:14,190 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-88291398:ctest-vn-85340254 is 21.127.185.1 and allocation pool is NOT set 2025-12-11 17:37:16,257 - 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=6.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.29 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 = 1.293/3.659/6.026/2.366 ms') 2025-12-11 17:37:16,258 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88291398-98682333 passed 2025-12-11 17:37:16,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:37:16,410 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88291398-98682333, IP 21.127.185.3, Port 22 2025-12-11 17:37:16,588 - DEBUG - VM ctest-TestRoutersBasic-88291398-98682333 is ready for SSH connections 2025-12-11 17:37:16,588 - INFO - Waiting for VM ctest-TestRoutersBasic-88291398-23040340 to be up.. 2025-12-11 17:37:16,685 - DEBUG - VM is in ACTIVE state now 2025-12-11 17:37:16,685 - INFO - VM name : ctest-TestRoutersBasic-88291398-23040340 2025-12-11 17:37:16,769 - DEBUG - VM ctest-TestRoutersBasic-88291398-23040340 ID is 66a29133-fac1-41c6-a2f9-44ebfde0ffb0 2025-12-11 17:37:16,769 - DEBUG - VM ctest-TestRoutersBasic-88291398-23040340 launched on Node cn-jenkins-deploy-platform-ansible-os-4887-1 2025-12-11 17:37:16,870 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/66a29133-fac1-41c6-a2f9-44ebfde0ffb0 2025-12-11 17:37:16,879 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/f32ee6ff-74f7-431f-9967-fef3dfc1f07c 2025-12-11 17:37:18,123 - 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=4.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.75 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 = 1.754/3.353/4.952/1.599 ms') 2025-12-11 17:37:18,123 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-88291398-23040340 passed 2025-12-11 17:37:18,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:37:18,278 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88291398-23040340, IP 187.140.139.3, Port 22 2025-12-11 17:37:18,449 - DEBUG - VM ctest-TestRoutersBasic-88291398-23040340 is ready for SSH connections 2025-12-11 17:37:18,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:37:18,449 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.140.139.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-12-11 17:37:18,449 - DEBUG - ping -s 56 -c 3 -W 1 187.140.139.3 2025-12-11 17:37:22,235 - DEBUG - PING 187.140.139.3 (187.140.139.3): 56 data bytes 64 bytes from 187.140.139.3: seq=0 ttl=62 time=5.638 ms 64 bytes from 187.140.139.3: seq=1 ttl=62 time=0.949 ms 64 bytes from 187.140.139.3: seq=2 ttl=62 time=1.894 ms --- 187.140.139.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.949/2.827/5.638 ms 2025-12-11 17:37:22,235 - INFO - Ping to IP 187.140.139.3 from VM ctest-TestRoutersBasic-88291398-98682333 passed 2025-12-11 17:37:22,235 - INFO - Deleting interface with subnet_id 433e556e-dd7d-4762-84e8-2cd2e690705a, port_id None from router 313c56ef-7fef-4d40-be0e-259e5ecbec78 2025-12-11 17:37:22,452 - INFO - Deleting VM ctest-TestRoutersBasic-88291398-23040340 2025-12-11 17:37:22,534 - INFO - Deleting VM ctest-TestRoutersBasic-88291398-98682333 2025-12-11 17:37:22,623 - INFO - Deleting VN ctest-ext_vn-66615621 2025-12-11 17:37:22,719 - DEBUG - VN d0dd828b-f8f6-4596-b42e-b2c0e1ba7175 still in use: Unable to complete operation on network d0dd828b-f8f6-4596-b42e-b2c0e1ba7175. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a05d1ffe-24e4-4dcf-8b43-40da248ec259'] 2025-12-11 17:37:22,719 - WARNING - Deleting VN ctest-ext_vn-66615621 failed..Will retry 2025-12-11 17:37:24,830 - DEBUG - Response for deleting network () 2025-12-11 17:37:24,830 - INFO - Deleting VN ctest-vn-85340254 2025-12-11 17:37:24,956 - DEBUG - Response for deleting network () 2025-12-11 17:37:25,216 - DEBUG - No XMPP flaps were noticed during the test 2025-12-11 17:37:25,216 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-12-11 17:37:25,216 - INFO - -------------------------------------------------------------------------------- 2025-12-11 17:37:25,907 - INFO - Deleted project: ctest-TestRoutersBasic-88291398, ID : fa70a347-20f5-4bc1-a8c2-168b2d518b09