14 Commits

Author SHA1 Message Date
Paul Belanger
4c7b79ac3f Default gabbi_tempest_path to empty string
Seems this variable is setup from gabbi-tempest, but other jobs also use
devstack-tempest.

Change-Id: I45c582d9d9b34a1c5ab75455e42077902cbb850e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-03-19 19:26:41 -04:00
Chris Dent
9b4c50cf63 GABBI_TEMPEST_PATH in tox passenv and devstack playbook
The gabbi-tempest plugin uses an environment variable,
GABBI_TEMPEST_PATH, to identify directories in which to
find the gabbi [1] tests that will be run. This will be
used by a forthcoming zuul job [2] (hosted by the plugin)
that will automate gabbi-based service testing as described
in https://anticdent.org/gabbi-in-the-gate.html .

By setting the environment in the devstack-tempest playbook
we avoid needing to duplicate the playbook: we can use
it directly and have less risk of plays diverging. The
calling job (which doesn't allow the "environment" key)
sets a "var" which then sets the environment variable.

[1] https://gabbi.readthedocs.io
[2] https://review.openstack.org/611678

Needed-By: https://review.openstack.org/611678
Change-Id: I5aa890baa489f434b95d21e4e618f5202ac550e4
2018-10-26 10:53:53 +00:00
Felipe Monteiro
99585f3fb7 Port tempest-scenario-all to zuul v3
This patchset ports tempest-scenario-all to zuul v3.

The current job setup is the same as the legacy job setup,
except that the current job setup uses dynamic credentials
whereas the legacy setup used pre-provisioned credentials [0].

[0] 67081bf4d5/playbooks/tempest-scenario-multinode-lvm-multibackend/run.yaml (L34)

Change-Id: Icb2708686cf204a4a4b29ed23e7efa09f14455a5
2018-07-12 16:36:35 +00:00
ghanshyam
a3c5a79abe Move live migration tests out of scenario job
'tempest-scenario-multinode-lvm-multibackend' job used to run
- all scenario test including slow tests with lvm multi-backend setup
- live migration and migration tests

This commit make scenario job only run the scenario tests and exclude
migration and live migration tests out of it.

coverage of those tests are there in below jobs
- migration tests run as part of -  'neutron-tempest-multinode-full'
- live migration tests run as part of - 'nova-live-migration'

This helps to provide a generic job to run the scenario tests in parallel
including slow tests so that project like nova, cinder, neutron etc can
use this job ti run on their main pipeline.

- http://lists.openstack.org/pipermail/openstack-dev/2018-May/130418.html

Change-Id: Ibddd633a3fdccb11100f5bc150c4595147402237
2018-07-10 01:59:17 +00:00
Zuul
983c23970b Merge "Write tempest-multinode-full as zuulv3 native" 2018-06-18 12:44:36 +00:00
Andrea Frittoli
688f36e065 Write tempest-multinode-full as zuulv3 native
Rewrite the base tempest multinode job as zuulv3.
The job is currently hosted in the neutron repo as
neutron-tempest-multinode-full.

Full job name history:
* neutron-tempest-multinode-full
* legacy-tempest-dsvm-neutron-multinode-full
* gate-tempest-dsvm-neutron-multinode-full-ubuntu-xenial-nv

With this patch, devstack-tempest can be used as a basis for both
single and multinode jobs.

Depends-on: https://review.openstack.org/561187
Depends-on: https://review.openstack.org/561251
Depends-on: https://review.openstack.org/564220
Depends-on: https://review.openstack.org/572313

Change-Id: If448ae20bca6e221b4a10646c69ba014656438ad
2018-06-05 12:01:52 +01:00
ghanshyam
402df09c8b Migrate legacy scenario job to tempest in-tree
"legacy-tempest-dsvm-neutron-scenario-multinode-lvm-multibackend" job
is tempest job which run all scenario tests including slow tests
and migration tests as non voting job.

This commit migrate this job to tempest in-tree and later we can
modify this to zuulv3 native.

This is first step to make slow tests running on tempest as voting
and on project side also.

Details- http://lists.openstack.org/pipermail/openstack-dev/2018-May/130418.html

Change-Id: I6bc7503347ca2f110e4a0a5b404e612168b3a417
2018-05-14 04:54:14 +00:00
Michel Peterson
ac140feca0 Use fetch-subunit-output role
Currently there is a zuul-jobs role only used in this tempest job while
other jobs mostly use fetch-subunit-output role.

This changes tries to consolidate towards the most used role, to be able
to clean up zuul-jobs a bit.

Change-Id: I404760ba34767660f8816f48712e13dccad67440
Depends-On: https://review.openstack.org/548406
2018-03-01 15:46:26 +02:00
Andrea Frittoli
4c24a1a72f Do not run stage-output again in Tempest
stage-output is already invoked in the devstack job.
Rather than running the role again in Tempest post, extend the
list of files to be staged and extensions to be converted to txt.

Change-Id: I0844700f1c770809cba5a2e0e39737fd6827896f
Depends-on: https://review.openstack.org/540485/
2018-02-03 12:54:47 +00:00
Andrea Frittoli
b57c8a4288 Do not override stage-dir in tempest post
Stage dir used to be /opt/stack but now devstack changed to
use ansible user dir as a stage dir (which is the default
value) so the override is not needed anymore.

Change-Id: Id531271da326413c5a88947d9a8b3ac4da68c47d
2018-01-10 22:10:48 +00:00
Andrea Frittoli (andreaf)
e4fdd2fece Add role to build the stackviz report
Add a role to build the stackviz report and include it in the
tempest post play.

Change-Id: I085460fc7a4fe6baee2d85c8ab3ea3a2128ea54d
2017-11-18 10:16:12 +00:00
Andrea Frittoli (andreaf)
299c25ae01 Process test results from a tempest run
Use the process-test-results role from zuul-jobs to generate the
subunit file and html report.

Depends-on: Id6149d4e265ab9f0ab6d8faeffdec651c63dc056
Change-Id: Ib8a43a7d6e4afdca6b2e30d3e7be58b1ac771436
2017-11-08 18:04:42 +11:00
Andrea Frittoli (andreaf)
74810553a0 Add post step to Tempest base job
Stage three tempest conf and log files for archival using the
stage-output role.

Depends-on: Id45a50821539985710da7172a9185fd91e803603
Change-Id: Id67dbf3df5af52e848b8d378bc13aaa1c02cdd29
2017-11-08 18:04:42 +11:00
Andrea Frittoli (andreaf)
7d5445dae2 Initial skeleton for devstack-tempest base job
Setup the initial folder and play to run tempest.
This simply runs tempest full for now, with not support for config
options.

Change-Id: I5a76dd23900a1b5fb1764fafd837d69baf9ed8b1
Depends-on: Iffe54fbccbccd68db08f79a1b51dd7f76dbff408
2017-11-08 18:04:39 +11:00