[Pkg-utopia-maintainers] Bug#1130122: libblockdev: autopkgtest regression with e2fsprogs 1.47.4-1
Adrian Bunk
bunk at debian.org
Sun Mar 8 22:00:49 GMT 2026
Source: libblockdev
Version: 3.4.0-1
Severity: serious
X-Debbugs-Cc: Theodore Y. Ts'o <tytso at mit.edu>, debian-release at lists.debian.org
https://ci.debian.net/packages/libb/libblockdev/testing/amd64/69358068/
...
2577s ======================================================================
2577s FAIL: test_ext2_get_info (fs_tests.ext_test.ExtGetInfo.test_ext2_get_info)
2577s Verify that it is possible to get info about an ext2 file system
2577s ----------------------------------------------------------------------
2577s Traceback (most recent call last):
2577s File "/tmp/autopkgtest.T0NkLu/build.d48/src/tests/fs_tests/ext_test.py", line 267, in test_ext2_get_info
2577s self._test_ext_get_info(mkfs_function=BlockDev.fs_ext2_mkfs,
2577s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2577s info_function=BlockDev.fs_ext2_get_info)
2577s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2577s File "/tmp/autopkgtest.T0NkLu/build.d48/src/tests/fs_tests/ext_test.py", line 247, in _test_ext_get_info
2577s self.assertGreater(fi.free_blocks, 0.90 * self.loop_size / 1024)
2577s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2577s AssertionError: 138133 not greater than 138240.0
2577s
2577s ======================================================================
2577s FAIL: test_ext3_get_info (fs_tests.ext_test.ExtGetInfo.test_ext3_get_info)
2577s Verify that it is possible to get info about an ext3 file system
2577s ----------------------------------------------------------------------
2577s Traceback (most recent call last):
2577s File "/tmp/autopkgtest.T0NkLu/build.d48/src/tests/fs_tests/ext_test.py", line 273, in test_ext3_get_info
2577s self._test_ext_get_info(mkfs_function=BlockDev.fs_ext3_mkfs,
2577s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2577s info_function=BlockDev.fs_ext3_get_info)
2577s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2577s File "/tmp/autopkgtest.T0NkLu/build.d48/src/tests/fs_tests/ext_test.py", line 247, in _test_ext_get_info
2577s self.assertGreater(fi.free_blocks, 0.90 * self.loop_size / 1024)
2577s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2577s AssertionError: 138133 not greater than 138240.0
2577s
2577s ======================================================================
2577s FAIL: test_ext4_get_info (fs_tests.ext_test.ExtGetInfo.test_ext4_get_info)
2577s Verify that it is possible to get info about an ext4 file system
2577s ----------------------------------------------------------------------
2577s Traceback (most recent call last):
2577s File "/tmp/autopkgtest.T0NkLu/build.d48/src/tests/fs_tests/ext_test.py", line 279, in test_ext4_get_info
2577s self._test_ext_get_info(mkfs_function=BlockDev.fs_ext4_mkfs,
2577s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2577s info_function=BlockDev.fs_ext4_get_info)
2577s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2577s File "/tmp/autopkgtest.T0NkLu/build.d48/src/tests/fs_tests/ext_test.py", line 247, in _test_ext_get_info
2577s self.assertGreater(fi.free_blocks, 0.90 * self.loop_size / 1024)
2577s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2577s AssertionError: 138133 not greater than 138240.0
2577s
2577s ======================================================================
2577s FAIL: test_ext4_resize (fs_tests.ext_test.ExtResize.test_ext4_resize)
2577s Verify that it is possible to resize an ext4 file system
2577s ----------------------------------------------------------------------
2577s Traceback (most recent call last):
2577s File "/tmp/autopkgtest.T0NkLu/build.d48/src/tests/fs_tests/ext_test.py", line 408, in test_ext4_resize
2577s self._test_ext_resize(mkfs_function=BlockDev.fs_ext4_mkfs,
2577s ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2577s info_function=BlockDev.fs_ext4_get_info,
2577s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2577s resize_function=BlockDev.fs_ext4_resize,
2577s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2577s minsize_function=BlockDev.fs_ext4_get_min_size)
2577s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2577s File "/tmp/autopkgtest.T0NkLu/build.d48/src/tests/fs_tests/ext_test.py", line 348, in _test_ext_resize
2577s self.assertGreater(fi.free_blocks, 0.90 * self.loop_size / 1024)
2577s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2577s AssertionError: 138133 not greater than 138240.0
2577s
2577s ----------------------------------------------------------------------
2577s Ran 512 tests in 2409.241s
2577s
2577s FAILED (failures=4, skipped=18)
2577s autopkgtest [21:46:34]: test upstream: -----------------------]
2578s autopkgtest [21:46:35]: test upstream: - - - - - - - - - - results - - - - - - - - - -
2578s upstream FAIL non-zero exit status 1
...
My gut feeling is that the comment
"at least 90 % should be available, so it should be reported"
in the libblockdev tests makes an assumption that might sometimes
be marginally incorrect, but I do not know why the new e2fsprogs
version makes a difference here.
More information about the Pkg-utopia-maintainers
mailing list