2024-08-21 14:46:33,836 - INFO - Domain Default found not creating 2024-08-21 14:46:33,994 - INFO - Project ctest-TestBasicVMVNx-87720299 not found, creating it 2024-08-21 14:46:34,498 - INFO - Created Project:ctest-TestBasicVMVNx-87720299, ID : 5a5c3bb1-11e4-41e6-9e76-edec4a6a7d81 2024-08-21 14:46:36,131 - INFO - ================================================================================ 2024-08-21 14:46:36,131 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-21 14:46:36,131 - 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-21 14:46:36,386 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.17': '0'}} with 2024-08-21 14:46:36,386 - INFO - Initial checks done. Running the testcase now 2024-08-21 14:46:36,386 - INFO - 2024-08-21 14:46:36,954 - DEBUG - Response for create_network : {'network': {'id': '47d34a3e-9ad8-476a-a0e4-a50c4e2f6a8a', 'name': 'ctest-vn-09259453', 'tenant_id': '5a5c3bb111e441e69e76edec4a6a7d81', 'project_id': '5a5c3bb111e441e69e76edec4a6a7d81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-87720299', 'ctest-vn-09259453'], 'port_security_enabled': True, 'description': ''}} 2024-08-21 14:46:37,171 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c4db7aa9-f5a3-4815-919b-6f49f25365d9', 'name': '', 'tenant_id': '5a5c3bb111e441e69e76edec4a6a7d81', 'network_id': '47d34a3e-9ad8-476a-a0e4-a50c4e2f6a8a', 'ip_version': 4, 'cidr': '149.44.243.0/26', 'allocation_pools': [{'start': '149.44.243.2', 'end': '149.44.243.62'}], 'gateway_ip': '149.44.243.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.44.243.2', 'tags': [], 'project_id': '5a5c3bb111e441e69e76edec4a6a7d81'}} 2024-08-21 14:46:37,192 - INFO - Created VN ctest-vn-09259453 2024-08-21 14:46:37,244 - DEBUG - VN ctest-vn-09259453 UUID is 47d34a3e-9ad8-476a-a0e4-a50c4e2f6a8a 2024-08-21 14:46:37,406 - DEBUG - Services list from nova: [, , ] 2024-08-21 14:46:38,574 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1689-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1689-1) 2024-08-21 14:46:44,839 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1689-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1689-1) 2024-08-21 14:46:44,839 - INFO - Waiting for VM ctest-TestBasicVMVNx-87720299-84262048 to be up.. 2024-08-21 14:46:44,948 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-21 14:46:50,042 - DEBUG - VM is in ACTIVE state now 2024-08-21 14:46:50,042 - INFO - VM name : ctest-TestBasicVMVNx-87720299-84262048 2024-08-21 14:46:50,121 - DEBUG - VM ctest-TestBasicVMVNx-87720299-84262048 ID is 07e31f15-67c2-41aa-9d47-f95ed3023d1a 2024-08-21 14:46:50,139 - DEBUG - VM ctest-TestBasicVMVNx-87720299-84262048 launched on Node cn-jenkins-deploy-platform-ansible-os-1689-1 2024-08-21 14:46:50,215 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/07e31f15-67c2-41aa-9d47-f95ed3023d1a 2024-08-21 14:46:50,519 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/07e31f15-67c2-41aa-9d47-f95ed3023d1a 2024-08-21 14:46:50,556 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/c65e3a66-defd-44a7-9ab9-9f03cc594902 2024-08-21 14:46:53,821 - 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 1031ms') 2024-08-21 14:46:53,821 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-87720299-84262048 failed! 2024-08-21 14:46:53,876 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-87720299:ctest-vn-09259453 is 149.44.243.1 and allocation pool is NOT set 2024-08-21 14:46:55,936 - 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=8.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.26 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.258/5.072/8.886/3.814 ms') 2024-08-21 14:46:55,936 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-87720299-84262048 passed 2024-08-21 14:46:56,092 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 14:46:56,092 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-87720299-84262048, IP 149.44.243.3, Port 22 2024-08-21 14:46:56,247 - DEBUG - VM ctest-TestBasicVMVNx-87720299-84262048 is ready for SSH connections 2024-08-21 14:46:56,248 - INFO - Waiting for VM ctest-TestBasicVMVNx-87720299-11391328 to be up.. 2024-08-21 14:46:56,333 - DEBUG - VM is in ACTIVE state now 2024-08-21 14:46:56,333 - INFO - VM name : ctest-TestBasicVMVNx-87720299-11391328 2024-08-21 14:46:56,413 - DEBUG - VM ctest-TestBasicVMVNx-87720299-11391328 ID is 04af693f-2115-4e36-8984-5a73cd91a168 2024-08-21 14:46:56,413 - DEBUG - VM ctest-TestBasicVMVNx-87720299-11391328 launched on Node cn-jenkins-deploy-platform-ansible-os-1689-1 2024-08-21 14:46:56,504 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/04af693f-2115-4e36-8984-5a73cd91a168 2024-08-21 14:46:56,513 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/8eff6cb1-96b1-487e-a3fc-0785fbc9a066 2024-08-21 14:46:57,764 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.444 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.444/1.827/3.210/1.383 ms') 2024-08-21 14:46:57,765 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-87720299-11391328 passed 2024-08-21 14:46:57,916 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 14:46:57,916 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-87720299-11391328, IP 149.44.243.4, Port 22 2024-08-21 14:46:58,071 - DEBUG - VM ctest-TestBasicVMVNx-87720299-11391328 is ready for SSH connections 2024-08-21 14:46:58,072 - DEBUG - FILE SIZE = 1303B 2024-08-21 14:46:58,072 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-87720299-84262048 to ctest-TestBasicVMVNx-87720299-11391328 using scp 2024-08-21 14:46:58,072 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 14:46:58,077 - 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.12, gateway password: c0ntrail123 2024-08-21 14:46:58,077 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-21 14:47:01,061 - DEBUG - 1+0 records in 1+0 records out 2024-08-21 14:47:01,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 14:47:01,993 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2024-08-21 14:47:01,993 - DEBUG - ls -l testfile 2024-08-21 14:47:03,580 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 21 08:47 testfile 2024-08-21 14:47:03,580 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-87720299-11391328 2024-08-21 14:47:03,581 - INFO - Deleting VM ctest-TestBasicVMVNx-87720299-11391328 2024-08-21 14:47:03,680 - INFO - Deleting VM ctest-TestBasicVMVNx-87720299-84262048 2024-08-21 14:47:03,766 - INFO - Deleting VN ctest-vn-09259453 2024-08-21 14:47:03,816 - DEBUG - VN 47d34a3e-9ad8-476a-a0e4-a50c4e2f6a8a still in use: Unable to complete operation on network 47d34a3e-9ad8-476a-a0e4-a50c4e2f6a8a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-47ee82e9-43aa-4d4e-b7b3-3409180ea40e'] 2024-08-21 14:47:03,816 - WARNING - Deleting VN ctest-vn-09259453 failed..Will retry 2024-08-21 14:47:05,926 - DEBUG - Response for deleting network () 2024-08-21 14:47:06,184 - DEBUG - No XMPP flaps were noticed during the test 2024-08-21 14:47:06,184 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30] 2024-08-21 14:47:06,184 - INFO - -------------------------------------------------------------------------------- 2024-08-21 14:47:06,939 - INFO - Deleted project: ctest-TestBasicVMVNx-87720299, ID : 5a5c3bb1-11e4-41e6-9e76-edec4a6a7d81