2024-09-20 16:32:18,159 - INFO - Domain Default found not creating 2024-09-20 16:32:18,343 - INFO - Project ctest-TestBasicVMVNx-07256634 not found, creating it 2024-09-20 16:32:18,835 - INFO - Created Project:ctest-TestBasicVMVNx-07256634, ID : dbb1864e-cb56-403d-9c3d-f2d7ff7a8d8e 2024-09-20 16:32:20,374 - INFO - ================================================================================ 2024-09-20 16:32:20,374 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-20 16:32:20,374 - 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-20 16:32:20,629 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.22': '0'}} with 2024-09-20 16:32:20,629 - INFO - Initial checks done. Running the testcase now 2024-09-20 16:32:20,630 - INFO - 2024-09-20 16:32:21,224 - DEBUG - Response for create_network : {'network': {'id': 'e8526e17-e1a2-4976-9718-c70f3384b726', 'name': 'ctest-vn-99221798', 'tenant_id': 'dbb1864ecb56403d9c3df2d7ff7a8d8e', 'project_id': 'dbb1864ecb56403d9c3df2d7ff7a8d8e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-07256634', 'ctest-vn-99221798'], 'port_security_enabled': True, 'description': ''}} 2024-09-20 16:32:21,405 - DEBUG - Response for create_subnet : {'subnet': {'id': '3bb09a4b-40b9-4e9b-b59d-93247d6a3e37', 'name': '', 'tenant_id': 'dbb1864ecb56403d9c3df2d7ff7a8d8e', 'network_id': 'e8526e17-e1a2-4976-9718-c70f3384b726', 'ip_version': 4, 'cidr': '155.157.143.64/26', 'allocation_pools': [{'start': '155.157.143.66', 'end': '155.157.143.126'}], 'gateway_ip': '155.157.143.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.157.143.66', 'tags': [], 'project_id': 'dbb1864ecb56403d9c3df2d7ff7a8d8e'}} 2024-09-20 16:32:21,425 - INFO - Created VN ctest-vn-99221798 2024-09-20 16:32:21,483 - DEBUG - VN ctest-vn-99221798 UUID is e8526e17-e1a2-4976-9718-c70f3384b726 2024-09-20 16:32:21,683 - DEBUG - Services list from nova: [, , ] 2024-09-20 16:32:22,766 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2009-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2009-1) 2024-09-20 16:32:24,008 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2009-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2009-1) 2024-09-20 16:32:24,008 - INFO - Waiting for VM ctest-TestBasicVMVNx-07256634-78596033 to be up.. 2024-09-20 16:32:24,114 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-20 16:32:29,216 - DEBUG - VM is in ACTIVE state now 2024-09-20 16:32:29,216 - INFO - VM name : ctest-TestBasicVMVNx-07256634-78596033 2024-09-20 16:32:29,313 - DEBUG - VM ctest-TestBasicVMVNx-07256634-78596033 ID is 6f12f63c-a12b-4da1-a577-28acff4eb6bd 2024-09-20 16:32:29,333 - DEBUG - VM ctest-TestBasicVMVNx-07256634-78596033 launched on Node cn-jenkins-deploy-platform-ansible-os-2009-1 2024-09-20 16:32:29,432 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/6f12f63c-a12b-4da1-a577-28acff4eb6bd 2024-09-20 16:32:29,767 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/6f12f63c-a12b-4da1-a577-28acff4eb6bd 2024-09-20 16:32:29,805 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/eb157151-e5b9-48ce-ae59-aee2f40e3752 2024-09-20 16:32:33,073 - 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-09-20 16:32:33,073 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-07256634-78596033 failed! 2024-09-20 16:32:33,134 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-07256634:ctest-vn-99221798 is 155.157.143.65 and allocation pool is NOT set 2024-09-20 16:32:35,204 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.717 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.717/1.700/2.683/0.983 ms') 2024-09-20 16:32:35,204 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-07256634-78596033 passed 2024-09-20 16:32:35,362 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-20 16:32:35,363 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07256634-78596033, IP 155.157.143.67, Port 22 2024-09-20 16:32:35,522 - DEBUG - VM ctest-TestBasicVMVNx-07256634-78596033 is ready for SSH connections 2024-09-20 16:32:35,522 - INFO - Waiting for VM ctest-TestBasicVMVNx-07256634-60487151 to be up.. 2024-09-20 16:32:35,614 - DEBUG - VM is in ACTIVE state now 2024-09-20 16:32:35,615 - INFO - VM name : ctest-TestBasicVMVNx-07256634-60487151 2024-09-20 16:32:35,703 - DEBUG - VM ctest-TestBasicVMVNx-07256634-60487151 ID is b6eef71b-48ef-4262-9d13-4fdb9400d98d 2024-09-20 16:32:35,703 - DEBUG - VM ctest-TestBasicVMVNx-07256634-60487151 launched on Node cn-jenkins-deploy-platform-ansible-os-2009-1 2024-09-20 16:32:35,796 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/b6eef71b-48ef-4262-9d13-4fdb9400d98d 2024-09-20 16:32:35,807 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/cce587cb-c71a-4a2d-aed0-2ac7f94184c6 2024-09-20 16:32:37,064 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.512 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.512/1.819/3.126/1.307 ms') 2024-09-20 16:32:37,064 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-07256634-60487151 passed 2024-09-20 16:32:37,226 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-20 16:32:37,227 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07256634-60487151, IP 155.157.143.68, Port 22 2024-09-20 16:32:37,382 - DEBUG - VM ctest-TestBasicVMVNx-07256634-60487151 is ready for SSH connections 2024-09-20 16:32:37,382 - DEBUG - FILE SIZE = 1303B 2024-09-20 16:32:37,382 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-07256634-78596033 to ctest-TestBasicVMVNx-07256634-60487151 using scp 2024-09-20 16:32:37,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-20 16:32:37,390 - 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.23, gateway password: c0ntrail123 2024-09-20 16:32:37,390 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-20 16:32:39,318 - DEBUG - 1+0 records in 1+0 records out 2024-09-20 16:32:40,093 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-20 16:32:40,425 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2024-09-20 16:32:40,425 - DEBUG - ls -l testfile 2024-09-20 16:32:42,029 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 20 10:32 testfile 2024-09-20 16:32:42,029 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-07256634-60487151 2024-09-20 16:32:42,029 - INFO - Deleting VM ctest-TestBasicVMVNx-07256634-60487151 2024-09-20 16:32:42,121 - INFO - Deleting VM ctest-TestBasicVMVNx-07256634-78596033 2024-09-20 16:32:42,197 - INFO - Deleting VN ctest-vn-99221798 2024-09-20 16:32:42,246 - DEBUG - VN e8526e17-e1a2-4976-9718-c70f3384b726 still in use: Unable to complete operation on network e8526e17-e1a2-4976-9718-c70f3384b726. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-86d71c76-e0fb-4cfe-a7d6-b4fe2ef6ea62'] 2024-09-20 16:32:42,246 - WARNING - Deleting VN ctest-vn-99221798 failed..Will retry 2024-09-20 16:32:44,357 - DEBUG - Response for deleting network () 2024-09-20 16:32:44,617 - DEBUG - No XMPP flaps were noticed during the test 2024-09-20 16:32:44,617 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-09-20 16:32:44,617 - INFO - -------------------------------------------------------------------------------- 2024-09-20 16:32:45,328 - INFO - Deleted project: ctest-TestBasicVMVNx-07256634, ID : dbb1864e-cb56-403d-9c3d-f2d7ff7a8d8e