Whamcloud - gitweb
EX-3838 test: sanity-pumount races
authorJohn L. Hammond <jhammond@whamcloud.com>
Fri, 13 May 2022 13:44:34 +0000 (08:44 -0500)
committerJohn L. Hammond <jhammond@whamcloud.com>
Fri, 13 May 2022 21:56:58 +0000 (21:56 +0000)
commitab5d05414bf2005fdfa2d3e0b18acec4cadf4342
tree4f80102b2bd2c30c2b392c15e3e84cf01f23452b
parent247d975ed58f797b2606b5a4eaaaa9871312c20c
EX-3838 test: sanity-pumount races

In sanity-pumount, add functions wait_for_open(), wait_for_exec(), and
wait_for_mmap() to wait for the forked PID to exec, open, or mmap the
file on the Lustre FS. Use these to prevent fork exec check races.

Test-Parameters: trivial testlist=sanity-pumount,sanity-pumount,sanity-pumount,sanity-pumount clientextra_install_params="--packages pumount"
Signed-off-by: John L. Hammond <jhammond@whamcloud.com>
Change-Id: I2a89989521cc4e61d35799c1d4fdb8ce37ae12d9
Reviewed-on: https://review.whamcloud.com/47344
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/tests/sanity-pumount.sh