Hay

Known issue: LTP fanotify01 fails on stable-rc 5.4 with LTP 20250530 (expected EXDEV, got ENODEV)

Description

We are observing a regression in the LTP syscalls/fanotify01 test on the Linux stable-rc 5.4 kernel after upgrading to LTP version 20250530.

  • The test passed with LTP version 20250130

  • The test fails with LTP version 20250530

fanotify01.c:339: TFAIL: fanotify_mark(fd_notify, 0x00000001, 0x00000008, -100, ".") expected EXDEV: ENODEV (19)

The test expected fanotify_mark() to fail with EXDEV, but received ENODEV instead. This indicates a potential mismatch between updated LTP test expectations and the behavior of the 5.4 kernel’s fanotify implementation.

The fanotify01 test logic changed between LTP versions 20250130 and 20250530

The test now assumes support for newer fanotify features not present in Linux 5.4

This failure is expected on older kernels due to increased test strictness or changes in validation logic

The test should handle backward compatibility more gracefully

Or a kernel-side adjustment is required to align with newer test expectations

  • https://regressions.linaro.org/lkft/linux-stable-rc-linux-5.4.y/v5.4.294-223-g7ff2d32362e4/ltp-syscalls/fanotify01/
Labels
First seen June 23, 2025, 1:37 p.m.
Last seen June 25, 2025, 9:11 a.m.

Incidents