2024-08-26 16:29:15,413 - INFO - Domain Default found not creating 2024-08-26 16:29:15,632 - INFO - Project ctest-TestBasicVMVNx-52429104 not found, creating it 2024-08-26 16:29:16,123 - INFO - Created Project:ctest-TestBasicVMVNx-52429104, ID : 02102daa-0c5a-43c6-8959-e785367dc681 2024-08-26 16:29:17,828 - INFO - ================================================================================ 2024-08-26 16:29:17,828 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-26 16:29:17,828 - 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-26 16:29:18,083 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.5': '0'}} with 2024-08-26 16:29:18,083 - INFO - Initial checks done. Running the testcase now 2024-08-26 16:29:18,083 - INFO - 2024-08-26 16:29:18,707 - DEBUG - Response for create_network : {'network': {'id': 'c396023f-5d10-418d-ac3b-7472de73fbd5', 'name': 'ctest-vn-28440921', 'tenant_id': '02102daa0c5a43c68959e785367dc681', 'project_id': '02102daa0c5a43c68959e785367dc681', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-52429104', 'ctest-vn-28440921'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 16:29:19,089 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a0cafc0-d3cf-437e-930b-6a700d89a4b7', 'name': '', 'tenant_id': '02102daa0c5a43c68959e785367dc681', 'network_id': 'c396023f-5d10-418d-ac3b-7472de73fbd5', 'ip_version': 4, 'cidr': '31.185.227.192/26', 'allocation_pools': [{'start': '31.185.227.194', 'end': '31.185.227.254'}], 'gateway_ip': '31.185.227.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.185.227.194', 'tags': [], 'project_id': '02102daa0c5a43c68959e785367dc681'}} 2024-08-26 16:29:19,110 - INFO - Created VN ctest-vn-28440921 2024-08-26 16:29:19,165 - DEBUG - VN ctest-vn-28440921 UUID is c396023f-5d10-418d-ac3b-7472de73fbd5 2024-08-26 16:29:19,343 - DEBUG - Services list from nova: [, , ] 2024-08-26 16:29:20,489 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1761-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1761-1) 2024-08-26 16:29:21,807 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1761-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1761-1) 2024-08-26 16:29:21,807 - INFO - Waiting for VM ctest-TestBasicVMVNx-52429104-90177455 to be up.. 2024-08-26 16:29:21,900 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-26 16:29:26,985 - DEBUG - VM is in ACTIVE state now 2024-08-26 16:29:26,985 - INFO - VM name : ctest-TestBasicVMVNx-52429104-90177455 2024-08-26 16:29:27,074 - DEBUG - VM ctest-TestBasicVMVNx-52429104-90177455 ID is fb16d752-12f3-440a-b390-284c7833793f 2024-08-26 16:29:27,095 - DEBUG - VM ctest-TestBasicVMVNx-52429104-90177455 launched on Node cn-jenkins-deploy-platform-ansible-os-1761-1 2024-08-26 16:29:27,178 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/fb16d752-12f3-440a-b390-284c7833793f 2024-08-26 16:29:27,524 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/fb16d752-12f3-440a-b390-284c7833793f 2024-08-26 16:29:27,562 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/a59c6140-0299-4d16-9a68-acee764b0f84 2024-08-26 16:29:30,815 - 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 1003ms') 2024-08-26 16:29:30,815 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-52429104-90177455 failed! 2024-08-26 16:29:30,869 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-52429104:ctest-vn-28440921 is 31.185.227.193 and allocation pool is NOT set 2024-08-26 16:29:32,935 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.497 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.497/1.663/2.829/1.166 ms') 2024-08-26 16:29:32,935 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-52429104-90177455 passed 2024-08-26 16:29:33,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 16:29:33,089 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-52429104-90177455, IP 31.185.227.195, Port 22 2024-08-26 16:29:33,244 - DEBUG - VM ctest-TestBasicVMVNx-52429104-90177455 is ready for SSH connections 2024-08-26 16:29:33,244 - INFO - Waiting for VM ctest-TestBasicVMVNx-52429104-08685459 to be up.. 2024-08-26 16:29:33,366 - DEBUG - VM is in ACTIVE state now 2024-08-26 16:29:33,366 - INFO - VM name : ctest-TestBasicVMVNx-52429104-08685459 2024-08-26 16:29:33,457 - DEBUG - VM ctest-TestBasicVMVNx-52429104-08685459 ID is 4184f658-2b86-4fb2-8132-ae9e6b8ec17f 2024-08-26 16:29:33,457 - DEBUG - VM ctest-TestBasicVMVNx-52429104-08685459 launched on Node cn-jenkins-deploy-platform-ansible-os-1761-1 2024-08-26 16:29:33,540 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/4184f658-2b86-4fb2-8132-ae9e6b8ec17f 2024-08-26 16:29:33,549 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/2165c9a3-47e0-46be-8348-d5bb18314cbd 2024-08-26 16:29:34,793 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.35 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 = 1.353/3.124/4.896/1.771 ms') 2024-08-26 16:29:34,793 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-52429104-08685459 passed 2024-08-26 16:29:34,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 16:29:34,957 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-52429104-08685459, IP 31.185.227.196, Port 22 2024-08-26 16:29:35,112 - DEBUG - VM ctest-TestBasicVMVNx-52429104-08685459 is ready for SSH connections 2024-08-26 16:29:35,113 - DEBUG - FILE SIZE = 1303B 2024-08-26 16:29:35,113 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-52429104-90177455 to ctest-TestBasicVMVNx-52429104-08685459 using scp 2024-08-26 16:29:35,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 16:29:35,119 - 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.29, gateway password: c0ntrail123 2024-08-26 16:29:35,120 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-26 16:29:37,097 - DEBUG - 1+0 records in 1+0 records out 2024-08-26 16:29:37,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 16:29:38,113 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-08-26 16:29:38,113 - DEBUG - ls -l testfile 2024-08-26 16:29:39,753 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 26 10:29 testfile 2024-08-26 16:29:39,753 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-52429104-08685459 2024-08-26 16:29:39,754 - INFO - Deleting VM ctest-TestBasicVMVNx-52429104-08685459 2024-08-26 16:29:39,825 - INFO - Deleting VM ctest-TestBasicVMVNx-52429104-90177455 2024-08-26 16:29:39,891 - INFO - Deleting VN ctest-vn-28440921 2024-08-26 16:29:39,933 - DEBUG - VN c396023f-5d10-418d-ac3b-7472de73fbd5 still in use: Unable to complete operation on network c396023f-5d10-418d-ac3b-7472de73fbd5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-afcfa80e-ca6e-420b-8f5e-d076704348b0'] 2024-08-26 16:29:39,934 - WARNING - Deleting VN ctest-vn-28440921 failed..Will retry 2024-08-26 16:29:42,047 - DEBUG - Response for deleting network () 2024-08-26 16:29:42,307 - DEBUG - No XMPP flaps were noticed during the test
2024-08-26 16:29:42,308 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-08-26 16:29:42,308 - INFO - -------------------------------------------------------------------------------- 2024-08-26 16:29:43,137 - INFO - Deleted project: ctest-TestBasicVMVNx-52429104, ID : 02102daa-0c5a-43c6-8959-e785367dc681