Whamcloud - gitweb
LU-11634 tests: sanityn/test_77 improvements 35/35735/2
authorVladimir Saveliev <c17830@cray.com>
Mon, 9 Apr 2018 09:18:50 +0000 (12:18 +0300)
committerOleg Drokin <green@whamcloud.com>
Wed, 4 Sep 2019 18:30:48 +0000 (18:30 +0000)
commit8843bcb776382c913eb86c5d333dedd6e65bf971
treeaa9162e24800ab16818d90e1e90e2900f4864cc0
parent1cdc366dca7cf2a97e02de68f865f539dd58da85
LU-11634 tests: sanityn/test_77 improvements

sshd limits number of simultaneous unauthenticated connections via
MaxStartups configuration parameter. By default, 10 connections are
allowed. nrs_write_read() tries to run up to 32 do_nodes() in
parallel, causing sshd to drop some of connections.

The fix is to have do_nodes() to start required number of dd-s in
parallel.

Minor changes which were probably meant at the development:
- Test filenames include $HOSTNAME so that each client worked with its
own file, it seems. Add missing escaping backslashes so that $HOSTNAME
worked as expected.
- Add conv=notrunc parameter for dd-s which write lustre file at
  different seeks.
- Have reading dd-s to read files which were especially created for
  that.
- use /dev/null instead on /dev/zero to throw read data away.

Lustre-change: https://review.whamcloud.com/33607
Lustre-commit: 43ac1425ad9e8c5fc1e7deff579a443b5c9c7a58

Signed-off-by: Vladimir Saveliev <c17830@cray.com>
Change-Id: I496b0f6b50811351ac8e0e606cf5a20843fab5d4
Cray-bug-id: LUS-2493
Test-Parameters: testlist=sanityn envdefinitions=ONLY=77
Reviewed-on: https://review.whamcloud.com/33607
Reviewed-by: Elena Gryaznova <c17455@cray.com>
Reviewed-by: Andrew Perepechko <c17827@cray.com>
Reviewed-on: https://review.whamcloud.com/35735
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanityn.sh