summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
AgeCommit message (Collapse)AuthorFilesLines
2016-11-24Extracted all global parameters into functest_constants.pyhelenyao1-56/+67
JIRA: FUNCTEST-533 1. Extracted all global variables into functest_constants.py and updated all affected areas accordingly 2. Used os.path.join to replace '/' to come up with the path for better cross-platform support and improve the path accuracy 3. Removed unused variables 4. Updated the hardcoded path in Dockerfile by using variable reference 5. Removed "/" ending from all path variables 6. Updated the unit test Change-Id: Ib30a81d1f0c83fbaef042d63c187c27bd18301bb Signed-off-by: helenyao <yaohelan@huawei.com>
2016-11-22Fix path for Tacker installationjose.lausuch1-1/+1
After the migration of the SFC code into the SFC repo, there is a problem with the path when building the docker image Step 60 : RUN /bin/bash -c ". /home/opnfv/repos/functest/functest/opnfv_tests/features/sfc/tacker_client_install.sh" https://build.opnfv.org/ci/view/functest/job/functest-docker-build-push-master/766/console Change-Id: I4ec53e657f49e63dc477b408b6c47b3be0f9281b Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-22Switch SFC call to sfc repositoryjose.lausuch1-0/+1
The SFC testcase code has been moved from Functest to SFC repo. 1) Add SFC repo in the Docker image 2) Change call in exec_tests 3) Remove code from Functest Change-Id: Ie6705d047b04646942d89215e992f46f8c4e58db Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-18Update Promise repositoryjose.lausuch1-2/+2
Promise code and test cases had been maintained in GitHub. Due to the decision to mirror OPNFV Gerrit to GitHub, the Promise GitHub (https://github.com/opnfv/promise) was overwritten by the content in Gerrit (which is outdated). Change-Id: Id03a24d56fb60c144c93ea3e65caf9718d8d4784 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-16Merge "Remove Harcoded version for ruby (vIMS)"Morgan Richomme1-1/+1
2016-11-16Merge "Wrap the Functest and install it as module by pip."Morgan Richomme1-3/+1
2016-11-15Remove Harcoded version for ruby (vIMS)Morgan Richomme1-1/+1
JIRA: FUNCTEST-541 Change-Id: I8a7bc4bee07a0b2fb2c90fab941fb9c1bbc7cd3f Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-14Installing SNAPS library to Docker image.spisarski1-0/+4
Change-Id: I01b68fb0f64e4672195b8cf19675b734a22c57b9 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2016-11-13Wrap the Functest and install it as module by pip.helenyao1-3/+1
JIRA: FUNCTEST-538 1. PYTHONPATH is removed. 2. Functest will be installed by pip. 3. Dockerfile is updated accordingly. Change-Id: Ie4eed9df045b121e2688dcb34c25779db775f104 Signed-off-by: helenyao <yaohelan@huawei.com>
2016-11-11Merge "Remove kingbird installation"Jose Lausuch1-1/+1
2016-11-10Merge "change path for python ci files"Morgan Richomme1-1/+2
2016-11-10change path for python ci filesMorgan Richomme1-1/+2
JIRA: FUNCTEST-525 Change-Id: I6b09eaec55e42a3ee1474b21bc7ed87a71118e60 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-10Fix path issue in Docker fileMorgan Richomme1-2/+2
JIRA: FUNCTEST-525 Change-Id: Icdb2cb2e5b134143f5eddbad7b265d84671fb892 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-10Remove kingbird installationjose.lausuch1-1/+1
This is a quick hack to make docker build work in CI. Kingbird is used by multisite, but the test case is empty. The installation of the requirements overlap with what we already install in requirements.pip and makes the build fail. It can be enabled once we resolve the dependencies across different projects. JIRA: FUNCTEST-523 Change-Id: I9194a7ae7a5887ee80eb392890dd304837760b66 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-09Repo structure modificationMorgan Richomme1-1/+1
- create functest subdirectory - rename unit tests - adapt path in exec and config files JIRA: FUNCTEST-525 Change-Id: Ifd5c6edfb5bda1b09f82848e2269ad5fbeb84d0a Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-08Merge "Update rally version"Jose Lausuch1-1/+1
2016-11-08Merge "Do not modify unix rights in case of unit tests"Morgan Richomme1-1/+2
2016-11-08Update rally versionjose.lausuch1-1/+1
Change-Id: I53c1d5e616380ff360f53ae014dc0f9ff66b2cb6 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-04Do not modify unix rights in case of unit testsCédric Ollivier1-1/+2
Even if the unit tests define main, nosetests oblige by default to remove their executable bit. It also fixes the unix rights of Sfc.py. Change-Id: Icbbb5b3118b16eff75b13d927e674a9764d6d83f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-11-04Fix typo in Dockerfilejose.lausuch1-1/+1
Change-Id: I9ee40dcfd815997d5ebd126e690c5f2b54af3364 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
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>