Bug 2030647
| Summary: | Gating: test_lvcreate_type from upstream test suite randomly fails in gating | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Vojtech Trefny <vtrefny> |
| Component: | libblockdev | Assignee: | Vojtech Trefny <vtrefny> |
| Status: | CLOSED ERRATA | QA Contact: | guazhang <guazhang> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.0 | CC: | guazhang |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | libblockdev-2.25-11.el9 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-05-17 13:24:34 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
I have hit the error before https://bugzilla.redhat.com/show_bug.cgi?id=2013090 *** Bug 2013090 has been marked as a duplicate of this bug. *** HI, Don't reproduce the bug with fixed package. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (new packages: libblockdev), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:2503 |
Test test case randomly fails for both LVM DBus and LVM CLI. The test fails when we try to remove a newly created striped LV, I assume the tests in gating run on a slow machine and the LV is not fully synced when we try to remove it. We don't see this type of failure in our CI. ====================================================================== ERROR: test_lvcreate_type (lvm_dbus_tests.LvmTestLVcreateType) Verify it's possible to create LVs with various types ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/str/source/tests/lvm_dbus_tests.py", line 812, in test_lvcreate_type succ = BlockDev.lvm_lvremove("testVG", "testLV", True, None) File "/usr/lib64/python3.9/site-packages/gi/overrides/BlockDev.py", line 590, in lvm_lvremove return _lvm_lvremove(vg_name, lv_name, force, extra) gi.repository.GLib.GError: g-bd-lvm-error-quark: Running 'Remove' method on the '/com/redhat/lvmdbus1/Lv/30' object failed: ('com.redhat.lvmdbus1.Lv', 'Exit code 5, stderr = Logical volume testVG/testLV in use.\n') (7) ====================================================================== ERROR: test_lvcreate_type (lvm_test.LvmTestLVcreateType) Verify it's possible to create LVs with various types ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/str/source/tests/lvm_test.py", line 748, in test_lvcreate_type succ = BlockDev.lvm_lvremove("testVG", "testLV", True, None) File "/usr/lib64/python3.9/site-packages/gi/overrides/BlockDev.py", line 590, in lvm_lvremove return _lvm_lvremove(vg_name, lv_name, force, extra) gi.repository.GLib.GError: g-bd-utils-exec-error-quark: Process reported exit code 5: Logical volume testVG/testLV in use. (0)