Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-1779

"skip" inside a test does not report SKIP in Maloo

Details

    • 1
    • 3
    • 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.

      Attachments

        Issue Links

          Activity

            [LU-1779] "skip" inside a test does not report SKIP in Maloo
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 1.8.9 [ 10204 ]
            yujian Jian Yu made changes -
            Labels Original: mu113
            pjones Peter Jones made changes -
            Labels New: mu113
            adilger Andreas Dilger made changes -
            Fix Version/s New: Lustre 2.1.4 [ 10158 ]
            Fix Version/s New: Lustre 2.3.0 [ 10117 ]
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.4.0 [ 10154 ]
            Fix Version/s Original: Lustre 2.3.0 [ 10117 ]
            jlevi Jodi Levi (Inactive) made changes -
            Fix Version/s New: Lustre 2.3.0 [ 10117 ]
            yujian Jian Yu made changes -
            Status Original: Open [ 1 ] New: In Progress [ 3 ]
            adilger Andreas Dilger made changes -
            Key Original: LLNL-21 New: LU-1779
            Project Original: LLNL [ 10010 ] New: Lustre [ 10000 ]
            chris Chris Gearing (Inactive) made changes -
            Assignee Original: Chris Gearing [ chris ] New: Jian Yu [ yujian ]
            chris Chris Gearing (Inactive) made changes -
            Component/s Original: Maloo [ 10010 ]
            Key Original: TT-554 New: LLNL-21
            Project Original: Test Tools [ 10052 ] New: LLNL [ 10010 ]
            Workflow Original: jira [ 14476 ] New: Sub-task Blocking [ 15515 ]

            People

              yujian Jian Yu
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: