2024-11-06 18:59:12,593 - INFO - Domain Default found not creating 2024-11-06 18:59:12,796 - INFO - Project ctest-TestBasicVMVNx-19966929 not found, creating it 2024-11-06 18:59:13,331 - INFO - Created Project:ctest-TestBasicVMVNx-19966929, ID : cb12dd25-958f-4eea-a898-21305090032d 2024-11-06 18:59:15,039 - INFO - ================================================================================ 2024-11-06 18:59:15,040 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-06 18:59:15,040 - 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 18:59:15,296 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.8': '0'}} with 2024-11-06 18:59:15,296 - INFO - Initial checks done. Running the testcase now 2024-11-06 18:59:15,296 - INFO - 2024-11-06 18:59:15,956 - DEBUG - Response for create_network : {'network': {'id': '32e59892-84b6-4812-8ece-43551c10eb69', 'name': 'ctest-vn-92686920', 'tenant_id': 'cb12dd25958f4eeaa89821305090032d', 'project_id': 'cb12dd25958f4eeaa89821305090032d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-19966929', 'ctest-vn-92686920'], 'port_security_enabled': True, 'description': ''}} 2024-11-06 18:59:16,189 - DEBUG - Response for create_subnet : {'subnet': {'id': '5257c77d-8945-4a85-ba1c-500123aba0d0', 'name': '', 'tenant_id': 'cb12dd25958f4eeaa89821305090032d', 'network_id': '32e59892-84b6-4812-8ece-43551c10eb69', 'ip_version': 4, 'cidr': '189.57.107.64/26', 'allocation_pools': [{'start': '189.57.107.66', 'end': '189.57.107.126'}], 'gateway_ip': '189.57.107.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.57.107.66', 'tags': [], 'project_id': 'cb12dd25958f4eeaa89821305090032d'}} 2024-11-06 18:59:16,213 - INFO - Created VN ctest-vn-92686920 2024-11-06 18:59:16,272 - DEBUG - VN ctest-vn-92686920 UUID is 32e59892-84b6-4812-8ece-43551c10eb69 2024-11-06 18:59:16,478 - DEBUG - Services list from nova: [, , ] 2024-11-06 18:59:17,654 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2205-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2205-1) 2024-11-06 18:59:18,947 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2205-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2205-1) 2024-11-06 18:59:18,948 - INFO - Waiting for VM ctest-TestBasicVMVNx-19966929-87798238 to be up.. 2024-11-06 18:59:19,041 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-06 18:59:24,134 - DEBUG - VM is in ACTIVE state now 2024-11-06 18:59:24,134 - INFO - VM name : ctest-TestBasicVMVNx-19966929-87798238 2024-11-06 18:59:24,222 - DEBUG - VM ctest-TestBasicVMVNx-19966929-87798238 ID is b20da968-6977-4281-b8b1-a843d63cfcf2 2024-11-06 18:59:24,248 - DEBUG - VM ctest-TestBasicVMVNx-19966929-87798238 launched on Node cn-jenkins-deploy-platform-ansible-os-2205-1 2024-11-06 18:59:24,342 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/b20da968-6977-4281-b8b1-a843d63cfcf2 2024-11-06 18:59:24,680 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/b20da968-6977-4281-b8b1-a843d63cfcf2 2024-11-06 18:59:24,720 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/6c9a1dbf-a056-428a-ae01-2443a3614fbd 2024-11-06 18:59:27,995 - 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 1015ms') 2024-11-06 18:59:27,995 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-19966929-87798238 failed! 2024-11-06 18:59:28,061 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-19966929:ctest-vn-92686920 is 189.57.107.65 and allocation pool is NOT set 2024-11-06 18:59:30,124 - 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=5.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.926 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 = 0.926/3.071/5.217/2.145 ms') 2024-11-06 18:59:30,124 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-19966929-87798238 passed 2024-11-06 18:59:30,289 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-06 18:59:30,289 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-19966929-87798238, IP 189.57.107.67, Port 22 2024-11-06 18:59:30,460 - DEBUG - VM ctest-TestBasicVMVNx-19966929-87798238 is ready for SSH connections 2024-11-06 18:59:30,460 - INFO - Waiting for VM ctest-TestBasicVMVNx-19966929-35653362 to be up.. 2024-11-06 18:59:30,607 - DEBUG - VM is in ACTIVE state now 2024-11-06 18:59:30,608 - INFO - VM name : ctest-TestBasicVMVNx-19966929-35653362 2024-11-06 18:59:30,721 - DEBUG - VM ctest-TestBasicVMVNx-19966929-35653362 ID is b2ac80cc-d38f-4649-9503-dad01f6b2798 2024-11-06 18:59:30,721 - DEBUG - VM ctest-TestBasicVMVNx-19966929-35653362 launched on Node cn-jenkins-deploy-platform-ansible-os-2205-1 2024-11-06 18:59:30,858 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/b2ac80cc-d38f-4649-9503-dad01f6b2798 2024-11-06 18:59:30,871 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/a4738b42-93cf-446c-ba2f-15acaf63ffde 2024-11-06 18:59:32,184 - 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=4.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.958 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.958/2.535/4.112/1.577 ms') 2024-11-06 18:59:32,184 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-19966929-35653362 passed 2024-11-06 18:59:32,348 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-06 18:59:32,349 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-19966929-35653362, IP 189.57.107.68, Port 22 2024-11-06 18:59:32,414 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-11-06 18:59:32,508 - DEBUG - VM ctest-TestBasicVMVNx-19966929-35653362 is NOT ready for SSH connections, VM status: ACTIVE 2024-11-06 18:59:37,509 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-06 18:59:37,509 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-19966929-35653362, IP 189.57.107.68, Port 22 2024-11-06 18:59:37,669 - DEBUG - VM ctest-TestBasicVMVNx-19966929-35653362 is ready for SSH connections 2024-11-06 18:59:37,669 - DEBUG - FILE SIZE = 1303B 2024-11-06 18:59:37,669 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-19966929-87798238 to ctest-TestBasicVMVNx-19966929-35653362 using scp 2024-11-06 18:59:37,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-06 18:59:37,675 - 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.24, gateway password: c0ntrail123 2024-11-06 18:59:37,675 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-06 18:59:39,703 - DEBUG - 1+0 records in 1+0 records out 2024-11-06 18:59:40,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-06 18:59:40,772 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2024-11-06 18:59:40,773 - DEBUG - ls -l testfile 2024-11-06 18:59:42,430 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 6 11:59 testfile 2024-11-06 18:59:42,431 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-19966929-35653362 2024-11-06 18:59:42,431 - INFO - Deleting VM ctest-TestBasicVMVNx-19966929-35653362 2024-11-06 18:59:42,520 - INFO - Deleting VM ctest-TestBasicVMVNx-19966929-87798238 2024-11-06 18:59:42,618 - INFO - Deleting VN ctest-vn-92686920 2024-11-06 18:59:42,671 - DEBUG - VN 32e59892-84b6-4812-8ece-43551c10eb69 still in use: Unable to complete operation on network 32e59892-84b6-4812-8ece-43551c10eb69. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-389aeeb5-5dba-4346-bee5-5c69786deaf2'] 2024-11-06 18:59:42,672 - WARNING - Deleting VN ctest-vn-92686920 failed..Will retry 2024-11-06 18:59:44,808 - DEBUG - Response for deleting network () 2024-11-06 18:59:45,070 - DEBUG - No XMPP flaps were noticed during the test
2024-11-06 18:59:45,071 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2024-11-06 18:59:45,071 - INFO - -------------------------------------------------------------------------------- 2024-11-06 18:59:45,845 - INFO - Deleted project: ctest-TestBasicVMVNx-19966929, ID : cb12dd25-958f-4eea-a898-21305090032d