2024-08-26 13:09:22,089 - INFO - Domain Default found not creating 2024-08-26 13:09:22,322 - INFO - Project ctest-TestBasicVMVNx-29662278 not found, creating it 2024-08-26 13:09:22,839 - INFO - Created Project:ctest-TestBasicVMVNx-29662278, ID : 42a3f575-6cf4-4c19-a163-365780b8835a 2024-08-26 13:09:24,544 - INFO - ================================================================================ 2024-08-26 13:09:24,544 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-26 13:09:24,544 - 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 13:09:24,808 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.6': '0'}} with 2024-08-26 13:09:24,808 - INFO - Initial checks done. Running the testcase now 2024-08-26 13:09:24,808 - INFO - 2024-08-26 13:09:25,460 - DEBUG - Response for create_network : {'network': {'id': '2190f59e-9bae-448c-8e5e-d37c900b195a', 'name': 'ctest-vn-25398828', 'tenant_id': '42a3f5756cf44c19a163365780b8835a', 'project_id': '42a3f5756cf44c19a163365780b8835a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-29662278', 'ctest-vn-25398828'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 13:09:25,674 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aaaf1928-5cbc-4d94-941a-d5264aeb53a6', 'name': '', 'tenant_id': '42a3f5756cf44c19a163365780b8835a', 'network_id': '2190f59e-9bae-448c-8e5e-d37c900b195a', 'ip_version': 4, 'cidr': '92.138.10.0/26', 'allocation_pools': [{'start': '92.138.10.2', 'end': '92.138.10.62'}], 'gateway_ip': '92.138.10.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.138.10.2', 'tags': [], 'project_id': '42a3f5756cf44c19a163365780b8835a'}} 2024-08-26 13:09:25,708 - INFO - Created VN ctest-vn-25398828 2024-08-26 13:09:25,760 - DEBUG - VN ctest-vn-25398828 UUID is 2190f59e-9bae-448c-8e5e-d37c900b195a 2024-08-26 13:09:25,955 - DEBUG - Services list from nova: [, , ] 2024-08-26 13:09:27,089 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1758-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1758-1) 2024-08-26 13:09:28,576 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1758-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1758-1) 2024-08-26 13:09:28,576 - INFO - Waiting for VM ctest-TestBasicVMVNx-29662278-12180053 to be up.. 2024-08-26 13:09:28,678 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-26 13:09:33,774 - DEBUG - VM is in ACTIVE state now 2024-08-26 13:09:33,774 - INFO - VM name : ctest-TestBasicVMVNx-29662278-12180053 2024-08-26 13:09:33,866 - DEBUG - VM ctest-TestBasicVMVNx-29662278-12180053 ID is 0ab12a05-f401-4651-9828-b78ba87be693 2024-08-26 13:09:33,891 - DEBUG - VM ctest-TestBasicVMVNx-29662278-12180053 launched on Node cn-jenkins-deploy-platform-ansible-os-1758-1 2024-08-26 13:09:33,986 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/0ab12a05-f401-4651-9828-b78ba87be693 2024-08-26 13:09:34,305 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/0ab12a05-f401-4651-9828-b78ba87be693 2024-08-26 13:09:34,358 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/4a853e61-5a89-4526-b68a-42c60555fb7e 2024-08-26 13:09:37,622 - 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 1010ms') 2024-08-26 13:09:37,623 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-29662278-12180053 failed! 2024-08-26 13:09:37,677 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-29662278:ctest-vn-25398828 is 92.138.10.1 and allocation pool is NOT set 2024-08-26 13:09:39,744 - 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.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.518 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.518/4.416/8.314/3.898 ms') 2024-08-26 13:09:39,745 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-29662278-12180053 passed 2024-08-26 13:09:39,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 13:09:39,897 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-29662278-12180053, IP 92.138.10.3, Port 22 2024-08-26 13:09:40,052 - DEBUG - VM ctest-TestBasicVMVNx-29662278-12180053 is ready for SSH connections 2024-08-26 13:09:40,052 - INFO - Waiting for VM ctest-TestBasicVMVNx-29662278-03862495 to be up.. 2024-08-26 13:09:40,171 - DEBUG - VM is in ACTIVE state now 2024-08-26 13:09:40,171 - INFO - VM name : ctest-TestBasicVMVNx-29662278-03862495 2024-08-26 13:09:40,282 - DEBUG - VM ctest-TestBasicVMVNx-29662278-03862495 ID is 8bbeded7-e59e-4e72-9aa9-6cb3c1bc2fbd 2024-08-26 13:09:40,282 - DEBUG - VM ctest-TestBasicVMVNx-29662278-03862495 launched on Node cn-jenkins-deploy-platform-ansible-os-1758-1 2024-08-26 13:09:40,393 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/8bbeded7-e59e-4e72-9aa9-6cb3c1bc2fbd 2024-08-26 13:09:40,405 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/db09340b-7874-4b7c-80b8-b5e59a2193fb 2024-08-26 13:09:41,665 - 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.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.510 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.510/1.883/3.256/1.373 ms') 2024-08-26 13:09:41,666 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-29662278-03862495 passed 2024-08-26 13:09:41,816 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 13:09:41,816 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-29662278-03862495, IP 92.138.10.4, Port 22 2024-08-26 13:09:42,002 - DEBUG - VM ctest-TestBasicVMVNx-29662278-03862495 is ready for SSH connections 2024-08-26 13:09:42,002 - DEBUG - FILE SIZE = 1303B 2024-08-26 13:09:42,002 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-29662278-12180053 to ctest-TestBasicVMVNx-29662278-03862495 using scp 2024-08-26 13:09:42,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 13:09:42,009 - 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.32, gateway password: c0ntrail123 2024-08-26 13:09:42,009 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-26 13:09:43,997 - DEBUG - 1+0 records in 1+0 records out 2024-08-26 13:09:44,773 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 13:09:45,122 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2024-08-26 13:09:45,122 - DEBUG - ls -l testfile 2024-08-26 13:09:46,707 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 26 07:09 testfile 2024-08-26 13:09:46,707 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-29662278-03862495 2024-08-26 13:09:46,708 - INFO - Deleting VM ctest-TestBasicVMVNx-29662278-03862495 2024-08-26 13:09:46,794 - INFO - Deleting VM ctest-TestBasicVMVNx-29662278-12180053 2024-08-26 13:09:46,872 - INFO - Deleting VN ctest-vn-25398828 2024-08-26 13:09:46,919 - DEBUG - VN 2190f59e-9bae-448c-8e5e-d37c900b195a still in use: Unable to complete operation on network 2190f59e-9bae-448c-8e5e-d37c900b195a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fbcedacf-e0d2-4c2a-9cc3-f18b6be071be'] 2024-08-26 13:09:46,919 - WARNING - Deleting VN ctest-vn-25398828 failed..Will retry 2024-08-26 13:09:49,100 - DEBUG - Response for deleting network () 2024-08-26 13:09:49,365 - DEBUG - No XMPP flaps were noticed during the test 2024-08-26 13:09:49,365 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-08-26 13:09:49,365 - INFO - -------------------------------------------------------------------------------- 2024-08-26 13:09:50,445 - INFO - Deleted project: ctest-TestBasicVMVNx-29662278, ID : 42a3f575-6cf4-4c19-a163-365780b8835a