2024-09-12 22:16:59,479 - INFO - Domain Default found not creating 2024-09-12 22:16:59,742 - INFO - Project ctest-TestBasicVMVNx-07817352 not found, creating it 2024-09-12 22:17:00,377 - INFO - Created Project:ctest-TestBasicVMVNx-07817352, ID : c04cbd26-0229-4b6f-a4e5-f9be2b2c3f08 2024-09-12 22:17:02,547 - INFO - ================================================================================ 2024-09-12 22:17:02,547 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-12 22:17:02,548 - 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-12 22:17:02,895 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.23': '0'}} with 2024-09-12 22:17:02,895 - INFO - Initial checks done. Running the testcase now 2024-09-12 22:17:02,895 - INFO - 2024-09-12 22:17:03,808 - DEBUG - Response for create_network : {'network': {'id': 'a25ec350-9e59-4d8e-92cd-ff1932cd336b', 'name': 'ctest-vn-02094820', 'tenant_id': 'c04cbd2602294b6fa4e5f9be2b2c3f08', 'project_id': 'c04cbd2602294b6fa4e5f9be2b2c3f08', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-07817352', 'ctest-vn-02094820'], 'port_security_enabled': True, 'description': ''}} 2024-09-12 22:17:04,007 - DEBUG - Response for create_subnet : {'subnet': {'id': '763520b5-3a2d-47e6-995e-5e0417b3a908', 'name': '', 'tenant_id': 'c04cbd2602294b6fa4e5f9be2b2c3f08', 'network_id': 'a25ec350-9e59-4d8e-92cd-ff1932cd336b', 'ip_version': 4, 'cidr': '117.62.57.64/26', 'allocation_pools': [{'start': '117.62.57.66', 'end': '117.62.57.126'}], 'gateway_ip': '117.62.57.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.62.57.66', 'tags': [], 'project_id': 'c04cbd2602294b6fa4e5f9be2b2c3f08'}} 2024-09-12 22:17:04,027 - INFO - Created VN ctest-vn-02094820 2024-09-12 22:17:04,090 - DEBUG - VN ctest-vn-02094820 UUID is a25ec350-9e59-4d8e-92cd-ff1932cd336b 2024-09-12 22:17:04,426 - DEBUG - Services list from nova: [, , ] 2024-09-12 22:17:06,272 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1913-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1913-1) 2024-09-12 22:17:07,679 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1913-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1913-1) 2024-09-12 22:17:07,680 - INFO - Waiting for VM ctest-TestBasicVMVNx-07817352-28426519 to be up.. 2024-09-12 22:17:07,789 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-12 22:17:12,917 - DEBUG - VM is in ACTIVE state now 2024-09-12 22:17:12,917 - INFO - VM name : ctest-TestBasicVMVNx-07817352-28426519 2024-09-12 22:17:13,029 - DEBUG - VM ctest-TestBasicVMVNx-07817352-28426519 ID is faa2cea5-133a-4d29-b1de-5fd5d1a383f1 2024-09-12 22:17:13,047 - DEBUG - VM ctest-TestBasicVMVNx-07817352-28426519 launched on Node cn-jenkins-deploy-platform-ansible-os-1913-1 2024-09-12 22:17:13,130 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/faa2cea5-133a-4d29-b1de-5fd5d1a383f1 2024-09-12 22:17:13,438 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/faa2cea5-133a-4d29-b1de-5fd5d1a383f1 2024-09-12 22:17:13,486 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/97a780c9-a7e8-48ef-83c8-59a1cdd6adb4 2024-09-12 22:17:16,885 - 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 1031ms') 2024-09-12 22:17:16,885 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-07817352-28426519 failed! 2024-09-12 22:17:16,962 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-07817352:ctest-vn-02094820 is 117.62.57.65 and allocation pool is NOT set 2024-09-12 22:17:21,073 - 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=2 ttl=63 time=9.78 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1028ms\r\nrtt min/avg/max/mdev = 9.776/9.776/9.776/0.000 ms') 2024-09-12 22:17:21,073 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-07817352-28426519 passed 2024-09-12 22:17:21,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 22:17:21,295 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07817352-28426519, IP 117.62.57.67, Port 22 2024-09-12 22:17:21,381 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-09-12 22:17:21,551 - DEBUG - VM ctest-TestBasicVMVNx-07817352-28426519 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-12 22:17:26,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 22:17:26,553 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07817352-28426519, IP 117.62.57.67, Port 22 2024-09-12 22:17:26,752 - DEBUG - VM ctest-TestBasicVMVNx-07817352-28426519 is ready for SSH connections 2024-09-12 22:17:26,752 - INFO - Waiting for VM ctest-TestBasicVMVNx-07817352-30214769 to be up.. 2024-09-12 22:17:26,978 - DEBUG - VM is in ACTIVE state now 2024-09-12 22:17:26,978 - INFO - VM name : ctest-TestBasicVMVNx-07817352-30214769 2024-09-12 22:17:27,194 - DEBUG - VM ctest-TestBasicVMVNx-07817352-30214769 ID is d6133257-5223-4854-8171-5c4856dc46c2 2024-09-12 22:17:27,195 - DEBUG - VM ctest-TestBasicVMVNx-07817352-30214769 launched on Node cn-jenkins-deploy-platform-ansible-os-1913-1 2024-09-12 22:17:27,440 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/d6133257-5223-4854-8171-5c4856dc46c2 2024-09-12 22:17:27,475 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/c859a76e-71e1-4530-8a10-e32a73a74379 2024-09-12 22:17:28,886 - 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=9.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.882 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.882/5.155/9.429/4.273 ms') 2024-09-12 22:17:28,887 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-07817352-30214769 passed 2024-09-12 22:17:29,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 22:17:29,107 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07817352-30214769, IP 117.62.57.68, Port 22 2024-09-12 22:17:29,317 - DEBUG - VM ctest-TestBasicVMVNx-07817352-30214769 is ready for SSH connections 2024-09-12 22:17:29,318 - DEBUG - FILE SIZE = 1303B 2024-09-12 22:17:29,318 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-07817352-28426519 to ctest-TestBasicVMVNx-07817352-30214769 using scp 2024-09-12 22:17:29,320 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 22:17:29,337 - 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.35, gateway password: c0ntrail123 2024-09-12 22:17:29,337 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-12 22:17:31,597 - DEBUG - 1+0 records in 1+0 records out 2024-09-12 22:17:32,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 22:17:32,865 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2024-09-12 22:17:32,866 - DEBUG - ls -l testfile 2024-09-12 22:17:34,909 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 12 16:17 testfile 2024-09-12 22:17:34,909 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-07817352-30214769 2024-09-12 22:17:34,910 - INFO - Deleting VM ctest-TestBasicVMVNx-07817352-30214769 2024-09-12 22:17:35,060 - INFO - Deleting VM ctest-TestBasicVMVNx-07817352-28426519 2024-09-12 22:17:35,172 - INFO - Deleting VN ctest-vn-02094820 2024-09-12 22:17:35,258 - DEBUG - VN a25ec350-9e59-4d8e-92cd-ff1932cd336b still in use: Unable to complete operation on network a25ec350-9e59-4d8e-92cd-ff1932cd336b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d0e555d7-0c46-4e08-82a2-9f94e97f6eb7'] 2024-09-12 22:17:35,258 - WARNING - Deleting VN ctest-vn-02094820 failed..Will retry 2024-09-12 22:17:37,411 - DEBUG - Response for deleting network () 2024-09-12 22:17:37,712 - DEBUG - No XMPP flaps were noticed during the test 2024-09-12 22:17:37,712 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:35] 2024-09-12 22:17:37,713 - INFO - -------------------------------------------------------------------------------- 2024-09-12 22:17:38,829 - INFO - Deleted project: ctest-TestBasicVMVNx-07817352, ID : c04cbd26-0229-4b6f-a4e5-f9be2b2c3f08