summaryrefslogtreecommitdiffstats
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
2016-06-07Use current ODL Integration/Test repoDaniel Farrell1-1/+1
ODL Integration used to contain system testing, Karaf distribution building and packaging/delivery logic. It was split into three projects in August 2015: Int/Test, Int/Distribution and Int/Packaging. https://wiki.opendaylight.org/view/Archive_Proposals/Integration The integration.git repo Functest was cloning is the old one, containing all three projects. It hasn't been updated since the split. The new integration-test.git repo is the current version of ODL's system test code. This change also clones ODL from its official Gerrit, instead of its GitHub mirror. Change-Id: I6b38b1fedada504411ca0e0639355339f373084c Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
2016-05-11Respect multiline syntax in DockerfileCédric Ollivier1-3/+7
It fixes errors in /home/opnfv/.bashrc induced by [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/13699/ Change-Id: I07ff6504ee8fee7428b700553419d1208e639379 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-05-11Fix a few nits in prepare_env and dockerfilejose.lausuch1-1/+1
Change-Id: Idb407ab80a41be0838c35d79819f8953885ba668 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-09CLI implementationjose.lausuch1-1/+1
JIRA: FUNCTEST-243 Change-Id: Ibf0ef9bcc5f3aeda96b050827b954ce060317613 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-05Add results dir to Dockerfilejose.lausuch1-1/+2
This will allow to create the functest.log used by logger in /home/opnfv/functest/results/functest.log Change-Id: Iebc1130942c4e4a5f592cfa247e7ba7403559a59 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-04Refactor improvementsjose.lausuch4-471/+2
JIRA: FUNCTEST-190 - Deleted unnecessary old scripts - Fixed healtcheck logging - Moved config_functest.yaml to /ci/ - Created env var CONFIG_FUNCTEST_YAML pointing to that new location - Modified all scripts which open config_functest.yaml using the new env var Change-Id: Ic4f0e40a70c02ac08287a1d621956f602bdee177 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
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>