WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
101976
garden-o-matic doesn't know about reftests
https://bugs.webkit.org/show_bug.cgi?id=101976
Summary
garden-o-matic doesn't know about reftests
Dirk Pranke
Reported
2012-11-12 13:38:11 PST
So, if a reftest fails it shows up as an ImageFailure, and will let you happily rebaseline it. However, NRWT will notice that the test is a reftest, log a warning, and ignore the baselines. I believe the information about whether the test is or isn't a reftest is in results.json, so we probably just need to make the UI aware of it. If not, it certainly would be easy to add.
Attachments
Patch
(7.46 KB, patch)
2012-12-11 17:24 PST
,
Dirk Pranke
no flags
Details
Formatted Diff
Diff
Patch
(7.70 KB, patch)
2012-12-13 16:28 PST
,
Dirk Pranke
eric
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Ojan Vafai
Comment 1
2012-11-12 16:49:26 PST
In the examine view, it doesn't show you the rebaseline button for reftest. If it does, it's a regression. On the main page, it's less clear what to do since multiple tests are grouped together. I suppose we shouldn't show the rebaseline button there either? Also, webkit-patch can check if something is a reftest. It really should never rebaseline reftests. Fixing garden-o-matic is nice, but "webkit-patch rebaseline" should also know about reftests.
Dirk Pranke
Comment 2
2012-11-12 16:58:08 PST
I definitely get the rebaseline button when looking at the examine view under expected failures, so maybe it's just a regression. As you say, it's really a bug if anything tries to rebaseline a reftest, not just garden-o-matic, but it's most important to fix the UI first, IMO.
Dirk Pranke
Comment 3
2012-11-12 16:58:46 PST
i.e., I think garden-o-matic, in addition to *not* showing the rebaseline button, should probably show something indicating that the test is a reftest.
Ojan Vafai
Comment 4
2012-11-12 17:01:32 PST
Yeah. I don't disagree with any of that.
Dirk Pranke
Comment 5
2012-12-11 13:43:52 PST
***
Bug 104713
has been marked as a duplicate of this bug. ***
Dirk Pranke
Comment 6
2012-12-11 17:24:23 PST
Created
attachment 178929
[details]
Patch
Dirk Pranke
Comment 7
2012-12-11 17:25:08 PST
please give me feedback on what good js style would be for this; I don't know the idioms, but this looks pretty crufty.
Ojan Vafai
Comment 8
2012-12-11 19:11:14 PST
Comment on
attachment 178929
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=178929&action=review
> Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:44 > + if (isAnyReftest(testName, resultsByTest)) { > + statusView.addMessage(id, testName + ' is a ref test, skipping'); > + } else {
Nit: single-line if shouldn't have curlies.
> Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:60 > + } else { > + statusView.addFinalMessage(id, 'No tests left to rebaseline!') > + }
Nit: single-line else shouldn't have curlies. Non-nit: maybe make this text more explict? 'No non-reftests to rebaseline.'
> Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:63 > +// FIXME: This is duplicated from ui/results.js :(.
ui.results.js is probably the wrong place for it. Maybe it should just be in results.js (i.e. not in the ui directory) as results.isAnyReftest. Then this code and ui.results.js can both call it? I dunno. I don't have the intended architecture of this stuff fresh in my brain, so not sure if that makes sense. This is fine for now w the FIXME.
Dirk Pranke
Comment 9
2012-12-11 19:39:25 PST
Committed
r137407
: <
http://trac.webkit.org/changeset/137407
>
Dirk Pranke
Comment 10
2012-12-13 15:29:46 PST
Change reverted in
http://trac.webkit.org/changeset/137664
... this totally busted garden-o-matic (the rebaseline button was broken).
Dirk Pranke
Comment 11
2012-12-13 16:28:57 PST
Created
attachment 179371
[details]
Patch
Dirk Pranke
Comment 12
2012-12-13 16:29:41 PST
Eric or Dimitri, can you take a look in both Adam and Ojan's absence?
Dirk Pranke
Comment 13
2012-12-13 20:09:21 PST
(whoops, r+'ed the wrong patch by accident).
Eric Seidel (no email)
Comment 14
2012-12-13 20:09:54 PST
Comment on
attachment 179371
[details]
Patch I'm happy to rs=me, but you probably want someone more qualified to look at this, even if post-facto.
Dirk Pranke
Comment 15
2012-12-14 15:18:00 PST
Committed
r137780
: <
http://trac.webkit.org/changeset/137780
>
Tony Chang
Comment 16
2012-12-20 19:12:38 PST
***
Bug 90765
has been marked as a duplicate of this bug. ***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug