[LU-15061] sanity-dom sanityn: Test return non-zero exit code :1 Created: 05/Oct/21  Updated: 03/Nov/21  Resolved: 03/Nov/21

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

Type: Bug Priority: Minor
Reporter: Elena Gryaznova Assignee: Elena Gryaznova
Resolution: Fixed Votes: 0
Labels: None

Epic/Theme: patch
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

sanity-dom sanityn: Test return non-zero exit code :1 even if test_sanityn PASS:

== sanityn test complete, duration 339 sec =========================================================== 23:53:38 (1632095618)
PASS sanityn (342s)

the reason of failure:

$ tail -1 sanity-dom.sh 
exit_status "${TMP}/sanity.log ${TMP}/sanityn.log"

if any sanity test fails (test_39r failed in sanity in that session) – ${TMP}/sanity.log not removed, "ONLY=sanityn sh sanity-dom.sh" checks not only ${TMP}/sanityn.log but ${TMP}/sanity.log also, and returns 1 because of sanity/test_39r failure



 Comments   
Comment by Gerrit Updater [ 19/Oct/21 ]

"Elena Gryaznova <elena.gryaznova@hpe.com>" uploaded a new patch: https://review.whamcloud.com/45299
Subject: LU-15061 tests: fix sanity-dom exit status
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 5587a8216e95ac56e9c265972455d2f01c086ecf

Comment by Gerrit Updater [ 03/Nov/21 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45299/
Subject: LU-15061 tests: fix sanity-dom exit status
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 10f10c9a0a69243f41b95c21bd0c46ed96ea530c

Comment by Peter Jones [ 03/Nov/21 ]

Landed for 2.15

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