-
Bug
-
Resolution: Unresolved
-
Minor
-
rhel-10.0
-
python-blivet-3.10.0-22.el10
-
No
-
Low
-
rhel-storage-management
-
20
-
22
-
1
-
False
-
False
-
-
None
-
None
-
Pass
-
Automated
-
Release Note Not Required
-
Unspecified
-
Unspecified
-
Unspecified
-
None
Upstream tests running in gating are failing because the latest stratis version changed metadata sizes:
====================================================================== FAIL: test_device_factory (unit_tests.devicefactory_test.StratisFactoryTestCase.test_device_factory) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib64/python3.12/unittest/mock.py", line 1396, in patched return func(*newargs, **newkeywargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/ARTIFACTS/work-testsvk2c60nw/plans/tests/discover/default-0/source/blivet-3.10.0/tests/unit_tests/devicefactory_test.py", line 988, in test_device_factory self._validate_factory_device(device, device_type, **kwargs) File "/var/ARTIFACTS/work-testsvk2c60nw/plans/tests/discover/default-0/source/blivet-3.10.0/tests/unit_tests/devicefactory_test.py", line 969, in _validate_factory_device self.assertAlmostEqual(device.pool.size, AssertionError: Size (3.376953125 GiB) != Size (2.5 GiB) within Size (600 MiB) delta (Size (898 MiB) difference) ====================================================================== FAIL: test_normalize_size (unit_tests.devicefactory_test.StratisFactoryTestCase.test_normalize_size) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib64/python3.12/unittest/mock.py", line 1396, in patched return func(*newargs, **newkeywargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/ARTIFACTS/work-testsvk2c60nw/plans/tests/discover/default-0/source/blivet-3.10.0/tests/unit_tests/devicefactory_test.py", line 1032, in test_normalize_size super(StratisFactoryTestCase, self).test_normalize_size() File "/usr/lib64/python3.12/unittest/mock.py", line 1396, in patched return func(*newargs, **newkeywargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/ARTIFACTS/work-testsvk2c60nw/plans/tests/discover/default-0/source/blivet-3.10.0/tests/unit_tests/devicefactory_test.py", line 290, in test_normalize_size self.assertAlmostEqual(factory.size, AssertionError: Size (5.12298297882080078125 GiB) != Size (6 GiB) within Size (550 MiB) delta (Size (898.0654296875 MiB) difference)
This is test-only issue and is already fixed in upstream, see https://github.com/storaged-project/blivet/pull/1280
- links to
-
RHBA-2025:148038 python-blivet bug fix and enhancement update