2024-09-11 15:28:15,636 - INFO - Domain Default found not creating 2024-09-11 15:28:15,812 - INFO - Project ctest-TestBasicVMVNx-33941174 not found, creating it 2024-09-11 15:28:16,290 - INFO - Created Project:ctest-TestBasicVMVNx-33941174, ID : 96d94bf2-0d0d-46f5-8eaf-5aaf2e3d12a3 2024-09-11 15:28:17,727 - INFO - ================================================================================ 2024-09-11 15:28:17,728 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-11 15:28:17,728 - 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-09-11 15:28:17,983 - DEBUG - Nothing to compare xmpp stats {'10.0.0.37': {'10.20.0.20': '0'}} with 2024-09-11 15:28:17,983 - INFO - Initial checks done. Running the testcase now 2024-09-11 15:28:17,983 - INFO - 2024-09-11 15:28:18,558 - DEBUG - Response for create_network : {'network': {'id': '4870825b-37cc-407a-95ec-1694cd175b95', 'name': 'ctest-vn-76835207', 'tenant_id': '96d94bf20d0d46f58eaf5aaf2e3d12a3', 'project_id': '96d94bf20d0d46f58eaf5aaf2e3d12a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-33941174', 'ctest-vn-76835207'], 'port_security_enabled': True, 'description': ''}} 2024-09-11 15:28:18,717 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc523104-1298-4629-9970-b1a97fd017a3', 'name': '', 'tenant_id': '96d94bf20d0d46f58eaf5aaf2e3d12a3', 'network_id': '4870825b-37cc-407a-95ec-1694cd175b95', 'ip_version': 4, 'cidr': '107.241.35.192/26', 'allocation_pools': [{'start': '107.241.35.194', 'end': '107.241.35.254'}], 'gateway_ip': '107.241.35.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.241.35.194', 'tags': [], 'project_id': '96d94bf20d0d46f58eaf5aaf2e3d12a3'}} 2024-09-11 15:28:18,737 - INFO - Created VN ctest-vn-76835207 2024-09-11 15:28:18,789 - DEBUG - VN ctest-vn-76835207 UUID is 4870825b-37cc-407a-95ec-1694cd175b95 2024-09-11 15:28:18,961 - DEBUG - Services list from nova: [, , ] 2024-09-11 15:28:19,999 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1895-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1895-1) 2024-09-11 15:28:21,123 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1895-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1895-1) 2024-09-11 15:28:21,123 - INFO - Waiting for VM ctest-TestBasicVMVNx-33941174-58046840 to be up.. 2024-09-11 15:28:21,210 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-11 15:28:26,296 - DEBUG - VM is in ACTIVE state now 2024-09-11 15:28:26,296 - INFO - VM name : ctest-TestBasicVMVNx-33941174-58046840 2024-09-11 15:28:26,389 - DEBUG - VM ctest-TestBasicVMVNx-33941174-58046840 ID is 7a66467f-87c9-44eb-97be-28494b9c137f 2024-09-11 15:28:26,407 - DEBUG - VM ctest-TestBasicVMVNx-33941174-58046840 launched on Node cn-jenkins-deploy-platform-ansible-os-1895-1 2024-09-11 15:28:26,483 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/7a66467f-87c9-44eb-97be-28494b9c137f 2024-09-11 15:28:26,784 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/7a66467f-87c9-44eb-97be-28494b9c137f 2024-09-11 15:28:26,819 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/02a2d22b-91d0-4a02-b7c6-e25dc49fc5eb 2024-09-11 15:28:30,080 - 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') 2024-09-11 15:28:30,080 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-33941174-58046840 failed! 2024-09-11 15:28:30,133 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-33941174:ctest-vn-76835207 is 107.241.35.193 and allocation pool is NOT set 2024-09-11 15:28:32,199 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.450 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.450/1.535/2.621/1.085 ms') 2024-09-11 15:28:32,199 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-33941174-58046840 passed 2024-09-11 15:28:32,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 15:28:32,353 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-33941174-58046840, IP 107.241.35.195, Port 22 2024-09-11 15:28:32,508 - DEBUG - VM ctest-TestBasicVMVNx-33941174-58046840 is ready for SSH connections 2024-09-11 15:28:32,508 - INFO - Waiting for VM ctest-TestBasicVMVNx-33941174-00703105 to be up.. 2024-09-11 15:28:32,582 - DEBUG - VM is in ACTIVE state now 2024-09-11 15:28:32,583 - INFO - VM name : ctest-TestBasicVMVNx-33941174-00703105 2024-09-11 15:28:32,748 - DEBUG - VM ctest-TestBasicVMVNx-33941174-00703105 ID is b67aaab2-ada1-4af1-8141-912393061f1a 2024-09-11 15:28:32,748 - DEBUG - VM ctest-TestBasicVMVNx-33941174-00703105 launched on Node cn-jenkins-deploy-platform-ansible-os-1895-1 2024-09-11 15:28:32,819 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/b67aaab2-ada1-4af1-8141-912393061f1a 2024-09-11 15:28:32,827 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/34143efb-5204-499c-a70e-f7f6f06f4b33 2024-09-11 15:28:34,056 - 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=2.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.564 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.564/1.690/2.816/1.126 ms') 2024-09-11 15:28:34,056 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-33941174-00703105 passed 2024-09-11 15:28:34,205 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 15:28:34,205 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-33941174-00703105, IP 107.241.35.196, Port 22 2024-09-11 15:28:34,360 - DEBUG - VM ctest-TestBasicVMVNx-33941174-00703105 is ready for SSH connections 2024-09-11 15:28:34,360 - DEBUG - FILE SIZE = 1303B 2024-09-11 15:28:34,360 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-33941174-58046840 to ctest-TestBasicVMVNx-33941174-00703105 using scp 2024-09-11 15:28:34,361 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 15:28:34,366 - 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.37, gateway password: c0ntrail123 2024-09-11 15:28:34,367 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-11 15:28:36,250 - DEBUG - 1+0 records in 1+0 records out 2024-09-11 15:28:36,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 15:28:37,133 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123 2024-09-11 15:28:37,133 - DEBUG - ls -l testfile 2024-09-11 15:28:38,688 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 11 09:28 testfile 2024-09-11 15:28:38,689 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-33941174-00703105 2024-09-11 15:28:38,689 - INFO - Deleting VM ctest-TestBasicVMVNx-33941174-00703105 2024-09-11 15:28:38,752 - INFO - Deleting VM ctest-TestBasicVMVNx-33941174-58046840 2024-09-11 15:28:38,816 - INFO - Deleting VN ctest-vn-76835207 2024-09-11 15:28:38,860 - DEBUG - VN 4870825b-37cc-407a-95ec-1694cd175b95 still in use: Unable to complete operation on network 4870825b-37cc-407a-95ec-1694cd175b95. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7cf2bc05-cbef-4035-9a8d-ed0a028955f1'] 2024-09-11 15:28:38,860 - WARNING - Deleting VN ctest-vn-76835207 failed..Will retry 2024-09-11 15:28:40,960 - DEBUG - Response for deleting network () 2024-09-11 15:28:41,223 - DEBUG - No XMPP flaps were noticed during the test
2024-09-11 15:28:41,223 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-09-11 15:28:41,223 - INFO - -------------------------------------------------------------------------------- 2024-09-11 15:28:41,889 - INFO - Deleted project: ctest-TestBasicVMVNx-33941174, ID : 96d94bf2-0d0d-46f5-8eaf-5aaf2e3d12a3