Merge "Define the Integrated-gate-storage gate template"
This commit is contained in:
commit
aa30a65c9e
31
.zuul.yaml
31
.zuul.yaml
@ -191,6 +191,21 @@
|
|||||||
s-proxy: false
|
s-proxy: false
|
||||||
c-bak: false
|
c-bak: false
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: tempest-integrated-storage
|
||||||
|
parent: devstack-tempest
|
||||||
|
branches: ^(?!stable/ocata).*$
|
||||||
|
description: |
|
||||||
|
This job runs integration tests for image & block storage. This is
|
||||||
|
subset of 'tempest-full' job and run Cinder, Glance, Swift and Nova
|
||||||
|
related tests. This is meant to be run on Cinder and Glance gate only.
|
||||||
|
vars:
|
||||||
|
tox_envlist: integrated-storage
|
||||||
|
devstack_localrc:
|
||||||
|
USE_PYTHON3: true
|
||||||
|
FORCE_CONFIG_DRIVE: true
|
||||||
|
ENABLE_VOLUME_MULTIATTACH: true
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: tempest-full-py3-ipv6
|
name: tempest-full-py3-ipv6
|
||||||
parent: devstack-tempest-ipv6
|
parent: devstack-tempest-ipv6
|
||||||
@ -533,6 +548,22 @@
|
|||||||
- grenade-py3
|
- grenade-py3
|
||||||
- tempest-integrated-networking
|
- tempest-integrated-networking
|
||||||
|
|
||||||
|
- project-template:
|
||||||
|
name: integrated-gate-storage
|
||||||
|
description: |
|
||||||
|
Run the python3 Tempest image & block storage integration tests
|
||||||
|
(Cinder, Glance, Swift and Nova related) in check and gate
|
||||||
|
for the neutron integrated gate. This is meant to be
|
||||||
|
run on Cinder and Glance gate only.
|
||||||
|
check:
|
||||||
|
jobs:
|
||||||
|
- grenade-py3
|
||||||
|
- tempest-integrated-storage
|
||||||
|
gate:
|
||||||
|
jobs:
|
||||||
|
- grenade-py3
|
||||||
|
- tempest-integrated-storage
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
templates:
|
templates:
|
||||||
- check-requirements
|
- check-requirements
|
||||||
|
13
tools/tempest-integrated-gate-storage-blacklist.txt
Normal file
13
tools/tempest-integrated-gate-storage-blacklist.txt
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# This file includes the backlist of tests which need to be
|
||||||
|
# skipped for Integrated-gate-storage template. Integrated-gate-storage template
|
||||||
|
# needs to run only Cinder, Glance, Swift and Nova related tests and rest all
|
||||||
|
# tests will be skipped by below list.
|
||||||
|
|
||||||
|
# Skip network, keystone API tests.
|
||||||
|
tempest.api.network
|
||||||
|
tempest.api.identity
|
||||||
|
|
||||||
|
# Skip network only scenario tests.
|
||||||
|
tempest.scenario.test_network_advanced_server_ops.TestNetworkAdvancedServerOps.test_network_advanced_server_ops
|
||||||
|
tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops
|
||||||
|
tempest.scenario.test_network_v6.TestGettingAddress.test_security_groups_basic_ops
|
12
tox.ini
12
tox.ini
@ -130,6 +130,18 @@ commands =
|
|||||||
tempest run --regex '(?!.*\[.*\bslow\b.*\])(^tempest\.api)' --blacklist_file ./tools/tempest-integrated-gate-networking-blacklist.txt {posargs}
|
tempest run --regex '(?!.*\[.*\bslow\b.*\])(^tempest\.api)' --blacklist_file ./tools/tempest-integrated-gate-networking-blacklist.txt {posargs}
|
||||||
tempest run --combine --serial --regex '(?!.*\[.*\bslow\b.*\])(^tempest\.scenario)' --blacklist_file ./tools/tempest-integrated-gate-networking-blacklist.txt {posargs}
|
tempest run --combine --serial --regex '(?!.*\[.*\bslow\b.*\])(^tempest\.scenario)' --blacklist_file ./tools/tempest-integrated-gate-networking-blacklist.txt {posargs}
|
||||||
|
|
||||||
|
[testenv:integrated-storage]
|
||||||
|
envdir = .tox/tempest
|
||||||
|
sitepackages = {[tempestenv]sitepackages}
|
||||||
|
setenv = {[tempestenv]setenv}
|
||||||
|
deps = {[tempestenv]deps}
|
||||||
|
# The regex below is used to select which tests to run and exclude the slow tag and
|
||||||
|
# tests listed in blacklist file:
|
||||||
|
commands =
|
||||||
|
find . -type f -name "*.pyc" -delete
|
||||||
|
tempest run --regex '(?!.*\[.*\bslow\b.*\])(^tempest\.api)' --blacklist_file ./tools/tempest-integrated-gate-storage-blacklist.txt {posargs}
|
||||||
|
tempest run --combine --serial --regex '(?!.*\[.*\bslow\b.*\])(^tempest\.scenario)' --blacklist_file ./tools/tempest-integrated-gate-storage-blacklist.txt {posargs}
|
||||||
|
|
||||||
[testenv:full-serial]
|
[testenv:full-serial]
|
||||||
envdir = .tox/tempest
|
envdir = .tox/tempest
|
||||||
sitepackages = {[tempestenv]sitepackages}
|
sitepackages = {[tempestenv]sitepackages}
|
||||||
|
Loading…
Reference in New Issue
Block a user