Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.11.0, Lustre 2.10.4
-
3
-
15912
Description
In various tests sanity-hsm copies /etc/hosts, /etc/passwd, or /etc/modt for use as the test file. /etc/motd is likely of size 0 and may defeat the use of bandwidth control for timing. Uses of /etc/* should be replaced with a generated files of known suitable size. We should also add explicit tests using files of size 0.
Change 14021 - Merged
LU-5680tests: Remove use of /etc/motd from sanity-hsmIn sanity-hsm tests, /etc/motd is copied to the file system
and archived. /etc/motd may not exist in some Linux distributions
and, if exists, may be of size 0 and may defeat the use of
bandwidth control for timing. Uses of /etc/motd are replaced
with a generated file of known suitable size.
Test-Parameters: trivial testlist=sanity-hsm
Signed-off-by: James Nunez <james.a.nunez@intel.com>
Change-Id: I2f287db6d422ce20bca037ca69e24179c7e48144
Reviewed-on: https://review.whamcloud.com/14021
Reviewed-by: Quentin Bouget <quentin.bouget@cea.fr>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>