2024-10-18 22:17:14,004 - INFO - Domain Default found not creating 2024-10-18 22:17:14,215 - INFO - Project ctest-TestBasicVMVNx-67895755 not found, creating it 2024-10-18 22:17:14,730 - INFO - Created Project:ctest-TestBasicVMVNx-67895755, ID : 7aa2a809-0e62-4c2a-9f94-3d5ad4b56553 2024-10-18 22:17:16,425 - INFO - ================================================================================ 2024-10-18 22:17:16,425 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-18 22:17:16,425 - 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-18 22:17:16,690 - DEBUG - Nothing to compare xmpp stats {'10.0.0.44': {'10.20.0.6': '0'}} with 2024-10-18 22:17:16,690 - INFO - Initial checks done. Running the testcase now 2024-10-18 22:17:16,690 - INFO - 2024-10-18 22:17:17,372 - DEBUG - Response for create_network : {'network': {'id': '57878427-2bc8-47fb-abac-36ab5f573003', 'name': 'ctest-vn-06688048', 'tenant_id': '7aa2a8090e624c2a9f943d5ad4b56553', 'project_id': '7aa2a8090e624c2a9f943d5ad4b56553', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-67895755', 'ctest-vn-06688048'], 'port_security_enabled': True, 'description': ''}} 2024-10-18 22:17:17,602 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f1e998e5-de7a-4996-8d69-72af26765e6d', 'name': '', 'tenant_id': '7aa2a8090e624c2a9f943d5ad4b56553', 'network_id': '57878427-2bc8-47fb-abac-36ab5f573003', 'ip_version': 4, 'cidr': '20.95.115.128/26', 'allocation_pools': [{'start': '20.95.115.130', 'end': '20.95.115.190'}], 'gateway_ip': '20.95.115.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.95.115.130', 'tags': [], 'project_id': '7aa2a8090e624c2a9f943d5ad4b56553'}} 2024-10-18 22:17:17,634 - INFO - Created VN ctest-vn-06688048 2024-10-18 22:17:17,698 - DEBUG - VN ctest-vn-06688048 UUID is 57878427-2bc8-47fb-abac-36ab5f573003 2024-10-18 22:17:17,920 - DEBUG - Services list from nova: [, , ] 2024-10-18 22:17:19,149 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2114-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2114-1) 2024-10-18 22:17:20,514 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2114-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2114-1) 2024-10-18 22:17:20,515 - INFO - Waiting for VM ctest-TestBasicVMVNx-67895755-76963322 to be up.. 2024-10-18 22:17:20,817 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-18 22:17:25,918 - DEBUG - VM is in ACTIVE state now 2024-10-18 22:17:25,918 - INFO - VM name : ctest-TestBasicVMVNx-67895755-76963322 2024-10-18 22:17:26,019 - DEBUG - VM ctest-TestBasicVMVNx-67895755-76963322 ID is e89bc9e3-d104-4505-9751-ba766b113156 2024-10-18 22:17:26,043 - DEBUG - VM ctest-TestBasicVMVNx-67895755-76963322 launched on Node cn-jenkins-deploy-platform-ansible-os-2114-1 2024-10-18 22:17:26,163 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/e89bc9e3-d104-4505-9751-ba766b113156 2024-10-18 22:17:26,479 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/e89bc9e3-d104-4505-9751-ba766b113156 2024-10-18 22:17:26,528 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/dadfcbb8-1868-4a9d-a4d7-5a7f0d4d8068 2024-10-18 22:17:29,848 - 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 1030ms') 2024-10-18 22:17:29,848 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-67895755-76963322 failed! 2024-10-18 22:17:29,911 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-67895755:ctest-vn-06688048 is 20.95.115.129 and allocation pool is NOT set 2024-10-18 22:17:31,976 - 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=6.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.42 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 = 2.415/4.486/6.557/2.071 ms') 2024-10-18 22:17:31,976 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-67895755-76963322 passed 2024-10-18 22:17:32,138 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-18 22:17:32,139 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-67895755-76963322, IP 20.95.115.131, Port 22 2024-10-18 22:17:32,205 - 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-18 22:17:32,331 - DEBUG - VM ctest-TestBasicVMVNx-67895755-76963322 is NOT ready for SSH connections, VM status: ACTIVE 2024-10-18 22:17:37,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-18 22:17:37,333 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-67895755-76963322, IP 20.95.115.131, Port 22 2024-10-18 22:17:37,506 - DEBUG - VM ctest-TestBasicVMVNx-67895755-76963322 is ready for SSH connections 2024-10-18 22:17:37,506 - INFO - Waiting for VM ctest-TestBasicVMVNx-67895755-33961287 to be up.. 2024-10-18 22:17:37,620 - DEBUG - VM is in ACTIVE state now 2024-10-18 22:17:37,620 - INFO - VM name : ctest-TestBasicVMVNx-67895755-33961287 2024-10-18 22:17:37,726 - DEBUG - VM ctest-TestBasicVMVNx-67895755-33961287 ID is 0356cd8b-fa99-4d1d-a131-311e7b4e764e 2024-10-18 22:17:37,726 - DEBUG - VM ctest-TestBasicVMVNx-67895755-33961287 launched on Node cn-jenkins-deploy-platform-ansible-os-2114-1 2024-10-18 22:17:37,826 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/0356cd8b-fa99-4d1d-a131-311e7b4e764e 2024-10-18 22:17:37,841 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/53ccd757-d706-403f-b113-30985259148c 2024-10-18 22:17:39,108 - 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.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.560 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.560/2.531/4.503/1.971 ms') 2024-10-18 22:17:39,109 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-67895755-33961287 passed 2024-10-18 22:17:39,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-18 22:17:39,271 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-67895755-33961287, IP 20.95.115.132, Port 22 2024-10-18 22:17:39,436 - DEBUG - VM ctest-TestBasicVMVNx-67895755-33961287 is ready for SSH connections 2024-10-18 22:17:39,436 - DEBUG - FILE SIZE = 1303B 2024-10-18 22:17:39,437 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-67895755-76963322 to ctest-TestBasicVMVNx-67895755-33961287 using scp 2024-10-18 22:17:39,437 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-18 22:17:39,446 - 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.44, gateway password: c0ntrail123 2024-10-18 22:17:39,446 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-18 22:17:41,445 - DEBUG - 1+0 records in 1+0 records out 2024-10-18 22:17:42,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-18 22:17:42,617 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.44, gateway password: c0ntrail123 2024-10-18 22:17:42,621 - DEBUG - ls -l testfile 2024-10-18 22:17:44,232 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 18 16:17 testfile 2024-10-18 22:17:44,232 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-67895755-33961287 2024-10-18 22:17:44,232 - INFO - Deleting VM ctest-TestBasicVMVNx-67895755-33961287 2024-10-18 22:17:44,328 - INFO - Deleting VM ctest-TestBasicVMVNx-67895755-76963322 2024-10-18 22:17:44,403 - INFO - Deleting VN ctest-vn-06688048 2024-10-18 22:17:44,463 - DEBUG - VN 57878427-2bc8-47fb-abac-36ab5f573003 still in use: Unable to complete operation on network 57878427-2bc8-47fb-abac-36ab5f573003. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9c64d406-d1db-4c93-97c4-230206472fd1'] 2024-10-18 22:17:44,464 - WARNING - Deleting VN ctest-vn-06688048 failed..Will retry 2024-10-18 22:17:46,618 - DEBUG - Response for deleting network () 2024-10-18 22:17:46,893 - DEBUG - No XMPP flaps were noticed during the test
2024-10-18 22:17:46,893 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2024-10-18 22:17:46,893 - INFO - -------------------------------------------------------------------------------- 2024-10-18 22:17:47,719 - INFO - Deleted project: ctest-TestBasicVMVNx-67895755, ID : 7aa2a809-0e62-4c2a-9f94-3d5ad4b56553