Whamcloud - gitweb
LU-121 test: Change framework to only use the short hostname. 1.8.8-wc1 v1_8_8_WC1 v1_8_8_WC1_RC3
authorchris <chris@whamcloud.com>
Mon, 7 May 2012 12:34:49 +0000 (08:34 -0400)
committerJohann Lombardi <johann@whamcloud.com>
Wed, 23 May 2012 11:57:52 +0000 (07:57 -0400)
commitbc88c4c9b820dced253dad8685a15896ab1a2c71
treef635d34246622721b8ddbe2d018fa853e96a7d16
parent294b4090131fddbb2632cfaf6f97e28ad1ba62a4
LU-121 test: Change framework to only use the short hostname.

This means stripping of everything off the name after and including
the first.

This change is only designed to make the .yml files consistent. The
log files will append the fully qualified name and appear to do this
consistantly.

We can create a jira to make the log and yml files consistant, but
the reality is that the yml files have a short life and are only
used to send to Maloo.

This change will allow automated posting of results and automated
testing to begin.

1. Carries out the above using hostname -s
2. Adds in a quick change so that LUSTRE_BUILD in yaml.sh can be a
reference to the source rather than just the lustre version string
which is recorded and written to the yaml anyway as LUSTER_VERSION

Additionally a couple of other changes sneaked in.

1. Allows the review information to be applied to the yaml output
file by way of exporting the variable CODE_REVIEW_YAML to be a yaml
description for maloo

2. The addition of a couple of fixes to make the permissions for yaml
files be allow-all. This permissions are bracketed and so do not
change any other parts of the code.

Signed-off-by: Chris Gearing <chris@whamcloud.com>
Change-Id: I4b2431030afd206bc83490f5c81fd04e57937aad
Reviewed-on: http://review.whamcloud.com/2663
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
lustre/tests/auster
lustre/tests/functions.sh
lustre/tests/run_IOR.sh
lustre/tests/run_dbench.sh
lustre/tests/run_dd.sh
lustre/tests/run_iozone.sh
lustre/tests/run_tar.sh
lustre/tests/test-framework.sh
lustre/tests/yaml.sh