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

[udisks2] unused block device detection Device or resource busy

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-10.0
    • rhel-10.0.beta
    • udisks2
    • udisks2-2.10.90-4.el10
    • None
    • Low
    • rhel-sst-storage-management
    • ssg_filesystems_storage_and_HA
    • 17
    • 26
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Requested
    • None
    • None

       

      Job J:9369888 R:16263962 info you can refer, 
      whiteboard common_64k Kernel Storaged Regression Test, RHEL-10.0-20240530.64 #generate by 'stbkr --debug-kernel 0 -r RHEL-10.0-20240530.64 -c test_conf/Storaged/udisksctl-tier1.conf -g udisks2_rhel10 --64k -a aarch64 -g common_64k --check_server --repo-names " repo1 repo2 repo3 repo4 repo1 repo2 repo3 repo4" --repo-urls " https://download-node-02.eng.bos.redhat.com/rhel-10/nightly/RHEL-10-Public-Beta/latest-RHEL-10/compose/BaseOS/$basearch/os https://download-node-02.eng.bos.redhat.com/rhel-10/nightly/RHEL-10-Public-Beta/latest-RHEL-10/compose/AppStream/$basearch/os https://download-node-02.eng.bos.redhat.com/rhel-10/nightly/RHEL-10-Public-Beta/latest-RHEL-10/compose/CRB/$basearch/os https://download-node-02.eng.bos.redhat.com/rhel-10/nightly/BUILDROOT-10-Public-Beta/latest-BUILDROOT-10-RHEL-10/compose/Buildroot/$basearch/os/" --kernel_ops "selinux=0 io_uring.enable=y  sysctl.kernel.io_uring_disabled=0 sysctl.kernel.panic_on_warn=1 "',
      distro {'name': 'RHEL-10.0-20240530.64', 'variant': 'BaseOS', 'arch': 'aarch64'}, 
      test server ampere-mtsnow-altramax-01-vm-21.lab.eng.rdu2.redhat.com
      Version-Release number of selected component (if applicable): 

      udisks2-2.10.1-4.el10

       

      ======================================================================
      ERROR: test_10_linear (test_20_LVM.UdisksLVMTest.test_10_linear)
      Test linear (plain) LV functionality
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/root/rpmbuild/BUILD/udisks-2.10.1/src/tests/dbus-tests/test_20_LVM.py", line 95, in test_10_linear
          vg = self._create_vg(vgname, devs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/root/rpmbuild/BUILD/udisks-2.10.1/src/tests/dbus-tests/test_20_LVM.py", line 34, in _create_vg
          vg_path = manager.VolumeGroupCreate(vgname, devices, self.no_options,
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/dbus/proxies.py", line 72, in __call__
          return self._proxy_method(*args, **keywords)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/dbus/proxies.py", line 141, in __call__
          return self._connection.call_blocking(self._named_service,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/root/rpmbuild/BUILD/udisks-2.10.1/src/tests/dbus-tests/udiskstestcase.py", line 42, in call_long
          return call(*args, **kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/dbus/connection.py", line 634, in call_blocking
          reply_message = self.send_message_with_reply_and_block(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      dbus.exceptions.DBusException: org.freedesktop.UDisks2.Error.Failed: Error opening device /dev/sda for unused block device detection: Device or resource busy
      
      ======================================================================
      ERROR: test_20_thin (test_20_LVM.UdisksLVMTest.test_20_thin)
      Test thin volumes functionality
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/root/rpmbuild/BUILD/udisks-2.10.1/src/tests/dbus-tests/test_20_LVM.py", line 333, in test_20_thin
          vg = self._create_vg(vgname, devs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/root/rpmbuild/BUILD/udisks-2.10.1/src/tests/dbus-tests/test_20_LVM.py", line 34, in _create_vg
          vg_path = manager.VolumeGroupCreate(vgname, devices, self.no_options,
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/dbus/proxies.py", line 72, in __call__
          return self._proxy_method(*args, **keywords)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/dbus/proxies.py", line 141, in __call__
          return self._connection.call_blocking(self._named_service,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/root/rpmbuild/BUILD/udisks-2.10.1/src/tests/dbus-tests/udiskstestcase.py", line 42, in call_long
          return call(*args, **kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/dbus/connection.py", line 634, in call_blocking
          reply_message = self.send_message_with_reply_and_block(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      dbus.exceptions.DBusException: org.freedesktop.UDisks2.Error.Failed: Error opening device /dev/sda for unused block device detection: Device or resource busy
      
      ======================================================================
      ERROR: test_30_snapshot (test_20_LVM.UdisksLVMTest.test_30_snapshot)
      Test LVM snapshoting
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/root/rpmbuild/BUILD/udisks-2.10.1/src/tests/dbus-tests/test_20_LVM.py", line 388, in test_30_snapshot
          vg = self._create_vg(vgname, devs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/root/rpmbuild/BUILD/udisks-2.10.1/src/tests/dbus-tests/test_20_LVM.py", line 34, in _create_vg
          vg_path = manager.VolumeGroupCreate(vgname, devices, self.no_options,
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/dbus/proxies.py", line 72, in __call__
          return self._proxy_method(*args, **keywords)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/dbus/proxies.py", line 141, in __call__
          return self._connection.call_blocking(self._named_service,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/root/rpmbuild/BUILD/udisks-2.10.1/src/tests/dbus-tests/udiskstestcase.py", line 42, in call_long
          return call(*args, **kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/dbus/connection.py", line 634, in call_blocking
          reply_message = self.send_message_with_reply_and_block(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      dbus.exceptions.DBusException: org.freedesktop.UDisks2.Error.Failed: Error opening device /dev/sda for unused block device detection: Device or resource busy
      
      ======================================================================
      ERROR: test_40_cache (test_20_LVM.UdisksLVMTest.test_40_cache)
      Basic LVM cache test
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/root/rpmbuild/BUILD/udisks-2.10.1/src/tests/dbus-tests/test_20_LVM.py", line 431, in test_40_cache
          vg = self._create_vg(vgname, devs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/root/rpmbuild/BUILD/udisks-2.10.1/src/tests/dbus-tests/test_20_LVM.py", line 34, in _create_vg
          vg_path = manager.VolumeGroupCreate(vgname, devices, self.no_options,
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/dbus/proxies.py", line 72, in __call__
          return self._proxy_method(*args, **keywords)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/dbus/proxies.py", line 141, in __call__
          return self._connection.call_blocking(self._named_service,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/root/rpmbuild/BUILD/udisks-2.10.1/src/tests/dbus-tests/udiskstestcase.py", line 42, in call_long
          return call(*args, **kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/dbus/connection.py", line 634, in call_blocking
          reply_message = self.send_message_with_reply_and_block(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      dbus.exceptions.DBusException: org.freedesktop.UDisks2.Error.Failed: Error opening device /dev/sda for unused block device detection: Device or resource busy
      
      ======================================================================
      ERROR: test_50_rename_vg (test_20_LVM.UdisksLVMTest.test_50_rename_vg)
      Test VG renaming
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/root/rpmbuild/BUILD/udisks-2.10.1/src/tests/dbus-tests/test_20_LVM.py", line 481, in test_50_rename_vg
          vg = self._create_vg(vgname, devs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/root/rpmbuild/BUILD/udisks-2.10.1/src/tests/dbus-tests/test_20_LVM.py", line 34, in _create_vg
          vg_path = manager.VolumeGroupCreate(vgname, devices, self.no_options,
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/dbus/proxies.py", line 72, in __call__
          return self._proxy_method(*args, **keywords)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/dbus/proxies.py", line 141, in __call__
          return self._connection.call_blocking(self._named_service,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/root/rpmbuild/BUILD/udisks-2.10.1/src/tests/dbus-tests/udiskstestcase.py", line 42, in call_long
          return call(*args, **kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/dbus/connection.py", line 634, in call_blocking
          reply_message = self.send_message_with_reply_and_block(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      dbus.exceptions.DBusException: org.freedesktop.UDisks2.Error.Failed: Error opening device /dev/sda for unused block device detection: Device or resource busy
      
      ======================================================================
      ERROR: test_60_pvs (test_20_LVM.UdisksLVMTest.test_60_pvs)
      Test adding and removing PVs from VG
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/root/rpmbuild/BUILD/udisks-2.10.1/src/tests/dbus-tests/test_20_LVM.py", line 506, in test_60_pvs
          vg = self._create_vg(vgname, dbus.Array([old_pv]))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/root/rpmbuild/BUILD/udisks-2.10.1/src/tests/dbus-tests/test_20_LVM.py", line 34, in _create_vg
          vg_path = manager.VolumeGroupCreate(vgname, devices, self.no_options,
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/dbus/proxies.py", line 72, in __call__
          return self._proxy_method(*args, **keywords)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/dbus/proxies.py", line 141, in __call__
          return self._connection.call_blocking(self._named_service,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/root/rpmbuild/BUILD/udisks-2.10.1/src/tests/dbus-tests/udiskstestcase.py", line 42, in call_long
          return call(*args, **kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/dbus/connection.py", line 634, in call_blocking
          reply_message = self.send_message_with_reply_and_block(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      dbus.exceptions.DBusException: org.freedesktop.UDisks2.Error.Failed: Error opening device /dev/sda for unused block device detection: Device or resource busy
      
      ======================================================================
      ERROR: test_format (test_50_block.UdisksBlockTest.test_format)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/root/rpmbuild/BUILD/udisks-2.10.1/src/tests/dbus-tests/test_50_block.py", line 36, in test_format
          disk.Format('xfs', self.no_options, dbus_interface=self.iface_prefix + '.Block')
        File "/usr/lib64/python3.12/site-packages/dbus/proxies.py", line 141, in __call__
          return self._connection.call_blocking(self._named_service,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/root/rpmbuild/BUILD/udisks-2.10.1/src/tests/dbus-tests/udiskstestcase.py", line 42, in call_long
          return call(*args, **kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/dbus/connection.py", line 634, in call_blocking
          reply_message = self.send_message_with_reply_and_block(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      dbus.exceptions.DBusException: org.freedesktop.UDisks2.Error.Failed: Error wiping device: Failed to open the device '/dev/sda': Device or resource busy
      
      ======================================================================
      ERROR: test_format_parttype (test_50_block.UdisksBlockTest.test_format_parttype)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/root/rpmbuild/BUILD/udisks-2.10.1/src/tests/dbus-tests/test_50_block.py", line 86, in test_format_parttype
          disk.Format('dos', self.no_options, dbus_interface=self.iface_prefix + '.Block')
        File "/usr/lib64/python3.12/site-packages/dbus/proxies.py", line 72, in __call__
          return self._proxy_method(*args, **keywords)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/dbus/proxies.py", line 141, in __call__
          return self._connection.call_blocking(self._named_service,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/root/rpmbuild/BUILD/udisks-2.10.1/src/tests/dbus-tests/udiskstestcase.py", line 42, in call_long
          return call(*args, **kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/dbus/connection.py", line 634, in call_blocking
          reply_message = self.send_message_with_reply_and_block(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      dbus.exceptions.DBusException: org.freedesktop.UDisks2.Error.Failed: Error wiping device: Failed to open the device '/dev/sda': Device or resource busy
      
      ====================================================================== 

      https://beaker.engineering.redhat.com/recipes/16263962#task178528670

       

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

                Created:
                Updated: