Bug ID 1192624
Summary ltp_nfs nfs05 (NFS stress test with make) fails
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Kernel
Assignee kernel-bugs@opensuse.org
Reporter petr.vorel@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Tumbleweed Build 20211110 kernel 5.14.14-2-default (2b5383f) [1] (but it might
have been failing in 5.13 and older kernels) fails to run all nfs*_05 tests
which run shell script nfs05 [2] which runs nfs05_make_tree.c [3] (NFS stress
test with make).

Test output:
# nfs05 -v 4 -t tcp; echo "### TEST nfs4_05 COMPLETE >>> $?"
nfs05 1 TINFO: timeout per run is 0h 5m 0s
nfs05 1 TINFO: setup NFSv4, socket type tcp
nfs05 1 TINFO: Mounting NFS: mount -v -t nfs -o proto=tcp,vers=4
10.0.0.2:/tmp/LTP_nfs05.G8q7DLN0j0/4/tcp /tmp/LTP_nfs05.G8q7DLN0j0/4/0
nfs05 1 TINFO: start nfs05_make_tree -d 20 -f 50 -t 8
tst_test.c:1363: TINFO: Timeout per run is 0h 05m 00s
Test timed out, sending SIGTERM!
If you are running on slow machine, try exporting LTP_TIMEOUT_MUL > 1
Terminated
nfs05 1 TBROK: test terminated
nfs05 1 TINFO: Cleaning up testcase
umount.nfs4: /tmp/LTP_nfs05.G8q7DLN0j0/4/0: device is busy
Test is still running... 10
Test is still running... 9
Test is still running... 8
make[6]: *** No rule to make target '26445.6.20.c', needed by '26445.6.20'. 
Stop.
make[5]: *** [makefile:9: dir] Error 2
make[4]: *** [makefile:9: dir] Error 2
make[3]: *** [makefile:9: dir] Error 2
make[2]: *** [makefile:9: dir] Error 2
make[1]: *** [makefile:9: dir] Error 2
make: *** [makefile:9: dir] Error 2
tst_cmd.c:109: TBROK: 'make' exited with a non-zero code 2 at tst_cmd.c:109
Test is still running... 7
...
make: *** [makefile:9: dir] Error 2
Test is still running... 1
rm: cannot remove
'/tmp/LTP_nfs05.G8q7DLN0j0/4/tcp/susetest.26445/dir/dir/dir/dir/dir/dir':
Directory not empty
rm: cannot remove
'/tmp/LTP_nfs05.G8q7DLN0j0/4/tcp/susetest.26446/dir/dir/dir/dir/dir/dir':
Directory not empty
rm: cannot remove
'/tmp/LTP_nfs05.G8q7DLN0j0/4/tcp/susetest.26447/dir/dir/dir/dir/dir/dir':
Directory not empty
rm: cannot remove
'/tmp/LTP_nfs05.G8q7DLN0j0/4/tcp/susetest.26448/dir/dir/dir/dir/dir/dir':
Directory not empty
rm: cannot remove
'/tmp/LTP_nfs05.G8q7DLN0j0/4/tcp/susetest.26449/dir/dir/dir/dir/dir/dir':
Directory not empty
rm: cannot remove
'/tmp/LTP_nfs05.G8q7DLN0j0/4/tcp/susetest.26450/dir/dir/dir/dir/dir/dir':
Directory not empty
rm: cannot remove
'/tmp/LTP_nfs05.G8q7DLN0j0/4/tcp/susetest.26452/dir/dir/dir/dir/dir/dir':
Directory not empty
rm: cannot remove
'/tmp/LTP_nfs05.G8q7DLN0j0/4/tcp/susetest.26451/dir/dir/dir/dir/dir/dir':
Directory not empty
make[6]: *** No rule to make target '26451.6.46.c', needed by '26451.6.46'. 
Stop.
make[5]: *** [makefile:9: dir] Error 2
make[4]: *** [makefile:9: dir] Error 2
make[3]: *** [makefile:9: dir] Error 2
make[2]: *** [makefile:9: dir] Error 2
make[1]: *** [makefile:9: dir] Error 2
make: *** [makefile:9: dir] Error 2
rm: cannot remove '/tmp/LTP_nfs05.G8q7DLN0j0/4/0': Device or resource busy
rm: cannot remove '/tmp/LTP_nfs05.G8q7DLN0j0/4/0': Is a directory

There is probably no stack trace in dmesg related to this test (in attached
dmesg there is really long Call Trace related to FCNTL_LOCKTESTS reported in
#1192623).

[1] https://openqa.opensuse.org/tests/2029105
[2]
https://github.com/linux-test-project/ltp/blob/master/testcases/network/nfs/nfs_stress/nfs05
[3]
https://github.com/linux-test-project/ltp/blob/master/testcases/network/nfs/nfs_stress/nfs05_make_tree.c


You are receiving this mail because: