2024-11-08 14:32:12,866 - INFO - Domain Default found not creating 2024-11-08 14:32:13,027 - INFO - Project ctest-TestBasicVMVNx-55258643 not found, creating it 2024-11-08 14:32:13,790 - INFO - Created Project:ctest-TestBasicVMVNx-55258643, ID : 1e5ac958-2076-42d5-903f-e54f76969aad 2024-11-08 14:32:15,478 - INFO - ================================================================================ 2024-11-08 14:32:15,478 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-08 14:32:15,478 - 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-11-08 14:32:15,732 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.5': '0'}} with 2024-11-08 14:32:15,732 - INFO - Initial checks done. Running the testcase now 2024-11-08 14:32:15,732 - INFO - 2024-11-08 14:32:16,371 - DEBUG - Response for create_network : {'network': {'id': '597b1c59-dc70-4a37-81fe-2998179a7d6e', 'name': 'ctest-vn-85002803', 'tenant_id': '1e5ac958207642d5903fe54f76969aad', 'project_id': '1e5ac958207642d5903fe54f76969aad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-55258643', 'ctest-vn-85002803'], 'port_security_enabled': True, 'description': ''}} 2024-11-08 14:32:16,573 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e4cb185-52eb-4eed-a3cd-85467f4260dc', 'name': '', 'tenant_id': '1e5ac958207642d5903fe54f76969aad', 'network_id': '597b1c59-dc70-4a37-81fe-2998179a7d6e', 'ip_version': 4, 'cidr': '14.66.77.0/26', 'allocation_pools': [{'start': '14.66.77.2', 'end': '14.66.77.62'}], 'gateway_ip': '14.66.77.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.66.77.2', 'tags': [], 'project_id': '1e5ac958207642d5903fe54f76969aad'}} 2024-11-08 14:32:16,594 - INFO - Created VN ctest-vn-85002803 2024-11-08 14:32:16,650 - DEBUG - VN ctest-vn-85002803 UUID is 597b1c59-dc70-4a37-81fe-2998179a7d6e 2024-11-08 14:32:16,824 - DEBUG - Services list from nova: [, , ] 2024-11-08 14:32:17,957 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2230-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2230-1) 2024-11-08 14:32:19,223 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2230-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2230-1) 2024-11-08 14:32:19,223 - INFO - Waiting for VM ctest-TestBasicVMVNx-55258643-78919167 to be up.. 2024-11-08 14:32:19,326 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-08 14:32:24,414 - DEBUG - VM is in ACTIVE state now 2024-11-08 14:32:24,414 - INFO - VM name : ctest-TestBasicVMVNx-55258643-78919167 2024-11-08 14:32:24,506 - DEBUG - VM ctest-TestBasicVMVNx-55258643-78919167 ID is a39e5890-c457-4f8e-a00c-257e1ae7c432 2024-11-08 14:32:24,527 - DEBUG - VM ctest-TestBasicVMVNx-55258643-78919167 launched on Node cn-jenkins-deploy-platform-ansible-os-2230-1 2024-11-08 14:32:24,621 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/a39e5890-c457-4f8e-a00c-257e1ae7c432 2024-11-08 14:32:24,968 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/a39e5890-c457-4f8e-a00c-257e1ae7c432 2024-11-08 14:32:25,008 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/8e050c5a-2eee-456f-bf34-5508e1d40269 2024-11-08 14:32:28,279 - 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 1011ms') 2024-11-08 14:32:28,279 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-55258643-78919167 failed! 2024-11-08 14:32:28,342 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-55258643:ctest-vn-85002803 is 14.66.77.1 and allocation pool is NOT set 2024-11-08 14:32:30,412 - 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=4.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.12 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.116/2.767/4.418/1.651 ms') 2024-11-08 14:32:30,412 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-55258643-78919167 passed 2024-11-08 14:32:30,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 14:32:30,574 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-55258643-78919167, IP 14.66.77.3, Port 22 2024-11-08 14:32:30,629 - 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-11-08 14:32:30,716 - DEBUG - VM ctest-TestBasicVMVNx-55258643-78919167 is NOT ready for SSH connections, VM status: ACTIVE 2024-11-08 14:32:35,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 14:32:35,717 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-55258643-78919167, IP 14.66.77.3, Port 22 2024-11-08 14:32:35,873 - DEBUG - VM ctest-TestBasicVMVNx-55258643-78919167 is ready for SSH connections 2024-11-08 14:32:35,874 - INFO - Waiting for VM ctest-TestBasicVMVNx-55258643-64489763 to be up.. 2024-11-08 14:32:35,956 - DEBUG - VM is in ACTIVE state now 2024-11-08 14:32:35,956 - INFO - VM name : ctest-TestBasicVMVNx-55258643-64489763 2024-11-08 14:32:36,040 - DEBUG - VM ctest-TestBasicVMVNx-55258643-64489763 ID is ecf5fd3b-017c-4d79-bdee-74c99239b592 2024-11-08 14:32:36,040 - DEBUG - VM ctest-TestBasicVMVNx-55258643-64489763 launched on Node cn-jenkins-deploy-platform-ansible-os-2230-1 2024-11-08 14:32:36,126 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/ecf5fd3b-017c-4d79-bdee-74c99239b592 2024-11-08 14:32:36,138 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/11359641-e578-47ff-8d17-b7af584beb05 2024-11-08 14:32:37,403 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.427 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.427/1.800/3.174/1.373 ms') 2024-11-08 14:32:37,403 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-55258643-64489763 passed 2024-11-08 14:32:37,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 14:32:37,562 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-55258643-64489763, IP 14.66.77.4, Port 22 2024-11-08 14:32:37,721 - DEBUG - VM ctest-TestBasicVMVNx-55258643-64489763 is ready for SSH connections 2024-11-08 14:32:37,721 - DEBUG - FILE SIZE = 1303B 2024-11-08 14:32:37,721 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-55258643-78919167 to ctest-TestBasicVMVNx-55258643-64489763 using scp 2024-11-08 14:32:37,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 14:32:37,727 - 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.34, gateway password: c0ntrail123 2024-11-08 14:32:37,727 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-08 14:32:39,692 - DEBUG - 1+0 records in 1+0 records out 2024-11-08 14:32:40,371 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 14:32:40,709 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2024-11-08 14:32:40,709 - DEBUG - ls -l testfile 2024-11-08 14:32:42,333 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 8 07:32 testfile 2024-11-08 14:32:42,333 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-55258643-64489763 2024-11-08 14:32:42,333 - INFO - Deleting VM ctest-TestBasicVMVNx-55258643-64489763 2024-11-08 14:32:42,406 - INFO - Deleting VM ctest-TestBasicVMVNx-55258643-78919167 2024-11-08 14:32:42,480 - INFO - Deleting VN ctest-vn-85002803 2024-11-08 14:32:42,549 - DEBUG - VN 597b1c59-dc70-4a37-81fe-2998179a7d6e still in use: Unable to complete operation on network 597b1c59-dc70-4a37-81fe-2998179a7d6e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b458c592-f19e-43fa-b71d-26085680acc5'] 2024-11-08 14:32:42,549 - WARNING - Deleting VN ctest-vn-85002803 failed..Will retry 2024-11-08 14:32:44,710 - DEBUG - Response for deleting network () 2024-11-08 14:32:44,976 - DEBUG - No XMPP flaps were noticed during the test
2024-11-08 14:32:44,976 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2024-11-08 14:32:44,976 - INFO - -------------------------------------------------------------------------------- 2024-11-08 14:32:45,813 - INFO - Deleted project: ctest-TestBasicVMVNx-55258643, ID : 1e5ac958-2076-42d5-903f-e54f76969aad