summaryrefslogtreecommitdiffstats
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
2017-09-01Activate SFC testcases in CI (alpine)Manuel Buil1-4/+4
SFC project is ready to run its tests in CI Change-Id: I4fbae92e426724f720372b9218653d5804278e51 Signed-off-by: Manuel Buil <mbuil@suse.com>
2017-08-23Fix aarch64 patchCédric Ollivier1-29/+30
Change-Id: I7915f5f82184b431510d7a2fc8945355fa63ec0c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-23Merge "Updating the constrains for the Barometer test-suite"Cedric Ollivier1-7/+6
2017-08-22Use dnsmasq to cache DNS queriesCédric Ollivier2-1/+2
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-21Euphrates cleaning: remove any reference to aaa vnfMorgan Richomme1-16/+0
aaa vnf was created in Danube to illustrate the vnf abstraction as real implementations are now available and nobody really implements a real aaa test case, it is better to remove any reference to aaa vnf Note modification on the documentation will be done accordingly Change-Id: Iab6d96c955a6a7dc178588592382e42d68ec604c Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-08-21Remove opera testcase as Opera is inactiveCédric Ollivier1-1/+0
testcases.yaml is updated as well. Change-Id: I88b3a51a732496899f6825fd38137bcf7e6a8caa Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-08-20Complete the container opnfv-vnfCédric Ollivier1-0/+43
It adds the following testcases: - aaa - orchestra_openims - orchestra_clearwaterims opera_vims is not yet integrated as it depends on Opera [1] and its package must be fixed before being installed in Functest [2]. vyos_vrouter will be added when a package is available for installing opnfv-functest-vrouter [3]. [1] https://wiki.opnfv.org/display/OPERA/Opera+Home [2] https://git.opnfv.org/opera/tree/requirements.txt [3] https://github.com/oolorg/opnfv-functest-vrouter Change-Id: Iccd4626ec29c1e9eb1c2accc81fdf1a9ae1e613f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-20Fix ci_loop conditions for vnfCédric Ollivier1-1/+1
Weekly jobs should run all tests (vnf included). Change-Id: I25b43654d48e9ae5df5c18fd565423a310d4c68b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-20Merge "Integrate cloudify_ims in functest-features"Cedric Ollivier4-17/+45
2017-08-19Updating the constrains for the Barometer test-suiteCalin Gherghe1-7/+6
The patch switches the tests for Apex, which is the only Installer supported by the Barometer project for the OPNFV Euphrates Release. Change-Id: Ic064a41402bc4f27280f8d5e408d59ad41f888bc Signed-off-by: Calin Gherghe <calin.gherghe@intel.com>
2017-08-18Integrate cloudify_ims in functest-featuresCédric Ollivier4-17/+45
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 "Switch to blocking: false for ODL in functest-smoke"Cedric Ollivier1-1/+1
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-17Switch to blocking: false for ODL in functest-smokeCédric Ollivier1-1/+1
It completes the previous change vs the former container [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/39271/ Change-Id: Ie0e55e859e550de9ffb30ce1e6f03859e6869332 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-17Merge "Update ODL tag to release/carbon"Cedric Ollivier2-2/+2
2017-08-16Update ODL tag to release/carbonCédric Ollivier2-2/+2
Change-Id: I82a5bdaeff5de74f11cd210f6437c720d0ee8aee Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-15Fully integrate promise in functest-featuresCédric Ollivier2-1/+20
Change-Id: I52a4719df1fd5f4159d0ba5eed1a9b14b8ba72f6 Depends-On: Ia9ae55b127d0d324d97974f5e9b1923d7636d7cd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-12Remove copper refsCédric Ollivier3-20/+1
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-12Remove netready refsCédric Ollivier3-19/+0
Netready withdrew from E release [1] [1] https://lists.opnfv.org/pipermail/opnfv-tech-discuss/2017-August/017453.html Change-Id: I456b91e0bb454a4205df98d0e96032302d3b20a6 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 Ollivier4-1/+19
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 Ollivier3-1/+2
Change-Id: I128bfa62b9ccd8e53683def329e8470693c2e556 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-07Add copper and domino in functest-featuresCédric Ollivier3-3/+39
Change-Id: I6f7a35b84c9b7f8cde88998f545b30cc200c8ff1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-03Switch to Docker post_checkout hooksCédric Ollivier8-28/+24
Automated builds work when Dockerfile is modified after checkout. Otherwise they are not triggered [1]. [1] https://github.com/docker/hub-feedback/issues/518 Change-Id: I6ba9e06f9e62011d2f1c1788f2647b1175842ef3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-02Add functest-components based on AlpineCédric Ollivier3-0/+67
It integrates the whole test suite: - tempest_full_parallel - tempest_custom - rally_full Change-Id: If215d8e12262072828f348ac323dba963849bf14 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-02Add functest-features based on AlpineCédric Ollivier4-0/+104
It integrates the next testcases: - bgpvpn - security_scan - functest-odl-sfc - barometercollectd It also modifies several cmds in the former testcases.yaml to ensure backward compatibility. Depends-On: I75aaf950f7b072c142fa9894cef7ef7f057adac3 Depends-On: I50219cad42bf0e085c2edf2e1abe149c2e057a99 Change-Id: Idf3d6b4a769edd1a5401748886e0ed64d4f5f281 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-02Clean smoke requirementsCédric Ollivier1-7/+0
Change-Id: I16884fa550e9b42cd0b57338c4b8b6598ac33dbb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-02Add all ODL testcases in functest-smokeCédric Ollivier3-3/+68
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-25Fix dockerfile patch for aarch64Delia Popescu1-1/+4
Patched the patch https://gerrit.opnfv.org/gerrit/#/c/37869/ Fixed some issues regarding spaces in the patch file Change-Id: Ieac4b766e36d274bd044cd4110626b5314ea6556 Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2017-07-21Modified Dockerfile.aarch to a patchDelia Popescu2-126/+58
Docker image for functest on ARM was build using a different Dockerfile. Now the ARM Dockerfile is created with a patch, in order to avoid modifying both files. This Dockerfile.aarch64.patch is applied by opnfv-docker.sh from releng project. Change-Id: Ib3d4230b79811a9c563b2687a78e8c4724f7efc7 Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2017-07-19Merge "Save space in Alpine containers"Cedric Ollivier2-3/+3
2017-07-19Merge "Add script to build all containers"Cedric Ollivier4-2/+16
2017-07-17Save space in Alpine containersCédric Ollivier2-3/+3
It decreases the size of Functest core and smoke containers by 20%. Change-Id: Id75117b1404e3cce004ef51c61040cdb7ade6976 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-17Add script to build all containersCédric Ollivier4-2/+16
It also sets opnfv as default repository as they will be pushed by releng. It adds hooks asked for automated build via Docker which allows continuous integration before the update of jjobs. Change-Id: I08b55b1ff334afe6c0f58af3100cfa04f76d8ef0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-13Remove add_images.shjose.lausuch3-24/+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-11Add openssh-client in coreCédric Ollivier1-1/+1
It's required by snaps ansible tests. Change-Id: Iebd4c7b8de8637a18dd40040749b9a1a0781fff2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-10Define CMD in smoke and healthcheck containersCédric Ollivier2-0/+2
Change-Id: I083f8e96fc30bc1793f8c43ff2c155f1c889ae19 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-10Download Functest's upper-constraints.txtCédric Ollivier7-71/+28
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 Ollivier9-31/+80
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-10Add lesser containers based on AlpineCédric Ollivier6-0/+213
It splits the full container into: - functest-core - functest-healthcheck - functest-smoke Smoke suite is currently partial and will be completed later (it may require updates in third party projects). Features, components and vnf suites will be integrated in other patchsets. Change-Id: I635a7fd84cac583c28bb1c82bc6cc9107a39f7ea Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-08Stop redefining $HOMECédric Ollivier2-10/+4
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 Ollivier2-6/+6
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 Ollivier2-8/+2
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 Ollivier2-2/+2
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 Wang3-11/+13
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 Ollivier3-4/+4
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-06Add a default value to protect add_images.shCédric Ollivier1-0/+2
It sets a default value to the optional env var: FUNCTEST_IMAGES_DIR Change-Id: Ib78af2aaee27470ad10b0979a68c09963091cbb6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-06Set repo_tempest to /src/tempestCédric Ollivier2-2/+2
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 Lausuch3-14/+17