summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
AgeCommit message (Collapse)AuthorFilesLines
2017-11-09Remove the former DockerfileCédric Ollivier1-132/+0
opnfv/functest had been split into multiple containers based on Alpine (See Docker Slicing [1]) during Euphrates. As ARM is being switching to them, we can safely remove the related files. [1] https://git.opnfv.org/functest/tree/docs/com/pres/dockerslicing/dockerslicing.md?h=stable/euphrates Change-Id: I30294a94cc742ba80a7bc4f35db9330240385bb0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-10-30Update Rally to 0.10Cédric Ollivier1-2/+5
It requires to sync os-faults with OpenStack requirements as it's out-of-tree too. The last os-faults version is selected as well. Change-Id: I0c582070a937b6ba6cba5b0c17673f42ea5d6dec Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-10-20Get the right git commit ids for ubuntu imageLinda Wang1-4/+4
Complement https://gerrit.opnfv.org/gerrit/#/c/45017 Change-Id: If52dee7c16dcc8606e72ebc198bc36e713792418 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-10-13Force requests===2.13.0Cédric Ollivier1-1/+2
It overrides OpenStack's upper-constraints to allow rally to work vs a self signed certificate. It will be pushed to the right OpenStack project after the patch is confirmed by CI. Euphrates will be released too early regarding the full upstream cycle required. JIRA: FUNCTEST-876 Change-Id: I52656f8b98fced103f13dde039082806636c680a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-29Force python2 when creating venv for refstackLinda Wang1-1/+1
python3 has been selected since it was installed for doctor [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/41823/ JIRA: FUNCTEST-875 Change-Id: I942122b46dc0ebe594306877f5a0350f876d7c01 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-09-22Support https when testing ODLCédric Ollivier1-1/+1
It conforms with the last change on ODL tests [1]. Neutron endpoint is passed via robot args instead of Neutron ip. Keystone url (based on OS_AUTH_URL) is passed too to replace Keystone ip. [1] https://git.opendaylight.org/gerrit/#/c/63293/ Change-Id: Ie44f55304a438b1b0289ec69ac2241664be70e80 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-20Add python3-dev and python3-pip in former DockerfileCédric Ollivier1-1/+4
Otherwise the former container cannot be built as Doctor requires a full updated python3 env. Change-Id: Ic90c13abad33e7cb15e7e51dcaac83b9ddf3930b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-16Enable Doctor testcasedongwenjuan1-0/+4
It upates upper-constraints.txt and thirdparty-requirements.txt as doctor-test was renamed to doctor-tests. It installs the doctor packages and its requirements via python3. Then python_version>='3.0' conditions are added to avoid installing them for python2. It also calls the new console scripts and modifies the installer list supporting it. Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Icd855f4534d9d9591165e99aa0eed6b1030018e0 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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>