2024-08-27 08:39:16,142 - INFO - Domain Default found not creating 2024-08-27 08:39:16,366 - INFO - Project ctest-TestBasicVMVNx-66423720 not found, creating it 2024-08-27 08:39:16,903 - INFO - Created Project:ctest-TestBasicVMVNx-66423720, ID : 8b04d2ab-2ab8-4731-972c-eda152a8039b 2024-08-27 08:39:18,493 - INFO - ================================================================================ 2024-08-27 08:39:18,493 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-27 08:39:18,493 - 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-08-27 08:39:18,763 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.5': '0'}} with 2024-08-27 08:39:18,764 - INFO - Initial checks done. Running the testcase now 2024-08-27 08:39:18,764 - INFO - 2024-08-27 08:39:19,370 - DEBUG - Response for create_network : {'network': {'id': 'cfc86736-bc39-4483-a2a8-3c31f4ab9445', 'name': 'ctest-vn-25128093', 'tenant_id': '8b04d2ab2ab84731972ceda152a8039b', 'project_id': '8b04d2ab2ab84731972ceda152a8039b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-66423720', 'ctest-vn-25128093'], 'port_security_enabled': True, 'description': ''}} 2024-08-27 08:39:19,603 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd20b33f9-ab51-4fc1-8d27-524422642064', 'name': '', 'tenant_id': '8b04d2ab2ab84731972ceda152a8039b', 'network_id': 'cfc86736-bc39-4483-a2a8-3c31f4ab9445', 'ip_version': 4, 'cidr': '91.125.107.128/26', 'allocation_pools': [{'start': '91.125.107.130', 'end': '91.125.107.190'}], 'gateway_ip': '91.125.107.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.125.107.130', 'tags': [], 'project_id': '8b04d2ab2ab84731972ceda152a8039b'}} 2024-08-27 08:39:19,625 - INFO - Created VN ctest-vn-25128093 2024-08-27 08:39:19,678 - DEBUG - VN ctest-vn-25128093 UUID is cfc86736-bc39-4483-a2a8-3c31f4ab9445 2024-08-27 08:39:19,867 - DEBUG - Services list from nova: [, , ] 2024-08-27 08:39:20,965 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1795-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1795-1) 2024-08-27 08:39:22,232 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1795-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1795-1) 2024-08-27 08:39:22,233 - INFO - Waiting for VM ctest-TestBasicVMVNx-66423720-76494635 to be up.. 2024-08-27 08:39:22,335 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-27 08:39:27,431 - DEBUG - VM is in ACTIVE state now 2024-08-27 08:39:27,431 - INFO - VM name : ctest-TestBasicVMVNx-66423720-76494635 2024-08-27 08:39:27,520 - DEBUG - VM ctest-TestBasicVMVNx-66423720-76494635 ID is cab26641-004a-4977-8a69-55ac6d956920 2024-08-27 08:39:27,542 - DEBUG - VM ctest-TestBasicVMVNx-66423720-76494635 launched on Node cn-jenkins-deploy-platform-ansible-os-1795-1 2024-08-27 08:39:27,644 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/cab26641-004a-4977-8a69-55ac6d956920 2024-08-27 08:39:27,962 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/cab26641-004a-4977-8a69-55ac6d956920 2024-08-27 08:39:28,007 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/7359e2f3-3126-4ae8-956a-a130417d4883 2024-08-27 08:39:31,278 - 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 1025ms') 2024-08-27 08:39:31,278 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-66423720-76494635 failed! 2024-08-27 08:39:31,342 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-66423720:ctest-vn-25128093 is 91.125.107.129 and allocation pool is NOT set 2024-08-27 08:39:33,407 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.76 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.761/3.649/4.537/0.888 ms') 2024-08-27 08:39:33,407 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-66423720-76494635 passed 2024-08-27 08:39:33,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 08:39:33,558 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-66423720-76494635, IP 91.125.107.131, Port 22 2024-08-27 08:39:33,614 - 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-08-27 08:39:33,714 - DEBUG - VM ctest-TestBasicVMVNx-66423720-76494635 is NOT ready for SSH connections, VM status: ACTIVE 2024-08-27 08:39:38,715 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 08:39:38,715 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-66423720-76494635, IP 91.125.107.131, Port 22 2024-08-27 08:39:38,870 - DEBUG - VM ctest-TestBasicVMVNx-66423720-76494635 is ready for SSH connections 2024-08-27 08:39:38,870 - INFO - Waiting for VM ctest-TestBasicVMVNx-66423720-36790721 to be up.. 2024-08-27 08:39:38,976 - DEBUG - VM is in ACTIVE state now 2024-08-27 08:39:38,976 - INFO - VM name : ctest-TestBasicVMVNx-66423720-36790721 2024-08-27 08:39:39,062 - DEBUG - VM ctest-TestBasicVMVNx-66423720-36790721 ID is 5c3bedc9-b7a9-4692-8813-2bc10cc48382 2024-08-27 08:39:39,062 - DEBUG - VM ctest-TestBasicVMVNx-66423720-36790721 launched on Node cn-jenkins-deploy-platform-ansible-os-1795-1 2024-08-27 08:39:39,148 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/5c3bedc9-b7a9-4692-8813-2bc10cc48382 2024-08-27 08:39:39,158 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/c0eb6317-d439-4855-83ba-84f04f4affcf 2024-08-27 08:39:40,400 - 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.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.429 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.429/1.728/3.027/1.299 ms') 2024-08-27 08:39:40,401 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-66423720-36790721 passed 2024-08-27 08:39:40,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 08:39:40,554 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-66423720-36790721, IP 91.125.107.132, Port 22 2024-08-27 08:39:40,720 - DEBUG - VM ctest-TestBasicVMVNx-66423720-36790721 is ready for SSH connections 2024-08-27 08:39:40,721 - DEBUG - FILE SIZE = 1303B 2024-08-27 08:39:40,721 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-66423720-76494635 to ctest-TestBasicVMVNx-66423720-36790721 using scp 2024-08-27 08:39:40,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 08:39:40,730 - 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.56, gateway password: c0ntrail123 2024-08-27 08:39:40,730 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-27 08:39:42,770 - DEBUG - 1+0 records in 1+0 records out 2024-08-27 08:39:43,597 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 08:39:43,949 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2024-08-27 08:39:43,949 - DEBUG - ls -l testfile 2024-08-27 08:39:45,565 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 27 02:39 testfile 2024-08-27 08:39:45,565 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-66423720-36790721 2024-08-27 08:39:45,566 - INFO - Deleting VM ctest-TestBasicVMVNx-66423720-36790721 2024-08-27 08:39:45,650 - INFO - Deleting VM ctest-TestBasicVMVNx-66423720-76494635 2024-08-27 08:39:45,740 - INFO - Deleting VN ctest-vn-25128093 2024-08-27 08:39:45,795 - DEBUG - VN cfc86736-bc39-4483-a2a8-3c31f4ab9445 still in use: Unable to complete operation on network cfc86736-bc39-4483-a2a8-3c31f4ab9445. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-157f7114-60d0-4043-9936-0a20568dac9b'] 2024-08-27 08:39:45,796 - WARNING - Deleting VN ctest-vn-25128093 failed..Will retry 2024-08-27 08:39:47,966 - DEBUG - Response for deleting network () 2024-08-27 08:39:48,227 - DEBUG - No XMPP flaps were noticed during the test 2024-08-27 08:39:48,227 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30] 2024-08-27 08:39:48,227 - INFO - -------------------------------------------------------------------------------- 2024-08-27 08:39:48,973 - INFO - Deleted project: ctest-TestBasicVMVNx-66423720, ID : 8b04d2ab-2ab8-4731-972c-eda152a8039b