aboutsummaryrefslogtreecommitdiffstats
path: root/docker/smoke/Dockerfile
AgeCommit message (Collapse)AuthorFilesLines
2020-11-27Replace git.openstack.org by opendev.orgCédric Ollivier1-6/+6
https://build.opnfv.org/ci/job/functest-smoke-docker-build-amd64-master/910/console Change-Id: I855e683b4efd4b805b6e14eef787f95b9a9bca3c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit a8c884cef8b760183ad08f6034ecdc4ef1fdd4ac)
2020-06-15Compile lxml with optimization in smokeCédric Ollivier1-0/+3
Else cross compilation raises travis-ci.org's timeouts [1] [1] https://travis-ci.org/github/collivier/functest/jobs/698227192 Change-Id: I985321ac68a7a94cb8483d831f03222d44b3be57 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit a8482af79b22326d336fe58de00bb425892d46c6)
2020-06-15Clone repositories instead of wgetting constraintsCédric Ollivier1-28/+17
It stops leveraging on wget to get constraints as it fails since opendev was created. Then functest and requirements are no longer removed for functest-core which simplifies all child Dockerfile. It also fix the current incompatibilities in OpenStack constraints ERROR: cliff 3.2.0 has requirement cmd2!=0.8.3,<0.9.0,>=0.8.0, but you'll have cmd2 1.1.0 which is incompatible. https://github.com/openstack/requirements/blob/master/upper-constraints.txt#L230 https://github.com/openstack/requirements/blob/master/upper-constraints.txt#L416 Change-Id: I7c044208ef26ad047fb841710b422acb6c9f0320 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 961b940c796871e40146b90cf19b48390310dd59)
2020-05-04Add tempest_telemetryCédric Ollivier1-2/+9
It runs all telemetry-tempest-plugin tests except test_autoscaling which is currently failing in our gates. Change-Id: I2c712eda71799e96735419e1c547a775be659156 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 0d90068be4aa4076ec1af0bcede780d41eddbe01)
2020-04-30Debug rally race conditionsCédric Ollivier1-0/+1
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> (cherry picked from commit dfa0f4d4a17e6985d3edc0ed5b9d56790fb2433d)
2020-04-28Select tag instead of commit idCédric Ollivier1-1/+1
Change-Id: I7da5b383c3c724f4616c54a21ba9c746f146f18f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-04-24Use ujson version asked by OpenStack master requirementCédric Ollivier1-0/+1
It's newer than the former tag selected [1]. The version asks by OpenStack train and older cannot work vs Alpine. ImportError: Error relocating /usr/lib/python3.7/site-packages/ujson.cpython-37m-x86_64-linux-gnu.so: strreverse: symbol not found [1] https://github.com/openstack/requirements/blob/master/upper-constraints.txt Change-Id: Ie89136da364d7e972a1d7f49c71bdfbbdd9671d8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 743235f280b675cab39adb15de8bcea215a1c038)
2020-04-11Add tempest_heat (heat-tempest-plugin)Cédric Ollivier1-2/+8
It asks for the Fedora-Cloud-Base image and a second user account. It should be noted that heat-tempest-plugin duplicates all configs from tempest. Minimal image is still Cirros and the first account is the admin one. Then it conforms with the TempestCommon logic. AodhAlarmTest is skipped by default because pre conditions are missing. SoftwareConfigIntegrationTest is skipped as in gates because it requires a custom image [1] [1] https://github.com/openstack/heat/blob/master/devstack/lib/heat#L444 Change-Id: I8b39dc65ef3714411cd828e17b95e124f2e90f34 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-04-05Update rally (3.0.0) and rally-openstackCédric Ollivier1-0/+1
It removes all warnings currently printed [1]. It also updates kubernetes according to latest changes in rally (chicken and egg). Switching to rally 3.0.0 forces droping py27. [1] https://build.opnfv.org/ci/job/functest-opnfv-functest-healthcheck-jerma-tempest_horizon-run/214/console Change-Id: Ifa21b65c47729a277ccd765e4413477879fa5f21 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-04-02Keep the modified tempestCédric Ollivier1-0/+1
http://artifacts.opnfv.org/functest/CRY58ZS3031L/functest-ovn-opnfv-functest-healthcheck-jerma-tempest_smoke-run-37/tempest_smoke/tempest-report.html Change-Id: I9598a45b09151fa267294716f70e65e3050f0239 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 21b512e55eb36e38160b697baae44c464fce9034)
2020-02-28Clean former dirsCédric Ollivier1-1/+1
Change-Id: I9d6d2ba6bfdaac26e4c7d6ea6aaf69b000869b2d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-01-26Remove Neutron from upper-constraintsCédric Ollivier1-0/+1
It takes into account the last change in Train upper-constraints.txt [1]. We could also leverage on neutron package instead but only Train is putting this constraint from the time being. [1] https://github.com/openstack/requirements/commit/1d0f6fc806ec197beee808674c57a7aa6b281e81 Change-Id: Icdbf13c2f6aa59ba48baeaf4e8f84cc041659f4f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-11-16Optimize lxml build if armCédric Ollivier1-0/+1
Else it raises timeouts on travis-ci.org: https://www.travis-ci.org/collivier/functest/builds/612068457 https://www.travis-ci.org/collivier/functest/builds/612116863 https://www.travis-ci.org/collivier/functest/jobs/612116916 Change-Id: Id34144ebcdf3f418d5a07068434eb7aa96b023d2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 6fd2216a21aad00a0c6fba272f04ee0319fc119a)
2019-10-29Add keystone-tempest-pluginCédric Ollivier1-2/+8
It adds tempest_keystone which runs the tests proposed by keystone-tempest-plugin [1]. [1] https://opendev.org/openstack/keystone-tempest-plugin Change-Id: I83db584c37fe63a549ccf396b03e034778254b3a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 22ec0c1008b81f368476d8cea84117a93d15dab2)
2019-10-29Add cinder-tempest-pluginCédric Ollivier1-1/+10
It adds tempest_cinder which runs the tests proposed by cinder-tempest-plugin [1]. test_incremental_backup is disabled because it currently fails vs Functest SUT (under analysis). [1] https://opendev.org/openstack/cinder-tempest-plugin Change-Id: I85b255eb05b9ab1c74c3829148da5230d6c7647e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit e46aa41172fa1bf63364505fbbf922323788ac98)
2019-10-08Publish first Functest Jerma containersCédric Ollivier1-7/+7
It leverages on latest OpenStack Train. Change-Id: I7699c7b6cfe052f29ac74aa4dbf0873a0194c26d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-08-27Add Octavia testingCédric Ollivier1-2/+9
It integrates Octavia Tempest Plugin. The new testcase octavia currently covers API only [1]. [1] https://logs.opendev.org/46/674846/2/check/octavia-v2-dsvm-noop-api/fe37c58/testr_results.html.gz Change-Id: I2a11a19aa0c43701499dc9e17bd69b9387b53b58 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-27Switch 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: If09d4796d48b7d0591e7926621d3bbf5ca1b6c24 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-09Remove functest-tempestCédric Ollivier1-2/+2
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-06-01Stop installing sfc and bgpvpn tempest pluginsCédric Ollivier1-2/+1
They are being integrated into neutron tempest plugin [1][2]. It will fix our gates [3]. [1] https://github.com/openstack/neutron-tempest-plugin/commit/1a987ecb4d310328cc4c2c5628dc5018dc7afc48 [2] https://github.com/openstack/neutron-tempest-plugin/commit/8dd49aac9fa27166d76755c7d62ea9f0553d8d74 [3] https://build.opnfv.org/ci/job/functest-latest-gate/199/ Change-Id: Iafcfd0cb9b33a271cf37f269d9a3a2086eb67414 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-28Remove PyNacl contraints in FeaturesCédric Ollivier1-0/+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-16Fix python versionCédric Ollivier1-1/+1
It fixes an issue induced by an incomplete rebase [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/67833/ Change-Id: I9017becd06949afae0abd5f542a092570a163bc3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-16Add all RefStack listsCédric Ollivier1-2/+4
It adds platform and object targets. refstack_defcore is renamed to refstack_compute. Change-Id: Iad5bfb27be614aada98eef5b3148965e65210725 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-13Update to Python3Cédric Ollivier1-4/+4
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-05-13Merge "Stop leveraging on neutron-tempest-plugin package"Cedric Ollivier1-2/+8
2019-05-13Allow building containers when refstack.openstack.org is downCédric Ollivier1-2/+1
It has been down for days and break our gates again. Change-Id: I66e286f3624c776c7cec5164df53eb117550e78a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-11Stop leveraging on neutron-tempest-plugin packageCédric Ollivier1-2/+8
It reverts "Take new upper-constraints into account" [1] to follow the upstream revert [2]. [1] https://github.com/opnfv/functest/commit/14534c4ea68ee84645f8b1ddd836ed684a808385 [2] https://github.com/openstack/requirements/commit/ea2cfe661785c838991aa64b64e59aec245a0c0e Change-Id: I7085679ff6b04726842289133e526aaed87a416c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-20Update all OpenStack refs to opendev.orgCédric Ollivier1-6/+6
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-04-13Stop generating policies for unexecuted servicesCédric Ollivier1-8/+2
It saves time when cross-compiling smoke. Then it allows building arm (Raspberry PI) smoke via travis-ci [1]. [1] https://travis-ci.org/collivier/functest/jobs/519630251 Change-Id: Ifbfcc0d726a8f74fd8a861bb52d6ea2543870e0c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-25Clean OpenStack service tmp dirsCédric Ollivier1-1/+2
They can be safely removed once all policy.json are generated. Change-Id: I4eec21650fd661a616647502ee9e30589d67bb89 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-21Update RefStack list to 2018.11Cédric Ollivier1-1/+3
It sets max_microversion to latest because if both values are not specified, Tempest avoids tests which require a microversion [1]. Then test_keypairsv22_create_list_show_with_type is skipped and refstack_defcore fails [2]. It also partially reverts "Allow building containers when refstack.openstack.org is down" [3]. [1] https://docs.openstack.org/tempest/latest/sampleconf.html [2] http://artifacts.opnfv.org/functest/functest-opnfv-functest-smoke-latest-refstack_defcore-run-147/results/refstack_defcore/tempest-report.html [3] https://gerrit.opnfv.org/gerrit/#/c/67232/ Change-Id: Ia87543bb476d3047684e71ddfd05c2aa3f10bbfe Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-11Allow building containers when refstack.openstack.org is downCédric Ollivier1-3/+1
It has been down for days and break our gates. Change-Id: I2e18a95abaced050f85f6efb8e849e0a5d497ea1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-02-27Take new upper-constraints into accountCédric Ollivier1-7/+2
neutron-tempest-plugin is now part of upper-constraints [1]. [1] https://github.com/openstack/requirements/commit/baa8b82c4ce14551c585ed1dcae0509eb81858c3 Change-Id: I80fb40530d7f2698ecedd7a6047d6395dc92f436 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-02-15Harden upper-constraints.txt operationsCédric Ollivier1-5/+4
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-06Move testcases in the right tiersCédric Ollivier1-4/+1
Here are the moves: - tempest_smoke in healthcheck - tempest_full and tempest_scenario in smoke - rally_jobs in benchmarking It avoids conflicts between benchmarking tools and few functional tests (short timeouts). Then it should allow running in parallel all testcases in one tiers. It also allows cleaning the additional steps defined in releng. rally_full could move in benchmarking in a second step. Change-Id: I0bc657557a61c7d9bf7679b4f2dbda08c36728ca Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-01-26Stop updating pip in virtualenvStamatis Katsaounis1-1/+1
NOTE: pip versions from 19.0 and later are producing an error when used with option --no-cache-dir. Change-Id: I3f4fb0b77046cda45d98673e7a5c8d42c72fb557 Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-12-20Generate all policy.json filesCédric Ollivier1-3/+9
It generates policy.json files for the remaining OpenStack services: Keystone, Nova and Cinder. The test list will be changed in a next change (all the tests in error has to be checked). Change-Id: I8872cf804c1ef94e519fe311b2d886d12c022707 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-12-20Generate Neutron policy.json (Patrole)Cédric Ollivier1-8/+7
Keystone policy.json et al will be managed in other changes to allow cherry-picking. It blacklists two subtests which requires policy actions not found in policy files. Change-Id: I5365fb1b24f7f07563037634d00cb9898fbde0fc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-12-18Allow pulling Neutron reviews or tagsCédric Ollivier1-2/+4
It updates smoke/Dockerfile to allow pulling Neutron reviews/tags (rally_jobs). Change-Id: Ifc10eebb444bfe2c3e1fb47a9bd52d8a4f8a7007 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-12-15Temporarily disable rally_jobs and patrole subtestsCédric Ollivier1-1/+0
The public network now seems hardcoded (public) [1] which doesn't fit the OPNFV model [2]. Neutron also stops publishing policy.json [3]. Upstream files have to be updated or fixed in Functest. [1] http://artifacts.opnfv.org/functest/opnfv-functest-smoke-rally_jobs-latest-run-25/functest.log [2] https://review.openstack.org/#/c/620952/ [3] https://review.openstack.org/#/c/585037/ Change-Id: Ibae4ce71a45afa3ed4a987577937220b8a3a89f9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-20Roll Patrole and Barbican versionsCédric Ollivier1-2/+2
It conforms with the full master model. Change-Id: Ic8de654019816db0403759aa836ee865ed18f0d2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-18Add support for Rally OpenStack CI test casesJuha Kosonen1-0/+6
Include Neutron rally-jobs. Change-Id: Ic1122962bd7d876d179729640a8a321bc36442d8 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2018-09-13Update Patrole to 0.4.0Cédric Ollivier1-1/+1
Change-Id: I6e4634b4633075c0146bef064deb28f2ae34472b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-13Switch to networking-* masterCédric Ollivier1-2/+2
Change-Id: Iee875b514c27e6f8b95517cf6cf2c4325fb3acba 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-6/+12
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-03Update tempest plugins tagsCédric Ollivier1-2/+2
Neutron and Barbican tempest plugins have just been released. Change-Id: Ib9c523e9a75dae31249fd84ba454d0ef8537ca1d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-02Move shaker and vmtp into functest-benchmarkingCédric Ollivier1-9/+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-01Avoid downloading git historyCédric Ollivier1-11/+11
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-25Set Neutron and Barbican tempest plugins commit idsCédric Ollivier1-2/+6
They are mandatory before releasing. Change-Id: I2980536e28d183343ff0a9520ca9ee663e437fee Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>