Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Issue 1096113003: One more ASAN fix. (Closed)

Created:
5 years, 8 months ago by Stephen White
Modified:
5 years, 8 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

One more ASAN fix. Don't fail the GL validation check if the GL context fails to create. TBR=robertphillips@google.com BUG=skia: Committed: https://skia.googlesource.com/skia/+/409fd66a5afcef5f165f7ccec7c3473add231752

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -1 line) Patch
M tests/GLInterfaceValidationTest.cpp View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 19 (4 generated)
Stephen White
Rob: PTAL. Thanks!
5 years, 8 months ago (2015-04-21 14:33:43 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1096113003/1
5 years, 8 months ago (2015-04-21 14:56:56 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 8 months ago (2015-04-21 15:07:29 UTC) #5
Stephen White
In the interest of green bots, I'm going to land this TBR.
5 years, 8 months ago (2015-04-21 16:05:21 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1096113003/1
5 years, 8 months ago (2015-04-21 16:05:34 UTC) #8
robertphillips
On 2015/04/21 16:05:34, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
5 years, 8 months ago (2015-04-21 16:06:38 UTC) #9
Stephen White
On 2015/04/21 16:06:38, robertphillips wrote: > On 2015/04/21 16:05:34, I haz the power (commit-bot) wrote: ...
5 years, 8 months ago (2015-04-21 16:08:41 UTC) #10
robertphillips
I don't know about that but I've added some people who may.
5 years, 8 months ago (2015-04-21 16:10:32 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://skia.googlesource.com/skia/+/409fd66a5afcef5f165f7ccec7c3473add231752
5 years, 8 months ago (2015-04-21 16:43:11 UTC) #13
borenet
Looks like this CL caused some new bots to turn green: https://uberchromegw.corp.google.com/i/client.skia/builders/Test-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Debug-ASAN https://uberchromegw.corp.google.com/i/client.skia/builders/Test-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-TSAN https://uberchromegw.corp.google.com/i/client.skia/builders/Test-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Debug-UBSAN ...
5 years, 8 months ago (2015-04-21 17:08:26 UTC) #14
Stephen White
On 2015/04/21 17:08:26, borenet wrote: > Looks like this CL caused some new bots to ...
5 years, 8 months ago (2015-04-21 17:56:44 UTC) #15
mtklein
> If ASAN bots are never going to be able to create GL contexts, one ...
5 years, 8 months ago (2015-04-21 18:02:01 UTC) #16
borenet
On 2015/04/21 17:56:44, Stephen White wrote: > On 2015/04/21 17:08:26, borenet wrote: > > Looks ...
5 years, 8 months ago (2015-04-21 18:02:38 UTC) #17
Stephen White
On 2015/04/21 18:02:38, borenet wrote: > On 2015/04/21 17:56:44, Stephen White wrote: > > On ...
5 years, 8 months ago (2015-04-21 18:04:14 UTC) #18
mtklein
5 years, 8 months ago (2015-04-21 18:04:16 UTC) #19
Message was sent while issue was closed.
On 2015/04/21 18:02:38, borenet wrote:
> On 2015/04/21 17:56:44, Stephen White wrote:
> > On 2015/04/21 17:08:26, borenet wrote:
> > > Looks like this CL caused some new bots to turn green:
> > > 
> > >
> >
>
https://uberchromegw.corp.google.com/i/client.skia/builders/Test-Ubuntu-GCC-G...
> > >
> >
>
https://uberchromegw.corp.google.com/i/client.skia/builders/Test-Ubuntu-GCC-G...
> > >
> >
>
https://uberchromegw.corp.google.com/i/client.skia/builders/Test-Ubuntu-GCC-G...
> > > 
> > > ... but it looks like they're just skipping the tests because the GL
context
> > > doesn't get created?  I think we need this assert to make it clear that
> these
> > > bots aren't actually testing anything.
> > 
> > I think the value of this test is that, when we *do* manage to create a GL
> > context, it calls validate() on the interface
> > (line 39). Brian can correct me if I'm wrong.
> > 
> > On non-ASAN bots, removing that call means that if we don't manage to create
a
> > GL context, the test won't fail.
> > (I do think we'll have bigger problems than this one test, however).
> > 
> > If the ASAN bots can't create GL contexts, there's no way we can validate
them
> > anyway.
> > 
> > If ASAN bots are never going to be able to create GL contexts, one
possibility
> > would be to compile them without SK_SUPPORT_GPU,
> > or perhaps just not to run the GPU tests on them, so they don't fail.
> 
> These particular bots just aren't set up correctly yet, and this assertion was
> keeping them red.  I got confused when they suddenly turned green.  Anyway,
> mtklein@ just submitted a change to make DM exit if a particular config can't
be
> run.  That will send these bots back red until they're fixed.

Yes, don't worry, I'll fix things and get those bots broken right away!

Powered by Google App Engine
This is Rietveld 408576698