Bug 170158 - Fix dashboard test results on the dashboard
Summary: Fix dashboard test results on the dashboard
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alexey Proskuryakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-27 19:40 PDT by Alexey Proskuryakov
Modified: 2017-03-28 18:31 PDT (History)
7 users (show)

See Also:


Attachments
proposed fix (5.52 KB, patch)
2017-03-27 20:31 PDT, Alexey Proskuryakov
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2017-03-27 19:40:59 PDT
- El Capitan test results are currently yellow, because dashboard tests fail there.

- Link to dashboard test results points to stdio, which is not useful for these.
Comment 1 Jason Marcell 2017-03-27 20:09:52 PDT
The following commits broke the botwatcher's dashboard unit tests.

https://bugs.webkit.org/show_bug.cgi?id=156595
https://bugs.webkit.org/show_bug.cgi?id=157680

I'm working with the authors of these commits to resolve the unit tests. 

You can run the tests in a headless terminal sessions via WebKitTestRunner as follows:

run-dashboard-tests

You can also run the tests in Safari:

open ./Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index.html
Comment 2 Jason Marcell 2017-03-27 20:12:02 PDT
(In reply to Alexey Proskuryakov from comment #0)
> - Link to dashboard test results points to stdio, which is not useful for
> these.

I followed the same convention as the layout tests. There is a link that shows a diff of expected vs. actual.
Comment 3 Jason Marcell 2017-03-27 20:13:59 PDT
(In reply to Jason Marcell from comment #2)
> (In reply to Alexey Proskuryakov from comment #0)
> > - Link to dashboard test results points to stdio, which is not useful for
> > these.
> 
> I followed the same convention as the layout tests. There is a link that
> shows a diff of expected vs. actual.

e.g. https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20(Tests)/r214433%20(174)/dashboard-layout-test-results/results.html
Comment 4 Alexey Proskuryakov 2017-03-27 20:31:27 PDT
Created attachment 305554 [details]
proposed fix
Comment 5 Alexey Proskuryakov 2017-03-27 20:34:36 PDT
> I'm working with the authors of these commits to resolve the unit tests. 

Do you expect that this will happen soon (tomorrow)? If not, we should hide dashboard test results, so that the dashboard is not constantly red.
Comment 6 Jason Marcell 2017-03-27 20:39:23 PDT
(In reply to Alexey Proskuryakov from comment #5)
> > I'm working with the authors of these commits to resolve the unit tests. 
> 
> Do you expect that this will happen soon (tomorrow)? If not, we should hide
> dashboard test results, so that the dashboard is not constantly red.

I doubt it will be fixed tomorrow. Hiding the results sounds fine. I didn't even know we could do that!
Comment 7 Alexey Proskuryakov 2017-03-27 20:46:35 PDT
I don't think that there is existing support for hiding a step, we would need to add a temporary hack to the dashboard. Or it may be easier to mark the step as "hidden" in buildbot itself - the dashboard already checks for that.

Would you be willing to look into that? I'm unlikely to have another opportunity to look at the code until Wednesday at best.
Comment 8 Jason Marcell 2017-03-27 20:51:00 PDT
(In reply to Alexey Proskuryakov from comment #7)
> I don't think that there is existing support for hiding a step, we would
> need to add a temporary hack to the dashboard. Or it may be easier to mark
> the step as "hidden" in buildbot itself - the dashboard already checks for
> that.
> 
> Would you be willing to look into that? I'm unlikely to have another
> opportunity to look at the code until Wednesday at best.

Yep. No problem.
Comment 9 Aakash Jain 2017-03-28 13:23:24 PDT
(In reply to Alexey Proskuryakov from comment #5)
> Do you expect that this will happen soon (tomorrow)?

I have fixed all the dashboard tests, pending review(170191 and 170193).
Comment 10 Jason Marcell 2017-03-28 16:51:00 PDT
I think we need to update Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index-expected.txt
Comment 11 Jason Marcell 2017-03-28 17:05:01 PDT
https://bugs.webkit.org/show_bug.cgi?id=170214
Comment 12 WebKit Commit Bot 2017-03-28 18:31:32 PDT
Comment on attachment 305554 [details]
proposed fix

Clearing flags on attachment: 305554

Committed r214512: <http://trac.webkit.org/changeset/214512>
Comment 13 WebKit Commit Bot 2017-03-28 18:31:35 PDT
All reviewed patches have been landed.  Closing bug.