Bug 2185192 - [RHEL8] Get Insufficient free space error from test_lvcreate_lvremove
Summary: [RHEL8] Get Insufficient free space error from test_lvcreate_lvremove
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: lvm2
Version: 8.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: LVM Team
QA Contact: cluster-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-07 11:43 UTC by guazhang@redhat.com
Modified: 2023-08-10 15:40 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-154236 0 None None None 2023-04-07 11:45:07 UTC

Description guazhang@redhat.com 2023-04-07 11:43:34 UTC
Description of problem:
libblockdev regression found the error, please have a look.

Version-Release number of selected component (if applicable):
libblockdev-2.28-3.el8.x86_64 
RHEL-8.9.0-20230405.22
How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:


======================================================================
FAIL: test_lvcreate_lvremove (lvm_dbus_tests.LvmTestLVcreateRemove)
Verify that it's possible to create/destroy an LV
----------------------------------------------------------------------
GLib.GError: g-io-error-quark: Failed to call the 'LvCreate' method on the '/com/redhat/lvmdbus1/Vg/4' object: GDBus.Error:org.freedesktop.DBus.Python.dbus.exceptions.DBusException: ('com.redhat.lvmdbus1.Vg', 'Exit code 5, stderr = ') (36)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/rpmbuild/BUILD/libblockdev-2.28/tests/lvm_dbus_tests.py", line 654, in test_lvcreate_lvremove
    succ = BlockDev.lvm_lvcreate("testVG", "testLV", 1048 * 1024**2, None, [self.loop_dev], None)
AssertionError: "Insufficient free space" does not match "g-io-error-quark: Failed to call the 'LvCreate' method on the '/com/redhat/lvmdbus1/Vg/4' object: GDBus.Error:org.freedesktop.DBus.Python.dbus.exceptions.DBusException: ('com.redhat.lvmdbus1.Vg', 'Exit code 5, stderr = ') (36)"

----------------------------------------------------------------------

failed job
https://beaker.engineering.redhat.com/jobs/7714969

Comment 1 Vojtech Trefny 2023-04-17 12:37:50 UTC
The problem here is the missing stderr output in the lvmdbusd error message, fix for https://bugzilla.redhat.com/show_bug.cgi?id=2164044 needs to be backported to RHEL 8 too.


Note You need to log in before you can comment on or make changes to this bug.