daa2bedb1e
The update to 2.21.1 breaks glance unit tests:
FAIL: glance.tests.unit.v1.test_registry_api.TestRegistryAPI.test_update_all_image_members
----------------------------------------------------------------------
Traceback (most recent call last):
File "glance/tests/unit/v1/test_registry_api.py", line 1629, in test_update_all_image_members
content_type='json')
File "glance/tests/utils.py", line 564, in get_api_response_ext
self.assertEqual(res.status_int, http_resp)
File "/data/dmueller/src/Cloud/glance/.tox/venv/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual
self.assertThat(observed, matcher, message)
File "/data/dmueller/src/Cloud/glance/.tox/venv/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: 200 != 204
Related-Bug: #1728368
This reverts commit 47206e2137
.
Also, set tox_install_siblings=false temporarily due to a bug
in tox_siblings which is causing incorrect versions to be
installed.
Change-Id: Ic91acb78452ec5f73015b47bbb3effd0d6bda497
143 lines
3.8 KiB
YAML
143 lines
3.8 KiB
YAML
- job:
|
|
name: requirements-cross-test
|
|
parent: openstack-tox
|
|
description: |
|
|
A parent job to perform cross-repository tests.
|
|
|
|
Inherit from this job, and add the intended project to
|
|
``required-projects``.
|
|
|
|
Also, set the following variable:
|
|
|
|
.. zuul:jobvar:: tox_envlist
|
|
|
|
Use the specified tox environments (``ALL`` selects all).
|
|
vars:
|
|
zuul_work_dir: "{{ (zuul.projects | selectattr('required') | selectattr('name', 'match', '^(?!openstack/requirements)') | list)[0].src_dir }}"
|
|
# NOTE(jeblair): temporarily disabled tox_siblings until the fix
|
|
# in https://review.openstack.org/514058 lands.
|
|
tox_install_siblings: false
|
|
files:
|
|
- upper-constraints.txt
|
|
- .zuul.d/cross-jobs.yaml
|
|
|
|
- job:
|
|
name: cross-cinder-py27
|
|
parent: requirements-cross-test
|
|
description: Run cross-project tests on cinder with py27.
|
|
required-projects: openstack/cinder
|
|
vars:
|
|
tox_envlist: py27
|
|
|
|
- job:
|
|
name: cross-cinder-py35
|
|
parent: requirements-cross-test
|
|
description: Run cross-project tests on cinder with py35.
|
|
required-projects: openstack/cinder
|
|
vars:
|
|
tox_envlist: py35
|
|
|
|
- job:
|
|
name: cross-glance-py27
|
|
parent: requirements-cross-test
|
|
description: Run cross-project tests on glance with py27.
|
|
required-projects: openstack/glance
|
|
vars:
|
|
tox_envlist: py27
|
|
|
|
- job:
|
|
name: cross-glance-py35
|
|
parent: requirements-cross-test
|
|
description: Run cross-project tests on glance with py35.
|
|
required-projects: openstack/glance
|
|
vars:
|
|
tox_envlist: py35
|
|
|
|
- job:
|
|
name: cross-horizon-py27
|
|
parent: requirements-cross-test
|
|
description: Run cross-project tests on horizon with py27.
|
|
required-projects: openstack/horizon
|
|
vars:
|
|
tox_envlist: py27
|
|
|
|
- job:
|
|
name: cross-horizon-py35
|
|
parent: requirements-cross-test
|
|
description: Run cross-project tests on horizon with py35.
|
|
required-projects: openstack/horizon
|
|
vars:
|
|
tox_envlist: py35
|
|
|
|
- job:
|
|
name: cross-keystone-py27
|
|
parent: requirements-cross-test
|
|
description: Run cross-project tests on keystone with py27.
|
|
required-projects: openstack/keystone
|
|
vars:
|
|
tox_envlist: py27
|
|
|
|
- job:
|
|
name: cross-keystone-py35
|
|
parent: requirements-cross-test
|
|
description: Run cross-project tests on keystone with py35.
|
|
required-projects: openstack/keystone
|
|
vars:
|
|
tox_envlist: py35
|
|
|
|
- job:
|
|
name: cross-neutron-py27
|
|
parent: requirements-cross-test
|
|
description: Run cross-project tests on neutron with py27.
|
|
required-projects: openstack/neutron
|
|
vars:
|
|
tox_envlist: py27
|
|
|
|
- job:
|
|
name: cross-neutron-py35
|
|
parent: requirements-cross-test
|
|
description: Run cross-project tests on neutron with py35.
|
|
required-projects: openstack/neutron
|
|
vars:
|
|
tox_envlist: py35
|
|
|
|
- job:
|
|
name: cross-nova-functional
|
|
parent: requirements-cross-test
|
|
description: Run cross-project functional tests on nova.
|
|
required-projects: openstack/nova
|
|
vars:
|
|
tox_envlist: functional
|
|
|
|
- job:
|
|
name: cross-nova-py27
|
|
parent: requirements-cross-test
|
|
description: Run cross-project tests on nova with py27.
|
|
required-projects: openstack/nova
|
|
vars:
|
|
tox_envlist: py27
|
|
|
|
- job:
|
|
name: cross-nova-py35
|
|
parent: requirements-cross-test
|
|
description: Run cross-project tests on nova with py35.
|
|
required-projects: openstack/nova
|
|
vars:
|
|
tox_envlist: py35
|
|
|
|
- job:
|
|
name: cross-swift-py27
|
|
parent: requirements-cross-test
|
|
description: Run cross-project tests on swift with py27.
|
|
required-projects: openstack/swift
|
|
vars:
|
|
tox_envlist: py27
|
|
|
|
- job:
|
|
name: cross-swift-py35
|
|
parent: requirements-cross-test
|
|
description: Run cross-project tests on swift with py35.
|
|
required-projects: openstack/swift
|
|
vars:
|
|
tox_envlist: py35
|