Regression

com.jogamp.opengl.test.junit.newt.event.TestParentingFocus01SwingAWTRobot.testFocus02RobotFocus

Failing for the past 1 build (Since Unstable#1469 )
Took 2.3 sec.

Stacktrace

junit.framework.AssertionFailedError
	at com.jogamp.opengl.test.junit.newt.event.TestParentingFocus01SwingAWTRobot.testFocus01ProgrFocusImpl(TestParentingFocus01SwingAWTRobot.java:153)
	at com.jogamp.opengl.test.junit.newt.event.TestParentingFocus01SwingAWTRobot.testFocus02RobotFocus(TestParentingFocus01SwingAWTRobot.java:98)

Standard Error

++++ Test Singleton.ctor()
++++ Test Singleton.lock()
SLOCK [T main @ 1444442899439 ms III localhost/127.0.0.1:59999 - Wait for lock
SLOCK [T SingletonServerSocket1-localhost/127.0.0.1:59999 @ 1444442900953 ms III - Start
SLOCK [T main @ 1444442900954 ms +++ localhost/127.0.0.1:59999 - Locked within 1522 ms, 4 attempts
++++ TestCase.setUp: com.jogamp.opengl.test.junit.newt.event.TestParentingFocus01SwingAWTRobot - testFocus01ProgrFocus
FOCUS NEWT GAINED [fc 1]: GLWindow1, WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[source:jogamp.newt.driver.macosx.WindowDriver, consumed false, when:1444442903142 d 0ms]]
Thread[main-Display-.macosx_nil-1-EDT-1,5,main] RedSquareES2.init: tileRendererInUse null
RedSquareES2 init on Thread[main-Display-.macosx_nil-1-EDT-1,5,main]
Chosen GLCapabilities: GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw], offscr[fbo]]
INIT GL IS: jogamp.opengl.gl4.GL4bcImpl
Swap Interval  0
GL Profile     GLProfile[GL2/GL2.hw]
GL Version     2.1 (Compat profile, arb, compat[], FBO, hardware) - 2.1 INTEL-10.6.33 [GL 2.1.0, vendor 10.6.33 (INTEL-10.6.33)]
Quirks         [NoOffscreenBitmap, GL4NeedsGL3Request, NeedSharedObjectSync]
Impl. class    jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR      Intel Inc.
GL_RENDERER    Intel Iris OpenGL Engine
GL_VERSION     2.1 INTEL-10.6.33
GLSL           true, has-compiler-func: true, version: 1.20 / 1.20.0
GL FBO: basic true, full true
GL_EXTENSIONS  128
GLX_EXTENSIONS 0
-----------------------------------------------------------------------------------------------------
ShaderState: attachShaderProgram: -1 -> 1 (enable: true)
	null
	ShaderProgram[id=1, linked=false, inUse=false, program: 1,
   ShaderCode[id=1, type=VERTEX_SHADER, valid=true, shader:  2, source]
   ShaderCode[id=2, type=FRAGMENT_SHADER, valid=true, shader:  3, source]]
Thread[main-Display-.macosx_nil-1-EDT-1,5,main] RedSquareES2.init FIN
Thread[main-Display-.macosx_nil-1-EDT-1,5,main] RedSquareES2.reshape 0/0 640x429 of 640x429, swapInterval 1, drawable 0x7f94ff13f4d0, tileRendererInUse null
Thread[main-Display-.macosx_nil-1-EDT-1,5,main] RedSquareES2.reshape FIN
Thread[AWT-EventQueue-0,6,main] RedSquareES2.reshape 0/0 640x429 of 640x429, swapInterval 1, drawable 0x7f94ff13f4d0, tileRendererInUse null
Thread[AWT-EventQueue-0,6,main] RedSquareES2.reshape FIN
******** clearAWTFocus.0
******** clearAWTFocus.X
toFront: robot pos: 320/263
*** AWTRobotUtil.toFrontAndRequestFocus() UI failure
*** window: javax.swing.JFrame[frame0,0,23,640x480,layout=java.awt.BorderLayout,title=Swing AWT Parent Frame: testNewtChildFocus,resizable,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,0,22,640x458,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
*** window.hasFocus(): false
    [2]: com.jogamp.opengl.test.junit.util.AWTRobotUtil.toFrontAndRequestFocus(AWTRobotUtil.java:235)
    [3]: com.jogamp.opengl.test.junit.newt.event.TestParentingFocus01SwingAWTRobot.testFocus01ProgrFocusImpl(TestParentingFocus01SwingAWTRobot.java:153)
    [4]: com.jogamp.opengl.test.junit.newt.event.TestParentingFocus01SwingAWTRobot.testFocus01ProgrFocus(TestParentingFocus01SwingAWTRobot.java:91)
    [5]: sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [6]: sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    [7]: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [8]: java.lang.reflect.Method.invoke(Method.java:497)
    [9]: org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
    [10]: org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    [11]: org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    [12]: org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    [13]: org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    [14]: org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    [15]: org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
    [16]: org.junit.rules.RunRules.evaluate(RunRules.java:20)
    [17]: org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    [18]: org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    [19]: org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    [20]: org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    [21]: org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    [22]: org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    [23]: org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    [24]: org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    [25]: org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    [26]: org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    [27]: org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    [28]: junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38)
    [29]: org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
    [30]: org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
    [31]: org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)
++++ TestCase.tearDown: com.jogamp.opengl.test.junit.newt.event.TestParentingFocus01SwingAWTRobot - testFocus01ProgrFocus
++++ TestCase.setUp: com.jogamp.opengl.test.junit.newt.event.TestParentingFocus01SwingAWTRobot - testFocus02RobotFocus
FOCUS NEWT GAINED [fc 1]: GLWindow1, WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[source:jogamp.newt.driver.macosx.WindowDriver, consumed false, when:1444442905615 d 0ms]]
Thread[main-Display-.macosx_nil-1-EDT-1,5,main] RedSquareES2.init: tileRendererInUse null
RedSquareES2 init on Thread[main-Display-.macosx_nil-1-EDT-1,5,main]
Chosen GLCapabilities: GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw], offscr[fbo]]
INIT GL IS: jogamp.opengl.gl4.GL4bcImpl
Swap Interval  0
GL Profile     GLProfile[GL2/GL2.hw]
GL Version     2.1 (Compat profile, arb, compat[], FBO, hardware) - 2.1 INTEL-10.6.33 [GL 2.1.0, vendor 10.6.33 (INTEL-10.6.33)]
Quirks         [NoOffscreenBitmap, GL4NeedsGL3Request, NeedSharedObjectSync]
Impl. class    jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR      Intel Inc.
GL_RENDERER    Intel Iris OpenGL Engine
GL_VERSION     2.1 INTEL-10.6.33
GLSL           true, has-compiler-func: true, version: 1.20 / 1.20.0
GL FBO: basic true, full true
GL_EXTENSIONS  128
GLX_EXTENSIONS 0
-----------------------------------------------------------------------------------------------------
ShaderState: attachShaderProgram: -1 -> 2 (enable: true)
	null
	ShaderProgram[id=2, linked=false, inUse=false, program: 1,
   ShaderCode[id=3, type=VERTEX_SHADER, valid=true, shader:  2, source]
   ShaderCode[id=4, type=FRAGMENT_SHADER, valid=true, shader:  3, source]]
Thread[main-Display-.macosx_nil-1-EDT-1,5,main] RedSquareES2.init FIN
Thread[main-Display-.macosx_nil-1-EDT-1,5,main] RedSquareES2.reshape 0/0 640x429 of 640x429, swapInterval 1, drawable 0x7f94ff4b82a0, tileRendererInUse null
Thread[main-Display-.macosx_nil-1-EDT-1,5,main] RedSquareES2.reshape FIN
Thread[AWT-EventQueue-0,6,main] RedSquareES2.reshape 0/0 640x429 of 640x429, swapInterval 1, drawable 0x7f94ff4b82a0, tileRendererInUse null
Thread[AWT-EventQueue-0,6,main] RedSquareES2.reshape FIN
******** clearAWTFocus.0
******** clearAWTFocus.X
toFront: robot pos: 320/263
*** AWTRobotUtil.toFrontAndRequestFocus() UI failure
*** window: javax.swing.JFrame[frame1,0,23,640x480,layout=java.awt.BorderLayout,title=Swing AWT Parent Frame: testNewtChildFocus,resizable,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,0,22,640x458,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
*** window.hasFocus(): false
    [2]: com.jogamp.opengl.test.junit.util.AWTRobotUtil.toFrontAndRequestFocus(AWTRobotUtil.java:235)
    [3]: com.jogamp.opengl.test.junit.newt.event.TestParentingFocus01SwingAWTRobot.testFocus01ProgrFocusImpl(TestParentingFocus01SwingAWTRobot.java:153)
    [4]: com.jogamp.opengl.test.junit.newt.event.TestParentingFocus01SwingAWTRobot.testFocus02RobotFocus(TestParentingFocus01SwingAWTRobot.java:98)
    [5]: sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [6]: sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    [7]: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [8]: java.lang.reflect.Method.invoke(Method.java:497)
    [9]: org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
    [10]: org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    [11]: org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    [12]: org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    [13]: org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    [14]: org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    [15]: org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
    [16]: org.junit.rules.RunRules.evaluate(RunRules.java:20)
    [17]: org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    [18]: org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    [19]: org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    [20]: org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    [21]: org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    [22]: org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    [23]: org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    [24]: org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    [25]: org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    [26]: org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    [27]: org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    [28]: junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38)
    [29]: org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
    [30]: org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
    [31]: org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)
++++ TestCase.tearDown: com.jogamp.opengl.test.junit.newt.event.TestParentingFocus01SwingAWTRobot - testFocus02RobotFocus
++++ Test Singleton.unlock()
SLOCK [T SingletonServerSocket1-localhost/127.0.0.1:59999 @ 1444442907997 ms III - Stopping: alive true, shallQuit true, hasSocket true
SLOCK [T main @ 1444442907997 ms --- localhost/127.0.0.1:59999 - Unlock ok within 0 ms