aboutsummaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
AgeCommit message (Collapse)AuthorFilesLines
2017-09-14Select $OPENSTACK_TAG instead of stable/ocataCédric Ollivier1-1/+1
It modifies functest and functest-core containers. Change-Id: I505baf460412e73d3bf4563b13edd849c2f02fac Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-08Use git commit id for refstack-clientCédric Ollivier1-0/+2
Functest should be based on fixed versions of projects which are out of OPNFV. It selects the last git commit as refstack-client hasn't defined any tag or branch. Change-Id: Id7c5ecb0ef88fd1a2b8f34ddfc22c87b7f78c8d4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-08Update ODL testcase to Keystone v3Cédric Ollivier1-1/+1
As basic neutron tests have been updated [1], ODL testcase must manage user domain and project domain names. [1] https://git.opendaylight.org/gerrit/#/c/62846/ JIRA: FUNCTEST-862 Change-Id: I61ef622f840b8d825cf45a3557bd6da14a4d3cb7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-07Use git commit id for ODLCédric Ollivier1-2/+3
stable/carbon has been removed and Functest requires the patch "No more Content-Type for DELETE request header" [1]. [1] https://git.opendaylight.org/gerrit/#/c/60578/ Change-Id: Ia3630e03e26a543ae37c36455a68763ffc8f2b12 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-06Fix all refstack-client requirements on-the-flyCédric Ollivier1-2/+5
RefStack Client is out of OpenStack releases and its requirements must be modified before installing. Change-Id: Id1aed6cdc9c409d0036abe86591ff52e7ef0c26f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-06Integrate doctor-test packagedongwenjuan1-0/+1
It updates tescases.yaml as run.sh is located in $PATH. repo_doctor is removed as it's now useless. It must be noted that doctor-test imports modules fom a relative path which can break the integration. Pylint warms them (W0403) [1]. [1] https://docs.pylint.org/en/1.6.0/features.html Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Icd3071a8e371048370bd3e07e08b6b52ddb35c13 Depends-On: I2091cfe4751640bf83d77e1fdd713af1e31fa89d Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-05Merge "Launch Functest RestApi once the container is run"valentin boucher1-0/+2
2017-09-02Stop cloning doctor and dominoCédric Ollivier1-2/+0
Both testcases are disabled and the next reviews allow installing them via packages: - Add doctor-test package [1] - Add domino package [2] [1] https://gerrit.opnfv.org/gerrit/#/c/38177/ [2] https://gerrit.opnfv.org/gerrit/#/c/40911/ Change-Id: I03fc89c26f527e33417c17a8b1ab47d1c69c9a89 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-02Remove openstack-requirements from requirements.txtCédric Ollivier1-3/+6
Change-Id: Iaaee0c3e1c5377a5064660ad8396cfd8a7c5e250 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-01Fix all rally requirements on-the-flyCédric Ollivier1-1/+5
Rally is released out of OpenStack releases and its requirements must be modified before installing. Rally applies a similar solution for gating [1]. [1] https://github.com/openstack/rally/blob/stable/0.9/tests/ci/sync_requirements.py Change-Id: I3dfe69597e6ebecc5f07943658634ea94625294f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-29Refactor the vyos_vrouter to adopt VNF abstractionShuya Nakama1-2/+0
JIRA: FUNCTEST-788 1.Modifying code of vyos_vrouter to inherit vnf abstraction class. 2.Adding vyos_vrouter code from our repo to functest. 3.Adding unit test of vyos_vrouter. 4.Doing test of modified vyos_vrouter codes on our labs. Change-Id: I77e4be8b2a140ea0176c607f2be736599f893ace Signed-off-by: Shuya Nakama <shuya.nakama@okinawaopenlabs.org>
2017-08-28Merge "Remove Onos in Functest"Morgan Richomme1-1/+0
2017-08-28Launch Functest RestApi once the container is runLinda Wang1-0/+2
And fix the handling about env prepare exception. Change-Id: I3e590e63157182c442602367a244d7ff647f8b7d Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-25Get rid of tacker_client_install.shCédric Ollivier1-3/+0
It's removed from sfc tree to deploy the official version instead [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/40237/ Change-Id: I84b2f8ce2842c5da2d0678e54129c632f4f476ac Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-25Remove Onos in FunctestMorgan Richomme1-1/+0
No feedback from onos projects for Euphrates for MS6 Change-Id: I8d295c65e4b621df87752e15b5f41e04a80b32ca Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-08-22Use dnsmasq to cache DNS queriesCédric Ollivier1-0/+1
It's mandatory for clearwater_ims as musl's resolver queries nameservers all in parallel and accepts whichever response arrives first [1]. [1] http://wiki.musl-libc.org/wiki/Functional_differences_from_glibc#Name_Resolver_.2F_DNS Change-Id: I01a17436279a0be2fac1b27b73052edc594c33e0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-20Merge "Integrate cloudify_ims in functest-features"Cedric Ollivier1-17/+5
2017-08-18Integrate cloudify_ims in functest-featuresCédric Ollivier1-17/+5
We only rely on system libraries in case of Alpine. It's not possible in case of Ubuntu 14.04 because libxml is too old. Change-Id: I304f8ea5e9a6541e9719210db9d07949107bf193 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-18Merge "Remove multisite support"Morgan Richomme1-1/+0
2017-08-18Remove multisite supportJuha Kosonen1-1/+0
JIRA: FUNCTEST-866 Change-Id: I55a4416688b2aca0897910cac69b33e154e73095 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2017-08-16Update ODL tag to release/carbonCédric Ollivier1-1/+1
Change-Id: I82a5bdaeff5de74f11cd210f6437c720d0ee8aee Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-12Remove copper refsCédric Ollivier1-1/+0
Copper withdrew from E release (see comments in [1]). [1] https://gerrit.opnfv.org/gerrit/#/c/38851/ Change-Id: I1af463f5d60a6099592c1005ce27d3ca0c40cbbf Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-10Keep the promise working dir in /srcCédric Ollivier1-2/+2
Otherwise npm install fails. Change-Id: I1be15bc83e0dfab1ad1471106326ff347385f31e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-10Integrate the netready packageCédric Ollivier1-1/+0
It also adds the related testcases in functest-features. Change-Id: I584da9d890622c1bdd2ace0b12b4be37250fda56 Depends-On: I3842e6828f60972cb1df0bc15f849cd08badd895 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-10Integrate the promise packageCédric Ollivier1-1/+0
Change-Id: I128bfa62b9ccd8e53683def329e8470693c2e556 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-07Add copper and domino in functest-featuresCédric Ollivier1-2/+2
Change-Id: I6f7a35b84c9b7f8cde88998f545b30cc200c8ff1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-02Add all ODL testcases in functest-smokeCédric Ollivier1-2/+2
It clones the related git repositories in /src and adapts the former Dockerfiles too. Change-Id: Ied5016f8cd5ed49f4e29bae5aa4413fad2477637 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-13Remove add_images.shjose.lausuch1-2/+0
The Docker images should not host any OS image. They shall be pre-downloaded and mounted as a docker volume to the functest container. Also, add scenario argument to skip images that are not needed for the scenario Change-Id: I652ec32b177ddea73c8a253359e873f13bf0c950 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-10Download Functest's upper-constraints.txtCédric Ollivier1-5/+6
It also removes all temporarily files [1] and reuses OPENSTACK_TAG and BRANCH args. [1] https://gerrit.opnfv.org/gerrit/37077 Change-Id: Id87ffdf14ccb1a34f117241c882423adf79f44c5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-10Add upper-constraints.txt for FunctestCédric Ollivier1-6/+5
It completes OpenStack's upper-constraints.txt by adding Functest's requirements. This file is temporarily duplicated to allow building the containers. It will be removed via a next patch when this patch is merged. openbaton-cli could be updated (e.g. 3.2.8). Change-Id: I26de2d22f9e8973c5a58c3cc5129142fa628e57a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-08Stop redefining $HOMECédric Ollivier1-5/+2
Then .rally is located in the real home directory. Change-Id: I3e261d34a41a4105aef8fc0a996df501d638c030 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-08Get rid of install_rally.shCédric Ollivier1-3/+3
It simply creates the required db. Change-Id: I48fb017f3ebfcdbd5de898b185c1933228bfef16 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-07Inherit packages when creating /src/tempest/.venvCédric Ollivier1-4/+1
It simply calls the --system-site-packages option as all requirements are already installed and then saves space. Change-Id: Ibb37e54bcbbb8bd9b84e6d43a694ab685b561db1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-06Stop using tempest version in DockerfileCédric Ollivier1-1/+1
The sed instruction is enhanced to automatically copy the version written in the OpenStack's upper-constraints.txt. Change-Id: Icbfde6fb097b1eaf880184c4f63de11854bfdb47 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-06Remove setup_env for refstack in DockerfileLinda Wang1-5/+6
It creates a symlink for .tempest required by refstack, and then install the requirements of tempest into a virtualenv which should be located in the dir .tempest/.venv. Now refstack_client is located in /src like tempest to avoid a link in /usr/local/lib/python2.7/dist-packages. JIRA: FUNCTEST-846 Change-Id: I99cedd00daaac57f85532ef41b91da20dec3dcb8 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-07-06Move rally and tempest to requirements.txtCédric Ollivier1-1/+2
As rally and tempest are called when preparing env, they are considered as dependencies. It also modifies on-the-fly upper-contraints.txt to allow cloning the git repository. Change-Id: I72e809d4cf15f9f2539a74fce1c6eb444d8c3b47 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-06Set repo_tempest to /src/tempestCédric Ollivier1-1/+1
It also calls pip install via the right src value to prevent from changing the working dir when building Ubuntu or Alpine containers. Change-Id: I236524ca270f4173e0636bee60a0f136d77ac07a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-05Merge "Clone tempest before installing the package"Jose Lausuch1-7/+8
2017-07-05Clone tempest before installing the packageCédric Ollivier1-7/+8
Rally and refstack require a tempest working dir. It now clones the offical repository before running setup.py develop. 14.0 is selected to conform with OpenStack upper-constraints.txt. Dockerfile downloads the official OpenStack upper-constraints.txt to remove the condition about tempest which forbids cloning it. Change-Id: I8410570d660b07a1ecfc48fab93022f72acdaac7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-04Fix environment variables in Dockerfilejose.lausuch1-6/+4
After merging [1], there were some hardcoded values pointint to ~/repos/functest. [1] https://gerrit.opnfv.org/gerrit/#/c/36827/ Change-Id: Icd912ca8ab6226cbdb0cc4f8b6f77572ea43ae06 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-04Fix upper-constraints.txt urlCédric Ollivier1-1/+1
Change-Id: I44f7b476d56bcd7cdac4ba0e5c85717bd41f7e45 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-02Remove the former link /home/opnfv/repos/functestCédric Ollivier1-3/+0
All operations required have been applied [1]. All documentations are updated as well to close the topic. It should be noted that runfunctest.rst must be hugely updated because all $PS1 are wrong. [1] https://gerrit.opnfv.org/gerrit/#/q/project:functest+branch:master+topic:dockerfile JIRA: FUNCTEST-836 Change-Id: I26658be109fd785d068389816be4260cff823705 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-02Apply restrictive file permissionsCédric Ollivier1-16/+0
It conforms with [1] by creating a new venv which checks the unix permissions. As jjobs call Functest console scripts [2], all perms can be 644. Dockerfiles are updated as well. [1] https://security.openstack.org/guidelines/dg_apply-restrictive-file-permissions.html [2] https://gerrit.opnfv.org/gerrit/#/c/36805/ Depends-On: I9209e6efa1b493e24135402a46df72aaa14115d1 Change-Id: I31bc7f12b775928845e23b6b40288b0a50b87219 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-29Merge "Fix refstack_defcore"Jose Lausuch1-0/+1
2017-06-28Get install_rally.sh from git.openstack.orgCédric Ollivier1-1/+1
Change-Id: I99a87e2399c1be79dabc9109e10665fc9ef8bee2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-28Leverage on parser python packages in DockerfileCédric Ollivier1-2/+0
It also stops calling parser_install.sh. This file is replaced by the 2 new requirements in docker/thirdparty-requirements.txt: - tosca-parser - heat-translator Change-Id: Ic9dcdd81df9800fc8e559a07f9c100a20bea2290 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-28Fix refstack_defcoreLinda Wang1-0/+1
As refstack-client is reinstalled only by the shell setup_env, the path of .venv and .tempest have been changed. Change-Id: Id50d0c6384295c2448705961942104abbd799b9b Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-06-27Merge "Add sfc in thirdparty-requirements.txt"Jose Lausuch1-3/+1
2017-06-27Merge "Add securityscanning in thirdparty-requirements.txt"Jose Lausuch1-1/+0
2017-06-27Add sfc in thirdparty-requirements.txtCédric Ollivier1-3/+1
Now it can be installed via python package [1] and then be listed in thirdparty-requirements.txt. [1] https://gerrit.opnfv.org/gerrit/#/c/36445/ Change-Id: Iae7482865917e51a96a180b0a987ab0ff26a0190 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>