From 8aea36403d80fc5b278e5398bf539e0cee2bda6a Mon Sep 17 00:00:00 2001 From: Erno Kuvaja Date: Thu, 9 May 2019 10:56:53 +0100 Subject: [PATCH] Don't target broken ssl tests to specific py3.minor Change-Id: I37d881315e801926bd5a7ae46402038fd69e060b --- .zuul.yaml | 6 +++--- ...ts.txt => broken-functional-py3-ssl-tests.txt | 0 tox.ini | 16 ++++++++-------- 3 files changed, 11 insertions(+), 11 deletions(-) rename broken-functional-py35-ssl-tests.txt => broken-functional-py3-ssl-tests.txt (100%) diff --git a/.zuul.yaml b/.zuul.yaml index 50af38ba36..f3697f203e 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -10,12 +10,12 @@ - openstack/glance - job: - name: glance-eventlet-ssl-handshake-broken-py35 + name: glance-eventlet-ssl-handshake-broken-py3 parent: tox description: | See https://bugs.launchpad.net/glance/+bug/1482633 vars: - tox_envlist: broken-py35-ssl-tests + tox_envlist: broken-py3-ssl-tests irrelevant-files: - ^(test-|)requirements.txt$ - ^lower-constraints.txt$ @@ -233,7 +233,7 @@ jobs: - openstack-tox-functional - openstack-tox-functional-py35 - - glance-eventlet-ssl-handshake-broken-py35: + - glance-eventlet-ssl-handshake-broken-py3: voting: false - glance-code-constants-check - devstack-plugin-ceph-tempest: diff --git a/broken-functional-py35-ssl-tests.txt b/broken-functional-py3-ssl-tests.txt similarity index 100% rename from broken-functional-py35-ssl-tests.txt rename to broken-functional-py3-ssl-tests.txt diff --git a/tox.ini b/tox.ini index 51db132fa9..76af72440a 100644 --- a/tox.ini +++ b/tox.ini @@ -57,7 +57,7 @@ ignore_errors = True whitelist_externals = bash commands = - stestr run --blacklist-file ./broken-functional-py35-ssl-tests.txt {posargs} + stestr run --blacklist-file ./broken-functional-py3-ssl-tests.txt {posargs} [testenv:functional-py36] basepython = python3.6 @@ -67,7 +67,7 @@ ignore_errors = True whitelist_externals = bash commands = - stestr run --blacklist-file ./broken-functional-py35-ssl-tests.txt {posargs} + stestr run --blacklist-file ./broken-functional-py3-ssl-tests.txt {posargs} [testenv:functional-py37] basepython = python3.7 @@ -77,18 +77,18 @@ ignore_errors = True whitelist_externals = bash commands = - stestr run --blacklist-file ./broken-functional-py35-ssl-tests.txt {posargs} + stestr run --blacklist-file ./broken-functional-py3-ssl-tests.txt {posargs} -[testenv:broken-py35-ssl-tests] +[testenv:broken-py3-ssl-tests] # NOTE(rosmaita): these tests were being skipped due to bug #1482633, but we # want it to be obvious that Glance is affected by the eventlet ssl-handshake -# problem under py35. (When this testenv is removed, don't forget to adjust -# the blacklist generation in the functional-py35 testenv.) -basepython = python3.5 +# problem under py3. (When this testenv is removed, don't forget to adjust +# the blacklist generation in the functional-py3 testenv.) +basepython = python3 setenv = TEST_PATH = ./glance/tests/functional commands = - stestr run --whitelist-file ./broken-functional-py35-ssl-tests.txt {posargs} + stestr run --whitelist-file ./broken-functional-py3-ssl-tests.txt {posargs} [testenv:gateonly] # NOTE(rosmaita): these tests catch configuration problems for some code