2024-08-26 19:24:32,657 - INFO - Domain Default found not creating 2024-08-26 19:24:32,911 - INFO - Project ctest-TestBasicVMVNx-11892847 not found, creating it 2024-08-26 19:24:33,780 - INFO - Created Project:ctest-TestBasicVMVNx-11892847, ID : 0ea213c7-e8c6-4358-b214-72fb77cb10cd 2024-08-26 19:24:35,942 - INFO - ================================================================================ 2024-08-26 19:24:35,942 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-26 19:24:35,942 - 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-26 19:24:36,281 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.24': '0'}} with 2024-08-26 19:24:36,281 - INFO - Initial checks done. Running the testcase now 2024-08-26 19:24:36,281 - INFO - 2024-08-26 19:24:37,229 - DEBUG - Response for create_network : {'network': {'id': '11be7026-1696-4b5f-9047-8dabf39cca01', 'name': 'ctest-vn-56259746', 'tenant_id': '0ea213c7e8c64358b21472fb77cb10cd', 'project_id': '0ea213c7e8c64358b21472fb77cb10cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-11892847', 'ctest-vn-56259746'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 19:24:37,526 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c67cede0-cc9c-4fdc-9b06-60c16c0d9358', 'name': '', 'tenant_id': '0ea213c7e8c64358b21472fb77cb10cd', 'network_id': '11be7026-1696-4b5f-9047-8dabf39cca01', 'ip_version': 4, 'cidr': '185.183.65.64/26', 'allocation_pools': [{'start': '185.183.65.66', 'end': '185.183.65.126'}], 'gateway_ip': '185.183.65.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.183.65.66', 'tags': [], 'project_id': '0ea213c7e8c64358b21472fb77cb10cd'}} 2024-08-26 19:24:37,560 - INFO - Created VN ctest-vn-56259746 2024-08-26 19:24:37,616 - DEBUG - VN ctest-vn-56259746 UUID is 11be7026-1696-4b5f-9047-8dabf39cca01 2024-08-26 19:24:37,923 - DEBUG - Services list from nova: [, , ] 2024-08-26 19:24:39,890 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1768-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1768-1) 2024-08-26 19:24:41,528 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1768-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1768-1) 2024-08-26 19:24:41,529 - INFO - Waiting for VM ctest-TestBasicVMVNx-11892847-97334060 to be up.. 2024-08-26 19:24:41,629 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-26 19:24:46,875 - DEBUG - VM is in ACTIVE state now 2024-08-26 19:24:46,875 - INFO - VM name : ctest-TestBasicVMVNx-11892847-97334060 2024-08-26 19:24:47,059 - DEBUG - VM ctest-TestBasicVMVNx-11892847-97334060 ID is 29c2243b-6035-47a8-b34a-387e7c136306 2024-08-26 19:24:47,214 - DEBUG - VM ctest-TestBasicVMVNx-11892847-97334060 launched on Node cn-jenkins-deploy-platform-ansible-os-1768-1 2024-08-26 19:24:47,387 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/29c2243b-6035-47a8-b34a-387e7c136306 2024-08-26 19:24:47,740 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/29c2243b-6035-47a8-b34a-387e7c136306 2024-08-26 19:24:47,789 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/804f47a1-4df1-4d88-af05-5e98809714ba 2024-08-26 19:24:51,129 - 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 1026ms') 2024-08-26 19:24:51,130 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-11892847-97334060 failed! 2024-08-26 19:24:51,197 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-11892847:ctest-vn-56259746 is 185.183.65.65 and allocation pool is NOT set 2024-08-26 19:24:53,262 - 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=3.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.854 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 = 0.854/2.159/3.465/1.305 ms') 2024-08-26 19:24:53,263 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-11892847-97334060 passed 2024-08-26 19:24:53,441 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 19:24:53,442 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-11892847-97334060, IP 185.183.65.67, Port 22 2024-08-26 19:24:53,513 - 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-26 19:24:53,645 - DEBUG - VM ctest-TestBasicVMVNx-11892847-97334060 is NOT ready for SSH connections, VM status: ACTIVE 2024-08-26 19:24:58,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 19:24:58,647 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-11892847-97334060, IP 185.183.65.67, Port 22 2024-08-26 19:24:58,853 - DEBUG - VM ctest-TestBasicVMVNx-11892847-97334060 is ready for SSH connections 2024-08-26 19:24:58,853 - INFO - Waiting for VM ctest-TestBasicVMVNx-11892847-86355669 to be up.. 2024-08-26 19:24:59,083 - DEBUG - VM is in ACTIVE state now 2024-08-26 19:24:59,084 - INFO - VM name : ctest-TestBasicVMVNx-11892847-86355669 2024-08-26 19:24:59,233 - DEBUG - VM ctest-TestBasicVMVNx-11892847-86355669 ID is 9602afdc-e9be-4996-b62a-4cdc6adc04d8 2024-08-26 19:24:59,233 - DEBUG - VM ctest-TestBasicVMVNx-11892847-86355669 launched on Node cn-jenkins-deploy-platform-ansible-os-1768-1 2024-08-26 19:24:59,380 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/9602afdc-e9be-4996-b62a-4cdc6adc04d8 2024-08-26 19:24:59,390 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/adcca22c-f44b-4bdb-8f09-46e22311c7f6 2024-08-26 19:25:00,667 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.700 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.700/4.927/9.155/4.227 ms') 2024-08-26 19:25:00,668 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-11892847-86355669 passed 2024-08-26 19:25:00,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 19:25:00,836 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-11892847-86355669, IP 185.183.65.68, Port 22 2024-08-26 19:25:01,014 - DEBUG - VM ctest-TestBasicVMVNx-11892847-86355669 is ready for SSH connections 2024-08-26 19:25:01,014 - DEBUG - FILE SIZE = 1303B 2024-08-26 19:25:01,014 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-11892847-97334060 to ctest-TestBasicVMVNx-11892847-86355669 using scp 2024-08-26 19:25:01,017 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 19:25:01,032 - 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.30, gateway password: c0ntrail123 2024-08-26 19:25:01,033 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-26 19:25:03,447 - DEBUG - 1+0 records in 1+0 records out 2024-08-26 19:25:04,296 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 19:25:04,768 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2024-08-26 19:25:04,769 - DEBUG - ls -l testfile 2024-08-26 19:25:05,693 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 26 13:25 testfile 2024-08-26 19:25:05,693 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-11892847-86355669 2024-08-26 19:25:05,694 - INFO - Deleting VM ctest-TestBasicVMVNx-11892847-86355669 2024-08-26 19:25:05,902 - INFO - Deleting VM ctest-TestBasicVMVNx-11892847-97334060 2024-08-26 19:25:06,098 - INFO - Deleting VN ctest-vn-56259746 2024-08-26 19:25:06,221 - DEBUG - VN 11be7026-1696-4b5f-9047-8dabf39cca01 still in use: Unable to complete operation on network 11be7026-1696-4b5f-9047-8dabf39cca01. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a9b6a565-f54b-48ce-a965-66752d0d67ea'] 2024-08-26 19:25:06,221 - WARNING - Deleting VN ctest-vn-56259746 failed..Will retry 2024-08-26 19:25:08,449 - DEBUG - Response for deleting network () 2024-08-26 19:25:08,778 - DEBUG - No XMPP flaps were noticed during the test
2024-08-26 19:25:08,778 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:33]
2024-08-26 19:25:08,778 - INFO - -------------------------------------------------------------------------------- 2024-08-26 19:25:09,651 - INFO - Deleted project: ctest-TestBasicVMVNx-11892847, ID : 0ea213c7-e8c6-4358-b214-72fb77cb10cd