aboutsummaryrefslogtreecommitdiffstats
path: root/docker/core/Dockerfile
AgeCommit message (Collapse)AuthorFilesLines
2020-06-04Rename patch name and removes debug logsCédric Ollivier1-3/+3
The debug logs works only vs py3.8 and breaks backport to Iruya. Change-Id: Ie91a8a876e263a83b6ae3fbfb5bb05644b87b970 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-04-30Debug rally race conditionsCédric Ollivier1-1/+4
It will be reverted as soon as the root cause is found. Change-Id: Icbff74c5fb940c1a201cbdc3fb2137c91e1ed460 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-04-27Revert "Increase Thread stack size"Cédric Ollivier1-4/+1
It still fails [1]. [1] https://build.opnfv.org/ci/job/functest-ovn-opnfv-functest-benchmarking-latest-rally_jobs-run/28/console Change-Id: I8560edb7dfbba804a94bb1453d5a489138d6a152 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-04-26Increase Thread stack sizeCédric Ollivier1-1/+4
It sets Glibc default value. https://wiki.musl-libc.org/functional-differences-from-glibc.html https://bugs.python.org/issue32307 Change-Id: I647569354b3a30f7de4116cab53c9e2aeff91a59 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-04-22Use ujson version asked by OpenStack requirementCédric Ollivier1-1/+0
It's newer than the former tag selected [1]. [1] https://github.com/openstack/requirements/blob/master/upper-constraints.txt Change-Id: Ie89136da364d7e972a1d7f49c71bdfbbdd9671d8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-04-06Install libstdc++ in functest-coreCédric Ollivier1-1/+1
import ujson ImportError: Error loading shared library libstdc++.so.6 Change-Id: I0d479d9d4344d4a5c93174c7b0162b5c0234f2c2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-04-05Swith to coreutils timeoutCédric Ollivier1-1/+1
juju is not correctly stopped when no internet. https://build.opnfv.org/ci/job/functest-ovn-opnfv-functest-vnf-jerma-juju_epc-run/21/console root 1 0 0 Apr04 ? 00:00:06 /usr/bin/python3.7 /usr/bin/run_tests -t juju_epc -r -p root 139 1 0 Apr04 ? 00:00:03 [juju] <defunct> root 141 1 0 Apr04 ? 00:00:00 [timeout] <defunct> Change-Id: Id06c6e829ab8a992107f655aac6ec4539e292d82 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit cda22d7db0bcca380e1caef76e171cd7753b6221)
2020-03-03Add OVN Controller Gateway agent in neutron_bind_l2_agent_typesCédric Ollivier1-1/+2
It avoids blacklisting NeutronNetworks.create_and_bind_ports in case of OVN. It conforms with the upstream testing [1] and then reverts the previous change [2]. [1] https://github.com/openstack/networking-ovn/blob/master/zuul.d/networking-ovn-jobs.yaml#L299 [2] https://git.opnfv.org/functest/commit/?id=8e297c49c481961959b29c2080cc059fcc84e9ee This reverts commit 8e297c49c481961959b29c2080cc059fcc84e9ee. Change-Id: I95f1b7146e636ae3ebe9f995733e53ad1b276d26 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-02-17Select OpenStack requirements masterCédric Ollivier1-2/+2
https://github.com/openstack/requirements/commit/7a04f4e96205f16e74a9a08fe60b168c187516d6 Change-Id: I9ed510c45f63714b64dcb9fa90e4d7239f93ee3f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-02-17Bypass upstream requirement issuesCédric Ollivier1-2/+2
https://review.opendev.org/#/c/708041/ Change-Id: Iebbf0a720fe9d1c62083028d0bc0078bf7680753 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-01-24Update Alpine to 3.11Cédric Ollivier1-3/+3
It also updates Python to 3.8 (default version). It selects arm32v6 et arm64v8 repos and switches multiarch binfmt. https://alpinelinux.org/posts/Alpine-3.11.0-released.html Change-Id: Ib41cf0ab805ce2137658f3ff656b0a88c7b4ebf5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-11-16Update to Xtesting 0.83Cédric Ollivier1-1/+1
It supports mimetypes and then eases reading the reports from browser. Change-Id: Ic38fca9fb05ca1ad76b589800b22bc78882c7806 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-08-26Switch to the classical ping (iputils)Cédric Ollivier1-1/+1
Ping provided by busybox doesn't support -M (pmtudisc_opt) which is asked by [1] (part of tempest_slow). [1] tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_mtu_sized_frames Change-Id: I75340f239ae372b56cffe9c30c6242878c06ef74 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-27Switch to Python 3.7 and Alpine 3.10Cédric Ollivier1-3/+3
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: If09d4796d48b7d0591e7926621d3bbf5ca1b6c24 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-09Remove functest-tempestCédric Ollivier1-0/+5
Functest Kubernetes directly calls Rally API which force dependencies to rally and its plugins. Then it installs rally, rally-openstack and xrally-kubernetes as Functest dependencies. Change-Id: I18e0c2ba30588707beba1746aa4bfbc1ab7509c6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-28Remove PyNacl contraints in FeaturesCédric Ollivier1-1/+1
It conforms with "Install PyNaCl via package" [1]. functest-feature may raise timeouts when cross-compiling PyNacl [2]. [1] https://gerrit.opnfv.org/gerrit/#/c/67956/ [2] https://travis-ci.org/collivier/functest/jobs/538119733 Change-Id: I986677b869f62caee6be219ee1de622b7bc20ca4 Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com>
2019-05-28Stop downgrading pipCédric Ollivier1-3/+0
The pip package poposed by Alpine is fine. Change-Id: I415757b8f4028c76e9d8cec4895306d843d42ac2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-28Install PyNaCl via packageCédric Ollivier1-7/+6
Building functest-core container sometimes reaches travis-ci timeout [0]. It currently selects the right version in master and stable/hunter. [0] https://travis-ci.org/collivier/functest/jobs/531417730 Change-Id: Ie6c8e729f76c98c6f8c8e9ca01b2c998081f7ce8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-13Update to Python3Cédric Ollivier1-7/+7
Functest containers leverage on Python3 instead of python2. https://mail.python.org/pipermail/python-dev/2018-March/152348.html It also updates robotframework librairies to latest release and Vmtp to master ([1] is needed) It patches cloudify rest client to support python3. Vmtp is currently disabled because it currently supports python2 only. [1] https://github.com/openstack/vmtp/commit/a5d062881d91bf4f547d92c6e289bea30feb5d6e#diff-b4ef698db8ca845e5845c4618278f29a Change-Id: I39964a212ec2d4dbf53c9ea7c63f02e0b6a05b48 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-25Leverage on DEBUG env varCédric Ollivier1-0/+1
It allows muting debug logs. Change-Id: I291f3bb7e0a450724a34997c720bde01f72c8e50 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-20Update all OpenStack refs to opendev.orgCédric Ollivier1-4/+4
All gates are failing due wrong to redirections (see os-faults [1][2]). [1] https://build.opnfv.org/ci/job/functest-opnfv-functest-tempest-latest-gate/96/console [2] https://travis-ci.org/collivier/functest/builds/522071220 Change-Id: I5a8ca67f0d95df24daa9bdca2f23eb13d896f9d5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-19Update to Apine 3.9Cédric Ollivier1-2/+2
It updates to the latest Alpine release [1] [1] https://www.alpinelinux.org/posts/Alpine-3.9.0-released.html Change-Id: I62ed47547dd8767ca50221840455ed0f7336b438 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-02-15Harden upper-constraints.txt operationsCédric Ollivier1-7/+6
It takes into account the wget exit values and avoids manipulating a falsy empty file. It won't help fixing the network outages in LF network which have been highlighted by false failures in api_check (the wrong snaps package is installed [1]) [1] https://build.opnfv.org/ci/job/functest-opnfv-functest-healthcheck-latest-api_check-run/100/console Change-Id: Ic9b75965b1ffb1f7bb342ff216bda9933ca75f0b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-02-01Debug debug build issues in functest-virtualCédric Ollivier1-0/+1
snaps package is sometimes downloaded from PyPI which leads to runtime failures (the package is very obsolete) [1]. [1] https://build.opnfv.org/ci/job/functest-opnfv-functest-healthcheck-latest-api_check-run/51/console Change-Id: I1fd9b17339182f13d7455fb34b100ffc2ca2c21f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-13Update constraints to OpenStack masterCédric Ollivier1-1/+1
Change-Id: I77765db676e06fef5ccb9ae73a9c995ad4fb76d2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-03Avoid cloning reposCédric Ollivier1-2/+4
It inits the repos and fetch the required tags/ids/branches. All tags are fetched to meet pbr requirements. Change-Id: I0accd8ad04b93d63857e301dea11af69e0edf957 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-02Move shaker and vmtp into functest-benchmarkingCédric Ollivier1-0/+4
It also updates all jobs and fixes Dockerhub hooks. Change-Id: Ib182155736b4dbdb829293081741a9d5cb8ea6d7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-02Optimize fetchCédric Ollivier1-1/+1
depth 1 is set when fetching. Change-Id: I1b470d1e370e18de9b3cfa51e5aea0374f76cac6 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: Ib7384772175dd83f735d8cfbfafa1cef3fdc382c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-01Avoid downloading git historyCédric Ollivier1-2/+2
It decreases container build duration. depth 1 is set only when TAG is not a commit id because github.com doesn't advertise commit ids. It switches to git.openstack.org as much as possible. Change-Id: I3ad7a38eda0f7023302d71bb55de23828120f599 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-27Support VIO (VMware in OpenStack)Cédric Ollivier1-1/+1
It allows converting all images to vmdk and then patching all testcases. DEPLOY_SCENARIO should match vio to do so. convert_images.sh has to be called as prerequisite. JIRA: FUNCTEST-992 JIRA: FUNCTEST-993 Change-Id: Ie35bf80af1cd9610a8c416ec01b81b61c6148cfe Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-25Update pip to last versionCédric Ollivier1-0/+4
It allows downloading refs (gerrit reviews). Change-Id: I303f9b753f560fdf945997c7a86e1e29fbd59a06 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-19Add functest in upper-constraintsCédric Ollivier1-3/+3
It's required by OPNFV Features such as sfc. Functest is removed from constraints in Dockerfile else it would conflict with the local dir. Change-Id: I2df5cd151b43eb1a4f0320510183d0f28cdf84c3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-12Update to stable/queensCédric Ollivier1-1/+1
It allows getting first results before the blackout between MS0 and MS2.1. Testcases could work thanks to backward compatibility provided by openstack clients. It disables all features which are not synced (patches are under review). It will ease verifying installers which are following master because it reduces the gap between releases. Change-Id: If0893f6dbaed76d4bafbd10a4f0934e6c5057477 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-02Leverage on XtestingCédric Ollivier1-0/+3
It removes all the files which have moved to Xtesting. Vnf inheritances and env management will be improved in other changes. It keeps the same tree thanks to a symlink to allow publishing artifacts. Change-Id: I551bbd3f344cdab0158a50b7b09e541576695631 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-12-28Update Alpine to 3.7Cédric Ollivier1-1/+1
It conforms with the last release [1] and Docker latest [2]. [1] https://alpinelinux.org/posts/Alpine-3.7.0-released.html [2] https://hub.docker.com/_/alpine/ Change-Id: I731b455bd9eb9900c7794643b8605bf73a15726d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-13Move rally and tempest in functest-restapiCédric Ollivier1-10/+1
It completes the first patch which partially moved rally and tempest out of functest-core [1] by updating functest-restapi as well. os-faults is also installed in the right containers. [1] https://gerrit.opnfv.org/gerrit/#/c/47115/ Change-Id: Ia460dbe7785e2beffa5ba1a15f5a5bf2083b252a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-13Remove rally and tempest from core/DockerfileLinda Wang1-10/+3
JIRA: FUNCTEST-889 Change-Id: I6092c8b6599705d23dcb3aba8c4470b76c41455c Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-07Fix the format of getting upper-constraintsLinda Wang1-1/+1
Change-Id: I8a769ec161b1a718ef259ae6b6615aec01e337ec Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-05Allow building containers from a gerrit changeCédric Ollivier1-2/+4
It leverages on git command instead of pip git support [1]. Otherwise it forces pip master which raises side effects in rally [2] It is mandatory for implementing Functional testing gating [3] [1] https://pip.pypa.io/en/stable/reference/pip_install/#git [2] https://gerrit.opnfv.org/gerrit/#/c/40909/ [3] https://wiki.opnfv.org/display/functest/Functional+testing+gating Change-Id: Ia18fee3e60fc08da9b96730ce85d5b7c866144aa Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-05Update Functest to OpenStack stable/pikeCédric Ollivier1-2/+1
It updates setup.py, (test-)requirement.txt and upper-constraints.txt according to OpenStack requirements [1]. It disables all Features testcases as they are not synchronized with OpenStack stable/pike yet [2]. The docker functest-parser is simplified as it can be based on functest-core as both Functest and Parser leverage on OpenStack stable/pike. ODL_TAG and REFSTACK_TAG variables are set to master again. [1] http://git.openstack.org/cgit/openstack/requirements/log/?h=stable/pike [2] https://wiki.opnfv.org/display/functest/Requirements+management Change-Id: I23fa84f35244c1f4026abd89414b99576f042ee4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-10-30Update Rally to 0.10Cédric Ollivier1-3/+7
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-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-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-06Fix all refstack-client requirements on-the-flyCédric Ollivier1-1/+1
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-05Stop using master for pipCédric Ollivier1-3/+0
Rally cannot work via latest pip: [r.name.lower() for r in pip.req.parse_requirements( rally AttributeError: 'module' object has no attribute 'req' Badly it forbids building containers from a gerrit change. Change-Id: Ie60344b2a7793729823643ba2c1d3c30500d56c4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-02Allow building Alpine containers from any gerrit changesCédric Ollivier1-0/+3
Next pip release will allow installing from git ref. We will install it from git till it's released. Change-Id: I4f26c5a137ca94e9925bd64787c8572848154850 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-02Remove openstack-requirements from requirements.txtCédric Ollivier1-1/+4
Change-Id: Iaaee0c3e1c5377a5064660ad8396cfd8a7c5e250 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-01Stop removing /src/openstack-requirements/.gitCédric Ollivier1-1/+1
Otherwise pip fails when it checks it again [1]. [1] https://hub.docker.com/r/opnfv/functest-features/builds/b8ziypongh8eexgsatdpyhm/ Change-Id: I973f41f8a8e757c01c9c17d57323c7e737b76741 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-01Fix all rally requirements on-the-flyCédric Ollivier1-1/+6
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>