Bug 2023883
| Summary: | Gating failure during vdo revdeps test | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Andy Walsh <awalsh> | |
| Component: | libblockdev | Assignee: | Vojtech Trefny <vtrefny> | |
| Status: | CLOSED ERRATA | QA Contact: | guazhang <guazhang> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 8.6 | CC: | bgurney, brdeoliv, guazhang, tpelka | |
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
|
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | libblockdev-2.24-8.el8 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2025880 (view as bug list) | Environment: | ||
| Last Closed: | 2022-05-10 14:11:17 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 2025880 | |||
*** Bug 2024298 has been marked as a duplicate of this bug. *** *** Bug 2029724 has been marked as a duplicate of this bug. *** Hi
Test pass with fixed package,
# python3 tests/run_tests.py lvm_dbus_tests.LVMVDOTest
/root/rpmbuild/BUILD/libblockdev-2.24/tests/lvm_dbus_tests.py:14: PyGIWarning: BlockDev was imported without specifying a version first. Use gi.require_version('BlockDev', '2.0') before import to ensure that the right version gets loaded.
from gi.repository import BlockDev, GLib
test_enabla_disable_compression (lvm_dbus_tests.LVMVDOTest) ... skipped 'Enabling/disabling compression on LVM VDO not implemented in LVM DBus API.'
test_enable_disable_deduplication (lvm_dbus_tests.LVMVDOTest) ... skipped 'Enabling/disabling deduplication on LVM VDO not implemented in LVM DBus API.'
test_resize (lvm_dbus_tests.LVMVDOTest) ... ok
test_stats (lvm_dbus_tests.LVMVDOTest) ... ok
test_vdo_pool_convert (lvm_dbus_tests.LVMVDOTest) ... skipped 'LVM VDO pool convert not implemented in LVM DBus API.'
test_vdo_pool_create (lvm_dbus_tests.LVMVDOTest) ... ok
test_vdo_pool_create_options (lvm_dbus_tests.LVMVDOTest) ... ok
----------------------------------------------------------------------
Ran 7 tests in 17.429s
OK (skipped=3)
# python3 tests/run_tests.py lvm_test.LVMVDOTest
/root/rpmbuild/BUILD/libblockdev-2.24/tests/lvm_test.py:13: PyGIWarning: BlockDev was imported without specifying a version first. Use gi.require_version('BlockDev', '2.0') before import to ensure that the right version gets loaded.
from gi.repository import BlockDev, GLib
test_enabla_disable_compression (lvm_test.LVMVDOTest) ... ok
test_enable_disable_deduplication (lvm_test.LVMVDOTest) ... ok
test_resize (lvm_test.LVMVDOTest) ... ok
test_stats (lvm_test.LVMVDOTest) ... ok
test_vdo_pool_convert (lvm_test.LVMVDOTest) ... ok
test_vdo_pool_create (lvm_test.LVMVDOTest) ... ok
test_vdo_pool_create_options (lvm_test.LVMVDOTest) ... ok
----------------------------------------------------------------------
Ran 7 tests in 14.335s
OK
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 (libblockdev bug fix and enhancement update), 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:1893 |
Description of problem: Running through the gating process for vdo build vdo-6.2.6.7-14.el8 a failure with libblockdev/upstream_test_suite came up. This is the text: ====================================================================== FAIL: test_stats (lvm_dbus_tests.LVMVDOTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/str/source/tests/lvm_dbus_tests.py", line 1644, in test_stats self.assertNotEqual(vdo_stats.saving_percent, -1) AssertionError: -1 == -1 ====================================================================== FAIL: test_stats (lvm_test.LVMVDOTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/str/source/tests/lvm_test.py", line 1621, in test_stats self.assertEqual(vdo_info.saving_percent, vdo_stats.saving_percent) AssertionError: 100 != -1 This may be related to a similar failure that was encountered with the kernel component and posted about in #osci this morning. BZ2023660 was opened for that issue. The failures themselves are not the same, but the following message appeared in both: ** (process:20190): WARNING **: 15:19:19.087: The 'vdo' utility is not available