Skip image format detection tests for compute

The ImagesFormatTest was added to tempest to check
that nova is correctly rejecting possibly malicious
images.

In the cinder-plugin-ceph-tempest job, however,
openstack is configured with an optimized storage
path and hence nova doesn't examine the
image (as it would do in the "normal" path), and
the expected exceptions are not raised, leading
to test failures. So configure the
cinder-plugin-ceph-tempest job to skip these
tests until the nova team figures out how to
handle this.

This patch is based on https://review.opendev.org/c/openstack/nova/+/926215

Co-Authored-By: Brian Rosmaita <rosmaita.fossdev@gmail.com>
Change-Id: I43ef463ca8ec17613b56d75b94b2d3dd81054280
This commit is contained in:
Tobias Urdin 2024-08-14 16:31:19 +02:00
parent 221a66940e
commit c947967edf

View File

@ -181,6 +181,11 @@
roles:
- zuul: opendev.org/openstack/cinder-tempest-plugin
vars:
# FIXME: change I29b1af0a4034decad to tempest added image format tests that
# cannot pass in this job because the image data takes a optimized path that
# bypasses nova's checks. Until the nova team decides on a strategy to handle
# this issue, we skip these tests.
tempest_exclude_regex: (tempest.api.image.v2.test_images_formats.ImagesFormatTest.test_compute_rejects)
configure_swap_size: 4096
devstack_localrc:
CEPH_MIN_CLIENT_VERSION: "mimic"