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

[RHEL9.6 udisks2] AssertionError: did not find an UDisksBlock object for /dev/xxx in case test_force_removal

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-9.6
    • udisks2
    • None
    • No
    • Low
    • rhel-sst-storage-management
    • ssg_filesystems_storage_and_HA
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      What is the impact of this issue to you?

      Please provide the package NVR for which the bug is seen:

      udisks2-2.9.4-11.el9.s390x

      RHEL-9.6.0-20241027.2 BaseOS s390x

      How reproducible is this bug?:

      Steps to reproduce

      1.  
      2.  
      3.  

      Expected results

      Actual results

       

      test_plaintext_keyfile (__main__.Luks)
      Setup a device using a plaintext keyfile. ... ok
      test_md_raid_methods (__main__.MDRaid) ... skipped 'mdadm is broken on s390x'
      test_loop_ro (__main__.Manager)
      loop device R/O ... ok
      test_loop_rw (__main__.Manager)
      loop device R/W ... ok
      test_version (__main__.Manager)
      daemon version ... ok
      test_internal_fs_allowed (__main__.Polkit)
      Create FS on internal drive (allowed) ... ok
      test_internal_fs_forbidden (__main__.Polkit)
      Create FS on internal drive (forbidden) ... ok
      test_removable_fs (__main__.Polkit)
      Mount FS on removable drive (allowed) ... ok
      test_sda (__main__.Smart)
      SMART status of first internal hard disk ... Failed to query whether SMART is available: Operation not supported
      [N/A] ok
      
      ======================================================================
      FAIL: test_force_removal (__main__.FS)
      fs: forced removal
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/root/rpmbuild/BUILD/udisks-2.9.4/src/tests/integration-test", line 784, in test_force_removal
          fs = self.udisks_filesystem()
        File "/root/rpmbuild/BUILD/udisks-2.9.4/src/tests/integration-test", line 292, in udisks_filesystem
          block = cls.udisks_block(partition, cd)
        File "/root/rpmbuild/BUILD/udisks-2.9.4/src/tests/integration-test", line 281, in udisks_block
          assert block, 'did not find an UDisksBlock object for %s' % devname
      AssertionError: did not find an UDisksBlock object for /dev/sda
      
      ======================================================================
      FAIL: test_zero (__main__.FS)
      properties of zeroed out device
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/root/rpmbuild/BUILD/udisks-2.9.4/src/tests/integration-test", line 694, in setUp
          self.block = self.udisks_block()
        File "/root/rpmbuild/BUILD/udisks-2.9.4/src/tests/integration-test", line 281, in udisks_block
          assert block, 'did not find an UDisksBlock object for %s' % devname
      AssertionError: did not find an UDisksBlock object for /dev/sda
      
      ----------------------------------------------------------------------
      Ran 31 tests in 339.085s 

       

      https://beaker.engineering.redhat.com/recipes/17308679#task185855701

       

      https://beaker.engineering.redhat.com/recipes/17308679/tasks/185855701/logs/full_flight_record.log

      https://beaker.engineering.redhat.com/recipes/17308679/tasks/185855701/logs/flight_record.log

      https://beaker.engineering.redhat.com/recipes/17308679/tasks/185855701/logs/journalctl_log

              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:
              2 Start watching this issue

                Created:
                Updated: