2025-07-21 02:33:58,975 - INFO - Domain Default found not creating 2025-07-21 02:33:59,406 - INFO - Project ctest-TestBasicVMVNx-43861002 not found, creating it 2025-07-21 02:33:59,979 - INFO - Created Project:ctest-TestBasicVMVNx-43861002, ID : 18e4f58b-89a2-489b-a77c-6da097eb0cd1 2025-07-21 02:34:02,077 - INFO - ================================================================================ 2025-07-21 02:34:02,078 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-07-21 02:34:02,078 - INFO - TEST DESCRIPTION : Description: Test to validate File Transfer using scp between VMs. Files of different sizes. Test steps: 1. Creating vm's - vm1 and vm2 and a Vn - vn222 2. Transfer file from vm1 to vm2 with diferrent file sizes using scp 3. file sizes - 64,1202,2210,10000 4. verify files present in vm2 match with the size of the file sent. Pass criteria: File in vm2 should match with the transferred file size from vm1 Maintainer : ganeshahv@juniper.net 2025-07-21 02:34:02,412 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.201': '0'}} with 2025-07-21 02:34:02,412 - INFO - Initial checks done. Running the testcase now 2025-07-21 02:34:02,412 - INFO - 2025-07-21 02:34:03,279 - DEBUG - Response for create_network : {'network': {'id': '7e42c412-d604-4960-beb5-bfc07c6a81eb', 'name': 'ctest-vn-40083056', 'tenant_id': '18e4f58b89a2489ba77c6da097eb0cd1', 'project_id': '18e4f58b89a2489ba77c6da097eb0cd1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-43861002', 'ctest-vn-40083056'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 02:34:03,502 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a52ae05a-dbcf-4a20-b715-bb16836b8c55', 'name': '', 'tenant_id': '18e4f58b89a2489ba77c6da097eb0cd1', 'network_id': '7e42c412-d604-4960-beb5-bfc07c6a81eb', 'ip_version': 4, 'cidr': '137.138.155.192/26', 'allocation_pools': [{'start': '137.138.155.194', 'end': '137.138.155.254'}], 'gateway_ip': '137.138.155.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.138.155.194', 'tags': [], 'project_id': '18e4f58b89a2489ba77c6da097eb0cd1'}} 2025-07-21 02:34:03,526 - INFO - Created VN ctest-vn-40083056 2025-07-21 02:34:03,585 - DEBUG - VN ctest-vn-40083056 UUID is 7e42c412-d604-4960-beb5-bfc07c6a81eb 2025-07-21 02:34:03,861 - DEBUG - Services list from nova: [, , ] 2025-07-21 02:34:05,689 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3674-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3674-1) 2025-07-21 02:34:06,980 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3674-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3674-1) 2025-07-21 02:34:06,981 - INFO - Waiting for VM ctest-TestBasicVMVNx-43861002-92575816 to be up.. 2025-07-21 02:34:07,065 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-21 02:34:12,222 - DEBUG - VM is in ACTIVE state now 2025-07-21 02:34:12,222 - INFO - VM name : ctest-TestBasicVMVNx-43861002-92575816 2025-07-21 02:34:12,385 - DEBUG - VM ctest-TestBasicVMVNx-43861002-92575816 ID is 1e08a7df-9dda-4569-b088-52a1d92038e8 2025-07-21 02:34:12,442 - DEBUG - VM ctest-TestBasicVMVNx-43861002-92575816 launched on Node cn-jenkins-deploy-platform-ansible-os-3674-1 2025-07-21 02:34:12,562 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/1e08a7df-9dda-4569-b088-52a1d92038e8 2025-07-21 02:34:12,861 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/1e08a7df-9dda-4569-b088-52a1d92038e8 2025-07-21 02:34:12,906 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/dbfb41f1-2939-4ccf-af4b-8ad6133bd2d3 2025-07-21 02:34:16,211 - 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 1005ms') 2025-07-21 02:34:16,211 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-43861002-92575816 failed! 2025-07-21 02:34:16,269 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-43861002:ctest-vn-40083056 is 137.138.155.193 and allocation pool is NOT set 2025-07-21 02:34:18,346 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.49 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 3.494/4.746/5.998/1.252 ms') 2025-07-21 02:34:18,346 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-43861002-92575816 passed 2025-07-21 02:34:18,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 02:34:18,530 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-43861002-92575816, IP 137.138.155.195, Port 22 2025-07-21 02:34:18,611 - 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-07-21 02:34:18,805 - DEBUG - VM ctest-TestBasicVMVNx-43861002-92575816 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-21 02:34:23,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 02:34:23,807 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-43861002-92575816, IP 137.138.155.195, Port 22 2025-07-21 02:34:24,010 - DEBUG - VM ctest-TestBasicVMVNx-43861002-92575816 is ready for SSH connections 2025-07-21 02:34:24,011 - INFO - Waiting for VM ctest-TestBasicVMVNx-43861002-63254613 to be up.. 2025-07-21 02:34:24,180 - DEBUG - VM is in ACTIVE state now 2025-07-21 02:34:24,181 - INFO - VM name : ctest-TestBasicVMVNx-43861002-63254613 2025-07-21 02:34:24,363 - DEBUG - VM ctest-TestBasicVMVNx-43861002-63254613 ID is 09fa6aa1-20af-427a-869d-e11419f19498 2025-07-21 02:34:24,363 - DEBUG - VM ctest-TestBasicVMVNx-43861002-63254613 launched on Node cn-jenkins-deploy-platform-ansible-os-3674-1 2025-07-21 02:34:24,565 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/09fa6aa1-20af-427a-869d-e11419f19498 2025-07-21 02:34:24,590 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/938ed715-128f-477e-978a-a2616204c75b 2025-07-21 02:34:25,951 - 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=9.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.731 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 = 0.731/4.985/9.240/4.254 ms') 2025-07-21 02:34:25,953 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-43861002-63254613 passed 2025-07-21 02:34:26,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 02:34:26,158 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-43861002-63254613, IP 137.138.155.196, Port 22 2025-07-21 02:34:26,359 - DEBUG - VM ctest-TestBasicVMVNx-43861002-63254613 is ready for SSH connections 2025-07-21 02:34:26,360 - DEBUG - FILE SIZE = 1303B 2025-07-21 02:34:26,360 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-43861002-92575816 to ctest-TestBasicVMVNx-43861002-63254613 using scp 2025-07-21 02:34:26,363 - DEBUG - Running remote_cmd, Cmd : dd bs=1303 count=1 if=/dev/zero of=testfile, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-07-21 02:34:26,364 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-07-21 02:34:28,644 - DEBUG - 1+0 records in 1+0 records out 2025-07-21 02:34:29,381 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 02:34:29,875 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-07-21 02:34:29,876 - DEBUG - ls -l testfile 2025-07-21 02:34:31,877 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 20 20:34 testfile 2025-07-21 02:34:31,877 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-43861002-63254613 2025-07-21 02:34:31,878 - INFO - Deleting VM ctest-TestBasicVMVNx-43861002-63254613 2025-07-21 02:34:32,167 - INFO - Deleting VM ctest-TestBasicVMVNx-43861002-92575816 2025-07-21 02:34:32,289 - INFO - Deleting VN ctest-vn-40083056 2025-07-21 02:34:32,342 - DEBUG - VN 7e42c412-d604-4960-beb5-bfc07c6a81eb still in use: Unable to complete operation on network 7e42c412-d604-4960-beb5-bfc07c6a81eb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-90c16f18-e26c-4b65-870a-ffd3d64db7c4'] 2025-07-21 02:34:32,342 - WARNING - Deleting VN ctest-vn-40083056 failed..Will retry 2025-07-21 02:34:34,587 - DEBUG - Response for deleting network () 2025-07-21 02:34:34,896 - DEBUG - No XMPP flaps were noticed during the test 2025-07-21 02:34:34,896 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:32] 2025-07-21 02:34:34,896 - INFO - -------------------------------------------------------------------------------- 2025-07-21 02:34:35,725 - INFO - Deleted project: ctest-TestBasicVMVNx-43861002, ID : 18e4f58b-89a2-489b-a77c-6da097eb0cd1