2025-05-09 22:24:03,231 - INFO - Domain Default found not creating 2025-05-09 22:24:03,368 - INFO - Project ctest-TestBasicVMVNx-49350149 not found, creating it 2025-05-09 22:24:03,809 - INFO - Created Project:ctest-TestBasicVMVNx-49350149, ID : 83fed0d5-221d-4025-a8ac-ef90346c56e1 2025-05-09 22:24:05,052 - INFO - ================================================================================ 2025-05-09 22:24:05,052 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-05-09 22:24:05,052 - 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-09 22:24:05,304 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-05-09 22:24:05,304 - INFO - Initial checks done. Running the testcase now 2025-05-09 22:24:05,305 - INFO - 2025-05-09 22:24:05,781 - DEBUG - Response for create_network : {'network': {'id': '1c449dcf-3c0f-47b8-a269-52dcd4c3b60c', 'name': 'ctest-vn-55324288', 'tenant_id': '83fed0d5221d4025a8acef90346c56e1', 'project_id': '83fed0d5221d4025a8acef90346c56e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-49350149', 'ctest-vn-55324288'], 'port_security_enabled': True, 'description': ''}} 2025-05-09 22:24:05,962 - DEBUG - Response for create_subnet : {'subnet': {'id': '97db277d-4b64-4486-b354-6ebe732c2365', 'name': '', 'tenant_id': '83fed0d5221d4025a8acef90346c56e1', 'network_id': '1c449dcf-3c0f-47b8-a269-52dcd4c3b60c', 'ip_version': 4, 'cidr': '142.92.203.192/26', 'allocation_pools': [{'start': '142.92.203.194', 'end': '142.92.203.254'}], 'gateway_ip': '142.92.203.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.92.203.194', 'tags': [], 'project_id': '83fed0d5221d4025a8acef90346c56e1'}} 2025-05-09 22:24:05,978 - INFO - Created VN ctest-vn-55324288 2025-05-09 22:24:06,031 - DEBUG - VN ctest-vn-55324288 UUID is 1c449dcf-3c0f-47b8-a269-52dcd4c3b60c 2025-05-09 22:24:06,227 - DEBUG - Services list from nova: [, , ] 2025-05-09 22:24:07,144 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3294-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3294-1) 2025-05-09 22:24:08,169 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3294-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3294-1) 2025-05-09 22:24:08,169 - INFO - Waiting for VM ctest-TestBasicVMVNx-49350149-48768297 to be up.. 2025-05-09 22:24:08,242 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-09 22:24:13,316 - DEBUG - VM is in ACTIVE state now 2025-05-09 22:24:13,317 - INFO - VM name : ctest-TestBasicVMVNx-49350149-48768297 2025-05-09 22:24:13,388 - DEBUG - VM ctest-TestBasicVMVNx-49350149-48768297 ID is 86e048aa-d59e-4509-8e07-2ab61edf790e 2025-05-09 22:24:13,404 - DEBUG - VM ctest-TestBasicVMVNx-49350149-48768297 launched on Node cn-jenkins-deploy-platform-ansible-os-3294-1 2025-05-09 22:24:13,470 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/86e048aa-d59e-4509-8e07-2ab61edf790e 2025-05-09 22:24:13,729 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/86e048aa-d59e-4509-8e07-2ab61edf790e 2025-05-09 22:24:13,756 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/d1c3fa03-572b-4d68-bdc8-9a8367297228 2025-05-09 22:24:17,008 - 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 1016ms') 2025-05-09 22:24:17,008 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-49350149-48768297 failed! 2025-05-09 22:24:17,063 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-49350149:ctest-vn-55324288 is 142.92.203.193 and allocation pool is NOT set 2025-05-09 22:24:19,129 - 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.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.481 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.481/2.382/4.283/1.901 ms') 2025-05-09 22:24:19,130 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-49350149-48768297 passed 2025-05-09 22:24:19,279 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-09 22:24:19,279 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-49350149-48768297, IP 142.92.203.195, Port 22 2025-05-09 22:24:19,430 - DEBUG - VM ctest-TestBasicVMVNx-49350149-48768297 is ready for SSH connections 2025-05-09 22:24:19,430 - INFO - Waiting for VM ctest-TestBasicVMVNx-49350149-26757418 to be up.. 2025-05-09 22:24:19,502 - DEBUG - VM is in ACTIVE state now 2025-05-09 22:24:19,502 - INFO - VM name : ctest-TestBasicVMVNx-49350149-26757418 2025-05-09 22:24:19,573 - DEBUG - VM ctest-TestBasicVMVNx-49350149-26757418 ID is 8d065978-174b-4ff5-a2ef-e4c5575c2034 2025-05-09 22:24:19,573 - DEBUG - VM ctest-TestBasicVMVNx-49350149-26757418 launched on Node cn-jenkins-deploy-platform-ansible-os-3294-1 2025-05-09 22:24:19,639 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/8d065978-174b-4ff5-a2ef-e4c5575c2034 2025-05-09 22:24:19,646 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/86f9b8f4-db93-4bfa-8bf7-4198d40cf6ee 2025-05-09 22:24:20,876 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.347 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.347/1.699/3.052/1.352 ms') 2025-05-09 22:24:20,876 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-49350149-26757418 passed 2025-05-09 22:24:21,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-09 22:24:21,027 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-49350149-26757418, IP 142.92.203.196, Port 22 2025-05-09 22:24:21,183 - DEBUG - VM ctest-TestBasicVMVNx-49350149-26757418 is ready for SSH connections 2025-05-09 22:24:21,183 - DEBUG - FILE SIZE = 1303B 2025-05-09 22:24:21,183 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-49350149-48768297 to ctest-TestBasicVMVNx-49350149-26757418 using scp 2025-05-09 22:24:21,184 - 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.57, gateway password: c0ntrail123 2025-05-09 22:24:21,184 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-05-09 22:24:22,993 - DEBUG - 1+0 records in 1+0 records out 2025-05-09 22:24:23,518 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-09 22:24:23,825 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-05-09 22:24:23,826 - DEBUG - ls -l testfile 2025-05-09 22:24:25,356 - DEBUG - -rw------- 1 cirros cirros 1303 May 9 16:24 testfile 2025-05-09 22:24:25,356 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-49350149-26757418 2025-05-09 22:24:25,357 - INFO - Deleting VM ctest-TestBasicVMVNx-49350149-26757418 2025-05-09 22:24:25,424 - INFO - Deleting VM ctest-TestBasicVMVNx-49350149-48768297 2025-05-09 22:24:25,491 - INFO - Deleting VN ctest-vn-55324288 2025-05-09 22:24:25,532 - DEBUG - VN 1c449dcf-3c0f-47b8-a269-52dcd4c3b60c still in use: Unable to complete operation on network 1c449dcf-3c0f-47b8-a269-52dcd4c3b60c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8947d1b4-5223-4525-87f0-6b9db03940a7'] 2025-05-09 22:24:25,532 - WARNING - Deleting VN ctest-vn-55324288 failed..Will retry 2025-05-09 22:24:27,623 - DEBUG - Response for deleting network () 2025-05-09 22:24:27,872 - DEBUG - No XMPP flaps were noticed during the test 2025-05-09 22:24:27,872 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:22] 2025-05-09 22:24:27,872 - INFO - -------------------------------------------------------------------------------- 2025-05-09 22:24:28,504 - INFO - Deleted project: ctest-TestBasicVMVNx-49350149, ID : 83fed0d5-221d-4025-a8ac-ef90346c56e1