java11 + release progress thread (also: review)

classic Classic list List threaded Threaded
29 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: java11 + release progress thread (also: review)

Wade Walker
Administrator
Wow, I didn't know it was possible to just disable/re-enable the logger like that -- nice find! :)
Reply | Threaded
Open this post in threaded view
|

Re: java11 + release progress thread (also: review)

gouessej
Administrator
In reply to this post by Sven Gothel
Hello

I'm not a big fan of multiple return statements in the same method but it's just a detail. I hope that no change in Java itself will prevent JAWTUtil from working.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: java11 + release progress thread (also: review)

Sven Gothel
Administrator
On 9/4/19 9:02 AM, gouessej [via jogamp] wrote:
> Hello
>
> I'm not a big fan of multiple return statements in the same method
Now you have started a long discussion about the benefits
of the 'goto' statement.

Oh, I love it if used in the right context, like error escape
and scanning token tables like for video/bit stream decoder in ANSI-C :)
But in general, yes I agree of course.

> but it> just a detail. I hope that no change in Java itself will prevent JAWTUtil from
> working.

It is future safe, which hasn't changed.
I.e. in case its to no-avail, there is a "bad working" fall back here.
However, we have other stuff there using internal API details w/o replacement.

It is a compromise for a too rigid and not completely thought through
encapsulation (IMHO). But I don't have the time to wait and debate this
with the responsible OpenJDK parties. Which should be the next thing some day.

~Sven

Reply | Threaded
Open this post in threaded view
|

Re: java11 + release progress thread (also: review)

gouessej
Administrator
Sven Gothel wrote
It is future safe, which hasn't changed.
I.e. in case its to no-avail, there is a "bad working" fall back here.
However, we have other stuff there using internal API details w/o replacement.

It is a compromise for a too rigid and not completely thought through
encapsulation (IMHO). But I don't have the time to wait and debate this
with the responsible OpenJDK parties. Which should be the next thing some day.
I understand your position. Debating this with them will be time consuming.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: java11 + release progress thread (also: review)

Sven Gothel
Administrator
In reply to this post by Sven Gothel
On GNU/Linux - Debian 10: Regression Update
with today's tip from java11 branch.

- Mesa 18.3.6 - Soft: 19 -> 3
- Mesa 18.3.6 - AMD ARUBA: 19 -> 6

Linux Mesa/AMD Classes 6 / 276
=========================================
GL_RENDERER   = AMD ARUBA (DRM 2.50.0 / 4.19.0-5-amd64, LLVM 7.0.1)
GL_VERSION    = 3.1 Mesa 18.3.6

DEADLOCK / FREEZE:
com.jogamp.opengl.test.junit.newt.parenting.TestParenting01dAWT
  at jogamp.opengl.x11.glx.GLX.dispatch_glXMakeContextCurrent0(Native

failed junit classes - failures
com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableNewtCanvasAWTOnOffscrnCapsAWT

failed junit classes - errors
com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT5
com.jogamp.opengl.test.junit.jogl.acore.glels.TestGLContextDrawableSwitch10NEWT

com.jogamp.opengl.test.junit.jogl.acore.glels.TestGLContextDrawableSwitch11NewtAWT

com.jogamp.opengl.test.junit.jogl.newt.TestSwingAWTRobotUsageBeforeJOGLInitBug411
com.jogamp.opengl.test.junit.newt.parenting.TestParenting01dAWT


Linux Mesa/Soft Classes 3 / 276
=========================================
GL_RENDERER   = llvmpipe (LLVM 7.0, 128 bits)
GL_VERSION    = 3.1 Mesa 18.3.6

failed junit classes - failures
com.jogamp.opengl.test.junit.jogl.glsl.TestTransformFeedbackVaryingsBug407NEWT

failed junit classes - errors
com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT5
com.jogamp.opengl.test.junit.jogl.newt.TestSwingAWTRobotUsageBeforeJOGLInitBug411


On 8/23/19 9:58 AM, Sven Gothel [via jogamp] wrote:

> Java 11 Branch Status update.
> =============================
> Build gluegen + joal + jogl on Linux, OSX and Windows.
> Passed gluegen and joal unit tests.
> Issues with jogl unit tests, see below.
>
> <https://jogamp.org/cgit/gluegen.git/log/?h=java11>
> <https://jogamp.org/cgit/joal.git/log/?h=java11>
> <https://jogamp.org/cgit/jogl.git/log/?h=java11>
>
> Linux Mesa/Soft Errors: Classes 19 / 276
> =========================================
>
Reply | Threaded
Open this post in threaded view
|

Re: java11 + release progress thread (also: review)

Sven Gothel
Administrator
I forgot to copy the fixed Mesa related bugs here:

Mesa >= 18.x.y related issues we had.
- https://jogamp.org/bugzilla/show_bug.cgi?id=1385
- https://jogamp.org/bugzilla/show_bug.cgi?id=1390
- https://jogamp.org/bugzilla/show_bug.cgi?id=1391
- https://jogamp.org/bugzilla/show_bug.cgi?id=1392

The Mesa 18.3.6 outstanding freeze on glXMakeCurrent Bug 1386
- https://jogamp.org/bugzilla/show_bug.cgi?id=1386

~Sven

On 9/7/19 4:28 AM, Sven Gothel [via jogamp] wrote:

> On GNU/Linux - Debian 10: Regression Update
> with today's tip from java11 branch.
>
> - Mesa 18.3.6 - Soft: 19 -> 3
> - Mesa 18.3.6 - AMD ARUBA: 19 -> 6
>
> Linux Mesa/AMD Classes 6 / 276
> =========================================
> GL_RENDERER   = AMD ARUBA (DRM 2.50.0 / 4.19.0-5-amd64, LLVM 7.0.1)
> GL_VERSION    = 3.1 Mesa 18.3.6
>
> DEADLOCK / FREEZE:
> com.jogamp.opengl.test.junit.newt.parenting.TestParenting01dAWT
>   at jogamp.opengl.x11.glx.GLX.dispatch_glXMakeContextCurrent0(Native
>
> failed junit classes - failures
> com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableNewtCanvasAWTOnOffscrnCapsAWT
>
>
> failed junit classes - errors
> com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT5
> com.jogamp.opengl.test.junit.jogl.acore.glels.TestGLContextDrawableSwitch10NEWT
>
> com.jogamp.opengl.test.junit.jogl.acore.glels.TestGLContextDrawableSwitch11NewtAWT
>
>
> com.jogamp.opengl.test.junit.jogl.newt.TestSwingAWTRobotUsageBeforeJOGLInitBug411
> com.jogamp.opengl.test.junit.newt.parenting.TestParenting01dAWT
>
>
> Linux Mesa/Soft Classes 3 / 276
> =========================================
> GL_RENDERER   = llvmpipe (LLVM 7.0, 128 bits)
> GL_VERSION    = 3.1 Mesa 18.3.6
>
> failed junit classes - failures
> com.jogamp.opengl.test.junit.jogl.glsl.TestTransformFeedbackVaryingsBug407NEWT
>
> failed junit classes - errors
> com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT5
> com.jogamp.opengl.test.junit.jogl.newt.TestSwingAWTRobotUsageBeforeJOGLInitBug411
>
>
> On 8/23/19 9:58 AM, Sven Gothel [via jogamp] wrote:
>
>> Java 11 Branch Status update.
>> =============================
>> Build gluegen + joal + jogl on Linux, OSX and Windows.
>> Passed gluegen and joal unit tests.
>> Issues with jogl unit tests, see below.
>>
>> <https://jogamp.org/cgit/gluegen.git/log/?h=java11>
>> <https://jogamp.org/cgit/joal.git/log/?h=java11>
>> <https://jogamp.org/cgit/jogl.git/log/?h=java11>
>>
>> Linux Mesa/Soft Errors: Classes 19 / 276
>> =========================================
>>
Reply | Threaded
Open this post in threaded view
|

Re: java11 + release progress thread (also: review)

Sven Gothel
Administrator
In reply to this post by Sven Gothel
Validated against NVidia proprietary driver
and it gives same results as Mesa SOFTWARE.
Good.

So I have to fix the OSX freeze issue before release.

Linux NVidia Classes 3 / 276
=========================================
GL_RENDERER   = GeForce GTX 660/PCIe/SSE2
GL_VERSION    = 4.6.0 NVIDIA 430.40

failed junit classes - failures
com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableNewtCanvasAWTOnOffscrnCapsAWT

failed junit classes - errors
com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT5
com.jogamp.opengl.test.junit.jogl.newt.TestSwingAWTRobotUsageBeforeJOGLInitBug411

~Sven

On 9/7/19 4:28 AM, Sven Gothel [via jogamp] wrote:

> On GNU/Linux - Debian 10: Regression Update
> with today's tip from java11 branch.
>
> - Mesa 18.3.6 - Soft: 19 -> 3
> - Mesa 18.3.6 - AMD ARUBA: 19 -> 6
>
> Linux Mesa/AMD Classes 6 / 276
> =========================================
> GL_RENDERER   = AMD ARUBA (DRM 2.50.0 / 4.19.0-5-amd64, LLVM 7.0.1)
> GL_VERSION    = 3.1 Mesa 18.3.6
>
> DEADLOCK / FREEZE:
> com.jogamp.opengl.test.junit.newt.parenting.TestParenting01dAWT
>   at jogamp.opengl.x11.glx.GLX.dispatch_glXMakeContextCurrent0(Native
>
> failed junit classes - failures
> com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableNewtCanvasAWTOnOffscrnCapsAWT
>
>
> failed junit classes - errors
> com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT5
> com.jogamp.opengl.test.junit.jogl.acore.glels.TestGLContextDrawableSwitch10NEWT
>
> com.jogamp.opengl.test.junit.jogl.acore.glels.TestGLContextDrawableSwitch11NewtAWT
>
>
> com.jogamp.opengl.test.junit.jogl.newt.TestSwingAWTRobotUsageBeforeJOGLInitBug411
> com.jogamp.opengl.test.junit.newt.parenting.TestParenting01dAWT
>
>
> Linux Mesa/Soft Classes 3 / 276
> =========================================
> GL_RENDERER   = llvmpipe (LLVM 7.0, 128 bits)
> GL_VERSION    = 3.1 Mesa 18.3.6
>
> failed junit classes - failures
> com.jogamp.opengl.test.junit.jogl.glsl.TestTransformFeedbackVaryingsBug407NEWT
>
> failed junit classes - errors
> com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT5
> com.jogamp.opengl.test.junit.jogl.newt.TestSwingAWTRobotUsageBeforeJOGLInitBug411
>
>
> On 8/23/19 9:58 AM, Sven Gothel [via jogamp] wrote:
>
>> Java 11 Branch Status update.
>> =============================
>> Build gluegen + joal + jogl on Linux, OSX and Windows.
>> Passed gluegen and joal unit tests.
>> Issues with jogl unit tests, see below.
>>
>> <https://jogamp.org/cgit/gluegen.git/log/?h=java11>
>> <https://jogamp.org/cgit/joal.git/log/?h=java11>
>> <https://jogamp.org/cgit/jogl.git/log/?h=java11>
>>
>> Linux Mesa/Soft Errors: Classes 19 / 276
>> =========================================
>>
Reply | Threaded
Open this post in threaded view
|

Re: java11 + release progress thread (also: review)

Sven Gothel
Administrator
In reply to this post by Sven Gothel
On MacOS 10.14.6 - OpenJDK11: Regression Update
with today's tip from java11 branch.

MacOS 10.14.6 freezes 0 / 273 (Bug 1393: resolved)
====================================

MacOS 10.14.6 crashes sigsegv 0 / 273 (Bug 1389: resolved)
===========================================================

MacOS 10.14.6 errors 8 / 273
====================================
failed junit classes - failures
com.jogamp.opengl.test.junit.newt.TestDisplayLifecycle02NEWT
com.jogamp.opengl.test.junit.newt.event.TestParentingFocus02SwingAWTRobot
com.jogamp.opengl.test.junit.newt.parenting.TestParenting01NEWT

failed junit classes - errors
com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT5
com.jogamp.opengl.test.junit.jogl.awt.TestBug1245JTabbedPanelCrashAWT
com.jogamp.opengl.test.junit.jogl.awt.TestBug664GLCanvasSetVisibleSwingAWT
com.jogamp.opengl.test.junit.jogl.demos.es2.newt.TestGearsES2NewtCanvasAWT
com.jogamp.opengl.test.junit.jogl.newt.TestSwingAWTRobotUsageBeforeJOGLInitBug411

Bugs resolved:
https://jogamp.org/bugzilla//show_bug.cgi?id=1370 (for reference)
https://jogamp.org/bugzilla//show_bug.cgi?id=1389
https://jogamp.org/bugzilla//show_bug.cgi?id=1393

+++

Summary

This brings down the total regressions to a good
minimum on all platforms and removed all freezes,
allowing official unit testing again via our
jenkins.

I will manually check above MacOS issues once more,
then need to address

- Android build

- JOCL module

~Sven

On 8/23/19 9:58 AM, Sven Gothel [via jogamp] wrote:

> Java 11 Branch Status update.
> =============================
> Build gluegen + joal + jogl on Linux, OSX and Windows.
> Passed gluegen and joal unit tests.
> Issues with jogl unit tests, see below.
>
> <https://jogamp.org/cgit/gluegen.git/log/?h=java11>
> <https://jogamp.org/cgit/joal.git/log/?h=java11>
> <https://jogamp.org/cgit/jogl.git/log/?h=java11>
>
> JogAmp-Tests-Java11-20190823
> ====================================
>
> MacOS 10.14.6 freezes 3 / 273
> ====================================
> (same reason)
>
> MacOS 10.14.6 crashes sigsegv 97 / 273
> =======================================
> (same reason)
>
> MacOS 10.14.6 errors 98 / 273
> ====================================
>
> Linux Mesa/AMD
> ====================================
> Bug 1386
>
> Linux Mesa/Soft Errors: Classes 19 / 276
> =========================================
>
> Windows failed junit classes - errors 4 / 273
> ==================================================
>
Reply | Threaded
Open this post in threaded view
|

Re: java11 + release progress thread (also: review)

Sven Gothel
Administrator
Attaching the total test summary here:

JogAmp-Tests-Java11-20190909
====================================

MacOS 10.14.6 freezes 0 / 273 (Bug 1393: resolved)
====================================

MacOS 10.14.6 crashes sigsegv 0 / 273 (Bug 1389: resolved)
===========================================================

MacOS 10.14.6 errors 8 / 273
====================================
    failed junit classes - failures
    com.jogamp.opengl.test.junit.newt.TestDisplayLifecycle02NEWT
    com.jogamp.opengl.test.junit.newt.event.TestParentingFocus02SwingAWTRobot
    com.jogamp.opengl.test.junit.newt.parenting.TestParenting01NEWT

    failed junit classes - errors
    com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT5
    com.jogamp.opengl.test.junit.jogl.awt.TestBug1245JTabbedPanelCrashAWT
    com.jogamp.opengl.test.junit.jogl.awt.TestBug664GLCanvasSetVisibleSwingAWT
    com.jogamp.opengl.test.junit.jogl.demos.es2.newt.TestGearsES2NewtCanvasAWT

com.jogamp.opengl.test.junit.jogl.newt.TestSwingAWTRobotUsageBeforeJOGLInitBug411

+++

Linux Mesa/AMD
====================================
Bug 1386

Linux Mesa/AMD Classes 6 / 276
=========================================
GL_RENDERER   = AMD ARUBA (DRM 2.50.0 / 4.19.0-5-amd64, LLVM 7.0.1)
GL_VERSION    = 3.1 Mesa 18.3.6

    FREEZE: at
jogamp.opengl.x11.glx.GLX.dispatch_glXMakeContextCurrent0(Native Method)
        com.jogamp.opengl.test.junit.newt.parenting.TestParenting01dAWT
test01GLWindowReparentRecreateNoPreserve

    failed junit classes - failures

com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableNewtCanvasAWTOnOffscrnCapsAWT

    failed junit classes - errors
    com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT5

com.jogamp.opengl.test.junit.jogl.acore.glels.TestGLContextDrawableSwitch10NEWT

com.jogamp.opengl.test.junit.jogl.acore.glels.TestGLContextDrawableSwitch11NewtAWT

com.jogamp.opengl.test.junit.jogl.newt.TestSwingAWTRobotUsageBeforeJOGLInitBug411
    com.jogamp.opengl.test.junit.newt.parenting.TestParenting01dAWT

Linux Mesa/Soft Classes 3 / 276
=========================================
GL_RENDERER   = llvmpipe (LLVM 7.0, 128 bits)
GL_VERSION    = 3.1 Mesa 18.3.6

    failed junit classes - failures
    com.jogamp.opengl.test.junit.jogl.glsl.TestTransformFeedbackVaryingsBug407NEWT

    failed junit classes - errors
    com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT5

com.jogamp.opengl.test.junit.jogl.newt.TestSwingAWTRobotUsageBeforeJOGLInitBug411

Linux NVidia Classes 3 / 276
=========================================
GL_RENDERER   = GeForce GTX 660/PCIe/SSE2
GL_VERSION    = 4.6.0 NVIDIA 430.40

    failed junit classes - failures

com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableNewtCanvasAWTOnOffscrnCapsAWT

    failed junit classes - errors
    com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT5

com.jogamp.opengl.test.junit.jogl.newt.TestSwingAWTRobotUsageBeforeJOGLInitBug411

+++

Windows 10 NVidia Classes 3 / 276
===================================
failed junit classes - failures

failed junit classes - errors
com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT5
com.jogamp.opengl.test.junit.jogl.newt.TestSwingAWTRobotUsageBeforeJOGLInitBug411
com.jogamp.opengl.test.junit.newt.event.TestNewtKeyCodesAWT

JogAmp-Tests-Java11-20190909.txt (3K) Download Attachment
12