2025-04-14 11:27:02,295 - INFO - Domain Default found not creating 2025-04-14 11:27:02,484 - INFO - Project ctest-TestBasicVMVNx-35120770 not found, creating it 2025-04-14 11:27:03,037 - INFO - Created Project:ctest-TestBasicVMVNx-35120770, ID : 899be940-6447-428a-af42-4800aca20bcf 2025-04-14 11:27:04,739 - INFO - ================================================================================ 2025-04-14 11:27:04,739 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-14 11:27:04,739 - 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-04-14 11:27:05,010 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-04-14 11:27:05,010 - INFO - Initial checks done. Running the testcase now 2025-04-14 11:27:05,010 - INFO - 2025-04-14 11:27:05,644 - DEBUG - Response for create_network : {'network': {'id': '3f8bd154-5108-44a6-932e-4aeadcc7e8b0', 'name': 'ctest-vn-68936750', 'tenant_id': '899be9406447428aaf424800aca20bcf', 'project_id': '899be9406447428aaf424800aca20bcf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-35120770', 'ctest-vn-68936750'], 'port_security_enabled': True, 'description': ''}} 2025-04-14 11:27:05,822 - DEBUG - Response for create_subnet : {'subnet': {'id': '2f77d325-64d2-4aec-a401-cf4b10793984', 'name': '', 'tenant_id': '899be9406447428aaf424800aca20bcf', 'network_id': '3f8bd154-5108-44a6-932e-4aeadcc7e8b0', 'ip_version': 4, 'cidr': '186.108.24.128/26', 'allocation_pools': [{'start': '186.108.24.130', 'end': '186.108.24.190'}], 'gateway_ip': '186.108.24.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.108.24.130', 'tags': [], 'project_id': '899be9406447428aaf424800aca20bcf'}} 2025-04-14 11:27:05,845 - INFO - Created VN ctest-vn-68936750 2025-04-14 11:27:05,899 - DEBUG - VN ctest-vn-68936750 UUID is 3f8bd154-5108-44a6-932e-4aeadcc7e8b0 2025-04-14 11:27:06,101 - DEBUG - Services list from nova: [, , ] 2025-04-14 11:27:07,289 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3093-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3093-1) 2025-04-14 11:27:08,635 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3093-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3093-1) 2025-04-14 11:27:08,636 - INFO - Waiting for VM ctest-TestBasicVMVNx-35120770-12627964 to be up.. 2025-04-14 11:27:08,742 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-14 11:27:13,840 - DEBUG - VM is in ACTIVE state now 2025-04-14 11:27:13,840 - INFO - VM name : ctest-TestBasicVMVNx-35120770-12627964 2025-04-14 11:27:13,938 - DEBUG - VM ctest-TestBasicVMVNx-35120770-12627964 ID is 4505a5ab-8b37-41d4-98ed-6bf57e7aab38 2025-04-14 11:27:13,962 - DEBUG - VM ctest-TestBasicVMVNx-35120770-12627964 launched on Node cn-jenkins-deploy-platform-ansible-os-3093-1 2025-04-14 11:27:14,066 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4505a5ab-8b37-41d4-98ed-6bf57e7aab38 2025-04-14 11:27:14,418 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4505a5ab-8b37-41d4-98ed-6bf57e7aab38 2025-04-14 11:27:14,464 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bf305335-d7c8-4839-82bd-3f24e6a20fa7 2025-04-14 11:27:17,729 - 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 1000ms') 2025-04-14 11:27:17,729 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-35120770-12627964 failed! 2025-04-14 11:27:17,787 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-35120770:ctest-vn-68936750 is 186.108.24.129 and allocation pool is NOT set 2025-04-14 11:27:19,854 - 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.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.415 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.415/2.363/4.311/1.948 ms') 2025-04-14 11:27:19,854 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-35120770-12627964 passed 2025-04-14 11:27:20,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 11:27:20,008 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-35120770-12627964, IP 186.108.24.131, Port 22 2025-04-14 11:27:20,173 - DEBUG - VM ctest-TestBasicVMVNx-35120770-12627964 is ready for SSH connections 2025-04-14 11:27:20,173 - INFO - Waiting for VM ctest-TestBasicVMVNx-35120770-62997188 to be up.. 2025-04-14 11:27:20,295 - DEBUG - VM is in ACTIVE state now 2025-04-14 11:27:20,295 - INFO - VM name : ctest-TestBasicVMVNx-35120770-62997188 2025-04-14 11:27:20,389 - DEBUG - VM ctest-TestBasicVMVNx-35120770-62997188 ID is 440b990c-4c84-49e4-abbc-1296277229b6 2025-04-14 11:27:20,389 - DEBUG - VM ctest-TestBasicVMVNx-35120770-62997188 launched on Node cn-jenkins-deploy-platform-ansible-os-3093-1 2025-04-14 11:27:20,486 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/440b990c-4c84-49e4-abbc-1296277229b6 2025-04-14 11:27:20,499 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fa952d5b-e166-438b-bb21-d2864c31c98b 2025-04-14 11:27:21,760 - 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.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.13 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 = 1.125/2.788/4.451/1.663 ms') 2025-04-14 11:27:21,760 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-35120770-62997188 passed 2025-04-14 11:27:21,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 11:27:21,916 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-35120770-62997188, IP 186.108.24.132, Port 22 2025-04-14 11:27:22,082 - DEBUG - VM ctest-TestBasicVMVNx-35120770-62997188 is ready for SSH connections 2025-04-14 11:27:22,082 - DEBUG - FILE SIZE = 1303B 2025-04-14 11:27:22,082 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-35120770-12627964 to ctest-TestBasicVMVNx-35120770-62997188 using scp 2025-04-14 11:27:22,083 - 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.38, gateway password: c0ntrail123 2025-04-14 11:27:22,083 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-14 11:27:24,162 - DEBUG - 1+0 records in 1+0 records out 2025-04-14 11:27:24,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 11:27:25,231 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-14 11:27:25,232 - DEBUG - ls -l testfile 2025-04-14 11:27:26,889 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 14 05:27 testfile 2025-04-14 11:27:26,889 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-35120770-62997188 2025-04-14 11:27:26,889 - INFO - Deleting VM ctest-TestBasicVMVNx-35120770-62997188 2025-04-14 11:27:26,972 - INFO - Deleting VM ctest-TestBasicVMVNx-35120770-12627964 2025-04-14 11:27:27,058 - INFO - Deleting VN ctest-vn-68936750 2025-04-14 11:27:27,101 - DEBUG - VN 3f8bd154-5108-44a6-932e-4aeadcc7e8b0 still in use: Unable to complete operation on network 3f8bd154-5108-44a6-932e-4aeadcc7e8b0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dd83a164-7235-457f-bb55-3ada5c3cfea1'] 2025-04-14 11:27:27,101 - WARNING - Deleting VN ctest-vn-68936750 failed..Will retry 2025-04-14 11:27:29,276 - DEBUG - Response for deleting network () 2025-04-14 11:27:29,534 - DEBUG - No XMPP flaps were noticed during the test
2025-04-14 11:27:29,535 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-04-14 11:27:29,535 - INFO - -------------------------------------------------------------------------------- 2025-04-14 11:27:30,343 - INFO - Deleted project: ctest-TestBasicVMVNx-35120770, ID : 899be940-6447-428a-af42-4800aca20bcf