aboutsummaryrefslogtreecommitdiffstats
path: root/docker/smoke/Dockerfile
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-04-13Switch to stestrCédric Ollivier1-3/+3
It also updates rally and installs rally-openstack. It completes the update to OpenStack Queens. Change-Id: Iabf436ac6e7facfa21a3d7c8a3dfaffa9142da98 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-13Implement trunk ports testcasePanagiotis Karalis1-0/+6
The tempest testcases have been integrated from Neutron trunk testcases. It also enables every Neutron extension which may raise side effects [1]. [1] https://docs.openstack.org/tempest/latest/sampleconf.html JIRA: FUNCTEST-926 Change-Id: I05015acf119f504ce0a5539d677719de874594ad Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
2018-03-13Add patrole in smokeCédric Ollivier1-1/+8
It also removes the former container which had helped when checking possible regex issues. I should be noted that patrole is already part of opnfv/functest-restapi. Change-Id: I76783bc3d121dfcef5b709f21a5e474354e93705 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-12Rewrite refstack testcaseCédric Ollivier1-7/+2
It now leverages on rally to factorize code between all tempest-based testcases. refstack-client is also added as requirement. JIRA: FUNCTEST-942 Change-Id: Ieee845327f8736582d77b898edd6c9edd00667e0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-07Set ODL tests and refstack client refsCédric Ollivier1-2/+2
To prepare F-release, we should set git commit ids for these dependencies which follow the rolling release model (master). Change-Id: I3c791040ea5ec700cfa845ae642e6d862c49281f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-02Leverage on XtestingCédric Ollivier1-1/+1
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>
2018-02-24Automatically download defcore.txtCédric Ollivier1-0/+4
It stops writing files in Functest package dirs and cleans instance variables in refstack modules too. Change-Id: Iaddbe4fbaf12d1af207b86d4e44258efdc6d6f3a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-01-12Switch to absolute paths in DockerfilesCédric Ollivier1-2/+2
It updates functest-smoke and functest-restapi. Change-Id: If4d48f8a6ead1b9b7726a9b7b7baf6b51340a926 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-23Remove iniparse and urllib3 dependenciesCédric Ollivier1-2/+4
It also moves robotframework addons to the right containers. Change-Id: I32a8e018bf84685cffc70a04e3736d948bc6d1c4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-22Remove prepare_envJose Lausuch1-1/+1
After moving the rally installation out of prepare_env It doesn't much sense to keep this script as it doesn't do useful things any more. Change-Id: I9ab3b2dd30c8ec0fbb825ee4302a83cce80f1cbe Signed-off-by: Jose Lausuch <jalausuch@suse.com>
2017-11-21Fix rally db issueLinda Wang1-1/+1
Also update "rally-manage db" to "rally db" Change-Id: I0c9924b9869135d3492dfafe89d085813290f565 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-13Move rally and tempest in functest-restapiCédric Ollivier1-8/+11
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>