Bug 175072

Summary: Intermittent exception in buildPageURLForIteration for Buildbot 0.9 dashboard
Product: WebKit Reporter: Aakash Jain <aakash_jain>
Component: Tools / TestsAssignee: Aakash Jain <aakash_jain>
Status: RESOLVED FIXED    
Severity: Normal CC: aakash_jain, ap, commit-queue, dbates, lforschler, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Proposed patch none

Aakash Jain
Reported 2017-08-02 09:29:47 PDT
For buildbot 0.9, few times, dashboard fails to load the builder name to ID mapping (e.g.: intermittent network issue). In such cases buildPageURLForIteration() in dashboard/Scripts/Buildbot.js throws an exception: "TypeError: undefined is not an object (evaluating 'this._builderNameToIDMap[iteration.queue.id]')" This causes the bubbles for those queues to disappear from the dashboard. We should handle such cases gracefully.
Attachments
Proposed patch (1.80 KB, patch)
2017-08-02 09:36 PDT, Aakash Jain
no flags
Aakash Jain
Comment 1 2017-08-02 09:36:36 PDT
Created attachment 316966 [details] Proposed patch
Aakash Jain
Comment 2 2017-08-02 09:54:10 PDT
This issue was uncovered as I was playing around with web server configuration, and a misconfiguration caused network issue while fetching Builder name to ID mapping. Following error was seen in console. "Failed to load resource: The network connection was lost. http://<BUILDBOT09_SERVER_NAME>/api/v2/builders"
WebKit Commit Bot
Comment 3 2017-08-02 10:54:44 PDT
Comment on attachment 316966 [details] Proposed patch Clearing flags on attachment: 316966 Committed r220139: <http://trac.webkit.org/changeset/220139>
WebKit Commit Bot
Comment 4 2017-08-02 10:54:46 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 5 2017-08-02 10:55:56 PDT
Note You need to log in before you can comment on or make changes to this bug.