summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
AgeCommit message (Collapse)AuthorFilesLines
2016-10-17Add a parent class for test cases.Cédric Ollivier1-0/+1
It adds TestCasesBase on which test cases can be based. It also adds the related unit tests. JIRA: FUNCTEST-353 Change-Id: Ib2aeb24ce9d43e6384e8b38bf57ee78dd726345a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-10-12Create shallow clones with a history truncatedCédric Ollivier1-18/+18
Change-Id: I9d946581becaad54b99ec6baf6fd5d842d60ada7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-09-14Include latest tag for Multisite KingbirdAshish Singh1-1/+1
Fix for one of Kingbird testcase failure is in latest tag. Modifying docker to pick the latest kingbird tag from github. Change-Id: I4250322b808a104511e68b9a085717e6141a9eca Signed-off-by: ashish singh <ashishsingh2k8@gmail.com>
2016-09-08[Promise] Use the repository from githubjose.lausuch1-1/+1
The patch https://gerrit.opnfv.org/gerrit/#/c/20433/ modified the source of the repository from github to gerrit. Since gerrit repo causes the failures, we change back to the original one where the latest changes are performed. Change-Id: Ibbe944a457ce0ec3f184a33696c302448e25e506 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-09-08Tempest release verion updated 12.1.0 -> 12.2.0vitikkan1-1/+1
A bug (https://bugs.launchpad.net/tempest/+bug/1597164) in the older version caused three tearDownClass failures in smoke suite. JIRA: FUNCTEST-466 Change-Id: Iaa5cb7082b05aa938f2088dc635a47d1319f340c Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
2016-09-06Clone the proper branches in the dockerfilejose.lausuch1-16/+30
JIRA: FUNCTEST-458 Related: https://gerrit.opnfv.org/gerrit/#/c/20431/ Change-Id: I234b1ed9c61411d7f328340612c28dffe12bb605 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-08-22Point tempest to stable 12.1.0Michael Polenchuk1-1/+1
Checkout tempest to the latest stable tag instead of master development branch. Change-Id: I20c7e83bf6441e84b9441f4cb193681753f81300 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
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-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-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 Barbu1-1/+1
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-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.lausuch1-0/+1
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.lausuch1-1/+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-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-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-19Dockerfile, fix typo in git clone commandjose.lausuch1-1/+1
Change-Id: Ic14f81362357d0a653bf174b1ccdc859bd7cea5e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-18Remove all the repo handling in prepare_envjose.lausuch1-1/+1
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-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-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-01-26Add function for Promise libraries pre-installjose.lausuch1-2/+0
Change-Id: I149f87b9edc40435d32e493f771f58de46e2757f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-01-22Add support for Promise test casesjose.lausuch1-0/+2
JIRA: FUNCTEST-68 Change-Id: I80f8e587e53c7242f8bfa666f2ac450e73c8294f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>