2024-09-17 10:35:00,504 - INFO - Domain Default found not creating 2024-09-17 10:35:00,705 - INFO - Project ctest-TestBasicVMVNx-11705701 not found, creating it 2024-09-17 10:35:01,205 - INFO - Created Project:ctest-TestBasicVMVNx-11705701, ID : 02342aea-a01a-4ec4-a1e6-0b385859a832 2024-09-17 10:35:02,766 - INFO - ================================================================================ 2024-09-17 10:35:02,766 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-17 10:35:02,766 - 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-17 10:35:03,034 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.13': '0'}} with 2024-09-17 10:35:03,034 - INFO - Initial checks done. Running the testcase now 2024-09-17 10:35:03,034 - INFO - 2024-09-17 10:35:03,624 - DEBUG - Response for create_network : {'network': {'id': '0234f7e2-5a2d-4a9d-a868-3cc97089f4a0', 'name': 'ctest-vn-15428070', 'tenant_id': '02342aeaa01a4ec4a1e60b385859a832', 'project_id': '02342aeaa01a4ec4a1e60b385859a832', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-11705701', 'ctest-vn-15428070'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 10:35:03,827 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f316c1bb-e7f4-460d-88be-06b4504e0899', 'name': '', 'tenant_id': '02342aeaa01a4ec4a1e60b385859a832', 'network_id': '0234f7e2-5a2d-4a9d-a868-3cc97089f4a0', 'ip_version': 4, 'cidr': '23.178.64.192/26', 'allocation_pools': [{'start': '23.178.64.194', 'end': '23.178.64.254'}], 'gateway_ip': '23.178.64.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.178.64.194', 'tags': [], 'project_id': '02342aeaa01a4ec4a1e60b385859a832'}} 2024-09-17 10:35:03,851 - INFO - Created VN ctest-vn-15428070 2024-09-17 10:35:03,918 - DEBUG - VN ctest-vn-15428070 UUID is 0234f7e2-5a2d-4a9d-a868-3cc97089f4a0 2024-09-17 10:35:04,103 - DEBUG - Services list from nova: [, , ] 2024-09-17 10:35:05,210 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1959-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1959-1) 2024-09-17 10:35:06,453 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1959-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1959-1) 2024-09-17 10:35:06,454 - INFO - Waiting for VM ctest-TestBasicVMVNx-11705701-03303208 to be up.. 2024-09-17 10:35:06,543 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-17 10:35:11,627 - DEBUG - VM is in ACTIVE state now 2024-09-17 10:35:11,627 - INFO - VM name : ctest-TestBasicVMVNx-11705701-03303208 2024-09-17 10:35:11,713 - DEBUG - VM ctest-TestBasicVMVNx-11705701-03303208 ID is af7bb4c7-77c4-4c05-a94c-f6c712d2b8bb 2024-09-17 10:35:11,733 - DEBUG - VM ctest-TestBasicVMVNx-11705701-03303208 launched on Node cn-jenkins-deploy-platform-ansible-os-1959-1 2024-09-17 10:35:11,818 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/af7bb4c7-77c4-4c05-a94c-f6c712d2b8bb 2024-09-17 10:35:12,125 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/af7bb4c7-77c4-4c05-a94c-f6c712d2b8bb 2024-09-17 10:35:12,163 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/aaf38a99-9c14-4f54-a983-d346ac6fc9ca 2024-09-17 10:35:15,444 - 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-17 10:35:15,445 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-11705701-03303208 failed! 2024-09-17 10:35:15,514 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-11705701:ctest-vn-15428070 is 23.178.64.193 and allocation pool is NOT set 2024-09-17 10:35:17,578 - 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.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.487 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.487/1.958/3.430/1.471 ms') 2024-09-17 10:35:17,578 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-11705701-03303208 passed 2024-09-17 10:35:17,750 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 10:35:17,751 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-11705701-03303208, IP 23.178.64.195, Port 22 2024-09-17 10:35:17,924 - DEBUG - VM ctest-TestBasicVMVNx-11705701-03303208 is ready for SSH connections 2024-09-17 10:35:17,924 - INFO - Waiting for VM ctest-TestBasicVMVNx-11705701-95285950 to be up.. 2024-09-17 10:35:18,035 - DEBUG - VM is in ACTIVE state now 2024-09-17 10:35:18,036 - INFO - VM name : ctest-TestBasicVMVNx-11705701-95285950 2024-09-17 10:35:18,140 - DEBUG - VM ctest-TestBasicVMVNx-11705701-95285950 ID is 2303b195-2a3c-4ac4-acd1-efd532be7c5e 2024-09-17 10:35:18,140 - DEBUG - VM ctest-TestBasicVMVNx-11705701-95285950 launched on Node cn-jenkins-deploy-platform-ansible-os-1959-1 2024-09-17 10:35:18,234 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/2303b195-2a3c-4ac4-acd1-efd532be7c5e 2024-09-17 10:35:18,246 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/0e93dac4-671a-4472-b553-d7c636315ec1 2024-09-17 10:35:19,512 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.485 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.485/1.820/3.156/1.335 ms') 2024-09-17 10:35:19,512 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-11705701-95285950 passed 2024-09-17 10:35:19,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 10:35:19,675 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-11705701-95285950, IP 23.178.64.196, Port 22 2024-09-17 10:35:19,841 - DEBUG - VM ctest-TestBasicVMVNx-11705701-95285950 is ready for SSH connections 2024-09-17 10:35:19,841 - DEBUG - FILE SIZE = 1303B 2024-09-17 10:35:19,841 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-11705701-03303208 to ctest-TestBasicVMVNx-11705701-95285950 using scp 2024-09-17 10:35:19,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 10:35:19,847 - 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-09-17 10:35:19,847 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-17 10:35:21,790 - DEBUG - 1+0 records in 1+0 records out 2024-09-17 10:35:22,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 10:35:22,904 - 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-09-17 10:35:22,904 - DEBUG - ls -l testfile 2024-09-17 10:35:24,484 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 17 04:35 testfile 2024-09-17 10:35:24,485 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-11705701-95285950 2024-09-17 10:35:24,485 - INFO - Deleting VM ctest-TestBasicVMVNx-11705701-95285950 2024-09-17 10:35:24,553 - INFO - Deleting VM ctest-TestBasicVMVNx-11705701-03303208 2024-09-17 10:35:24,629 - INFO - Deleting VN ctest-vn-15428070 2024-09-17 10:35:24,669 - DEBUG - VN 0234f7e2-5a2d-4a9d-a868-3cc97089f4a0 still in use: Unable to complete operation on network 0234f7e2-5a2d-4a9d-a868-3cc97089f4a0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-09384451-73ba-4db0-a1f6-da3b9d2d1de4'] 2024-09-17 10:35:24,670 - WARNING - Deleting VN ctest-vn-15428070 failed..Will retry 2024-09-17 10:35:26,788 - DEBUG - Response for deleting network () 2024-09-17 10:35:27,048 - DEBUG - No XMPP flaps were noticed during the test 2024-09-17 10:35:27,048 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-09-17 10:35:27,048 - INFO - -------------------------------------------------------------------------------- 2024-09-17 10:35:27,775 - INFO - Deleted project: ctest-TestBasicVMVNx-11705701, ID : 02342aea-a01a-4ec4-a1e6-0b385859a832