Skip to content

Commit 178bd4c

Browse files
committed
lvmohba: Add tests to Broken tests
This test was recently introduced but seems not yet supported by CI, due to hardware requierements (to be investigated). Observed issue is: ``` tests/storage/lvmohba/test_lvmohba_sr.py::TestLVMOHBASRCreateDestroy::test_create_and_destroy_sr[qcow2] ERROR [ 21%] @pytest.fixture(scope='package') def lvmohba_device_config(): > return config.sr_device_config("LVMOHBA_DEVICE_CONFIG") tests/storage/lvmohba/conftest.py:11: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ datakey = 'LVMOHBA_DEVICE_CONFIG' def sr_device_config(datakey: str, *, required: list[str] = []) -> dict[str, str]: import data # import here to avoid depending on this user file for collecting tests > config = getattr(data, datakey) AttributeError: module 'data' has no attribute 'LVMOHBA_DEVICE_CONFIG' ``` Signed-off-by: Philippe Coval <philippe.coval@vates.tech>
1 parent 539d0f3 commit 178bd4c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

jobs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,8 @@ class JobData(TypedDict):
570570
BROKEN_TESTS = [
571571
# not really broken but has complex prerequisites (3 NICs on 3 different networks)
572572
"tests/migration/test_host_evacuate.py::TestHostEvacuateWithNetwork",
573+
# needs Fibre Channel host bus adapter (HBA)
574+
"tests/storage/lvmohba",
573575
# running quicktest on zfsvol generates dangling TAP devices that are hard to
574576
# cleanup. Bug needs to be fixed before enabling quicktest on zfsvol.
575577
"tests/storage/zfsvol/test_zfsvol_sr.py::TestZfsvolVm::test_quicktest",

0 commit comments

Comments
 (0)