[LU-6058] test-framework should log to stderr Created: 19/Dec/14  Updated: 22/Dec/14  Resolved: 22/Dec/14

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

Type: Bug Priority: Minor
Reporter: John Hammond Assignee: John Hammond
Resolution: Fixed Votes: 0
Labels: tests

Severity: 3
Rank (Obsolete): 16871

 Description   

The output of test-framework.sh's log() function is often being lost due to command substitution. log() should print it message to stderr instead of stdout so that the message will appear in the test logs even inside of a command substitution. The bash stack trace printed during failures should also go to stderr.



 Comments   
Comment by Gerrit Updater [ 19/Dec/14 ]

John L. Hammond (john.hammond@intel.com) uploaded a new patch: http://review.whamcloud.com/13155
Subject: LU-6058 test: log to stderr
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: fb0738e18927dba5d1ccf8ee7c0fac8f305cf77b

Comment by Gerrit Updater [ 20/Dec/14 ]

Andreas Dilger (andreas.dilger@intel.com) merged in patch http://review.whamcloud.com/13155/
Subject: LU-6058 test: log to stderr
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: e00d24d8d7642cf5897799226b84ce5a71913dc0

Comment by Andreas Dilger [ 22/Dec/14 ]

Patch landed to master for 2.7.0.

Generated at Sat Feb 10 01:56:51 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.