2025-10-30 02:01:36,402 - INFO - Reading existing Domain with UUID e05897ec-8f26-4de0-b53d-6381700aec6a 2025-10-30 02:01:36,414 - INFO - Using existing domain ['admin_domain'](e05897ec-8f26-4de0-b53d-6381700aec6a) 2025-10-30 02:01:36,641 - INFO - Project ctest-TestRoutersBasic-88335197 not found, creating it 2025-10-30 02:01:37,155 - INFO - Created Project:ctest-TestRoutersBasic-88335197, ID : f0c31d9f-f6b8-4a7e-9ce5-48784c6c616e 2025-10-30 02:01:38,850 - INFO - ================================================================================ 2025-10-30 02:01:38,850 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-30 02:01:38,850 - 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-10-30 02:01:39,252 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.0.0.27': '0'}} with 2025-10-30 02:01:39,252 - INFO - Initial checks done. Running the testcase now 2025-10-30 02:01:39,252 - INFO - 2025-10-30 02:01:40,019 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-88335197 2025-10-30 02:01:40,115 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-88335197 2025-10-30 02:01:40,438 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-88335197', 'default']} 2025-10-30 02:01:40,935 - DEBUG - Response for create_network : {'network': {'id': 'bca4c0aa-51d5-423b-8ab8-c82ca6a9e114', 'name': 'ctest-vn-62830195', 'tenant_id': 'f0c31d9ff6b84a7e9ce548784c6c616e', 'project_id': 'f0c31d9ff6b84a7e9ce548784c6c616e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-88335197', 'ctest-vn-62830195'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-30 02:01:41,164 - DEBUG - Response for create_subnet : {'subnet': {'id': '09017f15-849d-40c0-adb6-385c6a6b4013', 'name': '', 'tenant_id': 'f0c31d9ff6b84a7e9ce548784c6c616e', 'network_id': 'bca4c0aa-51d5-423b-8ab8-c82ca6a9e114', 'ip_version': 4, 'cidr': '223.138.84.64/26', 'allocation_pools': [{'start': '223.138.84.66', 'end': '223.138.84.126'}], 'gateway_ip': '223.138.84.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-30T02:01:41.064472', 'updated_at': '2025-10-30T02:01:41.064472', 'dns_server_address': '223.138.84.66', 'tags': [], 'project_id': 'f0c31d9ff6b84a7e9ce548784c6c616e'}} 2025-10-30 02:01:41,225 - INFO - Created VN ctest-vn-62830195 2025-10-30 02:01:41,283 - DEBUG - VN ctest-vn-62830195 UUID is bca4c0aa-51d5-423b-8ab8-c82ca6a9e114 2025-10-30 02:01:41,799 - DEBUG - Response for create_network : {'network': {'id': '246df7fe-ecde-4d93-9233-968e65439ced', 'name': 'ctest-ext_vn-69519027', 'tenant_id': 'f0c31d9ff6b84a7e9ce548784c6c616e', 'project_id': 'f0c31d9ff6b84a7e9ce548784c6c616e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-88335197', 'ctest-ext_vn-69519027'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-30 02:01:42,087 - DEBUG - Response for create_subnet : {'subnet': {'id': '20bf545c-e9a4-4ae8-93bd-8d23b95f731d', 'name': '', 'tenant_id': 'f0c31d9ff6b84a7e9ce548784c6c616e', 'network_id': '246df7fe-ecde-4d93-9233-968e65439ced', 'ip_version': 4, 'cidr': '67.56.248.192/26', 'allocation_pools': [{'start': '67.56.248.194', 'end': '67.56.248.254'}], 'gateway_ip': '67.56.248.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-30T02:01:41.967669', 'updated_at': '2025-10-30T02:01:41.967669', 'dns_server_address': '67.56.248.194', 'tags': [], 'project_id': 'f0c31d9ff6b84a7e9ce548784c6c616e'}} 2025-10-30 02:01:42,153 - INFO - Created VN ctest-ext_vn-69519027 2025-10-30 02:01:42,207 - DEBUG - VN ctest-ext_vn-69519027 UUID is 246df7fe-ecde-4d93-9233-968e65439ced 2025-10-30 02:01:42,484 - DEBUG - Services list from nova: [, , ] 2025-10-30 02:01:43,601 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-610-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-610-1) 2025-10-30 02:01:45,010 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-610-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-610-1) 2025-10-30 02:01:45,169 - INFO - Setting gateway for router 52b44a82-abda-429b-b1e6-251237248ae5 to network 246df7fe-ecde-4d93-9233-968e65439ced 2025-10-30 02:01:45,324 - INFO - Adding interface with subnet_id 09017f15-849d-40c0-adb6-385c6a6b4013, port_id None to router 52b44a82-abda-429b-b1e6-251237248ae5 2025-10-30 02:01:45,889 - INFO - Waiting for VM ctest-TestRoutersBasic-88335197-70838226 to be up.. 2025-10-30 02:01:46,049 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 02:01:51,191 - DEBUG - VM is in ACTIVE state now 2025-10-30 02:01:51,191 - INFO - VM name : ctest-TestRoutersBasic-88335197-70838226 2025-10-30 02:01:51,332 - DEBUG - VM ctest-TestRoutersBasic-88335197-70838226 ID is 1404d968-e6a6-4c33-be24-a53374888fe1 2025-10-30 02:01:51,360 - DEBUG - VM ctest-TestRoutersBasic-88335197-70838226 launched on Node cn-jenkins-deploy-platform-juju-os-610-1 2025-10-30 02:01:51,501 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine/1404d968-e6a6-4c33-be24-a53374888fe1 2025-10-30 02:01:51,921 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine/1404d968-e6a6-4c33-be24-a53374888fe1 2025-10-30 02:01:52,016 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine-interface/9152f680-de92-46b7-b3dd-4d186c8acc9c 2025-10-30 02:01:55,487 - 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 1020ms') 2025-10-30 02:01:55,487 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88335197-70838226 failed! 2025-10-30 02:01:55,547 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-88335197:ctest-vn-62830195 is 223.138.84.65 and allocation pool is NOT set 2025-10-30 02:01:57,637 - 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.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.12 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.121/2.599/4.077/1.478 ms') 2025-10-30 02:01:57,637 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88335197-70838226 passed 2025-10-30 02:01:57,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:01:57,787 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88335197-70838226, IP 223.138.84.67, Port 22 2025-10-30 02:01:57,873 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-30 02:01:58,013 - DEBUG - VM ctest-TestRoutersBasic-88335197-70838226 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 02:02:03,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:02:03,014 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88335197-70838226, IP 223.138.84.67, Port 22 2025-10-30 02:02:03,225 - DEBUG - VM ctest-TestRoutersBasic-88335197-70838226 is ready for SSH connections 2025-10-30 02:02:03,225 - INFO - Waiting for VM ctest-TestRoutersBasic-88335197-30193268 to be up.. 2025-10-30 02:02:03,366 - DEBUG - VM is in ACTIVE state now 2025-10-30 02:02:03,366 - INFO - VM name : ctest-TestRoutersBasic-88335197-30193268 2025-10-30 02:02:03,509 - DEBUG - VM ctest-TestRoutersBasic-88335197-30193268 ID is 60d48cb9-265f-4fbd-ad1c-30d77332d075 2025-10-30 02:02:03,510 - DEBUG - VM ctest-TestRoutersBasic-88335197-30193268 launched on Node cn-jenkins-deploy-platform-juju-os-610-1 2025-10-30 02:02:03,650 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine/60d48cb9-265f-4fbd-ad1c-30d77332d075 2025-10-30 02:02:03,707 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine-interface/a3091b29-8228-4560-bea1-eec48e5895cc 2025-10-30 02:02:05,184 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.427 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.427/2.000/3.573/1.573 ms') 2025-10-30 02:02:05,184 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-88335197-30193268 passed 2025-10-30 02:02:05,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:02:05,343 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88335197-30193268, IP 67.56.248.195, Port 22 2025-10-30 02:02:05,557 - DEBUG - VM ctest-TestRoutersBasic-88335197-30193268 is ready for SSH connections 2025-10-30 02:02:05,557 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:02:05,557 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.56.248.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-30 02:02:05,557 - DEBUG - ping -s 56 -c 3 -W 1 67.56.248.195 2025-10-30 02:02:09,657 - DEBUG - PING 67.56.248.195 (67.56.248.195): 56 data bytes 64 bytes from 67.56.248.195: seq=0 ttl=62 time=6.788 ms 64 bytes from 67.56.248.195: seq=1 ttl=62 time=1.022 ms 64 bytes from 67.56.248.195: seq=2 ttl=62 time=0.971 ms --- 67.56.248.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.971/2.927/6.788 ms 2025-10-30 02:02:09,658 - INFO - Ping to IP 67.56.248.195 from VM ctest-TestRoutersBasic-88335197-70838226 passed 2025-10-30 02:02:09,658 - INFO - Deleting interface with subnet_id 09017f15-849d-40c0-adb6-385c6a6b4013, port_id None from router 52b44a82-abda-429b-b1e6-251237248ae5 2025-10-30 02:02:10,071 - INFO - Deleting VM ctest-TestRoutersBasic-88335197-30193268 2025-10-30 02:02:10,181 - INFO - Deleting VM ctest-TestRoutersBasic-88335197-70838226 2025-10-30 02:02:10,335 - INFO - Deleting VN ctest-ext_vn-69519027 2025-10-30 02:02:10,572 - DEBUG - VN 246df7fe-ecde-4d93-9233-968e65439ced still in use: Unable to complete operation on network 246df7fe-ecde-4d93-9233-968e65439ced. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-13bb368b-c42d-46d4-b77b-9245fa95eaca'] 2025-10-30 02:02:10,572 - WARNING - Deleting VN ctest-ext_vn-69519027 failed..Will retry 2025-10-30 02:02:12,755 - DEBUG - Response for deleting network () 2025-10-30 02:02:12,756 - INFO - Deleting VN ctest-vn-62830195 2025-10-30 02:02:12,933 - DEBUG - Response for deleting network () 2025-10-30 02:02:13,352 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 02:02:13,353 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:35] 2025-10-30 02:02:13,353 - INFO - -------------------------------------------------------------------------------- 2025-10-30 02:02:14,139 - INFO - Deleted project: ctest-TestRoutersBasic-88335197, ID : f0c31d9f-f6b8-4a7e-9ce5-48784c6c616e