2025-03-27 13:41:15,133 - INFO - Domain Default found not creating 2025-03-27 13:41:15,298 - INFO - Project ctest-TestBasicVMVNx-51982277 not found, creating it 2025-03-27 13:41:15,782 - INFO - Created Project:ctest-TestBasicVMVNx-51982277, ID : 9ad72db4-5abf-4467-b83b-9088cd111efd 2025-03-27 13:41:17,385 - INFO - ================================================================================ 2025-03-27 13:41:17,385 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-27 13:41:17,385 - 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-03-27 13:41:17,649 - DEBUG - Nothing to compare xmpp stats {'10.0.0.55': {'10.20.0.5': '0'}} with 2025-03-27 13:41:17,649 - INFO - Initial checks done. Running the testcase now 2025-03-27 13:41:17,650 - INFO - 2025-03-27 13:41:18,280 - DEBUG - Response for create_network : {'network': {'id': '18a7dfcf-a7e2-4483-8745-7496ea2fc3d8', 'name': 'ctest-vn-82470475', 'tenant_id': '9ad72db45abf4467b83b9088cd111efd', 'project_id': '9ad72db45abf4467b83b9088cd111efd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-51982277', 'ctest-vn-82470475'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 13:41:18,472 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4a4dbfc-c50d-47e8-9530-c113bb9a1510', 'name': '', 'tenant_id': '9ad72db45abf4467b83b9088cd111efd', 'network_id': '18a7dfcf-a7e2-4483-8745-7496ea2fc3d8', 'ip_version': 4, 'cidr': '191.37.166.192/26', 'allocation_pools': [{'start': '191.37.166.194', 'end': '191.37.166.254'}], 'gateway_ip': '191.37.166.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.37.166.194', 'tags': [], 'project_id': '9ad72db45abf4467b83b9088cd111efd'}} 2025-03-27 13:41:18,494 - INFO - Created VN ctest-vn-82470475 2025-03-27 13:41:18,549 - DEBUG - VN ctest-vn-82470475 UUID is 18a7dfcf-a7e2-4483-8745-7496ea2fc3d8 2025-03-27 13:41:18,728 - DEBUG - Services list from nova: [, , ] 2025-03-27 13:41:19,863 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2971-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2971-1) 2025-03-27 13:41:21,170 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2971-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2971-1) 2025-03-27 13:41:21,170 - INFO - Waiting for VM ctest-TestBasicVMVNx-51982277-70928997 to be up.. 2025-03-27 13:41:21,266 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-27 13:41:26,357 - DEBUG - VM is in ACTIVE state now 2025-03-27 13:41:26,357 - INFO - VM name : ctest-TestBasicVMVNx-51982277-70928997 2025-03-27 13:41:26,448 - DEBUG - VM ctest-TestBasicVMVNx-51982277-70928997 ID is 23793499-d229-48d2-8766-7d09a7ce078d 2025-03-27 13:41:26,471 - DEBUG - VM ctest-TestBasicVMVNx-51982277-70928997 launched on Node cn-jenkins-deploy-platform-ansible-os-2971-1 2025-03-27 13:41:26,556 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine/23793499-d229-48d2-8766-7d09a7ce078d 2025-03-27 13:41:26,894 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine/23793499-d229-48d2-8766-7d09a7ce078d 2025-03-27 13:41:26,929 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine-interface/d8b4355b-d6ea-4360-acbf-8e2a7c09b691 2025-03-27 13:41:30,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 1030ms') 2025-03-27 13:41:30,211 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-51982277-70928997 failed! 2025-03-27 13:41:30,269 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-51982277:ctest-vn-82470475 is 191.37.166.193 and allocation pool is NOT set 2025-03-27 13:41:32,334 - 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.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.40 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 = 2.395/4.244/6.093/1.849 ms') 2025-03-27 13:41:32,334 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-51982277-70928997 passed 2025-03-27 13:41:32,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 13:41:32,497 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-51982277-70928997, IP 191.37.166.195, Port 22 2025-03-27 13:41:32,653 - DEBUG - VM ctest-TestBasicVMVNx-51982277-70928997 is ready for SSH connections 2025-03-27 13:41:32,653 - INFO - Waiting for VM ctest-TestBasicVMVNx-51982277-52439572 to be up.. 2025-03-27 13:41:32,736 - DEBUG - VM is in ACTIVE state now 2025-03-27 13:41:32,736 - INFO - VM name : ctest-TestBasicVMVNx-51982277-52439572 2025-03-27 13:41:32,825 - DEBUG - VM ctest-TestBasicVMVNx-51982277-52439572 ID is a5507265-3f5f-4249-a5de-847e5290084e 2025-03-27 13:41:32,825 - DEBUG - VM ctest-TestBasicVMVNx-51982277-52439572 launched on Node cn-jenkins-deploy-platform-ansible-os-2971-1 2025-03-27 13:41:32,909 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine/a5507265-3f5f-4249-a5de-847e5290084e 2025-03-27 13:41:32,918 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine-interface/05eb9df8-48e2-4fa3-a6f3-ed220ad5365d 2025-03-27 13:41:34,169 - 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.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.785 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.785/2.054/3.324/1.269 ms') 2025-03-27 13:41:34,169 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-51982277-52439572 passed 2025-03-27 13:41:34,329 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 13:41:34,329 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-51982277-52439572, IP 191.37.166.196, Port 22 2025-03-27 13:41:34,485 - DEBUG - VM ctest-TestBasicVMVNx-51982277-52439572 is ready for SSH connections 2025-03-27 13:41:34,485 - DEBUG - FILE SIZE = 1303B 2025-03-27 13:41:34,485 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-51982277-70928997 to ctest-TestBasicVMVNx-51982277-52439572 using scp 2025-03-27 13:41:34,486 - 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.55, gateway password: c0ntrail123 2025-03-27 13:41:34,486 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-27 13:41:36,534 - DEBUG - 1+0 records in 1+0 records out 2025-03-27 13:41:37,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 13:41:37,658 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.55, gateway password: c0ntrail123 2025-03-27 13:41:37,659 - DEBUG - ls -l testfile 2025-03-27 13:41:39,307 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 27 07:41 testfile 2025-03-27 13:41:39,307 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-51982277-52439572 2025-03-27 13:41:39,307 - INFO - Deleting VM ctest-TestBasicVMVNx-51982277-52439572 2025-03-27 13:41:39,382 - INFO - Deleting VM ctest-TestBasicVMVNx-51982277-70928997 2025-03-27 13:41:39,459 - INFO - Deleting VN ctest-vn-82470475 2025-03-27 13:41:39,500 - DEBUG - VN 18a7dfcf-a7e2-4483-8745-7496ea2fc3d8 still in use: Unable to complete operation on network 18a7dfcf-a7e2-4483-8745-7496ea2fc3d8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a184f9c3-a4a7-4d68-b7bd-dfbbdcc849e7'] 2025-03-27 13:41:39,500 - WARNING - Deleting VN ctest-vn-82470475 failed..Will retry 2025-03-27 13:41:41,638 - DEBUG - Response for deleting network () 2025-03-27 13:41:41,900 - DEBUG - No XMPP flaps were noticed during the test
2025-03-27 13:41:41,900 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-03-27 13:41:41,900 - INFO - -------------------------------------------------------------------------------- 2025-03-27 13:41:42,681 - INFO - Deleted project: ctest-TestBasicVMVNx-51982277, ID : 9ad72db4-5abf-4467-b83b-9088cd111efd