Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-8016

libblockdev test case mdraid_test.MDTestAddRemove fails with latest mdadm

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • rhel-9.2.0
    • libblockdev
    • None
    • Low
    • sst_storage_management
    • ssg_filesystems_storage_and_HA
    • 2
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      Failure in gating (we see the same in our CI):

      ======================================================================
      FAIL: test_add_remove (mdraid_test.MDTestAddRemove)
      Verify that it is possible to add a device to and remove from an MD RAID
      ----------------------------------------------------------------------
      Traceback (most recent call last):
      File "/var/str/source/tests/mdraid_test.py", line 412, in test_add_remove
      self.assertEqual(md_info.spare_devices, 0)
      AssertionError: 1 != 0

      ----------------------------------------------------------------------

      This is most likely an issue in mdadm which was rebased recently in both RHEL 8 and 9, I'll investigate the issue further and move it to mdadm if this turns out to be really problem in mdadm and not in libblockdev or our test suite.

            vtrefny@redhat.com Vojtěch Trefný
            vtrefny@redhat.com Vojtěch Trefný
            Vojtěch Trefný Vojtěch Trefný
            Guangwu Zhang Guangwu Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: