File suse-skip-broken-test-xen.patch of Package openstack-tempest

Index: tempest-7.0.0/tempest/scenario/test_volume_boot_pattern.py
===================================================================
--- tempest-7.0.0.orig/tempest/scenario/test_volume_boot_pattern.py
+++ tempest-7.0.0/tempest/scenario/test_volume_boot_pattern.py
@@ -10,6 +10,8 @@
 #    License for the specific language governing permissions and limitations
 #    under the License.
 
+import os
+
 from oslo_log import log
 from tempest_lib import decorators
 
@@ -43,6 +45,8 @@ class TestVolumeBootPattern(manager.Scen
         super(TestVolumeBootPattern, cls).skip_checks()
         if not CONF.volume_feature_enabled.snapshot:
             raise cls.skipException("Cinder volume snapshots are disabled")
+        if os.path.exists("/var/lib/openstack-tempest-test/flag-xen_only"):
+            raise cls.skipException("Test is broken for Xen setups (lp#1443898)")
 
     def _create_volume_from_image(self):
         img_uuid = CONF.compute.image_ref
openSUSE Build Service is sponsored by