diff --git a/tox.ini b/tox.ini index 2315163a1d..cd321741de 100644 --- a/tox.ini +++ b/tox.ini @@ -409,3 +409,15 @@ commands = bindep test allowlist_externals = bash commands = bash tools/tempest-plugin-sanity.sh + +[testenv:stestr-master] +envdir = .tox/tempest +sitepackages = {[tempestenv]sitepackages} +basepython = {[tempestenv]basepython} +setenv = {[tempestenv]setenv} +deps = {[tempestenv]deps} +# The below command install stestr master version and run smoke tests +commands = + find . -type f -name "*.pyc" -delete + pip install -U git+https://github.com/mtreinish/stestr + tempest run --regex '\[.*\bsmoke\b.*\]' {posargs} diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml index b93a8b0ba5..923a597116 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -109,6 +109,7 @@ irrelevant-files: *tempest-irrelevant-files experimental: jobs: + - tempest-stestr-master - tempest-cinder-v2-api: irrelevant-files: *tempest-irrelevant-files - tempest-all: @@ -133,3 +134,4 @@ jobs: - tempest-all - tempest-full-oslo-master + - tempest-stestr-master diff --git a/zuul.d/tempest-specific.yaml b/zuul.d/tempest-specific.yaml index fd348cc0ce..5063d896c9 100644 --- a/zuul.d/tempest-specific.yaml +++ b/zuul.d/tempest-specific.yaml @@ -113,3 +113,19 @@ vars: devstack_localrc: TEMPEST_HAS_ADMIN: False + +- job: + name: tempest-stestr-master + parent: devstack-tempest + description: | + Smoke integration test with stestr master. + This ensures that new stestr release does + not break Temepst. + vars: + tox_envlist: stestr-master + devstack_services: + s-account: false + s-container: false + s-object: false + s-proxy: false + c-bak: false