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

[RHEL10] AssertionError: unexpectedly None when run test_md_raid_methods

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-10.2
    • rhel-10.1
    • udisks2
    • None
    • No
    • None
    • rhel-storage-management
    • 15
    • 17
    • 1
    • Dev ack
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • aarch64
    • None

       python3 src/tests/integration-test
      test_properties (__main__.Drive.test_properties)
      properties of UDisksDrive object ... ok
      test_create_fs_unknown_type (__main__.FS.test_create_fs_unknown_type)
      Format() with unknown type ... ok
      test_create_fs_unsupported_label (__main__.FS.test_create_fs_unsupported_label)
      Format() with unsupported label ... ok
      test_empty (__main__.FS.test_empty)
      fs: empty ... ok
      test_exfat (__main__.FS.test_exfat)
      fs: exFAT ... [cli] [ud] ok
      test_existing_manual_mount_point (__main__.FS.test_existing_manual_mount_point)
      fs: does not reuse existing manual mount point ... ok
      test_existing_udisks_mount_point (__main__.FS.test_existing_udisks_mount_point)
      fs: reuses existing udisks mount point ... ok
      test_ext4 (__main__.FS.test_ext4)
      fs: ext4 ... [cli] [ud] Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only.
      Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only.
      Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only.
      Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only.
      ok
      test_force_removal (__main__.FS.test_force_removal)
      fs: forced removal ... ok
      test_zero (__main__.FS.test_zero)
      properties of zeroed out device ... ok
      Warning: The resulting partition is not properly aligned for best performance: 34s % 2048s != 0s
      test_devname (__main__.Fstab.test_devname)
      by device name ... ok
      test_label (__main__.Fstab.test_label)
      by label ... ok
      test_partlabel (__main__.Fstab.test_partlabel)
      by PARTLABEL ... ok
      test_partuuid (__main__.Fstab.test_partuuid)
      by PARTUUID ... ok
      test_uuid (__main__.Fstab.test_uuid)
      by UUID ... ok
      test_0_create_teardown (__main__.Luks.test_0_create_teardown)
      LUKS create/teardown ... ok
      test_ascii_keyfile_newline (__main__.Luks.test_ascii_keyfile_newline) ... [cleanup lock] ok
      test_binary_keyfile (__main__.Luks.test_binary_keyfile) ... ok
      test_change_passphrase (__main__.Luks.test_change_passphrase) ... ok
      test_keyfile_equivalent (__main__.Luks.test_keyfile_equivalent)
      Setup device using passphrase, unlock using keyfile. ... ok
      test_luks_forced_removal (__main__.Luks.test_luks_forced_removal)
      LUKS forced removal ... ok
      test_luks_mount (__main__.Luks.test_luks_mount)
      LUKS mount/unmount ... ok
      test_plaintext_keyfile (__main__.Luks.test_plaintext_keyfile)
      Setup a device using a plaintext keyfile. ... ok
      Configuration restored from /root/rpmbuild/BUILD/udisks-2.10.90/src/tests/dbus-tests/targetcli_config.json
      test_md_raid_methods (__main__.MDRaid.test_md_raid_methods) ... To optimalize recovery speed, it is recommended to enable write-indent bitmap, do you want to enable it now? [y/N]? mdadm: array /dev/md/int_test0 started.
      FAIL
      mdadm: stopped /dev/md/int_test0
      All configuration cleared
      test_loop_ro (__main__.Manager.test_loop_ro)
      loop device R/O ... /usr/lib64/python3.12/unittest/case.py:589: Warning: g_close(fd:9) failed with EBADF. The tracking of file descriptors got messed up
        if method() is not None:
      ok
      test_loop_rw (__main__.Manager.test_loop_rw)
      loop device R/W ... ok
      test_version (__main__.Manager.test_version)
      daemon version ... ok
      test_internal_fs_allowed (__main__.Polkit.test_internal_fs_allowed)
      Create FS on internal drive (allowed) ... ok
      test_internal_fs_forbidden (__main__.Polkit.test_internal_fs_forbidden)
      Create FS on internal drive (forbidden) ... ok
      test_removable_fs (__main__.Polkit.test_removable_fs)
      Mount FS on removable drive (allowed) ... ok
      test_sda (__main__.Smart.test_sda)
      SMART status of first internal hard disk ... [avail] ok
      
      ======================================================================
      FAIL: test_md_raid_methods (__main__.MDRaid.test_md_raid_methods)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/root/rpmbuild/BUILD/udisks-2.10.90/src/tests/integration-test", line 1854, in test_md_raid_methods
          self.assertIsNotNone(block)
      AssertionError: unexpectedly None
      
      ----------------------------------------------------------------------
      Ran 31 tests in 433.395s
      
      FAILED (failures=1) 

      udisks2-2.10.90-5.el10.aarch64

      https://beaker.engineering.redhat.com/recipes/19080090#task197638620

       

       

              tbzatek Tomáš Bžatek
              guazhang@redhat.com Guangwu Zhang
              Tomáš Bžatek Tomáš Bžatek
              Guangwu Zhang Guangwu Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: