You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Lots of rendering tests are failing in android-mason branch #692
Finally found a little time to start looking into this, the rendering tests failures are only present when BUILDTYPE=Debug is set, everything looks correct on regular builds.
@mikemorris another difference between release and debug I can think of is that debug uses a debug GL context. It is possible that it is doing validation.
I still need to add lots of glGetError checks, have an issue open for that.
@ljbade Yes, mapbox-gl-native tests are still failing under BUILDTYPE=Debug with those asserts disabled (asserts only get tripped when running through Node.js bindings). Debug GL context could be a good spot to check out.
Tried swapping the setAppliedClasses functionality back to what it was before - no changes in test failures. Swapping MBGL_CHECK_ERROR to the Release version didn't fix anything either.
Yep, definitely recompiled, didn't fix anything. I'm gonna try methodically going through all the changes outside the android/ directory today to see if i can pinpoint it.
I'm seeing the exact same failures between master and android-mason with BUILDTYPE=Debug now too, whatever was previously causing this seems to have been fixed.
Activity
ljbade commentedon Dec 6, 2014
Travis does not run the rendering tests on OSX so I can't look at this until Travis runs the tests.
ljbade commentedon Dec 6, 2014
On Linux in master all the line width tests seem to fail.
However the background colour tests are fine on Linux in both master and android-mason so it must be an OSX problem.
ljbade commentedon Dec 6, 2014
Thanks to @jfirebaugh we know that OSX Travis does not support GL.
This leaves me stuck as I do not have OSX and the tests only seem to fail on OSX.
@mikemorris It looks like you will have to fix them for me.
ljbade commentedon Dec 8, 2014
@jfirebaugh response from Travis re GL on OSX:
ljbade commentedon Dec 8, 2014
According to @kkaefer we shouldn't use glxinfo, and we don't use X11 on OSX anyway, just CGL
ljbade commentedon Dec 8, 2014
I have fixed up the CGL error checking in cache-shaders <- realised I need to change the branch name
I will see what the actual error is.
mikemorris commentedon Dec 8, 2014
Finally found a little time to start looking into this, the rendering tests failures are only present when
BUILDTYPE=Debugis set, everything looks correct on regular builds.mikemorris commentedon Dec 8, 2014
Confirmed that unexpected test failures are not present on
masterbranch withBUILDTYPE=Debugljbade commentedon Dec 8, 2014
@mikemorris Hmm interesting, you don't see any sign of failing asserts?
mikemorris commentedon Dec 8, 2014
@ljbade Merged in the
uv-disable-assertbranch I'm currently using for Node.js bindings and ran tests against that https://github.com/mapbox/mapbox-gl-native/tree/android-disable-assertljbade commentedon Dec 9, 2014
@mikemorris do the tests still fail on OSX with the disabled asserts?
ljbade commentedon Dec 9, 2014
@mikemorris another difference between release and debug I can think of is that debug uses a debug GL context. It is possible that it is doing validation.
I still need to add lots of glGetError checks, have an issue open for that.
mikemorris commentedon Dec 9, 2014
@ljbade Yes,
mapbox-gl-nativetests are still failing underBUILDTYPE=Debugwith those asserts disabled (asserts only get tripped when running through Node.js bindings). Debug GL context could be a good spot to check out.ljbade commentedon Dec 10, 2014
Perhaps the test runner should check for GL errors after a test to make sure there wasn't anything bad.
8 remaining items
mikemorris commentedon Dec 11, 2014
Actually not sure, we should probably add that info to the test log.
EDIT: Added. Gist with test fixture names https://gist.github.com/mikemorris/c1d1a5ad099f8831fee3
mikemorris commentedon Dec 11, 2014
Tried swapping the
setAppliedClassesfunctionality back to what it was before - no changes in test failures. SwappingMBGL_CHECK_ERRORto theReleaseversion didn't fix anything either.ljbade commentedon Dec 12, 2014
Must be something else.
ljbade commentedon Dec 12, 2014
You dud run make again right?
mikemorris commentedon Dec 12, 2014
Yep, definitely recompiled, didn't fix anything. I'm gonna try methodically going through all the changes outside the
android/directory today to see if i can pinpoint it.ljbade commentedon Dec 18, 2014
@mikemorris Did you have any luck with pinpointing the change?
mikemorris commentedon Dec 22, 2014
@ljbade Not yet, still seeing this in
Debugbuildsljbade commentedon Dec 22, 2014
:-(
ljbade commentedon Jan 9, 2015
@mikemorris at some stage I am gonna have to work with you to get to the bottom of this, or prehaps I should join the dark side (buy a Mac).
ljbade commentedon Jan 21, 2015
@mikemorris OK I ran debug tests.
I get the same 43 failures on
masterasandroid-masonwhich I indicated nothing is broken in my code.Can you re-run and confirm you get the same failures?
Here is my test log to compare: https://gist.github.com/ljbade/74f919eb2036babe15f1
mikemorris commentedon Jan 21, 2015
I'm seeing the exact same failures between
masterandandroid-masonwithBUILDTYPE=Debugnow too, whatever was previously causing this seems to have been fixed.ljbade commentedon Jan 21, 2015
So close to merge now, I can taste it!