RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1976176 - [RHEL9] ERROR: mkfs.xfs: Use the -f option to force overwrite from test_xfs_resize (fs_test.XfsResize)
Summary: [RHEL9] ERROR: mkfs.xfs: Use the -f option to force overwrite from test_xfs_r...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: libblockdev
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Vojtech Trefny
QA Contact: guazhang@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-25 12:15 UTC by guazhang@redhat.com
Modified: 2021-12-07 21:52 UTC (History)
0 users

Fixed In Version: libblockdev-2.25-6.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-07 21:50:14 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description guazhang@redhat.com 2021-06-25 12:15:32 UTC
Description of problem:
RHEL9 regression testing hit the error, please have a look if hit a bug.

Version-Release number of selected component (if applicable):
libblockdev-2.25-5.el9.x86_64 




======================================================================
ERROR: test_xfs_resize (fs_test.XfsResize)
Verify that it is possible to resize an xfs file system
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/rpmbuild/BUILD/libblockdev-2.25/tests/fs_test.py", line 718, in test_xfs_resize
    succ = BlockDev.fs_xfs_mkfs(lv, None)
  File "/root/rpmbuild/BUILD/libblockdev-2.25/src/python/gi/overrides/BlockDev.py", line 401, in fs_xfs_mkfs
    return _fs_xfs_mkfs(device, extra)
gi.repository.GLib.GError: g-bd-utils-exec-error-quark: Process reported exit code 1: mkfs.xfs: Use the -f option to force overwrite.
 (0)

======================================================================
FAIL: test_xfs_generic_resize (fs_test.GenericResize)
Test generic resize function with an xfs file system
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/rpmbuild/BUILD/libblockdev-2.25/tests/fs_test.py", line 1506, in test_xfs_generic_resize
    succ = BlockDev.fs_resize(lv, 40 * 1024**2)
AssertionError: Error not raised

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

https://beaker.engineering.redhat.com/recipes/10195253#task127925617

Comment 1 Vojtech Trefny 2021-06-25 12:27:05 UTC
upstream PR: https://github.com/storaged-project/libblockdev/pull/636

Comment 4 guazhang@redhat.com 2021-07-01 23:42:33 UTC
test pass with the fixed package, move to verified.


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