2024-08-27 02:34:09,426 - INFO - Domain Default found not creating 2024-08-27 02:34:09,879 - INFO - Project ctest-TestBasicVMVNx-55366452 not found, creating it 2024-08-27 02:34:10,752 - INFO - Created Project:ctest-TestBasicVMVNx-55366452, ID : 88adfc1f-4e0c-4191-bf87-2524e3d51be7 2024-08-27 02:34:13,038 - INFO - ================================================================================ 2024-08-27 02:34:13,038 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-27 02:34:13,038 - 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 2024-08-27 02:34:13,375 - DEBUG - Nothing to compare xmpp stats {'10.0.0.45': {'10.20.0.10': '0'}} with 2024-08-27 02:34:13,375 - INFO - Initial checks done. Running the testcase now 2024-08-27 02:34:13,375 - INFO - 2024-08-27 02:34:14,293 - DEBUG - Response for create_network : {'network': {'id': '0056ba1b-d2d7-4d60-9cb0-5493c653191c', 'name': 'ctest-vn-15856773', 'tenant_id': '88adfc1f4e0c4191bf872524e3d51be7', 'project_id': '88adfc1f4e0c4191bf872524e3d51be7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-55366452', 'ctest-vn-15856773'], 'port_security_enabled': True, 'description': ''}} 2024-08-27 02:34:14,516 - DEBUG - Response for create_subnet : {'subnet': {'id': '969b6cb9-53c6-44f3-a5b6-b5f7eb844ba9', 'name': '', 'tenant_id': '88adfc1f4e0c4191bf872524e3d51be7', 'network_id': '0056ba1b-d2d7-4d60-9cb0-5493c653191c', 'ip_version': 4, 'cidr': '52.130.207.192/26', 'allocation_pools': [{'start': '52.130.207.194', 'end': '52.130.207.254'}], 'gateway_ip': '52.130.207.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.130.207.194', 'tags': [], 'project_id': '88adfc1f4e0c4191bf872524e3d51be7'}} 2024-08-27 02:34:14,545 - INFO - Created VN ctest-vn-15856773 2024-08-27 02:34:14,601 - DEBUG - VN ctest-vn-15856773 UUID is 0056ba1b-d2d7-4d60-9cb0-5493c653191c 2024-08-27 02:34:14,927 - DEBUG - Services list from nova: [, , ] 2024-08-27 02:34:16,619 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1786-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1786-1) 2024-08-27 02:34:17,941 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1786-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1786-1) 2024-08-27 02:34:17,941 - INFO - Waiting for VM ctest-TestBasicVMVNx-55366452-38409858 to be up.. 2024-08-27 02:34:18,037 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-27 02:34:23,255 - DEBUG - VM is in ACTIVE state now 2024-08-27 02:34:23,256 - INFO - VM name : ctest-TestBasicVMVNx-55366452-38409858 2024-08-27 02:34:23,431 - DEBUG - VM ctest-TestBasicVMVNx-55366452-38409858 ID is c5d10fb1-c622-4885-bd46-5184a251b403 2024-08-27 02:34:23,458 - DEBUG - VM ctest-TestBasicVMVNx-55366452-38409858 launched on Node cn-jenkins-deploy-platform-ansible-os-1786-1 2024-08-27 02:34:23,607 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/c5d10fb1-c622-4885-bd46-5184a251b403 2024-08-27 02:34:23,999 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/c5d10fb1-c622-4885-bd46-5184a251b403 2024-08-27 02:34:24,064 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/3ab6cb41-b7ff-4126-a9c0-ef32de28e2a2 2024-08-27 02:34:27,348 - 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') 2024-08-27 02:34:27,348 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-55366452-38409858 failed! 2024-08-27 02:34:27,414 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-55366452:ctest-vn-15856773 is 52.130.207.193 and allocation pool is NOT set 2024-08-27 02:34:29,489 - 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=5.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.78 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 = 1.784/3.737/5.691/1.953 ms') 2024-08-27 02:34:29,490 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-55366452-38409858 passed 2024-08-27 02:34:29,673 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 02:34:29,673 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-55366452-38409858, IP 52.130.207.195, Port 22 2024-08-27 02:34:29,742 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-08-27 02:34:29,959 - DEBUG - VM ctest-TestBasicVMVNx-55366452-38409858 is NOT ready for SSH connections, VM status: ACTIVE 2024-08-27 02:34:34,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 02:34:34,960 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-55366452-38409858, IP 52.130.207.195, Port 22 2024-08-27 02:34:35,162 - DEBUG - VM ctest-TestBasicVMVNx-55366452-38409858 is ready for SSH connections 2024-08-27 02:34:35,163 - INFO - Waiting for VM ctest-TestBasicVMVNx-55366452-41685672 to be up.. 2024-08-27 02:34:35,489 - DEBUG - VM is in ACTIVE state now 2024-08-27 02:34:35,490 - INFO - VM name : ctest-TestBasicVMVNx-55366452-41685672 2024-08-27 02:34:35,667 - DEBUG - VM ctest-TestBasicVMVNx-55366452-41685672 ID is d98bc289-32db-402c-9f5d-3936da095512 2024-08-27 02:34:35,667 - DEBUG - VM ctest-TestBasicVMVNx-55366452-41685672 launched on Node cn-jenkins-deploy-platform-ansible-os-1786-1 2024-08-27 02:34:35,901 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/d98bc289-32db-402c-9f5d-3936da095512 2024-08-27 02:34:35,933 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/416fa3da-6205-486a-a0b7-d570c22dd229 2024-08-27 02:34:37,256 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.882 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.882/2.161/3.441/1.279 ms') 2024-08-27 02:34:37,256 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-55366452-41685672 passed 2024-08-27 02:34:37,454 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 02:34:37,454 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-55366452-41685672, IP 52.130.207.196, Port 22 2024-08-27 02:34:37,660 - DEBUG - VM ctest-TestBasicVMVNx-55366452-41685672 is ready for SSH connections 2024-08-27 02:34:37,660 - DEBUG - FILE SIZE = 1303B 2024-08-27 02:34:37,660 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-55366452-38409858 to ctest-TestBasicVMVNx-55366452-41685672 using scp 2024-08-27 02:34:37,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 02:34:37,668 - 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.45, gateway password: c0ntrail123 2024-08-27 02:34:37,668 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-27 02:34:39,977 - DEBUG - 1+0 records in 1+0 records out 2024-08-27 02:34:40,660 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 02:34:41,025 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.45, gateway password: c0ntrail123 2024-08-27 02:34:41,026 - DEBUG - ls -l testfile 2024-08-27 02:34:42,917 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 26 20:34 testfile 2024-08-27 02:34:42,918 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-55366452-41685672 2024-08-27 02:34:42,918 - INFO - Deleting VM ctest-TestBasicVMVNx-55366452-41685672 2024-08-27 02:34:43,013 - INFO - Deleting VM ctest-TestBasicVMVNx-55366452-38409858 2024-08-27 02:34:43,107 - INFO - Deleting VN ctest-vn-15856773 2024-08-27 02:34:43,179 - DEBUG - VN 0056ba1b-d2d7-4d60-9cb0-5493c653191c still in use: Unable to complete operation on network 0056ba1b-d2d7-4d60-9cb0-5493c653191c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0999ea1c-a9cc-42f4-8c36-a9b90d1d4b5a'] 2024-08-27 02:34:43,179 - WARNING - Deleting VN ctest-vn-15856773 failed..Will retry 2024-08-27 02:34:45,453 - DEBUG - Response for deleting network () 2024-08-27 02:34:45,791 - DEBUG - No XMPP flaps were noticed during the test 2024-08-27 02:34:45,792 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:32] 2024-08-27 02:34:45,792 - INFO - -------------------------------------------------------------------------------- 2024-08-27 02:34:46,630 - INFO - Deleted project: ctest-TestBasicVMVNx-55366452, ID : 88adfc1f-4e0c-4191-bf87-2524e3d51be7