[LTP] fcntl27 and fcntl27_64 tests fail on nfsv3& nfsv4 for mainline 6.14 kernels

Rhythm Mahajan rhythm.m.mahajan@oracle.com
Thu Feb 13 15:24:27 CET 2025


Hi,
fcntl27 and fcntl27_64 tests fail on nfsv3& nfsv4 for mainline 6.14 kernels.

mkdir /tmpdir
yum install nfs-utils  -y
echo "/media *(rw,no_root_squash,sync)" >/etc/exports
systemctl start nfs-server.service
mount -o rw,nfsvers=3 127.0.0.1:/media /tmpdir

cd /opt/ltp
./runltp -d /tmpdir  -s fcntl27
./runltp -d /tmpdir  -s fcntl27_64

fcntl27.c:39: TFAIL: fcntl(fd, F_SETLEASE, F_RDLCK) expected EAGAIN/EWOULDBLOCK: EINVAL (22)
fcntl27.c:39: TFAIL: fcntl(fd, F_SETLEASE, F_RDLCK) expected EAGAIN/EWOULDBLOCK: EINVAL (22)
fcntl27.c:39: TFAIL: fcntl(fd, F_SETLEASE, F_RDLCK) expected EAGAIN/EWOULDBLOCK: EINVAL (22)
fcntl27.c:39: TFAIL: fcntl(fd, F_SETLEASE, F_RDLCK) expected EAGAIN/EWOULDBLOCK: EINVAL (22)

We have been seeing this failure since 6.9

The test no longer fails with the revert of the commit
cce93d3a3 Refactor with new API and merge fcntl27 + fcntl28
https://github.com/linux-test-project/ltp/commit/cce93d3a3

Could you please confirm if this is a test case issue or a kernel issue?

Thanks,
Rhythm



More information about the ltp mailing list