2024-09-17 15:07:13,821 - INFO - Domain Default found not creating 2024-09-17 15:07:14,019 - INFO - Project ctest-TestBasicVMVNx-37999082 not found, creating it 2024-09-17 15:07:14,540 - INFO - Created Project:ctest-TestBasicVMVNx-37999082, ID : 7a5414f3-2680-4ab4-bbd0-2d64cc741618 2024-09-17 15:07:16,194 - INFO - ================================================================================ 2024-09-17 15:07:16,194 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-17 15:07:16,194 - 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 15:07:16,457 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.6': '0'}} with 2024-09-17 15:07:16,457 - INFO - Initial checks done. Running the testcase now 2024-09-17 15:07:16,457 - INFO - 2024-09-17 15:07:17,083 - DEBUG - Response for create_network : {'network': {'id': '1bee9634-5ee9-46fc-b529-2916ed5ea911', 'name': 'ctest-vn-14543607', 'tenant_id': '7a5414f326804ab4bbd02d64cc741618', 'project_id': '7a5414f326804ab4bbd02d64cc741618', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-37999082', 'ctest-vn-14543607'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 15:07:17,296 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb05c753-e276-4eed-b526-9a08c3cea80e', 'name': '', 'tenant_id': '7a5414f326804ab4bbd02d64cc741618', 'network_id': '1bee9634-5ee9-46fc-b529-2916ed5ea911', 'ip_version': 4, 'cidr': '126.0.71.128/26', 'allocation_pools': [{'start': '126.0.71.130', 'end': '126.0.71.190'}], 'gateway_ip': '126.0.71.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.0.71.130', 'tags': [], 'project_id': '7a5414f326804ab4bbd02d64cc741618'}} 2024-09-17 15:07:17,318 - INFO - Created VN ctest-vn-14543607 2024-09-17 15:07:17,378 - DEBUG - VN ctest-vn-14543607 UUID is 1bee9634-5ee9-46fc-b529-2916ed5ea911 2024-09-17 15:07:17,599 - DEBUG - Services list from nova: [, , ] 2024-09-17 15:07:18,701 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1963-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1963-1) 2024-09-17 15:07:19,951 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1963-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1963-1) 2024-09-17 15:07:19,951 - INFO - Waiting for VM ctest-TestBasicVMVNx-37999082-19483040 to be up.. 2024-09-17 15:07:20,045 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-17 15:07:25,156 - DEBUG - VM is in ACTIVE state now 2024-09-17 15:07:25,156 - INFO - VM name : ctest-TestBasicVMVNx-37999082-19483040 2024-09-17 15:07:25,238 - DEBUG - VM ctest-TestBasicVMVNx-37999082-19483040 ID is 2faf2693-48e3-417b-9fae-693890c952de 2024-09-17 15:07:25,256 - DEBUG - VM ctest-TestBasicVMVNx-37999082-19483040 launched on Node cn-jenkins-deploy-platform-ansible-os-1963-1 2024-09-17 15:07:25,358 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/2faf2693-48e3-417b-9fae-693890c952de 2024-09-17 15:07:25,665 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/2faf2693-48e3-417b-9fae-693890c952de 2024-09-17 15:07:25,703 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/48759e2d-f6ab-4c9e-af47-d3d0596d857b 2024-09-17 15:07:28,986 - 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-09-17 15:07:28,987 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-37999082-19483040 failed! 2024-09-17 15:07:29,050 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-37999082:ctest-vn-14543607 is 126.0.71.129 and allocation pool is NOT set 2024-09-17 15:07:31,115 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.451 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.451/2.204/3.957/1.753 ms') 2024-09-17 15:07:31,115 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-37999082-19483040 passed 2024-09-17 15:07:31,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 15:07:31,286 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-37999082-19483040, IP 126.0.71.131, Port 22 2024-09-17 15:07:31,446 - DEBUG - VM ctest-TestBasicVMVNx-37999082-19483040 is ready for SSH connections 2024-09-17 15:07:31,446 - INFO - Waiting for VM ctest-TestBasicVMVNx-37999082-59179386 to be up.. 2024-09-17 15:07:31,542 - DEBUG - VM is in ACTIVE state now 2024-09-17 15:07:31,542 - INFO - VM name : ctest-TestBasicVMVNx-37999082-59179386 2024-09-17 15:07:31,635 - DEBUG - VM ctest-TestBasicVMVNx-37999082-59179386 ID is 474b40b4-431f-4162-928b-66bc0a52c9da 2024-09-17 15:07:31,635 - DEBUG - VM ctest-TestBasicVMVNx-37999082-59179386 launched on Node cn-jenkins-deploy-platform-ansible-os-1963-1 2024-09-17 15:07:31,724 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/474b40b4-431f-4162-928b-66bc0a52c9da 2024-09-17 15:07:31,738 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/ef07db2b-14a9-4ce9-bea9-193f3a51cd8e 2024-09-17 15:07:33,002 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.811 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.811/2.497/4.183/1.686 ms') 2024-09-17 15:07:33,002 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-37999082-59179386 passed 2024-09-17 15:07:33,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 15:07:33,162 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-37999082-59179386, IP 126.0.71.132, Port 22 2024-09-17 15:07:33,317 - DEBUG - VM ctest-TestBasicVMVNx-37999082-59179386 is ready for SSH connections 2024-09-17 15:07:33,318 - DEBUG - FILE SIZE = 1303B 2024-09-17 15:07:33,318 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-37999082-19483040 to ctest-TestBasicVMVNx-37999082-59179386 using scp 2024-09-17 15:07:33,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 15:07:33,324 - 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.41, gateway password: c0ntrail123 2024-09-17 15:07:33,324 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-17 15:07:35,241 - DEBUG - 1+0 records in 1+0 records out 2024-09-17 15:07:36,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 15:07:36,361 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2024-09-17 15:07:36,362 - DEBUG - ls -l testfile 2024-09-17 15:07:37,965 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 17 09:07 testfile 2024-09-17 15:07:37,965 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-37999082-59179386 2024-09-17 15:07:37,965 - INFO - Deleting VM ctest-TestBasicVMVNx-37999082-59179386 2024-09-17 15:07:38,035 - INFO - Deleting VM ctest-TestBasicVMVNx-37999082-19483040 2024-09-17 15:07:38,107 - INFO - Deleting VN ctest-vn-14543607 2024-09-17 15:07:38,157 - DEBUG - VN 1bee9634-5ee9-46fc-b529-2916ed5ea911 still in use: Unable to complete operation on network 1bee9634-5ee9-46fc-b529-2916ed5ea911. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fa6a65b9-b991-4eaa-bab1-1daf52c6a505'] 2024-09-17 15:07:38,158 - WARNING - Deleting VN ctest-vn-14543607 failed..Will retry 2024-09-17 15:07:40,300 - DEBUG - Response for deleting network () 2024-09-17 15:07:40,556 - DEBUG - No XMPP flaps were noticed during the test
2024-09-17 15:07:40,556 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-09-17 15:07:40,556 - INFO - -------------------------------------------------------------------------------- 2024-09-17 15:07:41,316 - INFO - Deleted project: ctest-TestBasicVMVNx-37999082, ID : 7a5414f3-2680-4ab4-bbd0-2d64cc741618