[LU-1779] "skip" inside a test does not report SKIP in Maloo Created: 14/May/12  Updated: 22/Feb/13  Resolved: 25/Oct/12

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.3.0, Lustre 2.4.0, Lustre 2.1.4, Lustre 1.8.9

Type: Bug Priority: Minor
Reporter: Andreas Dilger Assignee: Jian Yu
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-482 Test failure on test suite replay-dua... Resolved
Story Points: 1
Severity: 3
Rank (Obsolete): 2206

 Description   

It seems that tests in ALWAYS_EXCEPT are reported in maloo as "skip ALWAYS excluded test NN". However, if some test is skipped due to an environmental condition (e.g. sanity.sh test_27m, which is testing out-of-space conditions and is skipped during review runs when the filesystem is too large, as in https://maloo.whamcloud.com/sub_tests/78d60ce0-9dc0-11e1-a1d8-52540035b04c) this will print a "SKIP" message in the test, but the test itself is reported as "PASS" Maloo.

It would be more useful if the test were reported in Maloo as "SKIP: sanity test_27m 892015396 > 1400000 skipping out-of-space test on OST0". What does auster/Maloo key on to determine whether a test is SKIP or PASS, and what needs to be done to make the "skip" directive inside a test cause Maloo to report the test as skipped?

The reason this is of interest is because I want the tests skipped because of LU-482 to be clearly flagged as not having been run, rather than pretending the test has passed. The patch in http://review.whamcloud.com/2731 will mark the test with "skip", but until this issue is fixed then the whole replay-dual will appear to be a PASS, even though nothing was run.



 Comments   
Comment by Chris Gearing (Inactive) [ 02/Aug/12 ]

The problem here is that the test framework is reporting PASS in the yaml. We need to make the test framework behave properly.

Comment by Jian Yu [ 29/Aug/12 ]

Patch for master branch: http://review.whamcloud.com/3810

Comment by Jian Yu [ 06/Sep/12 ]

Patch for b2_1 branch: http://review.whamcloud.com/3899

The one for master and b2_3 branches has been landed.

Comment by Andreas Dilger [ 25/Oct/12 ]

Patch landed on b2_1, b2_3, master.

Comment by Jian Yu [ 05/Jan/13 ]

Patch for b1_8 branch: http://review.whamcloud.com/4955

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