Summary: | If NRWT gets killed halfway through a run, it incorrectly reports tests that weren't run as passes | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ojan Vafai <ojan> | ||||||||
Component: | Tools / Tests | Assignee: | Dirk Pranke <dpranke> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | abarth, dglazkov, dpranke, eric, simonjam, tony | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Attachments: |
|
Description
Ojan Vafai
2012-03-30 15:58:11 PDT
Curious, also in that screenshot is http://build.chromium.org/p/chromium.webkit/builders/Webkit%20Mac10.6/builds/14272 on the mac 10.6 bot. That ran to completion, but didn't run the fast/regions test and showed it as passing. Not sure what the issue is there, but it's definitely a bug (e.g. if we didn't run the test because it was skipped, we shouldn't show it as a PASS). I don't actually know how we treat skipped tests ... I think treating tests that aren't run the same as SKIPs is certainly better than treating them as PASS. However, I'm wondering if we should have some other state to indicate 'skipped due to aborted run' or something. (In reply to comment #2) > I don't actually know how we treat skipped tests ... I think treating tests that aren't run the same as SKIPs is certainly better than treating them as PASS. However, I'm wondering if we should have some other state to indicate 'skipped due to aborted run' or something. I thought about that. At first glance, it doesn't seem worth the extra complexity for such a rare occurrence. The complexity I refer to is not the code so much as having yet another thing that people working with the dashboard need to understand. (In reply to comment #3) > (In reply to comment #2) > > I don't actually know how we treat skipped tests ... I think treating tests that aren't run the same as SKIPs is certainly better than treating them as PASS. However, I'm wondering if we should have some other state to indicate 'skipped due to aborted run' or something. > > I thought about that. At first glance, it doesn't seem worth the extra complexity for such a rare occurrence ... > The complexity I refer to is not the code so much as having yet another thing that people working with the dashboard need to understand. I agree it's probably not worth the complexity in the code. Given that, the user thing becomes moot, but I'm not sure I agree with that part. I wouldn't argue too much one way or another, though. (In reply to comment #1) > Curious, also in that screenshot is http://build.chromium.org/p/chromium.webkit/builders/Webkit%20Mac10.6/builds/14272 on the mac 10.6 bot. That ran to completion, but didn't run the fast/regions test and showed it as passing. Not sure what the issue is there, but it's definitely a bug (e.g. if we didn't run the test because it was skipped, we shouldn't show it as a PASS). Nevermind. This is the same issue. Instead of the buildbot harness killing it, NRWT is itself bailing early because of too many crashes. As I think about this more, I think we *should* upload the results, but treat all the tests we didn't run as skipped. Created attachment 134977 [details]
Patch
Comment on attachment 134977 [details]
Patch
Looks reasonable.
Committed r112805: <http://trac.webkit.org/changeset/112805> This doesn't appear to have actually fixed things. Reopening to take a look. Created attachment 136606 [details]
Patch
Committed r113813: <http://trac.webkit.org/changeset/113813> |