2025-11-03 01:48:11,158 - INFO - Reading existing Domain with UUID 5e346e6a-000a-45ec-ad9d-44dfc9f4db48 2025-11-03 01:48:11,168 - INFO - Using existing domain ['admin_domain'](5e346e6a-000a-45ec-ad9d-44dfc9f4db48) 2025-11-03 01:48:11,362 - INFO - Project ctest-TestRoutersBasic-28175120 not found, creating it 2025-11-03 01:48:11,883 - INFO - Created Project:ctest-TestRoutersBasic-28175120, ID : 20818c6d-3daa-41b0-97aa-a1dc2f049aca 2025-11-03 01:48:13,568 - INFO - ================================================================================ 2025-11-03 01:48:13,568 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-03 01:48:13,568 - 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-03 01:48:13,955 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.0.0.22': '0'}} with 2025-11-03 01:48:13,955 - INFO - Initial checks done. Running the testcase now 2025-11-03 01:48:13,955 - INFO - 2025-11-03 01:48:14,773 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-28175120 2025-11-03 01:48:14,873 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-28175120 2025-11-03 01:48:15,205 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-28175120', 'default']} 2025-11-03 01:48:15,674 - DEBUG - Response for create_network : {'network': {'id': '3cb4c42c-551a-42e5-8a7b-3dc0e4357b52', 'name': 'ctest-vn-94011932', 'tenant_id': '20818c6d3daa41b097aaa1dc2f049aca', 'project_id': '20818c6d3daa41b097aaa1dc2f049aca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-28175120', 'ctest-vn-94011932'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-11-03 01:48:15,890 - DEBUG - Response for create_subnet : {'subnet': {'id': '22296487-e11c-4196-9965-9ab10e5b8835', 'name': '', 'tenant_id': '20818c6d3daa41b097aaa1dc2f049aca', 'network_id': '3cb4c42c-551a-42e5-8a7b-3dc0e4357b52', 'ip_version': 4, 'cidr': '25.167.186.128/26', 'allocation_pools': [{'start': '25.167.186.130', 'end': '25.167.186.190'}], 'gateway_ip': '25.167.186.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-11-03T01:48:15.795033', 'updated_at': '2025-11-03T01:48:15.795033', 'dns_server_address': '25.167.186.130', 'tags': [], 'project_id': '20818c6d3daa41b097aaa1dc2f049aca'}} 2025-11-03 01:48:15,951 - INFO - Created VN ctest-vn-94011932 2025-11-03 01:48:16,009 - DEBUG - VN ctest-vn-94011932 UUID is 3cb4c42c-551a-42e5-8a7b-3dc0e4357b52 2025-11-03 01:48:16,518 - DEBUG - Response for create_network : {'network': {'id': '25f18925-f4c7-46b2-b747-15575b438005', 'name': 'ctest-ext_vn-80074342', 'tenant_id': '20818c6d3daa41b097aaa1dc2f049aca', 'project_id': '20818c6d3daa41b097aaa1dc2f049aca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-28175120', 'ctest-ext_vn-80074342'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-11-03 01:48:16,766 - DEBUG - Response for create_subnet : {'subnet': {'id': '02678786-8321-4ab7-973c-eacc3f4c19eb', 'name': '', 'tenant_id': '20818c6d3daa41b097aaa1dc2f049aca', 'network_id': '25f18925-f4c7-46b2-b747-15575b438005', 'ip_version': 4, 'cidr': '192.155.33.64/26', 'allocation_pools': [{'start': '192.155.33.66', 'end': '192.155.33.126'}], 'gateway_ip': '192.155.33.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-11-03T01:48:16.668179', 'updated_at': '2025-11-03T01:48:16.668179', 'dns_server_address': '192.155.33.66', 'tags': [], 'project_id': '20818c6d3daa41b097aaa1dc2f049aca'}} 2025-11-03 01:48:16,831 - INFO - Created VN ctest-ext_vn-80074342 2025-11-03 01:48:16,885 - DEBUG - VN ctest-ext_vn-80074342 UUID is 25f18925-f4c7-46b2-b747-15575b438005 2025-11-03 01:48:17,170 - DEBUG - Services list from nova: [, , ] 2025-11-03 01:48:18,265 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-611-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-611-1) 2025-11-03 01:48:19,570 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-611-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-611-1) 2025-11-03 01:48:19,697 - INFO - Setting gateway for router 9681ae4f-4a39-4a34-b0db-3a6343362669 to network 25f18925-f4c7-46b2-b747-15575b438005 2025-11-03 01:48:19,854 - INFO - Adding interface with subnet_id 22296487-e11c-4196-9965-9ab10e5b8835, port_id None to router 9681ae4f-4a39-4a34-b0db-3a6343362669 2025-11-03 01:48:20,408 - INFO - Waiting for VM ctest-TestRoutersBasic-28175120-35748157 to be up.. 2025-11-03 01:48:20,631 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 01:48:25,779 - DEBUG - VM is in ACTIVE state now 2025-11-03 01:48:25,779 - INFO - VM name : ctest-TestRoutersBasic-28175120-35748157 2025-11-03 01:48:25,920 - DEBUG - VM ctest-TestRoutersBasic-28175120-35748157 ID is 9e2ca773-9907-457b-a9b7-b5b1d470b3cc 2025-11-03 01:48:25,944 - DEBUG - VM ctest-TestRoutersBasic-28175120-35748157 launched on Node cn-jenkins-deploy-platform-juju-os-611-1 2025-11-03 01:48:26,088 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine/9e2ca773-9907-457b-a9b7-b5b1d470b3cc 2025-11-03 01:48:26,436 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine/9e2ca773-9907-457b-a9b7-b5b1d470b3cc 2025-11-03 01:48:26,518 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine-interface/d3298ece-19e4-41c8-ac73-1776cd0a0573 2025-11-03 01:48:30,003 - 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 1025ms') 2025-11-03 01:48:30,003 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-28175120-35748157 failed! 2025-11-03 01:48:30,065 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-28175120:ctest-vn-94011932 is 25.167.186.129 and allocation pool is NOT set 2025-11-03 01:48:32,151 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.529 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.529/2.644/4.760/2.115 ms') 2025-11-03 01:48:32,152 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-28175120-35748157 passed 2025-11-03 01:48:32,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 01:48:32,305 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28175120-35748157, IP 25.167.186.131, Port 22 2025-11-03 01:48:32,524 - DEBUG - VM ctest-TestRoutersBasic-28175120-35748157 is ready for SSH connections 2025-11-03 01:48:32,524 - INFO - Waiting for VM ctest-TestRoutersBasic-28175120-42645267 to be up.. 2025-11-03 01:48:32,665 - DEBUG - VM is in ACTIVE state now 2025-11-03 01:48:32,665 - INFO - VM name : ctest-TestRoutersBasic-28175120-42645267 2025-11-03 01:48:32,797 - DEBUG - VM ctest-TestRoutersBasic-28175120-42645267 ID is 849e1c2d-99b0-4b50-b559-4ebdd3e5317e 2025-11-03 01:48:32,797 - DEBUG - VM ctest-TestRoutersBasic-28175120-42645267 launched on Node cn-jenkins-deploy-platform-juju-os-611-1 2025-11-03 01:48:32,934 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine/849e1c2d-99b0-4b50-b559-4ebdd3e5317e 2025-11-03 01:48:32,986 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine-interface/9d2cdb77-a8b8-4941-8bed-d46a16860f90 2025-11-03 01:48:34,437 - 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=3.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.407 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.407/1.769/3.132/1.362 ms') 2025-11-03 01:48:34,437 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-28175120-42645267 passed 2025-11-03 01:48:34,585 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 01:48:34,586 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28175120-42645267, IP 192.155.33.67, Port 22 2025-11-03 01:48:34,807 - DEBUG - VM ctest-TestRoutersBasic-28175120-42645267 is ready for SSH connections 2025-11-03 01:48:34,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 01:48:34,808 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.155.33.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-03 01:48:34,808 - DEBUG - ping -s 56 -c 3 -W 1 192.155.33.67 2025-11-03 01:48:38,503 - DEBUG - PING 192.155.33.67 (192.155.33.67): 56 data bytes 64 bytes from 192.155.33.67: seq=0 ttl=62 time=6.752 ms 64 bytes from 192.155.33.67: seq=1 ttl=62 time=0.946 ms 64 bytes from 192.155.33.67: seq=2 ttl=62 time=0.871 ms --- 192.155.33.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.871/2.856/6.752 ms 2025-11-03 01:48:38,503 - INFO - Ping to IP 192.155.33.67 from VM ctest-TestRoutersBasic-28175120-35748157 passed 2025-11-03 01:48:38,503 - INFO - Deleting interface with subnet_id 22296487-e11c-4196-9965-9ab10e5b8835, port_id None from router 9681ae4f-4a39-4a34-b0db-3a6343362669 2025-11-03 01:48:38,907 - INFO - Deleting VM ctest-TestRoutersBasic-28175120-42645267 2025-11-03 01:48:39,048 - INFO - Deleting VM ctest-TestRoutersBasic-28175120-35748157 2025-11-03 01:48:39,147 - INFO - Deleting VN ctest-ext_vn-80074342 2025-11-03 01:48:39,365 - DEBUG - VN 25f18925-f4c7-46b2-b747-15575b438005 still in use: Unable to complete operation on network 25f18925-f4c7-46b2-b747-15575b438005. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dfbfdd07-f53b-4875-8516-c7c2264ce7b4'] 2025-11-03 01:48:39,365 - WARNING - Deleting VN ctest-ext_vn-80074342 failed..Will retry 2025-11-03 01:48:41,578 - DEBUG - Response for deleting network () 2025-11-03 01:48:41,579 - INFO - Deleting VN ctest-vn-94011932 2025-11-03 01:48:41,749 - DEBUG - Response for deleting network () 2025-11-03 01:48:42,138 - DEBUG - No XMPP flaps were noticed during the test 2025-11-03 01:48:42,138 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29] 2025-11-03 01:48:42,138 - INFO - -------------------------------------------------------------------------------- 2025-11-03 01:48:42,906 - INFO - Deleted project: ctest-TestRoutersBasic-28175120, ID : 20818c6d-3daa-41b0-97aa-a1dc2f049aca