[LU-589] test-packages launched by auster.sh read the wrong configuration file when auster.sh is invoked with the '-c' option Created: 11/Aug/11 Updated: 26/Aug/15 Resolved: 26/Aug/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.0.0, Lustre 2.1.0, Lustre 1.8.7, Lustre 1.8.6 |
| Fix Version/s: | Lustre 2.8.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Chris Horn | Assignee: | WC Triage |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9732 |
| Description |
|
auster.sh has the '-c' option to specify the location of an acceptance-small configuration file, however auster.sh doesn't export the corresponding CONFIG variable to test-package scripts which causes them to read the default 'local' configuration file. Here I specify the configuration file /tmp/polluxp2_multi_node.sh
With 'set -x' set in sanity.sh we can see that it reads the wrong configuration file. + . /opt/cray/lustre-cray_gem_s/default/lib64/lustre/tests/cfg/local.sh With the following change we can see the correct configuration file is read. diff --git a/lustre/tests/auster.sh b/lustre/tests/auster.sh
+ . /tmp/polluxp2_multi_node.sh |
| Comments |
| Comment by Chris Horn [ 11/Aug/11 ] |
|
Sorry. I guess one of these days I should learn the Jira markup. The diff is the following: diff --git a/1.8.6/lustre/tests/auster.sh b/1.8.6/lustre/tests/auster.sh
index 39f5c62..91dcb7c 100644
--- a/1.8.6/lustre/tests/auster.sh
+++ b/1.8.6/lustre/tests/auster.sh
@@ -69,7 +69,7 @@ export ${NAME:=local}
while getopts "c:d:D:nkf:g:i:rRslhv" opt
do
case "$opt" in
- c) CONFIG=$OPTARG;;
+ c) export CONFIG=$OPTARG;;
d) test_logs_dir=$OPTARG/$(date +%Y-%m-%d)/$(date +%H%M%S);;
D) test_logs_dir=$OPTARG;;
g) test_group_file=$OPTARG;;
|
| Comment by Andreas Dilger [ 27/Jan/12 ] |
|
Chris Horn, Thanks for your contribution to Lustre. |
| Comment by Chris Horn [ 30/Jan/12 ] |
|
Against master: Against b1_8: |
| Comment by Andreas Dilger [ 05/Apr/12 ] |
|
Chris, can you please comment. |
| Comment by Chris Horn [ 16/Apr/14 ] |
|
Wow, I really lost track of this one... I've refreshed the master patch. Let me know if this is still wanted on b1_8. |
| Comment by Gerrit Updater [ 26/Aug/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/2051/ |
| Comment by Joseph Gmitter (Inactive) [ 26/Aug/15 ] |
|
Landed for 2.8. |