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

[RHEL10 blivet] blivet.errors.FormatCreateError: ('invalid device specification', '/dev/loop0p1')

    • python-blivet-3.10.0-4.el10
    • None
    • Low
    • rhel-sst-storage-management
    • ssg_filesystems_storage_and_HA
    • 19
    • 20
    • 2
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • Release Note Not Required
    • None

      Description of problem:
      blivet regression testing hit the error, please have a look.

      Version-Release number of selected component (if applicable):
      python-blivet-3.4.0-13.el9.x86_64
      RHEL-9.1.0-20220518.1 BaseOS x86_64

      How reproducible:

      Steps to Reproduce:
      1. blivet upstream check
      2.
      3.

      Actual results:
      hit some errors

      Expected results:
      no errors

      Additional info:

      ======================================================================
      ERROR: test_resize (formats_test.fs_test.XFSTestCase)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
      File "/root/rpmbuild/BUILD/blivet-3.4.0/tests/formats_test/fs_test.py", line 106, in test_resize
      self.assertIsNone(an_fs.create())
      File "/root/rpmbuild/BUILD/blivet-3.4.0/blivet/threads.py", line 53, in run_with_lock
      return m(*args, **kwargs)
      File "/root/rpmbuild/BUILD/blivet-3.4.0/blivet/formats/_init_.py", line 516, in create
      self._pre_create(**kwargs)
      File "/root/rpmbuild/BUILD/blivet-3.4.0/blivet/threads.py", line 53, in run_with_lock
      return m(*args, **kwargs)
      File "/root/rpmbuild/BUILD/blivet-3.4.0/blivet/formats/fs.py", line 401, in _pre_create
      super(FS, self)._pre_create(**kwargs)
      File "/root/rpmbuild/BUILD/blivet-3.4.0/blivet/threads.py", line 53, in run_with_lock
      return m(*args, **kwargs)
      File "/root/rpmbuild/BUILD/blivet-3.4.0/blivet/formats/_init_.py", line 528, in _pre_create
      raise FormatCreateError("invalid device specification", self.device)
      blivet.errors.FormatCreateError: ('invalid device specification', '/dev/loop0p1')

      ======================================================================
      ERROR: test_resize (formats_test.lvmpv_test.LVMPVTestCase)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
      File "/usr/lib64/python3.9/site-packages/gi/overrides/BlockDev.py", line 1075, in wrapped
      ret = orig_obj(*args, **kwargs)
      File "/usr/lib64/python3.9/site-packages/gi/overrides/BlockDev.py", line 499, in lvm_pvcreate
      return _lvm_pvcreate(device, data_alignment, metadata_size, extra)
      gi.repository.GLib.GError: g-dbus-error-quark: Waiting for 'PvCreate' method of the '/com/redhat/lvmdbus1/Manager' object to finish failed: Failed to get Complete property of the / object: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist
      (19)

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
      File "/root/rpmbuild/BUILD/blivet-3.4.0/tests/formats_test/lvmpv_test.py", line 32, in test_resize
      self.fmt.create()
      File "/root/rpmbuild/BUILD/blivet-3.4.0/blivet/threads.py", line 53, in run_with_lock
      return m(*args, **kwargs)
      File "/root/rpmbuild/BUILD/blivet-3.4.0/blivet/formats/_init_.py", line 517, in create
      self._create(**kwargs)
      File "/root/rpmbuild/BUILD/blivet-3.4.0/blivet/threads.py", line 53, in run_with_lock
      return m(*args, **kwargs)
      File "/root/rpmbuild/BUILD/blivet-3.4.0/blivet/formats/lvmpv.py", line 150, in _create
      blockdev.lvm.pvcreate(self.device, data_alignment=self.data_alignment, extra=[ea_yes])
      File "/usr/lib64/python3.9/site-packages/gi/overrides/BlockDev.py", line 1101, in wrapped
      raise transform[1](msg)
      gi.overrides.BlockDev.LVMError: Waiting for 'PvCreate' method of the '/com/redhat/lvmdbus1/Manager' object to finish failed: Failed to get Complete property of the / object: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist

      ======================================================================
      ERROR: test_size (formats_test.lvmpv_test.LVMPVTestCase)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
      File "/usr/lib64/python3.9/site-packages/gi/overrides/BlockDev.py", line 1075, in wrapped
      ret = orig_obj(*args, **kwargs)
      File "/usr/lib64/python3.9/site-packages/gi/overrides/BlockDev.py", line 499, in lvm_pvcreate
      return _lvm_pvcreate(device, data_alignment, metadata_size, extra)
      gi.repository.GLib.GError: g-dbus-error-quark: Waiting for 'PvCreate' method of the '/com/redhat/lvmdbus1/Manager' object to finish failed: Failed to get Complete property of the / object: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist
      (19)

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
      File "/root/rpmbuild/BUILD/blivet-3.4.0/tests/formats_test/lvmpv_test.py", line 18, in test_size
      self.fmt.create()
      File "/root/rpmbuild/BUILD/blivet-3.4.0/blivet/threads.py", line 53, in run_with_lock
      return m(*args, **kwargs)
      File "/root/rpmbuild/BUILD/blivet-3.4.0/blivet/formats/_init_.py", line 517, in create
      self._create(**kwargs)
      File "/root/rpmbuild/BUILD/blivet-3.4.0/blivet/threads.py", line 53, in run_with_lock
      return m(*args, **kwargs)
      File "/root/rpmbuild/BUILD/blivet-3.4.0/blivet/formats/lvmpv.py", line 150, in _create
      blockdev.lvm.pvcreate(self.device, data_alignment=self.data_alignment, extra=[ea_yes])
      File "/usr/lib64/python3.9/site-packages/gi/overrides/BlockDev.py", line 1101, in wrapped
      raise transform[1](msg)
      gi.overrides.BlockDev.LVMError: Waiting for 'PvCreate' method of the '/com/redhat/lvmdbus1/Manager' object to finish failed: Failed to get Complete property of the / object: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist

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

                Created:
                Updated: