Skip to content

fix failures caused by mount error msg change in util-linux v2.30

Eryu Guan fstests linux-xfs 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 3 repliesIn review
  2. v23 patches 6 repliesSuperseded
  3. v13 patches 3 repliesSuperseded

Changes in v3 from the cover letter

- address Amir's review comments, detailed change log goes to each patch v2:
- remove not-needed _filter_scratch from tests

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3fstests: filter mount error message for EUCLEAN and ESTALEcommon/filter tests/overlay/037 tests/overlay/037.out +3 more+33 -120 replies
2/3overlay/036: filter busy mount messagecommon/filter tests/overlay/036 tests/overlay/036.out+16 -40 replies
3/3fstests: filter readonly mount error messagescommon/filter tests/generic/050 tests/generic/050.out +2 more+58 -149 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/3] fix failures caused by mount error msg change in util-linux v2.30

util-linux v2.30 changed mount error message again and caused several tests to fail (reported by Misono Tomohiro, thanks!), this is mainly due to two util-linux commits in v2.30-rc1

6dede2f2f7c5 libmount: support MS_RDONLY on write-protected devices ea848180dd34 libmount: add mnt_context_get_excode()

This patchset introduced _filter_ending_dot, _filter_error_mount and _filter_busy_mount and improved _filter_ro_mount to deal with all these output differences between old and new util-linux versions.

I've tested and confirmed generic/050, xfs/005 and overlay/03[567] all passed with both old and new util-linux. xfs/333 is always _notrun because there's no realtime-rmapbt support yet.

Thanks,
Eryu

v3:
- address Amir's review comments, detailed change log goes to each patch v2:
- remove not-needed _filter_scratch from tests

Eryu Guan (3):
fstests: filter mount error message for EUCLEAN and ESTALE overlay/036: filter busy mount message
fstests: filter readonly mount error messages

 common/filter         | 86 +++++++++++++++++++++++++++++++++++++++++++++++++--
 tests/generic/050     |  8 ++---
 tests/generic/050.out |  8 ++---
 tests/overlay/035     |  4 +--
 tests/overlay/035.out |  4 +--
 tests/overlay/036     |  4 +--
 tests/overlay/036.out |  4 +--
 tests/overlay/037     |  4 +--
 tests/overlay/037.out |  4 +--
 tests/xfs/005         |  7 +----
 tests/xfs/333         |  2 +-
 tests/xfs/333.out     |  2 +-
 12 files changed, 107 insertions(+), 30 deletions(-)
Signature · 1 line
2.14.3