2024-08-21 18:59:43,727 - INFO - Domain Default found not creating 2024-08-21 18:59:43,879 - INFO - Project ctest-TestBasicVMVNx-14956829 not found, creating it 2024-08-21 18:59:44,334 - INFO - Created Project:ctest-TestBasicVMVNx-14956829, ID : 15df4ae4-d8cf-4a5f-9e5d-141d80b4ed44 2024-08-21 18:59:45,788 - INFO - ================================================================================ 2024-08-21 18:59:45,788 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-21 18:59:45,788 - 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 18:59:46,044 - DEBUG - Nothing to compare xmpp stats {'10.0.0.55': {'10.20.0.5': '0'}} with 2024-08-21 18:59:46,044 - INFO - Initial checks done. Running the testcase now 2024-08-21 18:59:46,044 - INFO - 2024-08-21 18:59:46,617 - DEBUG - Response for create_network : {'network': {'id': 'febfcb97-afdf-4e88-9ac8-f99f277f8f55', 'name': 'ctest-vn-73188551', 'tenant_id': '15df4ae4d8cf4a5f9e5d141d80b4ed44', 'project_id': '15df4ae4d8cf4a5f9e5d141d80b4ed44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-14956829', 'ctest-vn-73188551'], 'port_security_enabled': True, 'description': ''}} 2024-08-21 18:59:46,833 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d11ba7e-6387-4718-a8ca-1881ea7f182a', 'name': '', 'tenant_id': '15df4ae4d8cf4a5f9e5d141d80b4ed44', 'network_id': 'febfcb97-afdf-4e88-9ac8-f99f277f8f55', 'ip_version': 4, 'cidr': '101.141.85.192/26', 'allocation_pools': [{'start': '101.141.85.194', 'end': '101.141.85.254'}], 'gateway_ip': '101.141.85.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.141.85.194', 'tags': [], 'project_id': '15df4ae4d8cf4a5f9e5d141d80b4ed44'}} 2024-08-21 18:59:46,850 - INFO - Created VN ctest-vn-73188551 2024-08-21 18:59:46,904 - DEBUG - VN ctest-vn-73188551 UUID is febfcb97-afdf-4e88-9ac8-f99f277f8f55 2024-08-21 18:59:47,098 - DEBUG - Services list from nova: [, , ] 2024-08-21 18:59:48,104 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1697-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1697-1) 2024-08-21 18:59:49,271 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1697-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1697-1) 2024-08-21 18:59:49,272 - INFO - Waiting for VM ctest-TestBasicVMVNx-14956829-16312903 to be up.. 2024-08-21 18:59:49,370 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-21 18:59:54,453 - DEBUG - VM is in ACTIVE state now 2024-08-21 18:59:54,453 - INFO - VM name : ctest-TestBasicVMVNx-14956829-16312903 2024-08-21 18:59:54,526 - DEBUG - VM ctest-TestBasicVMVNx-14956829-16312903 ID is 4db81fb0-a949-4c24-8e7a-825734d682ac 2024-08-21 18:59:54,544 - DEBUG - VM ctest-TestBasicVMVNx-14956829-16312903 launched on Node cn-jenkins-deploy-platform-ansible-os-1697-1 2024-08-21 18:59:54,624 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine/4db81fb0-a949-4c24-8e7a-825734d682ac 2024-08-21 18:59:54,924 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine/4db81fb0-a949-4c24-8e7a-825734d682ac 2024-08-21 18:59:54,957 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine-interface/4efd0c1f-7d0f-4de4-b42b-6df487f14b74 2024-08-21 18:59:58,192 - 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 1003ms') 2024-08-21 18:59:58,192 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-14956829-16312903 failed! 2024-08-21 18:59:58,248 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-14956829:ctest-vn-73188551 is 101.141.85.193 and allocation pool is NOT set 2024-08-21 19:00:00,308 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.452 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.452/1.698/2.945/1.246 ms') 2024-08-21 19:00:00,308 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-14956829-16312903 passed 2024-08-21 19:00:00,456 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 19:00:00,456 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-14956829-16312903, IP 101.141.85.195, Port 22 2024-08-21 19:00:00,617 - DEBUG - VM ctest-TestBasicVMVNx-14956829-16312903 is ready for SSH connections 2024-08-21 19:00:00,617 - INFO - Waiting for VM ctest-TestBasicVMVNx-14956829-13734142 to be up.. 2024-08-21 19:00:00,692 - DEBUG - VM is in ACTIVE state now 2024-08-21 19:00:00,692 - INFO - VM name : ctest-TestBasicVMVNx-14956829-13734142 2024-08-21 19:00:00,775 - DEBUG - VM ctest-TestBasicVMVNx-14956829-13734142 ID is 3f140b80-a7b5-4490-86ae-4d07fb0f4f25 2024-08-21 19:00:00,775 - DEBUG - VM ctest-TestBasicVMVNx-14956829-13734142 launched on Node cn-jenkins-deploy-platform-ansible-os-1697-1 2024-08-21 19:00:00,848 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine/3f140b80-a7b5-4490-86ae-4d07fb0f4f25 2024-08-21 19:00:00,856 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine-interface/be578958-7d84-44ff-b76d-8fd5230fb8a0 2024-08-21 19:00:02,090 - 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.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.478 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.478/1.751/3.025/1.273 ms') 2024-08-21 19:00:02,090 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-14956829-13734142 passed 2024-08-21 19:00:02,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 19:00:02,244 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-14956829-13734142, IP 101.141.85.196, Port 22 2024-08-21 19:00:02,414 - DEBUG - VM ctest-TestBasicVMVNx-14956829-13734142 is ready for SSH connections 2024-08-21 19:00:02,414 - DEBUG - FILE SIZE = 1303B 2024-08-21 19:00:02,414 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-14956829-16312903 to ctest-TestBasicVMVNx-14956829-13734142 using scp 2024-08-21 19:00:02,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 19:00:02,423 - 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.55, gateway password: c0ntrail123 2024-08-21 19:00:02,423 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-21 19:00:04,382 - DEBUG - 1+0 records in 1+0 records out 2024-08-21 19:00:05,143 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 19:00:05,477 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.55, gateway password: c0ntrail123 2024-08-21 19:00:05,477 - DEBUG - ls -l testfile 2024-08-21 19:00:07,057 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 21 13:00 testfile 2024-08-21 19:00:07,057 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-14956829-13734142 2024-08-21 19:00:07,057 - INFO - Deleting VM ctest-TestBasicVMVNx-14956829-13734142 2024-08-21 19:00:07,135 - INFO - Deleting VM ctest-TestBasicVMVNx-14956829-16312903 2024-08-21 19:00:07,210 - INFO - Deleting VN ctest-vn-73188551 2024-08-21 19:00:07,254 - DEBUG - VN febfcb97-afdf-4e88-9ac8-f99f277f8f55 still in use: Unable to complete operation on network febfcb97-afdf-4e88-9ac8-f99f277f8f55. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2d4691bd-9f71-4472-adaa-cc284e8e2b6e'] 2024-08-21 19:00:07,254 - WARNING - Deleting VN ctest-vn-73188551 failed..Will retry 2024-08-21 19:00:09,361 - DEBUG - Response for deleting network () 2024-08-21 19:00:09,619 - DEBUG - No XMPP flaps were noticed during the test 2024-08-21 19:00:09,619 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-08-21 19:00:09,620 - INFO - -------------------------------------------------------------------------------- 2024-08-21 19:00:10,306 - INFO - Deleted project: ctest-TestBasicVMVNx-14956829, ID : 15df4ae4-d8cf-4a5f-9e5d-141d80b4ed44