Bug 122662 - WebGL context sometimes fails to be created, making many tests flaky
Summary: WebGL context sometimes fails to be created, making many tests flaky
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar, MakingBotsRed
Depends on:
Blocks:
 
Reported: 2013-10-11 11:17 PDT by Alexey Proskuryakov
Modified: 2014-07-17 09:39 PDT (History)
8 users (show)

See Also:


Attachments
Add logging (3.81 KB, patch)
2013-12-16 16:49 PST, Alexey Proskuryakov
darin: review-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2013-10-11 11:17:28 PDT
This happens on multiple tests and bots, WebGL context is just null. E.g.: <http://build.webkit.org/results/Apple%20MountainLion%20Release%20WK1%20(Tests)/r157307%20(13730)/compositing/webgl/webgl-background-color-diff.txt>.

Dean, what can be done to narrow this down?
Comment 1 Dean Jackson 2013-10-11 15:19:21 PDT
(In reply to comment #0)

> Dean, what can be done to narrow this down?

I'm not sure. I think I'll have to add some logging to explain why context creation failed... is there a way to enable a logging channel in a test?
Comment 2 Alexey Proskuryakov 2013-10-11 15:28:03 PDT
Regular console logs (stderr) will be preserved, and they can be limited to engineering builds with an ifdef I guess.
Comment 3 Alexey Proskuryakov 2013-12-16 16:08:25 PST
<rdar://problem/15673676
>
Comment 4 Alexey Proskuryakov 2013-12-16 16:49:21 PST
Created attachment 219371 [details]
Add logging

Looks like there is no way to silence the logging in production builds and have it in release ones, so we'll need to remember to remove this.
Comment 5 Darin Adler 2014-07-12 16:44:41 PDT
Comment on attachment 219371 [details]
Add logging

Since this was described as temporary logging and this was 6 months ago, marking review-.
Comment 6 Alexey Proskuryakov 2014-07-17 09:39:35 PDT
Not sure what our plan is for this. Dean?

The particular test mentioned in this bug is still flakily timing out, see <http://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=compositing%2Fwebgl%2Fwebgl-background-color>.