Skip test_attach_scsi_disk_with_config_drive

This test causes excessive memory usage in the test executor as it
downloads glance image data in memory. This currently causes OOM issues
in the gate so the test case is skipped until the image data copying is
made smarter.

Related-Bug: #2002951
Change-Id: I0bfac0310fdd6ef44a633d40422cfcfdfc85a426
This commit is contained in:
Balazs Gibizer 2023-01-18 17:43:01 +01:00 committed by Ghanshyam
parent 7c8b49bece
commit a6b7e334cf
1 changed files with 6 additions and 0 deletions

View File

@ -72,6 +72,12 @@ class BaseAttachSCSIVolumeTest(base.BaseV2ComputeAdminTest):
class AttachSCSIVolumeTestJSON(BaseAttachSCSIVolumeTest):
"""Test attaching scsi volume to server"""
# NOTE(gibi): https://bugs.launchpad.net/nova/+bug/2002951/comments/5 shows
# that calling _create_image_with_custom_property can cause excessive
# memory usage in the test executor as it downloads a glance image in
# memory. This is causing gate failures so the test is disabled. One
# potential fix is to do a chunked data download / upload loop instead.
@decorators.skip_because(bug="2002951", condition=True)
@decorators.idempotent_id('777e468f-17ca-4da4-b93d-b7dbf56c0494')
def test_attach_scsi_disk_with_config_drive(self):
"""Test the attach/detach volume with config drive/scsi disk