2024-10-17 02:47:08,824 - INFO - Domain Default found not creating 2024-10-17 02:47:09,009 - INFO - Project ctest-TestBasicVMVNx-72594670 not found, creating it 2024-10-17 02:47:09,518 - INFO - Created Project:ctest-TestBasicVMVNx-72594670, ID : b15fdee5-7efe-42cb-9c1a-a954f44296b1 2024-10-17 02:47:11,191 - INFO - ================================================================================ 2024-10-17 02:47:11,191 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-17 02:47:11,191 - 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-10-17 02:47:11,464 - DEBUG - Nothing to compare xmpp stats {'10.0.0.43': {'10.20.0.6': '0'}} with 2024-10-17 02:47:11,464 - INFO - Initial checks done. Running the testcase now 2024-10-17 02:47:11,464 - INFO - 2024-10-17 02:47:12,089 - DEBUG - Response for create_network : {'network': {'id': 'e173ee4c-f550-465a-9342-21f93133a298', 'name': 'ctest-vn-48788114', 'tenant_id': 'b15fdee57efe42cb9c1aa954f44296b1', 'project_id': 'b15fdee57efe42cb9c1aa954f44296b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-72594670', 'ctest-vn-48788114'], 'port_security_enabled': True, 'description': ''}} 2024-10-17 02:47:12,564 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3d636b9-7b09-4a26-82c5-f6f634068b67', 'name': '', 'tenant_id': 'b15fdee57efe42cb9c1aa954f44296b1', 'network_id': 'e173ee4c-f550-465a-9342-21f93133a298', 'ip_version': 4, 'cidr': '113.28.159.0/26', 'allocation_pools': [{'start': '113.28.159.2', 'end': '113.28.159.62'}], 'gateway_ip': '113.28.159.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.28.159.2', 'tags': [], 'project_id': 'b15fdee57efe42cb9c1aa954f44296b1'}} 2024-10-17 02:47:12,585 - INFO - Created VN ctest-vn-48788114 2024-10-17 02:47:12,636 - DEBUG - VN ctest-vn-48788114 UUID is e173ee4c-f550-465a-9342-21f93133a298 2024-10-17 02:47:12,818 - DEBUG - Services list from nova: [, , ] 2024-10-17 02:47:13,986 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2107-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2107-1) 2024-10-17 02:47:15,238 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2107-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2107-1) 2024-10-17 02:47:15,238 - INFO - Waiting for VM ctest-TestBasicVMVNx-72594670-82300425 to be up.. 2024-10-17 02:47:15,332 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-17 02:47:20,446 - DEBUG - VM is in ACTIVE state now 2024-10-17 02:47:20,446 - INFO - VM name : ctest-TestBasicVMVNx-72594670-82300425 2024-10-17 02:47:20,544 - DEBUG - VM ctest-TestBasicVMVNx-72594670-82300425 ID is 470bd91c-5087-4cd7-99fc-e77fdc8fc4a5 2024-10-17 02:47:20,565 - DEBUG - VM ctest-TestBasicVMVNx-72594670-82300425 launched on Node cn-jenkins-deploy-platform-ansible-os-2107-1 2024-10-17 02:47:20,652 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/470bd91c-5087-4cd7-99fc-e77fdc8fc4a5 2024-10-17 02:47:20,990 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/470bd91c-5087-4cd7-99fc-e77fdc8fc4a5 2024-10-17 02:47:21,035 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine-interface/a43e888e-51cf-4772-b543-f41b9a5dc3a8 2024-10-17 02:47:24,285 - 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') 2024-10-17 02:47:24,286 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-72594670-82300425 failed! 2024-10-17 02:47:24,340 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-72594670:ctest-vn-48788114 is 113.28.159.1 and allocation pool is NOT set 2024-10-17 02:47:26,405 - 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.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.336 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.336/1.721/3.106/1.385 ms') 2024-10-17 02:47:26,405 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-72594670-82300425 passed 2024-10-17 02:47:26,560 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-17 02:47:26,560 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-72594670-82300425, IP 113.28.159.3, Port 22 2024-10-17 02:47:26,730 - DEBUG - VM ctest-TestBasicVMVNx-72594670-82300425 is ready for SSH connections 2024-10-17 02:47:26,731 - INFO - Waiting for VM ctest-TestBasicVMVNx-72594670-50693198 to be up.. 2024-10-17 02:47:26,873 - DEBUG - VM is in ACTIVE state now 2024-10-17 02:47:26,874 - INFO - VM name : ctest-TestBasicVMVNx-72594670-50693198 2024-10-17 02:47:26,977 - DEBUG - VM ctest-TestBasicVMVNx-72594670-50693198 ID is 35e43ad9-abb2-4560-baaa-775324842d6d 2024-10-17 02:47:26,978 - DEBUG - VM ctest-TestBasicVMVNx-72594670-50693198 launched on Node cn-jenkins-deploy-platform-ansible-os-2107-1 2024-10-17 02:47:27,068 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/35e43ad9-abb2-4560-baaa-775324842d6d 2024-10-17 02:47:27,079 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine-interface/fc51d742-de3d-4427-8848-43a612169a22 2024-10-17 02:47:28,340 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.648 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.648/1.859/3.070/1.211 ms') 2024-10-17 02:47:28,340 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-72594670-50693198 passed 2024-10-17 02:47:28,500 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-17 02:47:28,500 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-72594670-50693198, IP 113.28.159.4, Port 22 2024-10-17 02:47:28,674 - DEBUG - VM ctest-TestBasicVMVNx-72594670-50693198 is ready for SSH connections 2024-10-17 02:47:28,674 - DEBUG - FILE SIZE = 1303B 2024-10-17 02:47:28,674 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-72594670-82300425 to ctest-TestBasicVMVNx-72594670-50693198 using scp 2024-10-17 02:47:28,675 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-17 02:47:28,680 - 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.43, gateway password: c0ntrail123 2024-10-17 02:47:28,680 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-17 02:47:30,711 - DEBUG - 1+0 records in 1+0 records out 2024-10-17 02:47:31,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-17 02:47:31,730 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123 2024-10-17 02:47:31,731 - DEBUG - ls -l testfile 2024-10-17 02:47:33,360 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 16 20:47 testfile 2024-10-17 02:47:33,361 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-72594670-50693198 2024-10-17 02:47:33,361 - INFO - Deleting VM ctest-TestBasicVMVNx-72594670-50693198 2024-10-17 02:47:33,437 - INFO - Deleting VM ctest-TestBasicVMVNx-72594670-82300425 2024-10-17 02:47:33,510 - INFO - Deleting VN ctest-vn-48788114 2024-10-17 02:47:33,553 - DEBUG - VN e173ee4c-f550-465a-9342-21f93133a298 still in use: Unable to complete operation on network e173ee4c-f550-465a-9342-21f93133a298. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-27e3aca1-09f1-4209-ab75-8fbd919a6e31'] 2024-10-17 02:47:33,554 - WARNING - Deleting VN ctest-vn-48788114 failed..Will retry 2024-10-17 02:47:35,671 - DEBUG - Response for deleting network () 2024-10-17 02:47:35,928 - DEBUG - No XMPP flaps were noticed during the test
2024-10-17 02:47:35,928 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-10-17 02:47:35,928 - INFO - -------------------------------------------------------------------------------- 2024-10-17 02:47:36,706 - INFO - Deleted project: ctest-TestBasicVMVNx-72594670, ID : b15fdee5-7efe-42cb-9c1a-a954f44296b1