2024-10-28 02:35:01,527 - INFO - Domain Default found not creating 2024-10-28 02:35:01,710 - INFO - Project ctest-TestBasicVMVNx-99495273 not found, creating it 2024-10-28 02:35:02,224 - INFO - Created Project:ctest-TestBasicVMVNx-99495273, ID : 61732828-4d98-4b3d-b223-12fd967a0ffd 2024-10-28 02:35:03,942 - INFO - ================================================================================ 2024-10-28 02:35:03,942 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-28 02:35:03,942 - 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-10-28 02:35:04,199 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.0.0.32': '0'}} with 2024-10-28 02:35:04,199 - INFO - Initial checks done. Running the testcase now 2024-10-28 02:35:04,199 - INFO - 2024-10-28 02:35:04,846 - DEBUG - Response for create_network : {'network': {'id': '8e75cefc-76b6-4231-ba72-1ec9af9f7775', 'name': 'ctest-vn-88282526', 'tenant_id': '617328284d984b3db22312fd967a0ffd', 'project_id': '617328284d984b3db22312fd967a0ffd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-99495273', 'ctest-vn-88282526'], 'port_security_enabled': True, 'description': ''}} 2024-10-28 02:35:05,132 - DEBUG - Response for create_subnet : {'subnet': {'id': '10163405-bd0b-4005-8b16-ad8bc8ffad38', 'name': '', 'tenant_id': '617328284d984b3db22312fd967a0ffd', 'network_id': '8e75cefc-76b6-4231-ba72-1ec9af9f7775', 'ip_version': 4, 'cidr': '175.141.230.192/26', 'allocation_pools': [{'start': '175.141.230.194', 'end': '175.141.230.254'}], 'gateway_ip': '175.141.230.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.141.230.194', 'tags': [], 'project_id': '617328284d984b3db22312fd967a0ffd'}} 2024-10-28 02:35:05,155 - INFO - Created VN ctest-vn-88282526 2024-10-28 02:35:05,215 - DEBUG - VN ctest-vn-88282526 UUID is 8e75cefc-76b6-4231-ba72-1ec9af9f7775 2024-10-28 02:35:05,417 - DEBUG - Services list from nova: [, , ] 2024-10-28 02:35:06,618 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2157-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2157-1) 2024-10-28 02:35:08,070 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2157-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2157-1) 2024-10-28 02:35:08,070 - INFO - Waiting for VM ctest-TestBasicVMVNx-99495273-16282110 to be up.. 2024-10-28 02:35:08,190 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-28 02:35:13,316 - DEBUG - VM is in ACTIVE state now 2024-10-28 02:35:13,316 - INFO - VM name : ctest-TestBasicVMVNx-99495273-16282110 2024-10-28 02:35:13,416 - DEBUG - VM ctest-TestBasicVMVNx-99495273-16282110 ID is 53520d69-9df4-4f53-87b9-afe0b9c0a5d3 2024-10-28 02:35:13,557 - DEBUG - VM ctest-TestBasicVMVNx-99495273-16282110 launched on Node cn-jenkins-deploy-platform-ansible-os-2157-1. 2024-10-28 02:35:13,653 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/53520d69-9df4-4f53-87b9-afe0b9c0a5d3 2024-10-28 02:35:14,006 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/53520d69-9df4-4f53-87b9-afe0b9c0a5d3 2024-10-28 02:35:14,046 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/75197cd8-c904-41c2-add7-2f5226757974 2024-10-28 02:35:17,321 - 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 1005ms') 2024-10-28 02:35:17,321 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-99495273-16282110 failed! 2024-10-28 02:35:17,383 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-99495273:ctest-vn-88282526 is 175.141.230.193 and allocation pool is NOT set 2024-10-28 02:35:19,446 - 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=5.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.62 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 = 1.616/3.645/5.675/2.029 ms') 2024-10-28 02:35:19,446 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-99495273-16282110 passed 2024-10-28 02:35:19,611 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 02:35:19,611 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-99495273-16282110, IP 175.141.230.195, Port 22 2024-10-28 02:35:19,766 - DEBUG - VM ctest-TestBasicVMVNx-99495273-16282110 is ready for SSH connections 2024-10-28 02:35:19,766 - INFO - Waiting for VM ctest-TestBasicVMVNx-99495273-69195912 to be up.. 2024-10-28 02:35:19,860 - DEBUG - VM is in ACTIVE state now 2024-10-28 02:35:19,860 - INFO - VM name : ctest-TestBasicVMVNx-99495273-69195912 2024-10-28 02:35:19,954 - DEBUG - VM ctest-TestBasicVMVNx-99495273-69195912 ID is b6baed6d-8603-427c-8ac3-9794292b8b71 2024-10-28 02:35:19,954 - DEBUG - VM ctest-TestBasicVMVNx-99495273-69195912 launched on Node cn-jenkins-deploy-platform-ansible-os-2157-1. 2024-10-28 02:35:20,042 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/b6baed6d-8603-427c-8ac3-9794292b8b71 2024-10-28 02:35:20,055 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/2c1ecddd-c769-4494-8f63-8d25c436a72b 2024-10-28 02:35:21,318 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.530 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.530/1.942/3.355/1.412 ms') 2024-10-28 02:35:21,318 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-99495273-69195912 passed 2024-10-28 02:35:21,487 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 02:35:21,487 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-99495273-69195912, IP 175.141.230.196, Port 22 2024-10-28 02:35:21,652 - DEBUG - VM ctest-TestBasicVMVNx-99495273-69195912 is ready for SSH connections 2024-10-28 02:35:21,652 - DEBUG - FILE SIZE = 1303B 2024-10-28 02:35:21,652 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-99495273-16282110 to ctest-TestBasicVMVNx-99495273-69195912 using scp 2024-10-28 02:35:21,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 02:35:21,660 - 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-10-28 02:35:21,660 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-28 02:35:23,679 - DEBUG - 1+0 records in 1+0 records out 2024-10-28 02:35:24,354 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 02:35:24,702 - 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-10-28 02:35:24,702 - DEBUG - ls -l testfile 2024-10-28 02:35:26,333 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 27 20:35 testfile 2024-10-28 02:35:26,333 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-99495273-69195912 2024-10-28 02:35:26,333 - INFO - Deleting VM ctest-TestBasicVMVNx-99495273-69195912 2024-10-28 02:35:26,412 - INFO - Deleting VM ctest-TestBasicVMVNx-99495273-16282110 2024-10-28 02:35:26,493 - INFO - Deleting VN ctest-vn-88282526 2024-10-28 02:35:26,539 - DEBUG - VN 8e75cefc-76b6-4231-ba72-1ec9af9f7775 still in use: Unable to complete operation on network 8e75cefc-76b6-4231-ba72-1ec9af9f7775. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-09baa51e-d074-4d84-b07e-1e8a7f7f78a7'] 2024-10-28 02:35:26,540 - WARNING - Deleting VN ctest-vn-88282526 failed..Will retry 2024-10-28 02:35:28,650 - DEBUG - Response for deleting network () 2024-10-28 02:35:28,921 - DEBUG - No XMPP flaps were noticed during the test
2024-10-28 02:35:28,921 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-10-28 02:35:28,921 - INFO - -------------------------------------------------------------------------------- 2024-10-28 02:35:29,715 - INFO - Deleted project: ctest-TestBasicVMVNx-99495273, ID : 61732828-4d98-4b3d-b223-12fd967a0ffd