From e062e4ac372297d12f5adfa6d2583f4d99a0c1b8 Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Tue, 13 Oct 2015 16:12:57 +0200 Subject: [PATCH] A dummy suite with testplan, for determining python versions + Test case to print system resource limits on Robot machine. + Test case to print system resource limits on ODL machine. Change-Id: I3abf41fefad02e909388f6dfa6cdd353d8e3a3b2 Signed-off-by: Vratko Polak --- csit/suites/test/freeze.robot | 21 +++++++++++++++++++++ csit/testplans/test-freeze.txt | 8 ++++++++ 2 files changed, 29 insertions(+) create mode 100644 csit/suites/test/freeze.robot create mode 100644 csit/testplans/test-freeze.txt diff --git a/csit/suites/test/freeze.robot b/csit/suites/test/freeze.robot new file mode 100644 index 0000000000..8f677702f8 --- /dev/null +++ b/csit/suites/test/freeze.robot @@ -0,0 +1,21 @@ +*** Settings *** +Documentation Not a test, it just logs versions of installed Python modules. +... Useful when library documentation mentions version-specific behavior. +Library OperatingSystem +Library SSHLibrary +Resource ${CURDIR}/../../libraries/Utils.robot + +*** Test Cases *** +Freeze + ${versions} = OperatingSystem.Run pip freeze + BuiltIn.Log ${versions} + +Ulimit_On_Robot + ${limits} = OperatingSystem.Run bash -c "ulimit -a" + BuiltIn.Log ${limits} + +Ulimit_On_Controller + SSHLibrary.Open_Connection ${ODL_SYSTEM_IP} + Utils.Flexible_Controller_Login + ${limits} = SSHLibrary.Execute_Command bash -c "ulimit -a" + BuiltIn.Log ${limits} diff --git a/csit/testplans/test-freeze.txt b/csit/testplans/test-freeze.txt new file mode 100644 index 0000000000..99dcac56fd --- /dev/null +++ b/csit/testplans/test-freeze.txt @@ -0,0 +1,8 @@ +# Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved. +# +# This program and the accompanying materials are made available under the +# terms of the Eclipse Public License v1.0 which accompanies this distribution, +# and is available at http://www.eclipse.org/legal/epl-v10.html + +# Place the suites in run order: +integration/test/csit/suites/test/freeze.robot -- 2.36.6