2025-02-12 08:20:12,455 - INFO - Domain Default found not creating 2025-02-12 08:20:12,621 - INFO - Project ctest-TestBasicVMVNx-46803042 not found, creating it 2025-02-12 08:20:13,124 - INFO - Created Project:ctest-TestBasicVMVNx-46803042, ID : 7e0eb342-cf19-4894-a728-5be544090b41 2025-02-12 08:20:14,793 - INFO - ================================================================================ 2025-02-12 08:20:14,793 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-12 08:20:14,793 - 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-02-12 08:20:15,050 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.6': '0'}} with 2025-02-12 08:20:15,050 - INFO - Initial checks done. Running the testcase now 2025-02-12 08:20:15,050 - INFO - 2025-02-12 08:20:15,679 - DEBUG - Response for create_network : {'network': {'id': '8b50b2a9-0993-472c-a7fa-3f2accf7a305', 'name': 'ctest-vn-48882256', 'tenant_id': '7e0eb342cf194894a7285be544090b41', 'project_id': '7e0eb342cf194894a7285be544090b41', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-46803042', 'ctest-vn-48882256'], 'port_security_enabled': True, 'description': ''}} 2025-02-12 08:20:15,857 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd22fd235-8a32-40e7-8f02-8175c394cdd1', 'name': '', 'tenant_id': '7e0eb342cf194894a7285be544090b41', 'network_id': '8b50b2a9-0993-472c-a7fa-3f2accf7a305', 'ip_version': 4, 'cidr': '107.93.138.192/26', 'allocation_pools': [{'start': '107.93.138.194', 'end': '107.93.138.254'}], 'gateway_ip': '107.93.138.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.93.138.194', 'tags': [], 'project_id': '7e0eb342cf194894a7285be544090b41'}} 2025-02-12 08:20:15,879 - INFO - Created VN ctest-vn-48882256 2025-02-12 08:20:15,934 - DEBUG - VN ctest-vn-48882256 UUID is 8b50b2a9-0993-472c-a7fa-3f2accf7a305 2025-02-12 08:20:16,115 - DEBUG - Services list from nova: [, , ] 2025-02-12 08:20:17,267 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2727-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2727-1) 2025-02-12 08:20:18,573 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2727-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2727-1) 2025-02-12 08:20:18,573 - INFO - Waiting for VM ctest-TestBasicVMVNx-46803042-05589136 to be up.. 2025-02-12 08:20:18,670 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-12 08:20:23,769 - DEBUG - VM is in ACTIVE state now 2025-02-12 08:20:23,769 - INFO - VM name : ctest-TestBasicVMVNx-46803042-05589136 2025-02-12 08:20:23,874 - DEBUG - VM ctest-TestBasicVMVNx-46803042-05589136 ID is 09611e57-cac7-4a6c-80a8-05070acbc732 2025-02-12 08:20:23,896 - DEBUG - VM ctest-TestBasicVMVNx-46803042-05589136 launched on Node cn-jenkins-deploy-platform-ansible-os-2727-1 2025-02-12 08:20:23,997 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/09611e57-cac7-4a6c-80a8-05070acbc732 2025-02-12 08:20:24,344 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/09611e57-cac7-4a6c-80a8-05070acbc732 2025-02-12 08:20:24,393 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/b4e81402-7b56-4031-b754-ee6b0bbf9667 2025-02-12 08:20:27,659 - 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 1006ms') 2025-02-12 08:20:27,660 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-46803042-05589136 failed! 2025-02-12 08:20:27,714 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-46803042:ctest-vn-48882256 is 107.93.138.193 and allocation pool is NOT set 2025-02-12 08:20:29,777 - 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.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.931 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.931/3.153/5.376/2.222 ms') 2025-02-12 08:20:29,777 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-46803042-05589136 passed 2025-02-12 08:20:29,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-12 08:20:29,931 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-46803042-05589136, IP 107.93.138.195, Port 22 2025-02-12 08:20:30,086 - DEBUG - VM ctest-TestBasicVMVNx-46803042-05589136 is ready for SSH connections 2025-02-12 08:20:30,086 - INFO - Waiting for VM ctest-TestBasicVMVNx-46803042-55181322 to be up.. 2025-02-12 08:20:30,180 - DEBUG - VM is in ACTIVE state now 2025-02-12 08:20:30,180 - INFO - VM name : ctest-TestBasicVMVNx-46803042-55181322 2025-02-12 08:20:30,282 - DEBUG - VM ctest-TestBasicVMVNx-46803042-55181322 ID is eb95a718-8c6d-4687-8aa5-d6145057460b 2025-02-12 08:20:30,282 - DEBUG - VM ctest-TestBasicVMVNx-46803042-55181322 launched on Node cn-jenkins-deploy-platform-ansible-os-2727-1 2025-02-12 08:20:30,377 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/eb95a718-8c6d-4687-8aa5-d6145057460b 2025-02-12 08:20:30,387 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/84e0f584-e947-49e1-a2e0-40c53fb8fa7c 2025-02-12 08:20:31,643 - 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=5.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.687 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.687/3.332/5.978/2.645 ms') 2025-02-12 08:20:31,643 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-46803042-55181322 passed 2025-02-12 08:20:31,799 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-12 08:20:31,799 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-46803042-55181322, IP 107.93.138.196, Port 22 2025-02-12 08:20:31,958 - DEBUG - VM ctest-TestBasicVMVNx-46803042-55181322 is ready for SSH connections 2025-02-12 08:20:31,958 - DEBUG - FILE SIZE = 1303B 2025-02-12 08:20:31,959 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-46803042-05589136 to ctest-TestBasicVMVNx-46803042-55181322 using scp 2025-02-12 08:20:31,960 - 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.12, gateway password: c0ntrail123 2025-02-12 08:20:31,960 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-12 08:20:33,989 - DEBUG - 1+0 records in 1+0 records out 2025-02-12 08:20:34,689 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-12 08:20:35,048 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2025-02-12 08:20:35,048 - DEBUG - ls -l testfile 2025-02-12 08:20:36,769 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 12 01:20 testfile 2025-02-12 08:20:36,769 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-46803042-55181322 2025-02-12 08:20:36,769 - INFO - Deleting VM ctest-TestBasicVMVNx-46803042-55181322 2025-02-12 08:20:36,857 - INFO - Deleting VM ctest-TestBasicVMVNx-46803042-05589136 2025-02-12 08:20:36,936 - INFO - Deleting VN ctest-vn-48882256 2025-02-12 08:20:36,980 - DEBUG - VN 8b50b2a9-0993-472c-a7fa-3f2accf7a305 still in use: Unable to complete operation on network 8b50b2a9-0993-472c-a7fa-3f2accf7a305. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9cdcf5ce-c85e-4462-9f42-e20fbbd19b50'] 2025-02-12 08:20:36,980 - WARNING - Deleting VN ctest-vn-48882256 failed..Will retry 2025-02-12 08:20:39,121 - DEBUG - Response for deleting network () 2025-02-12 08:20:39,382 - DEBUG - No XMPP flaps were noticed during the test
2025-02-12 08:20:39,382 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-02-12 08:20:39,382 - INFO - -------------------------------------------------------------------------------- 2025-02-12 08:20:40,155 - INFO - Deleted project: ctest-TestBasicVMVNx-46803042, ID : 7e0eb342-cf19-4894-a728-5be544090b41