2025-03-20 02:23:49,092 - INFO - Domain Default found not creating 2025-03-20 02:23:49,221 - INFO - Project ctest-TestBasicVMVNx-80415114 not found, creating it 2025-03-20 02:23:49,649 - INFO - Created Project:ctest-TestBasicVMVNx-80415114, ID : d51c0a33-23d0-42ca-bfb9-15a4a5d4e959 2025-03-20 02:23:51,008 - INFO - ================================================================================ 2025-03-20 02:23:51,008 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-20 02:23:51,008 - 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-20 02:23:51,266 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.30': '0'}} with 2025-03-20 02:23:51,266 - INFO - Initial checks done. Running the testcase now 2025-03-20 02:23:51,267 - INFO - 2025-03-20 02:23:51,776 - DEBUG - Response for create_network : {'network': {'id': '69ef2bf9-2872-45d2-a3c0-1c3272642c16', 'name': 'ctest-vn-01661286', 'tenant_id': 'd51c0a3323d042cabfb915a4a5d4e959', 'project_id': 'd51c0a3323d042cabfb915a4a5d4e959', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-80415114', 'ctest-vn-01661286'], 'port_security_enabled': True, 'description': ''}} 2025-03-20 02:23:51,985 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c6336cb3-5acc-4719-994b-c7e4d04bd443', 'name': '', 'tenant_id': 'd51c0a3323d042cabfb915a4a5d4e959', 'network_id': '69ef2bf9-2872-45d2-a3c0-1c3272642c16', 'ip_version': 4, 'cidr': '213.222.221.0/26', 'allocation_pools': [{'start': '213.222.221.2', 'end': '213.222.221.62'}], 'gateway_ip': '213.222.221.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.222.221.2', 'tags': [], 'project_id': 'd51c0a3323d042cabfb915a4a5d4e959'}} 2025-03-20 02:23:52,001 - INFO - Created VN ctest-vn-01661286 2025-03-20 02:23:52,053 - DEBUG - VN ctest-vn-01661286 UUID is 69ef2bf9-2872-45d2-a3c0-1c3272642c16 2025-03-20 02:23:52,244 - DEBUG - Services list from nova: [, , ] 2025-03-20 02:23:53,194 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2926-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2926-1) 2025-03-20 02:23:54,294 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2926-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2926-1) 2025-03-20 02:23:54,294 - INFO - Waiting for VM ctest-TestBasicVMVNx-80415114-03816836 to be up.. 2025-03-20 02:23:54,366 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-20 02:23:59,436 - DEBUG - VM is in ACTIVE state now 2025-03-20 02:23:59,436 - INFO - VM name : ctest-TestBasicVMVNx-80415114-03816836 2025-03-20 02:23:59,509 - DEBUG - VM ctest-TestBasicVMVNx-80415114-03816836 ID is f8940d8c-d7b6-4f87-b595-7a8e6ec68721 2025-03-20 02:23:59,526 - DEBUG - VM ctest-TestBasicVMVNx-80415114-03816836 launched on Node cn-jenkins-deploy-platform-ansible-os-2926-1 2025-03-20 02:23:59,597 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f8940d8c-d7b6-4f87-b595-7a8e6ec68721 2025-03-20 02:23:59,889 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f8940d8c-d7b6-4f87-b595-7a8e6ec68721 2025-03-20 02:23:59,930 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ec365ac0-f3ef-4e56-a22f-be24d6457f58 2025-03-20 02:24:03,178 - 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 1012ms') 2025-03-20 02:24:03,178 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-80415114-03816836 failed! 2025-03-20 02:24:03,233 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-80415114:ctest-vn-01661286 is 213.222.221.1 and allocation pool is NOT set 2025-03-20 02:24:05,295 - 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=2.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.386 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.386/1.538/2.690/1.152 ms') 2025-03-20 02:24:05,296 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-80415114-03816836 passed 2025-03-20 02:24:05,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-20 02:24:05,449 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-80415114-03816836, IP 213.222.221.3, Port 22 2025-03-20 02:24:05,600 - DEBUG - VM ctest-TestBasicVMVNx-80415114-03816836 is ready for SSH connections 2025-03-20 02:24:05,600 - INFO - Waiting for VM ctest-TestBasicVMVNx-80415114-13771445 to be up.. 2025-03-20 02:24:05,669 - DEBUG - VM is in ACTIVE state now 2025-03-20 02:24:05,670 - INFO - VM name : ctest-TestBasicVMVNx-80415114-13771445 2025-03-20 02:24:05,739 - DEBUG - VM ctest-TestBasicVMVNx-80415114-13771445 ID is 822883e4-4b2c-4abf-990e-cad864f11fc5 2025-03-20 02:24:05,739 - DEBUG - VM ctest-TestBasicVMVNx-80415114-13771445 launched on Node cn-jenkins-deploy-platform-ansible-os-2926-1 2025-03-20 02:24:05,812 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/822883e4-4b2c-4abf-990e-cad864f11fc5 2025-03-20 02:24:05,820 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/86810b48-3a0c-404e-aa4a-a31dfc3cba41 2025-03-20 02:24:07,058 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.360 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.360/1.740/3.120/1.380 ms') 2025-03-20 02:24:07,059 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-80415114-13771445 passed 2025-03-20 02:24:07,213 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-20 02:24:07,213 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-80415114-13771445, IP 213.222.221.4, Port 22 2025-03-20 02:24:07,364 - DEBUG - VM ctest-TestBasicVMVNx-80415114-13771445 is ready for SSH connections 2025-03-20 02:24:07,364 - DEBUG - FILE SIZE = 1303B 2025-03-20 02:24:07,364 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-80415114-03816836 to ctest-TestBasicVMVNx-80415114-13771445 using scp 2025-03-20 02:24:07,365 - 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.33, gateway password: c0ntrail123 2025-03-20 02:24:07,365 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-20 02:24:09,233 - DEBUG - 1+0 records in 1+0 records out 2025-03-20 02:24:09,801 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-20 02:24:10,128 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-03-20 02:24:10,128 - DEBUG - ls -l testfile 2025-03-20 02:24:11,708 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 19 20:24 testfile 2025-03-20 02:24:11,709 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-80415114-13771445 2025-03-20 02:24:11,709 - INFO - Deleting VM ctest-TestBasicVMVNx-80415114-13771445 2025-03-20 02:24:11,769 - INFO - Deleting VM ctest-TestBasicVMVNx-80415114-03816836 2025-03-20 02:24:11,831 - INFO - Deleting VN ctest-vn-01661286 2025-03-20 02:24:11,864 - DEBUG - VN 69ef2bf9-2872-45d2-a3c0-1c3272642c16 still in use: Unable to complete operation on network 69ef2bf9-2872-45d2-a3c0-1c3272642c16. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2cc969fe-cb7a-4d51-9e2c-b8efd216a51b'] 2025-03-20 02:24:11,864 - WARNING - Deleting VN ctest-vn-01661286 failed..Will retry 2025-03-20 02:24:13,964 - DEBUG - Response for deleting network () 2025-03-20 02:24:14,218 - DEBUG - No XMPP flaps were noticed during the test 2025-03-20 02:24:14,218 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23] 2025-03-20 02:24:14,219 - INFO - -------------------------------------------------------------------------------- 2025-03-20 02:24:14,871 - INFO - Deleted project: ctest-TestBasicVMVNx-80415114, ID : d51c0a33-23d0-42ca-bfb9-15a4a5d4e959