[LU-6857] test-framework defect: TF_FAIL is not initialised Created: 16/Jul/15  Updated: 18/May/16  Resolved: 31/Jul/15

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.7.0
Fix Version/s: Lustre 2.8.0

Type: Bug Priority: Minor
Reporter: Elena Gryaznova Assignee: Jian Yu
Resolution: Fixed Votes: 0
Labels: patch

Severity: 3
Epic: test
Rank (Obsolete): 9223372036854775807

 Description   

test-framework:

#!/bin/bash
trap 'print_summary && touch $TF_FAIL && \
    echo "test-framework exiting on error"' ERR

TF_FAIL is initialised in auster only :

./auster:export TF_FAIL=/tmp/tf.fail
./auster:	rm -f $TF_FAIL
./auster:	if [[ $rc -ne 0 || -f $TF_FAIL ]]; then

This leads t-f to fail with " touch: missing file operand" if the suites are run not under auster control :

fre908: status        script            Total(sec) E(xcluded) S(low) 
fre908: ------------------------------------------------------------------------------------
fre908: 
fre908: touch: missing file operand
fre908: Try `touch --help' for more information.
fre907: ++ print_summary
fre907: ++ trap 0


 Comments   
Comment by Gerrit Updater [ 16/Jul/15 ]

Elena Gryaznova (elena.gryaznova@seagate.com) uploaded a new patch: http://review.whamcloud.com/15617
Subject: LU-6857 tests: TF_FAIL is not initialised
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 2e37f7888b42c182f304d2882f56ebf56b5d9190

Comment by Gerrit Updater [ 31/Jul/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/15617/
Subject: LU-6857 tests: TF_FAIL is not initialised
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: c5998808871bc4254635c05f6c343e8f46b5cc95

Comment by Peter Jones [ 31/Jul/15 ]

Landed for 2.8

Generated at Sat Feb 10 02:03:52 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.