summaryrefslogtreecommitdiffstats
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
2016-08-21Protect again changes of unix permissionsCédric Ollivier1-0/+3
It adds chmods in Dockerfile to ensure python and bash scripts can be executed. Change-Id: I9d75e87fcb1eb2e6fa37039fa5a070ef21cf0efb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-08-19fix Pillow version 3.3.0Ryota MIBU1-0/+1
The latest docker build for functest container has failed while installing Pillow-3.3.1 [1], where the previous build had succeeded [2]. Let's pin the version of Pillow to 3.3.0 . [1] https://build.opnfv.org/ci/view/functest/job/functest-docker-build-push-master/589 [2] https://build.opnfv.org/ci/view/functest/job/functest-docker-build-push-master/588 Change-Id: I18e46340aa8f43ec56aef5e3d208cac59af10a9c Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-08-17bugfix: wrong directorymeimei1-1/+1
Change-Id: I0b39277118ff26496553f9639a1c219fd5783b8f Signed-off-by: meimei <meimei@huawei.com>
2016-08-17[moon] install moonclient in dockermeimei1-0/+1
Change-Id: Ie8b46620dfa995038c0f40e23133ac301496438a Signed-off-by: meimei <meimei@huawei.com>
2016-08-16Repoint security_scanning to its own repositoryLuke Hinds1-0/+1
JIRA: FUNCTEST-415 Change-Id: I5ac2bd9b417ae045f4a1c0fa3f4fd2e7c545dbf3 Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-08-12Add conf directory to DockerfileMichael Chapman1-0/+1
Currently mounting the credentials file cannot be done at launch time since the parent folder doesn't exist. This is usually not noticed because prepare env will get the credentials file via ssh, but the docker mount will silently fail. Change-Id: I2e33c3c218a01ac6e1e5bf09609083dec3647b95 Signed-off-by: Michael Chapman <woppin@gmail.com>
2016-08-11Merge "Create config_functest patch to update the conf with scenario"boucherv1-0/+1
2016-08-11update pip version of functest docker imageSerenaFeng1-0/+1
JIRA: FUNCTEST-408 Change-Id: Ie14bbd0e2fa6f76957217d27cb8b0c76d4d28a03 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-08-10Create config_functest patch to update the conf with scenarioboucherv1-0/+1
Adding support of LXD scenario JIRA: FUNCTEST-268 Change-Id: I5891ff9de674d99d32d8db747be501ee8a2e6609 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-08-10parser integration bugfixSerenaFeng1-5/+1
JIRA: FUNCTEST-407 Change-Id: I9f202cb09935d9b77c5a977234bec6b505e296fd Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-08-03functest utils - get_resolvconf_ns() Ensure that dns works with dns name ↵boucherv1-0/+1
resolution JIRA: FUNCTEST-402 Change-Id: I5fa9204aafb13330eb810950aa7bc728f1a69162 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-07-28Functional testing for tosca2heat translationSerenaFeng1-0/+6
in Dockerfile, add parser related work in config_functest.yaml/testcase.yaml, add parser related configuration in exec_test.sh to run parser test add vnf/RNC/parser.py script JIRA: FUNCTEST-187 Change-Id: I8b53774da00f13b630ec5d9f750817db892a82bb Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-07-27Bump rally to 0.5.0 and add shyamlCiprian Barbu2-2/+3
A newer version of rally brings in this change that is required by armband: https://bugs.launchpad.net/rally/+bug/1580695 The shyaml cli parser can be used to make the healthcheck testcase configurable, for instance to pass a different cirros image other than the one for x86_64. Also required by armband to make functest execute all tests. Change-Id: Ic4976bb6d4a4753e56deade35b641f1127af3162 Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
2016-07-14Enable domino multi-node test case in FunctestUlas Kozat1-0/+1
This includes: - Add domino.py script - Add call to domino.py - Add the Domino repo in the Dockerfile - Add the test case definition in testcases.yaml JIRA: FUNCTEST-246 Change-Id: I5a8c3345a14c43fa80e6e86678ae5fb1417b3147 Signed-off-by: Ulas Kozat <ulas.kozat@gmail.com>
2016-07-14[multisite] add kingbird repo and install python lib in dockermeimei1-0/+2
JIRA: FUNCTEST-179 Change-Id: Ib88bbbc2d541b2825d768516237a95f68e0418d2 Signed-off-by: meimei <meimei@huawei.com>
2016-07-13Improve timeout management with pythonboucherv1-1/+2
JIRA: FUNCTEST-368 Change-Id: I9f7a6adc807c63694fc5d9fb8a81ad1d2d9d3225 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-07-12Chmod 755 all sh files which can be executedCédric Ollivier1-0/+0
All files where shebang is defined can now be executed by everyone. It results from [1]. [1] find . -name "*.sh" |xargs grep \#\! |cut -d\: -f 1 |xargs chmod 755 Change-Id: I8bf1f52e55532d5e82f8188121028e9dd5074294 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-07-07[SDNVPN] Adding sdnvpn repo to functestNikolas Hermanns1-0/+1
JIRA: FUNCTEST-99 There are some testcases in the sdnvpn repo to be executed by functest. So we need to have the repo cloned. Change-Id: I9fb11a2429ebd5f911993e4786e616be10cb9a05 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-07-06Merge "Add Moon in Functest"Morgan Richomme1-0/+1
2016-07-06Add Moon in FunctestMorgan Richomme1-0/+1
JIRA: FUNCTEST-210 Change-Id: Ibc8792f74c4c62122856cff355e55cda88fc691e Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-07-06Add BGPVPN neutron client extension for SDNVPN projectjose.lausuch1-0/+1
JIRA: FUNCTEST-99 Change-Id: I25f5f6769350fdcac9230e168337e9a51fb1fec8 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-06Add tacker-client in the functest Docker imageManuel Buil1-0/+2
JIRA: FUNCTEST-354 Tacker-client is required for the SFC test cases Change-Id: I21b1e47c890fb45899f6f83b6583b0ab032662d1 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-07-05Merge "Add interface to run sfc functests."Morgan Richomme1-0/+1
2016-07-04Add support for Copper projectjose.lausuch2-1/+3
JIRA: FUNCTEST-67 Change-Id: Ibbdf588c60ba89aae32ef4bbfc09d440cb4d0933 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-04Add interface to run sfc functests.wuwb19891-0/+1
Varified only in fuel. Prerequisite: no floating ip exists. Change-Id: If6ef4c395992ba1544559b47c5c97f7cd5ce004c Signed-off-by: wuwb1989 <wuwenbin2@huawei.com>
2016-06-22modify onos tests' link to support onos 1.6wuwb19891-1/+1
Change-Id: Ice9b19a1d569b4084921961ec0a3a9d961923521 Signed-off-by: wuwb1989 <wuwenbin2@huawei.com>
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