2025-05-29 10:17:02,161 - INFO - Domain Default found not creating 2025-05-29 10:17:02,323 - INFO - Project ctest-TestBasicVMVNx-41791656 not found, creating it 2025-05-29 10:17:02,819 - INFO - Created Project:ctest-TestBasicVMVNx-41791656, ID : 9e73a880-0a67-4a58-a398-7dc906b11284 2025-05-29 10:17:04,323 - INFO - ================================================================================ 2025-05-29 10:17:04,323 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-05-29 10:17:04,323 - 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-05-29 10:17:04,598 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-05-29 10:17:04,599 - INFO - Initial checks done. Running the testcase now 2025-05-29 10:17:04,599 - INFO - 2025-05-29 10:17:05,176 - DEBUG - Response for create_network : {'network': {'id': '74d90ffa-8452-41e2-9565-8d5b76cf7175', 'name': 'ctest-vn-47525328', 'tenant_id': '9e73a8800a674a58a3987dc906b11284', 'project_id': '9e73a8800a674a58a3987dc906b11284', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-41791656', 'ctest-vn-47525328'], 'port_security_enabled': True, 'description': ''}} 2025-05-29 10:17:05,392 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd879ba59-ef7b-4b17-a171-2ddd07fb1063', 'name': '', 'tenant_id': '9e73a8800a674a58a3987dc906b11284', 'network_id': '74d90ffa-8452-41e2-9565-8d5b76cf7175', 'ip_version': 4, 'cidr': '123.92.182.128/26', 'allocation_pools': [{'start': '123.92.182.130', 'end': '123.92.182.190'}], 'gateway_ip': '123.92.182.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.92.182.130', 'tags': [], 'project_id': '9e73a8800a674a58a3987dc906b11284'}} 2025-05-29 10:17:05,411 - INFO - Created VN ctest-vn-47525328 2025-05-29 10:17:05,465 - DEBUG - VN ctest-vn-47525328 UUID is 74d90ffa-8452-41e2-9565-8d5b76cf7175 2025-05-29 10:17:05,635 - DEBUG - Services list from nova: [, , ] 2025-05-29 10:17:06,656 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3364-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3364-1) 2025-05-29 10:17:07,805 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3364-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3364-1) 2025-05-29 10:17:07,805 - INFO - Waiting for VM ctest-TestBasicVMVNx-41791656-87622345 to be up.. 2025-05-29 10:17:07,896 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-29 10:17:12,989 - DEBUG - VM is in ACTIVE state now 2025-05-29 10:17:12,989 - INFO - VM name : ctest-TestBasicVMVNx-41791656-87622345 2025-05-29 10:17:13,081 - DEBUG - VM ctest-TestBasicVMVNx-41791656-87622345 ID is 7ceb2990-184b-46f5-a64c-04339b7faad2 2025-05-29 10:17:13,105 - DEBUG - VM ctest-TestBasicVMVNx-41791656-87622345 launched on Node cn-jenkins-deploy-platform-ansible-os-3364-1 2025-05-29 10:17:13,189 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7ceb2990-184b-46f5-a64c-04339b7faad2 2025-05-29 10:17:13,490 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7ceb2990-184b-46f5-a64c-04339b7faad2 2025-05-29 10:17:13,528 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8febda81-1fde-455c-ad69-ef8ab002a539 2025-05-29 10:17:16,796 - 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 1002ms') 2025-05-29 10:17:16,796 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-41791656-87622345 failed! 2025-05-29 10:17:16,862 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-41791656:ctest-vn-47525328 is 123.92.182.129 and allocation pool is NOT set 2025-05-29 10:17:18,927 - 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=3.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.429 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.429/2.079/3.730/1.650 ms') 2025-05-29 10:17:18,927 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-41791656-87622345 passed 2025-05-29 10:17:19,085 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 10:17:19,086 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-41791656-87622345, IP 123.92.182.131, Port 22 2025-05-29 10:17:19,249 - DEBUG - VM ctest-TestBasicVMVNx-41791656-87622345 is ready for SSH connections 2025-05-29 10:17:19,249 - INFO - Waiting for VM ctest-TestBasicVMVNx-41791656-63866479 to be up.. 2025-05-29 10:17:19,339 - DEBUG - VM is in ACTIVE state now 2025-05-29 10:17:19,339 - INFO - VM name : ctest-TestBasicVMVNx-41791656-63866479 2025-05-29 10:17:19,425 - DEBUG - VM ctest-TestBasicVMVNx-41791656-63866479 ID is 203b07f7-ebf7-487a-96cb-5d5f67d1789a 2025-05-29 10:17:19,425 - DEBUG - VM ctest-TestBasicVMVNx-41791656-63866479 launched on Node cn-jenkins-deploy-platform-ansible-os-3364-1 2025-05-29 10:17:19,614 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/203b07f7-ebf7-487a-96cb-5d5f67d1789a 2025-05-29 10:17:19,624 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8c38c660-5baf-4d78-8976-574b4198e530 2025-05-29 10:17:20,880 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.782 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.782/2.544/4.306/1.762 ms') 2025-05-29 10:17:20,880 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-41791656-63866479 passed 2025-05-29 10:17:21,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 10:17:21,038 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-41791656-63866479, IP 123.92.182.132, Port 22 2025-05-29 10:17:21,193 - DEBUG - VM ctest-TestBasicVMVNx-41791656-63866479 is ready for SSH connections 2025-05-29 10:17:21,194 - DEBUG - FILE SIZE = 1303B 2025-05-29 10:17:21,194 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-41791656-87622345 to ctest-TestBasicVMVNx-41791656-63866479 using scp 2025-05-29 10:17:21,194 - 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.50, gateway password: c0ntrail123 2025-05-29 10:17:21,195 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-05-29 10:17:23,123 - DEBUG - 1+0 records in 1+0 records out 2025-05-29 10:17:23,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 10:17:24,226 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-29 10:17:24,227 - DEBUG - ls -l testfile 2025-05-29 10:17:25,784 - DEBUG - -rw------- 1 cirros cirros 1303 May 29 04:17 testfile 2025-05-29 10:17:25,784 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-41791656-63866479 2025-05-29 10:17:25,785 - INFO - Deleting VM ctest-TestBasicVMVNx-41791656-63866479 2025-05-29 10:17:25,854 - INFO - Deleting VM ctest-TestBasicVMVNx-41791656-87622345 2025-05-29 10:17:25,919 - INFO - Deleting VN ctest-vn-47525328 2025-05-29 10:17:25,958 - DEBUG - VN 74d90ffa-8452-41e2-9565-8d5b76cf7175 still in use: Unable to complete operation on network 74d90ffa-8452-41e2-9565-8d5b76cf7175. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a58eaca3-24ef-4f01-84bd-28db05c89c96'] 2025-05-29 10:17:25,958 - WARNING - Deleting VN ctest-vn-47525328 failed..Will retry 2025-05-29 10:17:28,066 - DEBUG - Response for deleting network () 2025-05-29 10:17:28,327 - DEBUG - No XMPP flaps were noticed during the test 2025-05-29 10:17:28,327 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-05-29 10:17:28,327 - INFO - -------------------------------------------------------------------------------- 2025-05-29 10:17:29,035 - INFO - Deleted project: ctest-TestBasicVMVNx-41791656, ID : 9e73a880-0a67-4a58-a398-7dc906b11284