aboutsummaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
AgeCommit message (Collapse)AuthorFilesLines
2020-08-05Add MTS driverVincent Mahe1-20/+0
It creates a new container xtesting-mts to avoid increase core container size. Signed-off-by: Vincent Mahe <v.mahe@orange.com> Change-Id: I59544023e1235747e140a442815778a133bf6acf
2020-06-07Update to alpine3.12Cédric Ollivier1-2/+2
https://alpinelinux.org/posts/Alpine-3.12.0-released.html Change-Id: Ie7b89399e5e32732d81b3e6293055f1fa8b10012 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-01-04Update Alpine to 3.11Cédric Ollivier1-2/+2
It also updates Python to 3.8 (default version). https://alpinelinux.org/posts/Alpine-3.11.0-released.html Change-Id: I1401c37adb71a6f7d37bd8724b93a058ecb68557 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-11-16Add ContentType when publishing artifactsCédric Ollivier1-1/+1
The default value 'application/octet-stream' is mostly incorrect and forces downloading all links. https://build.opnfv.org/ci/job/functest-opnfv-functest-healthcheck-hunter-connection_check-run/436/console Change-Id: Ia680654f5e9f67154504264bc380f0a8d6a74d85 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-27Override the right default testcases.yamlCédric Ollivier1-1/+1
Else robot and behave are skipped. Change-Id: Ib306b51d4d254fcacca86a9eaa56f4b751e370cb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-26Switch to Python 3.7 and Alpine 3.10Cédric Ollivier1-1/+1
It also allows building docs as doc8 is broken due to latest OpenStack's upper-constraints. pylint is updated to 2.3.1 (lastest py3.7 version) It disables perm as umask is currently false on lf-virtual1. Change-Id: I8568eeafa44c5dba72e206c532c1f50e3ad547f2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-07Update to Python3Cédric Ollivier1-4/+4
Now Xtesting containers use Python3 instead of python2. https://mail.python.org/pipermail/python-dev/2018-March/152348.html It also updates robotframework to latest release. Change-Id: I57e0d8b1af9aeaae0c445941a9bdf0b8bd346834 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-21Update all OpenStack refs to opendev.orgCédric Ollivier1-1/+1
Change-Id: Iefb247bcfbc490fd64bd9a78b4cacffca1603126 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-18Update to Apine 3.9Cédric Ollivier1-1/+1
It updates to the latest Alpine release [1] [1] https://www.alpinelinux.org/posts/Alpine-3.9.0-released.html Change-Id: I5c7bd64333fb38fcc7aa0c315de2bcd40435ed0a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-12-27Generate reports for unit testsCédric Ollivier1-1/+4
It now leverages on subunit to generate html and xml reports. Change-Id: I3f5a4fe5547e743b122b63e0b8530c9d9677cdbd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-12-09Enable robot sample in the containerCédric Ollivier1-0/+1
The testcase is disabled by default in package as the location depends on OS. But it can be safely enabled in the Alpine container. Change-Id: I8d1befd09b8d823010dfce7fbb18eddb864fd6e6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-12Follow OpenStack masterCédric Ollivier1-1/+1
Change-Id: I9b3ead197d54061adddbf47b6b94bbeb79c81793 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-03Rewrite git cloneCédric Ollivier1-2/+4
Change-Id: I0e17233faaf8eddb263e90cb82b65335f1c9cf40 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-01Update to Alpine 3.8Cédric Ollivier1-1/+1
https://alpinelinux.org/posts/Alpine-3.8.0-released.html Change-Id: I73fba49c3d1bbf018e94e67c835c4049c34209b1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-12Update to stable/queens0.40Cédric Ollivier1-1/+1
Change-Id: I2a8d624df52c0c705d5fbc662f11948bdc51d765 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-28Switch from /home/opnfv/functest to /var/lib/xtestingCédric Ollivier1-2/+1
Functest containers will have to create symlinks to allow publishing artifacts. All classes create the mandatory dirs. Change-Id: Ia1f215005d553dd6d64685e4d8a3f5c843c5db7a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-28Remove obsolete Alpine packagesCédric Ollivier1-3/+1
Change-Id: Ibaaaab6af46cf3bf76be5442f5e155de592e727e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-28Publish Dockerfile and samplesCédric Ollivier1-0/+17
Change-Id: Ie776fea631f04bb42d8ae80bc658318d8644d0e5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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>