public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH 0/3] NFS test fixes
@ 2023-09-19 11:46 Martin Doucha
  2023-09-19 11:46 ` [LTP] [PATCH 1/3] nfs_lib.sh: Log NFS mount and unmount Martin Doucha
                   ` (2 more replies)
  0 siblings, 3 replies; 21+ messages in thread
From: Martin Doucha @ 2023-09-19 11:46 UTC (permalink / raw)
  To: ltp

The nfs03.sh test has a race condition which may randomly cause NFS unmount
to fail and trigger strange behavior. Add NFS mount/unmount logging and
unmount success check for easier debugging. Also fix the race condition
in nfs03.sh

Patch 3 should be merged after new LTP release.

Martin Doucha (3):
  nfs_lib.sh: Log NFS mount and unmount
  nfs03.sh: Wait for all files to be removed
  nfs_lib.sh: Fail the test if NFS unmount fails

 testcases/network/nfs/nfs_stress/nfs03.sh   | 2 ++
 testcases/network/nfs/nfs_stress/nfs_lib.sh | 9 +++++++--
 2 files changed, 9 insertions(+), 2 deletions(-)

-- 
2.42.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2023-11-13 15:49 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-19 11:46 [LTP] [PATCH 0/3] NFS test fixes Martin Doucha
2023-09-19 11:46 ` [LTP] [PATCH 1/3] nfs_lib.sh: Log NFS mount and unmount Martin Doucha
2023-09-20  7:59   ` Petr Vorel
2023-09-20 11:26   ` Richard Palethorpe
2023-09-22 12:02   ` Cyril Hrubis
2023-09-19 11:46 ` [LTP] [PATCH 2/3] nfs03.sh: Wait for all files to be removed Martin Doucha
2023-09-20  7:59   ` Richard Palethorpe
2023-09-20 10:50     ` Martin Doucha
2023-09-20  8:00   ` Petr Vorel
2023-09-20 11:28   ` Richard Palethorpe
2023-09-22 12:05   ` Cyril Hrubis
2023-09-25 13:22     ` Petr Vorel
2023-09-19 11:46 ` [LTP] [PATCH 3/3] nfs_lib.sh: Fail the test if NFS unmount fails Martin Doucha
2023-09-20  8:01   ` Petr Vorel
2023-09-20 11:27   ` Richard Palethorpe
2023-09-22 12:08   ` Cyril Hrubis
2023-09-25 13:24     ` Petr Vorel
2023-09-25 13:45       ` Martin Doucha
2023-09-25 17:40         ` Petr Vorel
2023-11-13 15:46           ` Martin Doucha
2023-11-13 15:49             ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox