From c947967edf4e3240cdff9322623e46181da0c06e Mon Sep 17 00:00:00 2001 From: Tobias Urdin Date: Wed, 14 Aug 2024 16:31:19 +0200 Subject: [PATCH] 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 Change-Id: I43ef463ca8ec17613b56d75b94b2d3dd81054280 --- .zuul.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.zuul.yaml b/.zuul.yaml index 540e0c71b91..00b9bae7f94 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -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"