Use zuul v3 for running tempest plugin sanity check

Create a zuulv3 native job to replace the existing legacy tempest plugin
sanity check. The tempest plugin sanity script has been modified to fail
if at least one of the plugins failed.

Related fixed in plugins:
* Id08618a497b0f9205680a97d31600481b92eab08
* I3de3d6c6928d31af9c2deeba800b201bb681ac4e

Change-Id: I2bd52892b05d5c4044e11a34b2ca150dd2445c07
This commit is contained in:
Chandan Kumar 2017-10-23 17:43:36 +05:30 committed by Andrea Frittoli
parent 8d0a5b6876
commit cf576b2af6
2 changed files with 82 additions and 0 deletions

View File

@ -12,6 +12,82 @@
tempest: True
run: playbooks/devstack-tempest.yaml
- job:
name: tempest-tox-plugin-sanity-check
parent: tox
description: |
Run tempest plugin sanity check script using tox.
nodeset: ubuntu-xenial
vars:
tox_envlist: plugin-sanity-check
voting: false
timeout: 5000
required-projects:
- openstack/almanach
- openstack/aodh
- openstack/barbican-tempest-plugin
- openstack/ceilometer
- openstack/cinder
- openstack/congress
- openstack/designate-tempest-plugin
- openstack/ec2-api
- openstack/freezer
- openstack/freezer-api
- openstack/freezer-tempest-plugin
- openstack/gce-api
- openstack/glare
- openstack/heat
- openstack/intel-nfv-ci-tests
- openstack/ironic
- openstack/ironic-inspector
- openstack/keystone-tempest-plugin
- openstack/kingbird
- openstack/kuryr-tempest-plugin
- openstack/magnum
- openstack/magnum-tempest-plugin
- openstack/manila
- openstack/manila-tempest-plugin
- openstack/mistral
- openstack/mogan
- openstack/monasca-api
- openstack/monasca-log-api
- openstack/murano
- openstack/networking-bgpvpn
- openstack/networking-cisco
- openstack/networking-fortinet
- openstack/networking-generic-switch
- openstack/networking-l2gw
- openstack/networking-midonet
- openstack/networking-plumgrid
- openstack/networking-sfc
- openstack/neutron
- openstack/neutron-dynamic-routing
- openstack/neutron-fwaas
- openstack/neutron-lbaas
- openstack/neutron-tempest-plugin
- openstack/neutron-vpnaas
- openstack/nova-lxd
- openstack/novajoin-tempest-plugin
- openstack/octavia
- openstack/oswin-tempest-plugin
- openstack/panko
- openstack/patrole
- openstack/qinling
- openstack/requirements
- openstack/sahara-tests
- openstack/senlin
- openstack/senlin-tempest-plugin
- openstack/tap-as-a-service
- openstack/tempest-horizon
- openstack/trio2o
- openstack/trove
- openstack/valet
- openstack/vitrage
- openstack/vmware-nsx-tempest-plugin
- openstack/watcher-tempest-plugin
- openstack/zaqar-tempest-plugin
- openstack/zun-tempest-plugin
- project:
name: openstack/tempest
check:
@ -21,3 +97,4 @@
- ^playbooks/
- ^roles/
- ^.zuul.yaml$
- tempest-tox-plugin-sanity-check

View File

@ -120,3 +120,8 @@ for project in $PROJECT_LIST; do
failed_plugin+=", $project"
fi
done
# Check for failed status
if [[ -n $failed_plugin ]]; then
exit 1
fi