2025-01-07 11:37:49,672 - INFO - Domain Default found not creating 2025-01-07 11:37:49,844 - INFO - Project ctest-TestBasicVMVNx-29760266 not found, creating it 2025-01-07 11:37:50,289 - INFO - Created Project:ctest-TestBasicVMVNx-29760266, ID : e6f101ed-3da3-4e3b-94bf-8de5a91d7c10 2025-01-07 11:37:51,709 - INFO - ================================================================================ 2025-01-07 11:37:51,709 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-07 11:37:51,710 - 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-01-07 11:37:51,969 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.13': '0'}} with 2025-01-07 11:37:51,969 - INFO - Initial checks done. Running the testcase now 2025-01-07 11:37:51,969 - INFO - 2025-01-07 11:37:52,523 - DEBUG - Response for create_network : {'network': {'id': 'e5374552-d7ff-4a17-9784-eb8ef9f41499', 'name': 'ctest-vn-07799492', 'tenant_id': 'e6f101ed3da34e3b94bf8de5a91d7c10', 'project_id': 'e6f101ed3da34e3b94bf8de5a91d7c10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-29760266', 'ctest-vn-07799492'], 'port_security_enabled': True, 'description': ''}} 2025-01-07 11:37:52,724 - DEBUG - Response for create_subnet : {'subnet': {'id': '9f613b68-15e8-494f-9742-b0fd34290b5b', 'name': '', 'tenant_id': 'e6f101ed3da34e3b94bf8de5a91d7c10', 'network_id': 'e5374552-d7ff-4a17-9784-eb8ef9f41499', 'ip_version': 4, 'cidr': '179.21.255.192/26', 'allocation_pools': [{'start': '179.21.255.194', 'end': '179.21.255.254'}], 'gateway_ip': '179.21.255.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.21.255.194', 'tags': [], 'project_id': 'e6f101ed3da34e3b94bf8de5a91d7c10'}} 2025-01-07 11:37:52,743 - INFO - Created VN ctest-vn-07799492 2025-01-07 11:37:52,799 - DEBUG - VN ctest-vn-07799492 UUID is e5374552-d7ff-4a17-9784-eb8ef9f41499 2025-01-07 11:37:52,975 - DEBUG - Services list from nova: [, , ] 2025-01-07 11:37:53,994 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2547-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2547-1) 2025-01-07 11:37:55,128 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2547-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2547-1) 2025-01-07 11:37:55,128 - INFO - Waiting for VM ctest-TestBasicVMVNx-29760266-17454277 to be up.. 2025-01-07 11:37:55,211 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-07 11:38:00,293 - DEBUG - VM is in ACTIVE state now 2025-01-07 11:38:00,293 - INFO - VM name : ctest-TestBasicVMVNx-29760266-17454277 2025-01-07 11:38:00,372 - DEBUG - VM ctest-TestBasicVMVNx-29760266-17454277 ID is f54cdf0c-636b-4f85-8709-0f27f4f9f469 2025-01-07 11:38:00,392 - DEBUG - VM ctest-TestBasicVMVNx-29760266-17454277 launched on Node cn-jenkins-deploy-platform-ansible-os-2547-1 2025-01-07 11:38:00,472 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/f54cdf0c-636b-4f85-8709-0f27f4f9f469 2025-01-07 11:38:00,772 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/f54cdf0c-636b-4f85-8709-0f27f4f9f469 2025-01-07 11:38:00,804 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/d3286dae-3bb0-416e-9e8d-8afefb46783f 2025-01-07 11:38:04,079 - 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 1023ms') 2025-01-07 11:38:04,079 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-29760266-17454277 failed! 2025-01-07 11:38:04,135 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-29760266:ctest-vn-07799492 is 179.21.255.193 and allocation pool is NOT set 2025-01-07 11:38:06,203 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.09 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 = 2.086/3.467/4.848/1.381 ms') 2025-01-07 11:38:06,203 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-29760266-17454277 passed 2025-01-07 11:38:06,359 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 11:38:06,359 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-29760266-17454277, IP 179.21.255.195, Port 22 2025-01-07 11:38:06,542 - DEBUG - VM ctest-TestBasicVMVNx-29760266-17454277 is ready for SSH connections 2025-01-07 11:38:06,542 - INFO - Waiting for VM ctest-TestBasicVMVNx-29760266-10430442 to be up.. 2025-01-07 11:38:06,639 - DEBUG - VM is in ACTIVE state now 2025-01-07 11:38:06,639 - INFO - VM name : ctest-TestBasicVMVNx-29760266-10430442 2025-01-07 11:38:06,747 - DEBUG - VM ctest-TestBasicVMVNx-29760266-10430442 ID is e386e3d7-2947-4cf5-be71-d669e2e99ac3 2025-01-07 11:38:06,747 - DEBUG - VM ctest-TestBasicVMVNx-29760266-10430442 launched on Node cn-jenkins-deploy-platform-ansible-os-2547-1 2025-01-07 11:38:06,837 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/e386e3d7-2947-4cf5-be71-d669e2e99ac3 2025-01-07 11:38:06,849 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/19a1123b-30c3-4f0a-942b-323201e99368 2025-01-07 11:38:08,099 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.498 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.498/1.802/3.107/1.304 ms') 2025-01-07 11:38:08,099 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-29760266-10430442 passed 2025-01-07 11:38:08,251 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 11:38:08,251 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-29760266-10430442, IP 179.21.255.196, Port 22 2025-01-07 11:38:08,414 - DEBUG - VM ctest-TestBasicVMVNx-29760266-10430442 is ready for SSH connections 2025-01-07 11:38:08,414 - DEBUG - FILE SIZE = 1303B 2025-01-07 11:38:08,414 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-29760266-17454277 to ctest-TestBasicVMVNx-29760266-10430442 using scp 2025-01-07 11:38:08,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 11:38:08,434 - 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.30, gateway password: c0ntrail123 2025-01-07 11:38:08,434 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-07 11:38:10,332 - DEBUG - 1+0 records in 1+0 records out 2025-01-07 11:38:11,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 11:38:11,415 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2025-01-07 11:38:11,415 - DEBUG - ls -l testfile 2025-01-07 11:38:12,980 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 7 04:38 testfile 2025-01-07 11:38:12,980 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-29760266-10430442 2025-01-07 11:38:12,981 - INFO - Deleting VM ctest-TestBasicVMVNx-29760266-10430442 2025-01-07 11:38:13,058 - INFO - Deleting VM ctest-TestBasicVMVNx-29760266-17454277 2025-01-07 11:38:13,137 - INFO - Deleting VN ctest-vn-07799492 2025-01-07 11:38:13,183 - DEBUG - VN e5374552-d7ff-4a17-9784-eb8ef9f41499 still in use: Unable to complete operation on network e5374552-d7ff-4a17-9784-eb8ef9f41499. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2043c7c9-430a-465c-872f-651fe1063d7f'] 2025-01-07 11:38:13,183 - WARNING - Deleting VN ctest-vn-07799492 failed..Will retry 2025-01-07 11:38:15,290 - DEBUG - Response for deleting network () 2025-01-07 11:38:15,546 - DEBUG - No XMPP flaps were noticed during the test 2025-01-07 11:38:15,546 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-01-07 11:38:15,546 - INFO - -------------------------------------------------------------------------------- 2025-01-07 11:38:16,261 - INFO - Deleted project: ctest-TestBasicVMVNx-29760266, ID : e6f101ed-3da3-4e3b-94bf-8de5a91d7c10