aboutsummaryrefslogtreecommitdiffstats
path: root/docker/smoke/Dockerfile
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-08-17Update refstack test version to 2018.02Linda Wang1-1/+1
To conform with Openstack Queens Change-Id: I7d65a1d7fe7c9a30e2c00a8a0eac2ab3fe1b9428 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2018-08-17Update restack defcore syncCédric Ollivier1-1/+0
It stops depending on refstack_client which cannot work till OpenStack Queens. JIRA: FUNCTEST-977 Change-Id: I2340643de82ab10d8fb83fb3a7fbfd1f412b2d7b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-10Switch to vmtp commit idCédric Ollivier1-1/+1
The patch "Reuse the router passed as config if available" [1] was merged. [1] https://review.openstack.org/#/c/588459/ Change-Id: Iad8a1ff694f0bff3e13922a6c248dbe49b313a11 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-09Add networking-sfc Tempest test suiteCédric Ollivier1-1/+1
Change-Id: I6f1452469cb5ffaf9b538ba87edaa174977b91c4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-09Add networking-bgpvpn Tempest test suiteCédric Ollivier1-1/+2
Change-Id: If3191d8e8c16854aa059e6483b3c0ea704777c05 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-03Protect VMTP vs cidr conflictsCédric Ollivier1-1/+1
It now runs vtmp via a new admin member. Else it fails due to cidr already used. It only creates a router and both tenant networks are still created by VMTP. Change-Id: I05ed41a3b7a01ee97c720176c404929bf8ea97a0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-18Switch VMTP_TAG to the new commit idCédric Ollivier1-1/+1
The related review has been merged [1]. [1] https://review.openstack.org/#/c/580914/ Change-Id: I64dc2a38b08d02ea653582159d2af83fc7e16e31 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-09Add Vmtp as a new testcaseCédric Ollivier1-4/+9
VMTP is a small python application that will automatically perform ping connectivity, round trip time measurement (latency) and TCP/UDP throughput. JIRA: FUNCTEST-980 Change-Id: I8e94fc52a429f505ac14e14bbb9d0a3b20996ba4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-04Install Robot dependencies in healthcheckCédric Ollivier1-3/+2
old testcase moved to opnfv/functest-healthcheck. Change-Id: If8e8fc7d8bc9c97602c05e5a4c048461351cc97e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-25Move odl into healthcheckCédric Ollivier1-4/+1
It should be included in healthcheck as all basic tests. Change-Id: I48439fe6385a9056eed8b779290f20633d59b0fd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-21Add the Barbican test suiteCédric Ollivier1-2/+4
It eases verifying the functionality of a barbican installation. Change-Id: Iac2144ae6ba4d61b2b37bb5c7a0359edb3f222a6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-19Add functest in upper-constraintsCédric Ollivier1-3/+4
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-06-17Leverage on new opnfv/functest-tempestCédric Ollivier1-22/+3
It simplifies components, features and smoke containers and they can now leverage on tempest. Change-Id: Ie5564b8ba8a58670827af74371194d2583801f1b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-18Clone rally-openstack in functest-smokeCédric Ollivier1-8/+4
It allows getting latest changes verifying Gnocchi. Former neutron tempest tests are also removed. Change-Id: I5910ca012b72b1c5bfb9b0f52591cc9e03051f47 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-13Install new neutron-tempest-pluginCédric Ollivier1-4/+8
Change-Id: Id43e7cd5efa4a78397238bf27ef7e6b476704557 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-13Update Patrole to 0.3Cédric Ollivier1-1/+1
Change-Id: Ifde367b312d9a7d56fccf4f3ba0c155f30b1cb6f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>