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

AssertionError: Mounting read-only device with 'rw' option failedwith an unexpected error.

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • rhel-10.0.beta
    • rhel-10.0.beta
    • udisks2
    • None
    • udisks2-2.10.90-2.gitdb54112e.el10
    • None
    • None
    • rhel-sst-storage-management
    • ssg_filesystems_storage_and_HA
    • 22
    • 23
    • 1
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None

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

      Please provide the package NVR for which bug is seen:

      How reproducible:

      Steps to reproduce

      1.  
      2.  
      3.  

      Expected results

      Actual results

       

       

      ======================================================================
      FAIL: test_ext4 (__main__.FS.test_ext4)
      fs: ext4
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/root/udisks2/udisks-2.10.1/src/tests/integration-test", line 1107, in _do_udisks_check
          cd_fs.call_mount_sync(ro_options, None)
      gi.repository.GLib.GError: udisks-error-quark: GDBus.Error:org.freedesktop.UDisks2.Error.Failed: Error mounting /dev/sr0 at /run/media/root/093508e9-5ddb-4d48-b6b8-192840cb5667: fsconfig system call failed: /dev/sr0: Can't open blockdev (0)
      
      During handling of the above exception, another exception occurred:
      
      Traceback (most recent call last):
        File "/root/udisks2/udisks-2.10.1/src/tests/integration-test", line 725, in test_ext4
          self._do_fs_check('ext4')
        File "/root/udisks2/udisks-2.10.1/src/tests/integration-test", line 894, in _do_fs_check
          self._do_udisks_check(fs_type)
        File "/root/udisks2/udisks-2.10.1/src/tests/integration-test", line 1112, in _do_udisks_check
          self.fail('Mounting read-only device with \'rw\' option failed'
      AssertionError: Mounting read-only device with 'rw' option failedwith an unexpected error.
      Got: udisks-error-quark: GDBus.Error:org.freedesktop.UDisks2.Error.Failed: Error mounting /dev/sr0 at /run/media/root/093508e9-5ddb-4d48-b6b8-192840cb5667: fsconfig system call failed: /dev/sr0: Can't open blockdev (0)
      Expected: 'is write-protected but explicit read-write mode requested' or 'is write-protected but `rw' option given'
      
      ----------------------------------------------------------------------
      Ran 31 tests in 225.725s
      
      FAILED (failures=1)
      Testing installed system binaries
      daemon path: /usr/libexec/udisks2/udisksd
      Set up test device: r/w: /dev/sdv, r/o: /dev/sr0 
      
      udisks2-2.10.1-5.el10.src.rpm

              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: