2024-11-06 13:18:32,611 - INFO - Domain Default found not creating 2024-11-06 13:18:32,794 - INFO - Project ctest-TestBasicVMVNx-27860158 not found, creating it 2024-11-06 13:18:33,329 - INFO - Created Project:ctest-TestBasicVMVNx-27860158, ID : a7d2af90-6e02-4b1c-8a77-c2308681d41c 2024-11-06 13:18:34,879 - INFO - ================================================================================ 2024-11-06 13:18:34,879 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-06 13:18:34,879 - 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-06 13:18:35,136 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.20': '0'}} with 2024-11-06 13:18:35,136 - INFO - Initial checks done. Running the testcase now 2024-11-06 13:18:35,136 - INFO - 2024-11-06 13:18:35,724 - DEBUG - Response for create_network : {'network': {'id': '36eaacae-2d74-46a4-bbf2-b9c05577d6f9', 'name': 'ctest-vn-83403410', 'tenant_id': 'a7d2af906e024b1c8a77c2308681d41c', 'project_id': 'a7d2af906e024b1c8a77c2308681d41c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-27860158', 'ctest-vn-83403410'], 'port_security_enabled': True, 'description': ''}} 2024-11-06 13:18:35,889 - DEBUG - Response for create_subnet : {'subnet': {'id': '231ef97b-058f-4612-a262-74d93b3292c0', 'name': '', 'tenant_id': 'a7d2af906e024b1c8a77c2308681d41c', 'network_id': '36eaacae-2d74-46a4-bbf2-b9c05577d6f9', 'ip_version': 4, 'cidr': '4.29.23.128/26', 'allocation_pools': [{'start': '4.29.23.130', 'end': '4.29.23.190'}], 'gateway_ip': '4.29.23.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.29.23.130', 'tags': [], 'project_id': 'a7d2af906e024b1c8a77c2308681d41c'}} 2024-11-06 13:18:35,923 - INFO - Created VN ctest-vn-83403410 2024-11-06 13:18:35,982 - DEBUG - VN ctest-vn-83403410 UUID is 36eaacae-2d74-46a4-bbf2-b9c05577d6f9 2024-11-06 13:18:36,192 - DEBUG - Services list from nova: [, , ] 2024-11-06 13:18:37,355 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2202-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2202-1) 2024-11-06 13:18:38,690 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2202-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2202-1) 2024-11-06 13:18:38,691 - INFO - Waiting for VM ctest-TestBasicVMVNx-27860158-22868826 to be up.. 2024-11-06 13:18:38,782 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-06 13:18:43,882 - DEBUG - VM is in ACTIVE state now 2024-11-06 13:18:43,882 - INFO - VM name : ctest-TestBasicVMVNx-27860158-22868826 2024-11-06 13:18:43,965 - DEBUG - VM ctest-TestBasicVMVNx-27860158-22868826 ID is ef3ae967-e100-40b7-ab31-51d5d9d6154e 2024-11-06 13:18:43,983 - DEBUG - VM ctest-TestBasicVMVNx-27860158-22868826 launched on Node cn-jenkins-deploy-platform-ansible-os-2202-1 2024-11-06 13:18:44,086 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ef3ae967-e100-40b7-ab31-51d5d9d6154e 2024-11-06 13:18:44,430 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ef3ae967-e100-40b7-ab31-51d5d9d6154e 2024-11-06 13:18:44,478 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d37ac874-b21d-492b-b20a-a6a5b6a6299d 2024-11-06 13:18:47,744 - 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 1012ms') 2024-11-06 13:18:47,744 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-27860158-22868826 failed! 2024-11-06 13:18:47,866 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-27860158:ctest-vn-83403410 is 4.29.23.129 and allocation pool is NOT set 2024-11-06 13:18:49,928 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.27 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.267/2.695/4.123/1.428 ms') 2024-11-06 13:18:49,928 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-27860158-22868826 passed 2024-11-06 13:18:50,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-06 13:18:50,094 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-27860158-22868826, IP 4.29.23.131, Port 22 2024-11-06 13:18:50,149 - 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-06 13:18:50,238 - DEBUG - VM ctest-TestBasicVMVNx-27860158-22868826 is NOT ready for SSH connections, VM status: ACTIVE 2024-11-06 13:18:55,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-06 13:18:55,240 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-27860158-22868826, IP 4.29.23.131, Port 22 2024-11-06 13:18:55,398 - DEBUG - VM ctest-TestBasicVMVNx-27860158-22868826 is ready for SSH connections 2024-11-06 13:18:55,398 - INFO - Waiting for VM ctest-TestBasicVMVNx-27860158-66866627 to be up.. 2024-11-06 13:18:55,478 - DEBUG - VM is in ACTIVE state now 2024-11-06 13:18:55,478 - INFO - VM name : ctest-TestBasicVMVNx-27860158-66866627 2024-11-06 13:18:55,555 - DEBUG - VM ctest-TestBasicVMVNx-27860158-66866627 ID is 252816e7-fa8c-40b7-8ca4-89a2abca6199 2024-11-06 13:18:55,555 - DEBUG - VM ctest-TestBasicVMVNx-27860158-66866627 launched on Node cn-jenkins-deploy-platform-ansible-os-2202-1 2024-11-06 13:18:55,652 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/252816e7-fa8c-40b7-8ca4-89a2abca6199 2024-11-06 13:18:55,665 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6f364ada-b680-4a20-8a8e-c7de6a9fc373 2024-11-06 13:18:56,919 - 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=2.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.373 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.373/1.560/2.748/1.187 ms') 2024-11-06 13:18:56,919 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-27860158-66866627 passed 2024-11-06 13:18:57,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-06 13:18:57,078 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-27860158-66866627, IP 4.29.23.132, Port 22 2024-11-06 13:18:57,242 - DEBUG - VM ctest-TestBasicVMVNx-27860158-66866627 is ready for SSH connections 2024-11-06 13:18:57,242 - DEBUG - FILE SIZE = 1303B 2024-11-06 13:18:57,242 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-27860158-22868826 to ctest-TestBasicVMVNx-27860158-66866627 using scp 2024-11-06 13:18:57,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-06 13:18:57,250 - 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.22, gateway password: c0ntrail123 2024-11-06 13:18:57,250 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-06 13:18:59,175 - DEBUG - 1+0 records in 1+0 records out 2024-11-06 13:18:59,965 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-06 13:19:00,304 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2024-11-06 13:19:00,305 - DEBUG - ls -l testfile 2024-11-06 13:19:01,897 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 6 06:18 testfile 2024-11-06 13:19:01,897 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-27860158-66866627 2024-11-06 13:19:01,897 - INFO - Deleting VM ctest-TestBasicVMVNx-27860158-66866627 2024-11-06 13:19:01,978 - INFO - Deleting VM ctest-TestBasicVMVNx-27860158-22868826 2024-11-06 13:19:02,045 - INFO - Deleting VN ctest-vn-83403410 2024-11-06 13:19:02,084 - DEBUG - VN 36eaacae-2d74-46a4-bbf2-b9c05577d6f9 still in use: Unable to complete operation on network 36eaacae-2d74-46a4-bbf2-b9c05577d6f9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-99a78834-6fa1-494b-9366-f2c82c9a7263'] 2024-11-06 13:19:02,084 - WARNING - Deleting VN ctest-vn-83403410 failed..Will retry 2024-11-06 13:19:04,224 - DEBUG - Response for deleting network () 2024-11-06 13:19:04,484 - DEBUG - No XMPP flaps were noticed during the test
2024-11-06 13:19:04,485 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2024-11-06 13:19:04,485 - INFO - -------------------------------------------------------------------------------- 2024-11-06 13:19:05,204 - INFO - Deleted project: ctest-TestBasicVMVNx-27860158, ID : a7d2af90-6e02-4b1c-8a77-c2308681d41c