2024-09-17 07:02:22,309 - INFO - Domain Default found not creating 2024-09-17 07:02:22,567 - INFO - Project ctest-TestBasicVMVNx-18831294 not found, creating it 2024-09-17 07:02:23,475 - INFO - Created Project:ctest-TestBasicVMVNx-18831294, ID : 37845cad-abf0-4888-99d2-ea1dbf6be67a 2024-09-17 07:02:25,881 - INFO - ================================================================================ 2024-09-17 07:02:25,882 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-17 07:02:25,882 - 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-17 07:02:26,220 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.10': '0'}} with 2024-09-17 07:02:26,221 - INFO - Initial checks done. Running the testcase now 2024-09-17 07:02:26,221 - INFO - 2024-09-17 07:02:26,958 - DEBUG - Response for create_network : {'network': {'id': '4576995c-2d02-417b-9b8b-15ec841c5b6c', 'name': 'ctest-vn-69395775', 'tenant_id': '37845cadabf0488899d2ea1dbf6be67a', 'project_id': '37845cadabf0488899d2ea1dbf6be67a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-18831294', 'ctest-vn-69395775'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 07:02:27,188 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e466fab-f324-46e3-8a28-07cef063e844', 'name': '', 'tenant_id': '37845cadabf0488899d2ea1dbf6be67a', 'network_id': '4576995c-2d02-417b-9b8b-15ec841c5b6c', 'ip_version': 4, 'cidr': '64.251.136.0/26', 'allocation_pools': [{'start': '64.251.136.2', 'end': '64.251.136.62'}], 'gateway_ip': '64.251.136.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.251.136.2', 'tags': [], 'project_id': '37845cadabf0488899d2ea1dbf6be67a'}} 2024-09-17 07:02:27,213 - INFO - Created VN ctest-vn-69395775 2024-09-17 07:02:27,271 - DEBUG - VN ctest-vn-69395775 UUID is 4576995c-2d02-417b-9b8b-15ec841c5b6c 2024-09-17 07:02:27,568 - DEBUG - Services list from nova: [, , ] 2024-09-17 07:02:29,274 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1953-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1953-1) 2024-09-17 07:02:30,969 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1953-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1953-1) 2024-09-17 07:02:30,969 - INFO - Waiting for VM ctest-TestBasicVMVNx-18831294-98901481 to be up.. 2024-09-17 07:02:31,098 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-17 07:02:36,328 - DEBUG - VM is in ACTIVE state now 2024-09-17 07:02:36,328 - INFO - VM name : ctest-TestBasicVMVNx-18831294-98901481 2024-09-17 07:02:36,504 - DEBUG - VM ctest-TestBasicVMVNx-18831294-98901481 ID is aa1c978a-3fa8-4933-95e1-9a721c7a1461 2024-09-17 07:02:36,554 - DEBUG - VM ctest-TestBasicVMVNx-18831294-98901481 launched on Node cn-jenkins-deploy-platform-ansible-os-1953-1 2024-09-17 07:02:36,754 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/aa1c978a-3fa8-4933-95e1-9a721c7a1461 2024-09-17 07:02:37,117 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/aa1c978a-3fa8-4933-95e1-9a721c7a1461 2024-09-17 07:02:37,190 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/13b065e2-897c-4dce-810b-79ef3abcbc38 2024-09-17 07:02:40,550 - 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 1019ms') 2024-09-17 07:02:40,551 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-18831294-98901481 failed! 2024-09-17 07:02:40,636 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-18831294:ctest-vn-69395775 is 64.251.136.1 and allocation pool is NOT set 2024-09-17 07:02:42,721 - 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=7.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.51 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.511/4.741/7.971/3.230 ms') 2024-09-17 07:02:42,722 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-18831294-98901481 passed 2024-09-17 07:02:42,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 07:02:42,949 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-18831294-98901481, IP 64.251.136.3, Port 22 2024-09-17 07:02:43,036 - 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-17 07:02:43,288 - DEBUG - VM ctest-TestBasicVMVNx-18831294-98901481 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-17 07:02:48,289 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 07:02:48,289 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-18831294-98901481, IP 64.251.136.3, Port 22 2024-09-17 07:02:48,497 - DEBUG - VM ctest-TestBasicVMVNx-18831294-98901481 is ready for SSH connections 2024-09-17 07:02:48,497 - INFO - Waiting for VM ctest-TestBasicVMVNx-18831294-16838207 to be up.. 2024-09-17 07:02:48,642 - DEBUG - VM is in ACTIVE state now 2024-09-17 07:02:48,642 - INFO - VM name : ctest-TestBasicVMVNx-18831294-16838207 2024-09-17 07:02:48,746 - DEBUG - VM ctest-TestBasicVMVNx-18831294-16838207 ID is 06fc4a56-9bc3-4945-9346-9d362d5305f9 2024-09-17 07:02:48,746 - DEBUG - VM ctest-TestBasicVMVNx-18831294-16838207 launched on Node cn-jenkins-deploy-platform-ansible-os-1953-1 2024-09-17 07:02:48,879 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/06fc4a56-9bc3-4945-9346-9d362d5305f9 2024-09-17 07:02:48,895 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/a04a041e-bf73-4bad-8aca-c82b1c2f1802 2024-09-17 07:02:50,211 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.893 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.893/5.320/9.748/4.427 ms') 2024-09-17 07:02:50,211 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-18831294-16838207 passed 2024-09-17 07:02:50,440 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 07:02:50,441 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-18831294-16838207, IP 64.251.136.4, Port 22 2024-09-17 07:02:50,654 - DEBUG - VM ctest-TestBasicVMVNx-18831294-16838207 is ready for SSH connections 2024-09-17 07:02:50,654 - DEBUG - FILE SIZE = 1303B 2024-09-17 07:02:50,654 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-18831294-98901481 to ctest-TestBasicVMVNx-18831294-16838207 using scp 2024-09-17 07:02:50,656 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 07:02:50,667 - 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.57, gateway password: c0ntrail123 2024-09-17 07:02:50,667 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-17 07:02:53,184 - DEBUG - 1+0 records in 1+0 records out 2024-09-17 07:02:54,022 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 07:02:54,474 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2024-09-17 07:02:54,475 - DEBUG - ls -l testfile 2024-09-17 07:02:56,515 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 17 01:02 testfile 2024-09-17 07:02:56,515 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-18831294-16838207 2024-09-17 07:02:56,516 - INFO - Deleting VM ctest-TestBasicVMVNx-18831294-16838207 2024-09-17 07:02:56,732 - INFO - Deleting VM ctest-TestBasicVMVNx-18831294-98901481 2024-09-17 07:02:56,899 - INFO - Deleting VN ctest-vn-69395775 2024-09-17 07:02:56,976 - DEBUG - VN 4576995c-2d02-417b-9b8b-15ec841c5b6c still in use: Unable to complete operation on network 4576995c-2d02-417b-9b8b-15ec841c5b6c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-15fa685d-cb86-472f-8ad2-f19c99d1a0da'] 2024-09-17 07:02:56,977 - WARNING - Deleting VN ctest-vn-69395775 failed..Will retry 2024-09-17 07:02:59,194 - DEBUG - Response for deleting network () 2024-09-17 07:02:59,506 - DEBUG - No XMPP flaps were noticed during the test 2024-09-17 07:02:59,506 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:34] 2024-09-17 07:02:59,506 - INFO - -------------------------------------------------------------------------------- 2024-09-17 07:03:00,488 - INFO - Deleted project: ctest-TestBasicVMVNx-18831294, ID : 37845cad-abf0-4888-99d2-ea1dbf6be67a