WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
175593
undefined URL in PopoverTracker for failed step
https://bugs.webkit.org/show_bug.cgi?id=175593
Summary
undefined URL in PopoverTracker for failed step
Aakash Jain
Reported
2017-08-15 12:48:10 PDT
When a test step fails (other than layout-test), PopoverTracker in the buildbot 0.9 dashboard links to undefined for that step. It should atleast link to the See <
rdar://problem/33898769
>.
Attachments
Proposed patch
(3.29 KB, patch)
2017-08-15 12:53 PDT
,
Aakash Jain
no flags
Details
Formatted Diff
Diff
Updated patch
(6.21 KB, patch)
2017-08-15 13:57 PDT
,
Aakash Jain
dbates
: review+
Details
Formatted Diff
Diff
Patch for landing
(3.90 KB, patch)
2017-08-15 15:30 PDT
,
Aakash Jain
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Aakash Jain
Comment 1
2017-08-15 12:53:29 PDT
Created
attachment 318153
[details]
Proposed patch
Aakash Jain
Comment 2
2017-08-15 13:57:44 PDT
Created
attachment 318167
[details]
Updated patch Created the URL for the exact step logs page. Even thought the changes in BuildbotTesterQueueView.js are not mandatory for this to work, it is still good to have those changes to handle any unexpected scenario.
Daniel Bates
Comment 3
2017-08-15 14:06:49 PDT
Comment on
attachment 318167
[details]
Updated patch View in context:
https://bugs.webkit.org/attachment.cgi?id=318167&action=review
> Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:316 > + _urlForStep: function(step)
Maybe a better name for this would be stdioURLForStep as this function returns the URL to the stdio page for the step.
> Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:326 > + return this.queue.buildbot.buildPageURLForIteration(this) + "/steps/" + step.number + "/logs/stdio";
I suggest we add a FIXME comment above this line to explain that Buildbot 0.9 should provide this URL in the JSON output for the step as it does in Buildbot versions less than 0.9. Even better we should file a Buildbot bug (if one does not already exist) and reference it in this comment.
> Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:115 > + var url = failedStep.URL ? failedStep.URL : iteration.queue.buildbot.buildPageURLForIteration(iteration);
I suggest we revert this change.
> Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:265 > + else { > + var url = failedStep.URL ? failedStep.URL : iteration.queue.buildbot.buildPageURLForIteration(iteration); > + addResultKind(this._testStepFailureDescriptionWithCount(failedStep), url); > + } > }, this);
Ditto.
Daniel Bates
Comment 4
2017-08-15 14:08:08 PDT
Comment on
attachment 318167
[details]
Updated patch View in context:
https://bugs.webkit.org/attachment.cgi?id=318167&action=review
> Tools/ChangeLog:7 > +
Please explain that this fix is a workaround for a Buildbot 0.9 bug where it does not provide a URL to stdio for a build step. Mention that Buildbot versions less than 0.9 always include a URL to the stdio of the step.
Daniel Bates
Comment 5
2017-08-15 14:08:42 PDT
Comment on
attachment 318167
[details]
Updated patch View in context:
https://bugs.webkit.org/attachment.cgi?id=318167&action=review
> Tools/ChangeLog:4 > +
https://bugs.webkit.org/show_bug.cgi?id=175593
Please add the radar bug URL under this line.
Aakash Jain
Comment 6
2017-08-15 15:30:58 PDT
Created
attachment 318183
[details]
Patch for landing Incorporated review comments.
WebKit Commit Bot
Comment 7
2017-08-15 15:58:21 PDT
Comment on
attachment 318183
[details]
Patch for landing Clearing flags on attachment: 318183 Committed
r220771
: <
http://trac.webkit.org/changeset/220771
>
WebKit Commit Bot
Comment 8
2017-08-15 15:58:22 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 9
2017-08-15 15:59:13 PDT
<
rdar://problem/33906587
>
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