Closed Bug 981856 Opened 10 years ago Closed 10 years ago

WebGL tests fail on AWS

Categories

(Testing :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(firefox29 wontfix, firefox30 fixed, b2g18 ?, b2g-v1.2 fixed, b2g-v1.3 fixed, b2g-v1.3T fixed, b2g-v1.4 fixed, b2g-v2.0 unaffected)

RESOLVED FIXED
mozilla30
Tracking Status
firefox29 --- wontfix
firefox30 --- fixed
b2g18 --- ?
b2g-v1.2 --- fixed
b2g-v1.3 --- fixed
b2g-v1.3T --- fixed
b2g-v1.4 --- fixed
b2g-v2.0 --- unaffected

People

(Reporter: jrmuizel, Assigned: jrmuizel)

References

Details

Attachments

(1 file)

This is what we get:

11:53:49     INFO -  03-10 18:21:04.698   668   668 E EGL_emulation: rcCreateWindowSurface returned 0
11:53:49     INFO -  03-10 18:21:04.698   668   668 E EGL_emulation: tid 668: eglCreatePbufferSurface(687): error 0x3003 (EGL_BAD_ALLOC)
Depends on: 965429
Comment on attachment 8390800 [details] [diff] [review]
Don't ask for 565

Review of attachment 8390800 [details] [diff] [review]:
-----------------------------------------------------------------

llvmpipe seems to give out 565 configs that it can't actually make PBuffers for. This patch avoids that.
Attachment #8390800 - Flags: review?(jgilbert)
Pushed it to Elm to see early results:
https://tbpl.mozilla.org/?tree=Elm&jobname=b2g
Comment on attachment 8390800 [details] [diff] [review]
Don't ask for 565

Review of attachment 8390800 [details] [diff] [review]:
-----------------------------------------------------------------

I really don't like papering over these issues.

However, in this case, I'm fine with taking this patch for a different reason: WebGL requires 8-bit color-channels, so we shouldn't accept 565 anyways.
Attachment #8390800 - Flags: review?(jgilbert) → review+
(In reply to Jeff Muizelaar [:jrmuizel] from comment #2)
> Comment on attachment 8390800 [details] [diff] [review]
> Don't ask for 565
> 
> Review of attachment 8390800 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> llvmpipe seems to give out 565 configs that it can't actually make PBuffers
> for. This patch avoids that.

Please link to the bug report made against llvmpipe.
Flags: needinfo?(jmuizelaar)
(In reply to Jeff Gilbert [:jgilbert] from comment #5)
> (In reply to Jeff Muizelaar [:jrmuizel] from comment #2)
> > Comment on attachment 8390800 [details] [diff] [review]
> > Don't ask for 565
> > 
> > Review of attachment 8390800 [details] [diff] [review]:
> > -----------------------------------------------------------------
> > 
> > llvmpipe seems to give out 565 configs that it can't actually make PBuffers
> > for. This patch avoids that.
> 
> Please link to the bug report made against llvmpipe.

This doesn't happen with current llvmpipe, just with old version that we're using on the AWS machines.
Flags: needinfo?(jmuizelaar)
https://hg.mozilla.org/mozilla-central/rev/664df0574f11
Assignee: nobody → jmuizelaar
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
Comment on attachment 8390800 [details] [diff] [review]
Don't ask for 565

[Approval Request Comment]
Bug caused by (feature/regressing bug #): Switching to AWS test machines
User impact if declined: All of the webgl tests will fail on the AWS test machines
Testing completed: Has been on m-c for two weeks. 
Risk to taking this patch (and alternatives if risky): Quite limited, this code is exercised when ever we create a webgl context. If it breaks all of WebGL will be broken so it should be pretty noticeable.
Attachment #8390800 - Flags: approval-mozilla-b2g26?
Attachment #8390800 - Flags: approval-mozilla-b2g18?
Flags: needinfo?(jmuizelaar)
(In reply to Jeff Muizelaar [:jrmuizel] from comment #10)
> Comment on attachment 8390800 [details] [diff] [review]
> Don't ask for 565
> 
> [Approval Request Comment]
> Bug caused by (feature/regressing bug #): Switching to AWS test machines
> User impact if declined: All of the webgl tests will fail on the AWS test
> machines
> Testing completed: Has been on m-c for two weeks. 
> Risk to taking this patch (and alternatives if risky): Quite limited, this
> code is exercised when ever we create a webgl context. If it breaks all of
> WebGL will be broken so it should be pretty noticeable.

There is no manual testing going-on for the builds generated from b2g18/b2g26, so will the failures be obvious by automation ?
Also these branches are strictly restricted to security uplifts and this exception is being made due to   infra change and assuming this is transparent to end user impact.
Flags: needinfo?(jmuizelaar)
(In reply to bhavana bajaj [:bajaj] from comment #11)
> 
> There is no manual testing going-on for the builds generated from
> b2g18/b2g26, so will the failures be obvious by automation ?

Yes I expect so.

> Also these branches are strictly restricted to security uplifts and this
> exception is being made due to   infra change and assuming this is
> transparent to end user impact.

Yeah, it is unfortunate this change needs to be made, but I think the cost of maintaining the old system far out weighs the risk that this change introduces.
Flags: needinfo?(jmuizelaar)
Attachment #8390800 - Flags: approval-mozilla-b2g26?
Attachment #8390800 - Flags: approval-mozilla-b2g26+
Attachment #8390800 - Flags: approval-mozilla-b2g18?
Attachment #8390800 - Flags: approval-mozilla-b2g18+
The tests in this bug don't exist on b2g26/b2g18, so I assume ignoring those hunks is fine. Also, this didn't apply to b2g18 because bug 716859 never landed there. On the other hand, we only run reftest-sanity there anyway, so do we care?

https://hg.mozilla.org/releases/mozilla-b2g26_v1_2/rev/c88078199277
status-b2g18: --- → ?
Flags: needinfo?(jmuizelaar)
(In reply to Ryan VanderMeulen [:RyanVM UTC-4] from comment #15)
> The tests in this bug don't exist on b2g26/b2g18, so I assume ignoring those
> hunks is fine. Also, this didn't apply to b2g18 because bug 716859 never
> landed there. On the other hand, we only run reftest-sanity there anyway, so
> do we care?
> 
> https://hg.mozilla.org/releases/mozilla-b2g26_v1_2/rev/c88078199277

If things are green then we have no problems.
Flags: needinfo?(jmuizelaar)
(In reply to Ryan VanderMeulen [:RyanVM UTC-4] from comment #15)
> The tests in this bug don't exist on b2g26/b2g18, so I assume ignoring those
> hunks is fine. Also, this didn't apply to b2g18 because bug 716859 never
> landed there. On the other hand, we only run reftest-sanity there anyway, so
> do we care?
> 
> https://hg.mozilla.org/releases/mozilla-b2g26_v1_2/rev/c88078199277

Let's ignore b2g18. My apologies if I asked to land the patches there as well.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: