2024-10-22 19:27:57,117 - INFO - Domain Default found not creating 2024-10-22 19:27:57,302 - INFO - Project ctest-TestBasicVMVNx-34112470 not found, creating it 2024-10-22 19:27:57,817 - INFO - Created Project:ctest-TestBasicVMVNx-34112470, ID : e773ef7d-2886-4de7-ba87-9a07286cbed4 2024-10-22 19:27:59,416 - INFO - ================================================================================ 2024-10-22 19:27:59,417 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-22 19:27:59,417 - 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-22 19:27:59,674 - DEBUG - Nothing to compare xmpp stats {'10.0.0.36': {'10.20.0.7': '0'}} with 2024-10-22 19:27:59,674 - INFO - Initial checks done. Running the testcase now 2024-10-22 19:27:59,674 - INFO - 2024-10-22 19:28:00,283 - DEBUG - Response for create_network : {'network': {'id': '24ba5be9-0f98-4f7d-a4b5-4f684dd9ae11', 'name': 'ctest-vn-96432563', 'tenant_id': 'e773ef7d28864de7ba879a07286cbed4', 'project_id': 'e773ef7d28864de7ba879a07286cbed4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-34112470', 'ctest-vn-96432563'], 'port_security_enabled': True, 'description': ''}} 2024-10-22 19:28:00,535 - DEBUG - Response for create_subnet : {'subnet': {'id': '82274ffc-97cd-495c-927f-fac90ab29173', 'name': '', 'tenant_id': 'e773ef7d28864de7ba879a07286cbed4', 'network_id': '24ba5be9-0f98-4f7d-a4b5-4f684dd9ae11', 'ip_version': 4, 'cidr': '75.234.233.192/26', 'allocation_pools': [{'start': '75.234.233.194', 'end': '75.234.233.254'}], 'gateway_ip': '75.234.233.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.234.233.194', 'tags': [], 'project_id': 'e773ef7d28864de7ba879a07286cbed4'}} 2024-10-22 19:28:00,557 - INFO - Created VN ctest-vn-96432563 2024-10-22 19:28:00,616 - DEBUG - VN ctest-vn-96432563 UUID is 24ba5be9-0f98-4f7d-a4b5-4f684dd9ae11 2024-10-22 19:28:00,802 - DEBUG - Services list from nova: [, , ] 2024-10-22 19:28:01,939 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2126-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2126-1) 2024-10-22 19:28:03,304 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2126-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2126-1) 2024-10-22 19:28:03,305 - INFO - Waiting for VM ctest-TestBasicVMVNx-34112470-44897681 to be up.. 2024-10-22 19:28:03,411 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-22 19:28:08,498 - DEBUG - VM is in ACTIVE state now 2024-10-22 19:28:08,498 - INFO - VM name : ctest-TestBasicVMVNx-34112470-44897681 2024-10-22 19:28:08,588 - DEBUG - VM ctest-TestBasicVMVNx-34112470-44897681 ID is 330bb170-3383-4892-a35e-0cafc51465cb 2024-10-22 19:28:08,613 - DEBUG - VM ctest-TestBasicVMVNx-34112470-44897681 launched on Node cn-jenkins-deploy-platform-ansible-os-2126-1 2024-10-22 19:28:08,707 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/330bb170-3383-4892-a35e-0cafc51465cb 2024-10-22 19:28:09,006 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/330bb170-3383-4892-a35e-0cafc51465cb 2024-10-22 19:28:09,048 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/91c707b5-eed6-4982-a52c-03a400dc8409 2024-10-22 19:28:12,353 - 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-10-22 19:28:12,353 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-34112470-44897681 failed! 2024-10-22 19:28:12,424 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-34112470:ctest-vn-96432563 is 75.234.233.193 and allocation pool is NOT set 2024-10-22 19:28:14,484 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.23 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 = 1.227/2.918/4.610/1.691 ms') 2024-10-22 19:28:14,485 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-34112470-44897681 passed 2024-10-22 19:28:14,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-22 19:28:14,644 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-34112470-44897681, IP 75.234.233.195, Port 22 2024-10-22 19:28:14,811 - DEBUG - VM ctest-TestBasicVMVNx-34112470-44897681 is ready for SSH connections 2024-10-22 19:28:14,812 - INFO - Waiting for VM ctest-TestBasicVMVNx-34112470-59273327 to be up.. 2024-10-22 19:28:14,899 - DEBUG - VM is in ACTIVE state now 2024-10-22 19:28:14,899 - INFO - VM name : ctest-TestBasicVMVNx-34112470-59273327 2024-10-22 19:28:14,999 - DEBUG - VM ctest-TestBasicVMVNx-34112470-59273327 ID is 4570166a-fd44-49c1-8369-4a1aa314d133 2024-10-22 19:28:14,999 - DEBUG - VM ctest-TestBasicVMVNx-34112470-59273327 launched on Node cn-jenkins-deploy-platform-ansible-os-2126-1 2024-10-22 19:28:15,089 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/4570166a-fd44-49c1-8369-4a1aa314d133 2024-10-22 19:28:15,100 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/d0225684-e55e-4a0d-89eb-ff56b6a0899d 2024-10-22 19:28:16,366 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.460 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.460/1.998/3.536/1.538 ms') 2024-10-22 19:28:16,366 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-34112470-59273327 passed 2024-10-22 19:28:16,528 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-22 19:28:16,528 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-34112470-59273327, IP 75.234.233.196, Port 22 2024-10-22 19:28:16,683 - DEBUG - VM ctest-TestBasicVMVNx-34112470-59273327 is ready for SSH connections 2024-10-22 19:28:16,683 - DEBUG - FILE SIZE = 1303B 2024-10-22 19:28:16,683 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-34112470-44897681 to ctest-TestBasicVMVNx-34112470-59273327 using scp 2024-10-22 19:28:16,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-22 19:28:16,695 - 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.36, gateway password: c0ntrail123 2024-10-22 19:28:16,695 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-22 19:28:18,654 - DEBUG - 1+0 records in 1+0 records out 2024-10-22 19:28:19,444 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-22 19:28:19,785 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.36, gateway password: c0ntrail123 2024-10-22 19:28:19,785 - DEBUG - ls -l testfile 2024-10-22 19:28:21,394 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 22 13:28 testfile 2024-10-22 19:28:21,394 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-34112470-59273327 2024-10-22 19:28:21,394 - INFO - Deleting VM ctest-TestBasicVMVNx-34112470-59273327 2024-10-22 19:28:21,474 - INFO - Deleting VM ctest-TestBasicVMVNx-34112470-44897681 2024-10-22 19:28:21,549 - INFO - Deleting VN ctest-vn-96432563 2024-10-22 19:28:21,595 - DEBUG - VN 24ba5be9-0f98-4f7d-a4b5-4f684dd9ae11 still in use: Unable to complete operation on network 24ba5be9-0f98-4f7d-a4b5-4f684dd9ae11. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dd33fc96-ce41-43a0-ac0e-b6b6c71a8dbd'] 2024-10-22 19:28:21,595 - WARNING - Deleting VN ctest-vn-96432563 failed..Will retry 2024-10-22 19:28:23,714 - DEBUG - Response for deleting network () 2024-10-22 19:28:23,980 - DEBUG - No XMPP flaps were noticed during the test
2024-10-22 19:28:23,980 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-10-22 19:28:23,981 - INFO - -------------------------------------------------------------------------------- 2024-10-22 19:28:24,693 - INFO - Deleted project: ctest-TestBasicVMVNx-34112470, ID : e773ef7d-2886-4de7-ba87-9a07286cbed4