Whamcloud - gitweb
LU-11878 tests: don't fork-bomb sanity test_103b 02/34202/2
authorAndreas Dilger <adilger@whamcloud.com>
Tue, 22 Jan 2019 07:53:44 +0000 (00:53 -0700)
committerOleg Drokin <green@whamcloud.com>
Tue, 19 Mar 2019 06:00:52 +0000 (06:00 +0000)
commitc84aa2ac96cf11258140834d58b36d8cd11c76c3
treece7992ae7f1c8aab6f686df28173ad0f9b7b1fdd
parent8f887156d4662f80de99dc854f0d3941d0205107
LU-11878 tests: don't fork-bomb sanity test_103b

Running sanity test_103b may start up to 512 parallel threads for
running the test, each of which starts two bash processes and lfs
or rm processes.

For the VMs running in our testbed (esp. ARM with 64KB PAGE_SIZE)
this can trigger the OOM killer and cause the test to fail if bash
is killed.  Limit the number of started bash processes to avoid this.

Lustre-commit: 42c5c9c2ca3e44cb1c3e8ecb144bdd20fb35cddb
Lustre-change: https://review.whamcloud.com/34082

Fixes: 543f1fbe260 ("LU-10830 utils: fix create mode for lfs")
Test-Parameters: trivial clientarch=aarch64
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I82c322013da91d717924e2c664fa57ad4e3ebbe5
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: Elena Gryaznova <c17455@cray.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/34202
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
lustre/tests/sanity.sh