summaryrefslogtreecommitdiffstats
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
2016-05-02Create CLI template for Functestjose.lausuch1-0/+1
JIRA: FUNCTEST-235 Change-Id: I235a53781fbcde91ccf15d15ea52c96ee2ee9433 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-27Corrected path for clean_openstack.pyvitikkan2-2/+2
Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
2016-04-26Move functest_utils and openstack_utils to directory /utilsjose.lausuch1-1/+1
JIRA: FUNCTEST-226 Change-Id: I74d09f6322844b25ab45a02156317ae76ab40d8a Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-26Add Functest Logger centralized Classjose.lausuch1-1/+1
JIRA: FUNCTEST-228 This is to be used by all the scripts using logging mechanisms. Usage: import functest_logger as fl logger = fl.Logger("<script_name>").getLogger() # treat it as a normal logger object, as before: logger.info("message to be shown with - INFO - ") logger.debug("message to be shown with - DEBUG -") Change-Id: I94e248523bc9bc148c9d171c978804b5d1865dd9 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-25Corrected if statement for clean_openstackvitikkan1-1/+1
Change-Id: I3d8c0cb81dc4906ea989bd36dc8c29bf9f1f6396 Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
2016-04-22Enable PYTHONPATH env variable inside the containerjose.lausuch1-0/+1
JIRA: FUNCTEST-224 Change-Id: Ib10dc312a761b06fe36174c5c19a0165f746593e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-21prepare_env CI_DEBUG when calling generate_defaults.pyjose.lausuch1-1/+1
JIRA: FUNCTEST-205 Change-Id: I3887f5ab408667437675e12c9247c7075080f0f8 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-21Remove cleanup from vPing scripts, and use the existing cleanup scriptjose.lausuch1-8/+6
JIRA: FUNCTEST-215 Change-Id: I1ec494097a9b70de142da9f90136256535af5100 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-21Fix Flake8 Violations in the Functest scriptsjose.lausuch1-1/+1
JIRA: FUNCTEST-213 Change-Id: I66c02dd6ff12ffb9798ebe44a4cfe7bfc73e76c3 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-19Dockerfile, fix typo in git clone commandjose.lausuch1-1/+1
Change-Id: Ic14f81362357d0a653bf174b1ccdc859bd7cea5e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-19Small adaptations in prepare_env,run_tests and commonjose.lausuch3-18/+13
Change-Id: I5f31392b04b168247e332bc2ea97efeb733cdf97 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-19Adapt Functest output to the env variable CI_DEBUGjose.lausuch1-9/+12
JIRA: FUNCTEST-205 Apply CI_DEBUG environment variable in the call to the scripts Change-Id: Ia8da993de8a60517b475f763c22ce06e9ce35b3e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-19Quote missingTim Rozet1-1/+1
The missing " was causing some problems, like the REPOS_DIR variable missing Previous: Fixes unset REPOS_DIR var REPOS_DIR never gets set in the script, and it looks like it should be /home/opnfv/repos according to what is in the container. This patch defaults it to that location. Change-Id: I739f7df52f4a0f3506fd77d72dfb09a4658f06c0 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-04-18Merge "Generating test lists for tempest"Morgan Richomme1-1/+1
2016-04-18Remove all the repo handling in prepare_envjose.lausuch4-188/+4
JIRA: FUNCTEST-203 Since almost all the repos always pull from master and latest, this is about saving some time and to avoid needing internet to pull or checkout the repos. The needed repos content has to be present in the docker image. Change-Id: Ia6e1ed2b5d5b2aff8661a38eb64a081cc8016019 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-18Generating test lists for tempestvitikkan1-1/+1
'testr list-tests' command is now used for generating smoke and full test case lists for tempest. test_list.txt file is replaced by defcore_req.txt file which contains latest (2016.01) DefCore test case for possible references. Partly implements JIRA: FUNCTEST-196 Change-Id: I993aa8a3919b97d50f081725ced686dbe6ffc4b7 Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
2016-04-15Update python-openstackclient to version 2.3.0jose.lausuch1-2/+2
Change-Id: Ic9e68ade15e93f76d17db715c5790eaa31b49209 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-15[BGPVPN] Use system wide installation of tempestNikolas Hermanns1-3/+5
Since rally setup tempest system-wide now we do not integrate with the virtual env of tempest anymore. Change-Id: Ia5f132371c4eb0b67ac84bf044b349480195f633
2016-04-14Add healthcheck test case to config_functest.yamljose.lausuch1-1/+1
JIRA: FUNCTEST-199 Change-Id: I82fa45eafd078490162e275877673e263479bb8f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-14Create health check test casejose.lausuch1-0/+5
JIRA: FUNCTEST-199 Change-Id: Iee40f182cdbe848d0f87619b7dd06fbce34d0440 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-13Merge "add bash script to config pip and easy_install"Jose Lausuch1-0/+26
2016-04-12add bash script to config pip and easy_installSerenaFeng1-0/+26
JIRA: FUNCTEST-139 Change-Id: Iec0c1d0315ded19286fa2df8478567f4cda194b4 Signed-off-by: SerenaFeng <feng.xiaoewi@zte.com.cn>
2016-04-11[BGPVPN] Remove odl-vpnservice test casesNikolas Hermanns1-14/+0
The odl-vpnservice test cases are meant to be tested in the mini-net setup. We would need to change our enviroment under test to include mini-net to be able to run this tests. Since this is not wanted we remove the test cases. Change-Id: Ic916e1e89d54fea78371bc566d8428141949e412
2016-04-11[BGPVPN] Bugfix for /etc/tempest/ no thereNikolas Hermanns1-0/+1
Change-Id: I0dbbbf486e97c202eba2b4b38d877a836942759b
2016-03-18Fix support for CACERT and set OS_INSECURE=truejose.lausuch1-3/+12
JIRA: FUNCTEST-145 Change-Id: If8fce037117d7c7d16d08a558d0675cbfe5f9836 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-03-18Revert "Checkout the Latest stable Tempest"Nikolas Hermanns1-1/+1
This reverts commit fd95510eb2caa63ec1613b271fb620f9c66e2278. Change-Id: I33cb69b740e60571ef5c4ab07c0f48185eb8b410
2016-03-18Checkout the Latest stable TempestNikolas Hermanns1-1/+1
To not consume any unstable tempest we checkout the latest stable version. Change-Id: I5a0a29a12bf6e3205988df2151b2f3b6477904f2
2016-03-10Have vIMS and Promise packages pre installed in the docker image.jose.lausuch1-2/+20
Also, change to master in Functest repo. JIRA: FUNCTEST-148 Change-Id: Ie4f3991adde9296fe86d4bedd4a9ca5e8aea33b3 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-03-04Rally and Tempest pre-installed in the Docker image.jose.lausuch1-0/+4
Also, upgrade Rally to version 0.3.1 JIRA: FUNCTEST-147 Change-Id: I6aa15a7c282462058b7786c7dc7174d48c905d3a Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-02-25Fix Dockerfile to use proper bashrc file for the alias 'll'jose.lausuch1-1/+1
Change-Id: I7236fa9f00b8f0200f910ac4833c58237f66aef2 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-02-25Updates and fixes to the user guidejose.lausuch1-1/+1
Change-Id: I42198bbdf4f9e6f6f337761b6ff6900c4bb7f171 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-02-22Add git support for Doctor repo in config_functest.yamljose.lausuch2-3/+18
Change-Id: I10ad0dc6cd6697a2a93f5e11edcdd69f70f86c5f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-02-19Corrected using of echo commandViktor Tikkanen1-2/+2
Full path of echo is needed when using -e option in Docker file. Otherwise -e will be output as part of the string. Change-Id: Ic226209a3ef5dac991ccae996f6e7afa0061fccf Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com>
2016-02-18Add VI and alias support in the docker containerjose.lausuch1-0/+6
When editing a file with VI in the container, the keyboard is not properly setup. This options will help to do things more smoothly.. Change-Id: I4c9004a4df067d7bbb558461dd98d76e32e64591 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-02-11Enadled --serial option for run_tests.shViktor Tikkanen1-1/+11
It could be useful to execute e.g. Tempest test cases in a single thread in order to troubleshoot possible concurrency problems. Change-Id: I5e5fc190fb4483ff075a8f837a8d4116ece90c80 Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com>
2016-02-10Bugfix add "fi" at the end of the if-else statement in run_tests.shjose.lausuch1-0/+1
Change-Id: I14945cf335803936043ab71dff93250577bc6601 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-02-10Add -n|--no-clean flag to vPing,Tempest,Rally,vIMS scriptsjose.lausuch1-5/+9
Use --no-clean flag in run_tests.sh to tell the test scripts to cleanup or not the resources Change-Id: I597eca5199e1eaf16b1f03a223222d33e4adf170 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-02-10Rename the vPing scripts proplery and adapt documentationjose.lausuch1-8/+9
Change-Id: Idb498eb7cefd938006661f42f1bf1772395d9d47 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-02-03Use python json parser to get the results form the Promise json reportjose.lausuch1-0/+1
JIRA: FUNCTEST-68 Also, add sleep to let the promise instances terminate, otherwise, clean_openstack will detect them while they are still being removed and will fail. Change-Id: I7a5543143758483eb1d7e06dbe4922e9f1e05cfb Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-02-02FIX:use 'info' after sourcing the common.shgrakiss1-1/+1
Change-Id: I0572375d79983791970ece0d31ed2e3d7df8cfc3 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2016-02-02bug fix to run tempest and minor display error in run_test.shMorgan Richomme1-1/+1
Change-Id: Ic30bdd1c514aa8dcab37ba91de2f8879729a80a2 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-02-02Small improvements with output messagesjose.lausuch1-9/+3
Change-Id: I4c274df30bc3123bef23d5423a1762a07dd93e68 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-02-02Use openstack client to avoid keystone deprecation warningsjose.lausuch1-3/+3
Change-Id: Ib82b3f20d0c23fc67201c7159e3b3a6de5c201cf Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-02-01Use generate_defaults instead of os_defaults fixed parametersjose.lausuch1-1/+7
JIRA: FUNCTEST-131 Running generate_defaults.py in prepare_env.sh (before running any test) will create a file with the CURRENT OpenStack objects in the deployment. After each test, the cleanup script will take into consideration those parameters instead of the specified in os_defaults.yaml Keep os_defaults.yaml for the moment Change-Id: I5f38fef47f0a6d79407d1d582b1e7d3713503e07 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-02-01Replace openstack single clients by python-openstackcclientjose.lausuch1-6/+2
Some projects like Promise need to use the openstack cli directly. This requirement will also install automatically the following dependent clients: python-cinderclient (1.5.0) python-glanceclient (1.2.0) python-keystoneclient (2.1.1) python-neutronclient (4.0.0) python-novaclient (3.2.0) python-openstackclient (2.0.0) Change-Id: I6836b8765364b30ae877ec4d1e8d88c8927b030d Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-01-28Changed to use $(repos_dir) and removed #Stuart Mackie1-1/+1
Change-Id: I6e4004aad2d55309b520647eee59608ee7fa66d7 Signed-off-by: Stuart Mackie <wsmackie@juniper.net>
2016-01-28change for get joid onos iplanqinglong1-1/+5
2016-01-28Follow change in joid use SDN_CONTROLLER_IP env var instead of ODL_CONTROLLER_IPMorgan Richomme1-1/+1
Change-Id: I298cfdfe880c52a18580eb607294cf4c7f353e71 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-01-27Volume type management moved from run_tests.sh to run_rally-cert.pyJuha Kosonen1-2/+0
Change-Id: I80c8b27e041ec5089b816b8515cbc8fa1e8b9eea Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2016-01-27typo fix on odlMorgan Richomme1-1/+1
Change-Id: If761b7c38f38d3f2c691eab36b797ca7ce7ccb49 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>