2024-10-31 02:15:22,768 - INFO - Reading existing Domain with UUID 0fc11768-1bc4-4a76-8ff2-b677acb0a6ff 2024-10-31 02:15:22,784 - INFO - Using existing domain ['admin_domain'](0fc11768-1bc4-4a76-8ff2-b677acb0a6ff) 2024-10-31 02:15:23,024 - INFO - Project ctest-TestBasicVMVNx-38353416 not found, creating it 2024-10-31 02:15:23,618 - INFO - Created Project:ctest-TestBasicVMVNx-38353416, ID : 9feae8a4-007f-42c9-8fd0-d4ab7b42d1a8 2024-10-31 02:15:25,605 - INFO - ================================================================================ 2024-10-31 02:15:25,605 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-31 02:15:25,605 - 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-31 02:15:26,010 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.0.0.17': '0'}} with 2024-10-31 02:15:26,010 - INFO - Initial checks done. Running the testcase now 2024-10-31 02:15:26,010 - INFO - 2024-10-31 02:15:26,874 - DEBUG - Response for create_network : {'network': {'id': '8bcb9c3c-5c55-489f-a823-d0a52f3827aa', 'name': 'ctest-vn-49282302', 'tenant_id': '9feae8a4007f42c98fd0d4ab7b42d1a8', 'project_id': '9feae8a4007f42c98fd0d4ab7b42d1a8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicVMVNx-38353416', 'ctest-vn-49282302'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2024-10-31 02:15:27,150 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f81a3fd5-81db-4780-88e0-22631b523afd', 'name': '', 'tenant_id': '9feae8a4007f42c98fd0d4ab7b42d1a8', 'network_id': '8bcb9c3c-5c55-489f-a823-d0a52f3827aa', 'ip_version': 4, 'cidr': '145.182.166.192/26', 'allocation_pools': [{'start': '145.182.166.194', 'end': '145.182.166.254'}], 'gateway_ip': '145.182.166.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2024-10-31T02:15:27.034225', 'updated_at': '2024-10-31T02:15:27.034225', 'dns_server_address': '145.182.166.194', 'tags': [], 'project_id': '9feae8a4007f42c98fd0d4ab7b42d1a8'}} 2024-10-31 02:15:27,220 - INFO - Created VN ctest-vn-49282302 2024-10-31 02:15:27,281 - DEBUG - VN ctest-vn-49282302 UUID is 8bcb9c3c-5c55-489f-a823-d0a52f3827aa 2024-10-31 02:15:27,594 - DEBUG - Services list from nova: [, , ] 2024-10-31 02:15:28,901 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-442-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-442-1) 2024-10-31 02:15:30,463 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-442-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-442-1) 2024-10-31 02:15:30,463 - INFO - Waiting for VM ctest-TestBasicVMVNx-38353416-82715393 to be up.. 2024-10-31 02:15:30,643 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-31 02:15:35,803 - DEBUG - VM is in ACTIVE state now 2024-10-31 02:15:35,803 - INFO - VM name : ctest-TestBasicVMVNx-38353416-82715393 2024-10-31 02:15:35,962 - DEBUG - VM ctest-TestBasicVMVNx-38353416-82715393 ID is 6ca60b05-6d52-4493-a187-f0c001381725 2024-10-31 02:15:35,994 - DEBUG - VM ctest-TestBasicVMVNx-38353416-82715393 launched on Node cn-jenkins-deploy-platform-juju-os-442-1 2024-10-31 02:15:36,171 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine/6ca60b05-6d52-4493-a187-f0c001381725 2024-10-31 02:15:36,565 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine/6ca60b05-6d52-4493-a187-f0c001381725 2024-10-31 02:15:36,654 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine-interface/6bae11da-f6e2-4dca-8355-bea5848e35ff 2024-10-31 02:15:40,160 - 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 1024ms') 2024-10-31 02:15:40,160 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-38353416-82715393 failed! 2024-10-31 02:15:40,241 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVNx-38353416:ctest-vn-49282302 is 145.182.166.193 and allocation pool is NOT set 2024-10-31 02:15:42,347 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.70 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 = 2.700/3.845/4.991/1.145 ms') 2024-10-31 02:15:42,347 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-38353416-82715393 passed 2024-10-31 02:15:42,617 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-31 02:15:42,617 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-38353416-82715393, IP 145.182.166.195, Port 22 2024-10-31 02:15:42,709 - 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-10-31 02:15:42,921 - DEBUG - VM ctest-TestBasicVMVNx-38353416-82715393 is NOT ready for SSH connections, VM status: ACTIVE 2024-10-31 02:15:47,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-31 02:15:47,923 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-38353416-82715393, IP 145.182.166.195, Port 22 2024-10-31 02:15:48,140 - DEBUG - VM ctest-TestBasicVMVNx-38353416-82715393 is ready for SSH connections 2024-10-31 02:15:48,140 - INFO - Waiting for VM ctest-TestBasicVMVNx-38353416-18345374 to be up.. 2024-10-31 02:15:48,302 - DEBUG - VM is in ACTIVE state now 2024-10-31 02:15:48,302 - INFO - VM name : ctest-TestBasicVMVNx-38353416-18345374 2024-10-31 02:15:48,462 - DEBUG - VM ctest-TestBasicVMVNx-38353416-18345374 ID is 2e2feb24-4e4f-470b-ba6d-8aa2ae685f86 2024-10-31 02:15:48,462 - DEBUG - VM ctest-TestBasicVMVNx-38353416-18345374 launched on Node cn-jenkins-deploy-platform-juju-os-442-1 2024-10-31 02:15:48,617 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine/2e2feb24-4e4f-470b-ba6d-8aa2ae685f86 2024-10-31 02:15:48,674 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine-interface/cb93603c-fb30-4ea1-be9e-1cac62b3445a 2024-10-31 02:15:50,146 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.405 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.405/2.158/3.911/1.753 ms') 2024-10-31 02:15:50,146 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-38353416-18345374 passed 2024-10-31 02:15:50,309 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-31 02:15:50,309 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-38353416-18345374, IP 145.182.166.196, Port 22 2024-10-31 02:15:50,527 - DEBUG - VM ctest-TestBasicVMVNx-38353416-18345374 is ready for SSH connections 2024-10-31 02:15:50,527 - DEBUG - FILE SIZE = 1303B 2024-10-31 02:15:50,527 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-38353416-82715393 to ctest-TestBasicVMVNx-38353416-18345374 using scp 2024-10-31 02:15:50,533 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-31 02:15:50,538 - 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.17, gateway password: c0ntrail123 2024-10-31 02:15:50,539 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-31 02:15:52,175 - DEBUG - 1+0 records in 1+0 records out 2024-10-31 02:15:52,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-31 02:15:53,281 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2024-10-31 02:15:53,281 - DEBUG - ls -l testfile 2024-10-31 02:15:54,924 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 30 20:15 testfile 2024-10-31 02:15:54,925 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-38353416-18345374 2024-10-31 02:15:54,925 - INFO - Deleting VM ctest-TestBasicVMVNx-38353416-18345374 2024-10-31 02:15:55,032 - INFO - Deleting VM ctest-TestBasicVMVNx-38353416-82715393 2024-10-31 02:15:55,138 - INFO - Deleting VN ctest-vn-49282302 2024-10-31 02:15:55,281 - DEBUG - VN 8bcb9c3c-5c55-489f-a823-d0a52f3827aa still in use: Unable to complete operation on network 8bcb9c3c-5c55-489f-a823-d0a52f3827aa. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-70b793cf-6901-46cf-8ea4-f81d0d9b846d'] 2024-10-31 02:15:55,281 - WARNING - Deleting VN ctest-vn-49282302 failed..Will retry 2024-10-31 02:15:57,479 - DEBUG - Response for deleting network () 2024-10-31 02:15:57,866 - DEBUG - No XMPP flaps were noticed during the test
2024-10-31 02:15:57,866 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:32]
2024-10-31 02:15:57,866 - INFO - -------------------------------------------------------------------------------- 2024-10-31 02:15:58,718 - INFO - Deleted project: ctest-TestBasicVMVNx-38353416, ID : 9feae8a4-007f-42c9-8fd0-d4ab7b42d1a8