Skip to content
The Jenkins Controller is preparing for shutdown. No new builds can be started.

Regression

com.jogamp.opengl.test.junit.newt.event.TestParentingFocus03KeyTraversalAWT.testWindowParentingAWTFocusTraversal02Offscreen

Failing for the past 1 build (Since Unstable#1356 )
Took 14 sec.

Error Message

Did not gain focus

Stacktrace

junit.framework.AssertionFailedError: Did not gain focus
	at com.jogamp.opengl.test.junit.util.AWTRobotUtil.assertRequestFocusAndWait(AWTRobotUtil.java:447)
	at com.jogamp.opengl.test.junit.newt.event.TestParentingFocus03KeyTraversalAWT.testWindowParentingAWTFocusTraversal(TestParentingFocus03KeyTraversalAWT.java:222)
	at com.jogamp.opengl.test.junit.newt.event.TestParentingFocus03KeyTraversalAWT.testWindowParentingAWTFocusTraversal02Offscreen(TestParentingFocus03KeyTraversalAWT.java:97)

Standard Error

Thread-1 - SISock: localhost/127.0.0.1:59999 - started
SLOCK [T main @ 1411367069932 ms +++ localhost/127.0.0.1:59999 - Locked within 1013 ms, 1 attempts
++++ UITestCase.setUp: com.jogamp.opengl.test.junit.newt.event.TestParentingFocus03KeyTraversalAWT - testWindowParentingAWTFocusTraversal01Onscreen
FTKL.fwd-keys: pressed TAB
FTKL.fwd-keys: ctrl pressed TAB
FTKL.bwd-keys: pressed BACK_SPACE
FTKL.bwd-keys: shift ctrl pressed TAB
FTKL.bwd-keys: shift pressed TAB
FOCUS NEWT GAINED [fc 1]: GLWindow1, WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[source:jogamp.newt.driver.windows.WindowDriver, consumed false, when:1411367071600 d 1ms]]
Thread[main-AWTAnimator,5,main] GearsES2.init.0 0x46daef40: tileRendererInUse null, GearsES2[obj 0x46daef40 isInit false, usesShared false, 1 null, 2 null, 3 null, sharedGears null]
GearsES2 init 0x46daef40 on Thread[main-AWTAnimator,5,main]
Chosen GLCapabilities: GLCaps[wgl vid 7 arb: rgba 8/8/8/0, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]
INIT GL IS: jogamp.opengl.gl4.GL4bcImpl
Swap Interval  -1
GL Profile     GLProfile[GL4bc/GL4bc.hw]
GL Version     4.4 (Compat profile, arb, ES2 compat, ES3 compat, FBO, hardware) - 4.4.0 [GL 4.4.0, vendor 0.0.0 (n/a)]
Quirks         [NoDoubleBufferedBitmap]
Impl. class    jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR      NVIDIA Corporation
GL_RENDERER    GeForce GTX 460/PCIe/SSE2
GL_VERSION     4.4.0
GLSL           true, has-compiler-func: true, version: 4.40 NVIDIA via Cg compiler / 4.40.0
GL FBO: basic true, full true
GL_EXTENSIONS  290
GLX_EXTENSIONS 26
-----------------------------------------------------------------------------------------------------
FOCUS NEWT LOST   [fc -1]: GLWindow1, WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[source:jogamp.newt.driver.windows.WindowDriver, consumed false, when:1411367071655 d 0ms]]
gear1 0x46daef40 created: GearsObj[0x3555748, vbo ff 1, fs 2, bf 3, bs 4]
gear2 0x46daef40 created: GearsObj[0xaac9730, vbo ff 7, fs 8, bf 9, bs 10]
gear3 0x46daef40 created: GearsObj[0xaac9730, vbo ff 7, fs 8, bf 9, bs 10]
Thread[main-AWTAnimator,5,main] GearsES2.init.X 0x46daef40 FIN GearsES2[obj 0x46daef40 isInit true, usesShared false, 1 GearsObj[0x3555748, vbo ff 1, fs 2, bf 3, bs 4], 2 GearsObj[0xaac9730, vbo ff 7, fs 8, bf 9, bs 10], 3 GearsObj[0x4f6477c1, vbo ff 13, fs 14, bf 15, bs 16], sharedGears null]
Thread[main-AWTAnimator,5,main] GearsES2.reshape 0x46daef40 0/0 192x262 of 192x262, swapInterval 1, drawable 0x5e010f1b, msaa false, tileRendererInUse null
>> GearsES2 0x46daef40, angle 0.0, [l -1.0, r 1.0, b -1.3645834, t 1.3645834] 2.0x2.7291667 -> [l -1.0, r 1.0, b -1.3645834, t 1.3645834] 2.0x2.7291667, v-flip false
******** clearAWTFocus.0
FOCUS AWT  GAINED PERM [fc 1]: WEST, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=ACTIVATION] on java.awt.Button[button0,8,30,48x262,label=WEST]
******** clearAWTFocus.X
toFront: robot pos: 150/150
FOCUS AWT  LOST   PERM [fc -1]: WEST, java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=null,cause=CLEAR_GLOBAL_FOCUS_OWNER] on java.awt.Button[button0,8,30,48x262,label=WEST]
centerMouse: robot pos: 32x161, onTitleBarIfWindow: true
requestFocus: click, d: 501 ms
centerMouse: robot pos: 32x161, onTitleBarIfWindow: true
requestFocus: click, d: 501 ms
centerMouse: robot pos: 32x161, onTitleBarIfWindow: true
requestFocus: click, d: 501 ms
centerMouse: robot pos: 32x161, onTitleBarIfWindow: true
requestFocus: click, d: 501 ms
centerMouse: robot pos: 32x161, onTitleBarIfWindow: true
requestFocus: click, d: 501 ms
*** AWTRobotUtil.assertRequestFocusAndWait() major UI failure
*** requestFocus.hasFocus() - AWT: false
*** waitForFocus.hasFocus() - AWT: false
*** gain: WEST[focusCount -1, temp false]
*** lost: null
java.lang.Exception: Stack trace
	at java.lang.Thread.dumpStack(Thread.java:1329)
	at com.jogamp.opengl.test.junit.util.AWTRobotUtil.assertRequestFocusAndWait(AWTRobotUtil.java:445)
	at com.jogamp.opengl.test.junit.newt.event.TestParentingFocus03KeyTraversalAWT.testWindowParentingAWTFocusTraversal(TestParentingFocus03KeyTraversalAWT.java:222)
	at com.jogamp.opengl.test.junit.newt.event.TestParentingFocus03KeyTraversalAWT.testWindowParentingAWTFocusTraversal01Onscreen(TestParentingFocus03KeyTraversalAWT.java:92)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:532)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1179)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1030)
++++ UITestCase.tearDown: com.jogamp.opengl.test.junit.newt.event.TestParentingFocus03KeyTraversalAWT - testWindowParentingAWTFocusTraversal01Onscreen
++++ UITestCase.setUp: com.jogamp.opengl.test.junit.newt.event.TestParentingFocus03KeyTraversalAWT - testWindowParentingAWTFocusTraversal02Offscreen
FTKL.fwd-keys: pressed TAB
FTKL.fwd-keys: ctrl pressed TAB
FTKL.bwd-keys: pressed BACK_SPACE
FTKL.bwd-keys: shift ctrl pressed TAB
FTKL.bwd-keys: shift pressed TAB
FOCUS NEWT GAINED [fc 1]: GLWindow1, WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[source:jogamp.newt.driver.windows.WindowDriver, consumed false, when:1411367085584 d 0ms]]
Thread[main-AWTAnimator,5,main] GearsES2.init.0 0x75881071: tileRendererInUse null, GearsES2[obj 0x75881071 isInit false, usesShared false, 1 null, 2 null, 3 null, sharedGears null]
GearsES2 init 0x75881071 on Thread[main-AWTAnimator,5,main]
Chosen GLCapabilities: GLCaps[wgl vid 7 arb: rgba 8/8/8/0, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]
INIT GL IS: jogamp.opengl.gl4.GL4bcImpl
Swap Interval  -1
GL Profile     GLProfile[GL4bc/GL4bc.hw]
GL Version     4.4 (Compat profile, arb, ES2 compat, ES3 compat, FBO, hardware) - 4.4.0 [GL 4.4.0, vendor 0.0.0 (n/a)]
Quirks         [NoDoubleBufferedBitmap]
Impl. class    jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR      NVIDIA Corporation
GL_RENDERER    GeForce GTX 460/PCIe/SSE2
GL_VERSION     4.4.0
GLSL           true, has-compiler-func: true, version: 4.40 NVIDIA via Cg compiler / 4.40.0
GL FBO: basic true, full true
GL_EXTENSIONS  290
GLX_EXTENSIONS 26
-----------------------------------------------------------------------------------------------------
gear1 0x75881071 created: GearsObj[0x5a236774, vbo ff 1, fs 2, bf 3, bs 4]
gear2 0x75881071 created: GearsObj[0x739b374d, vbo ff 7, fs 8, bf 9, bs 10]
gear3 0x75881071 created: GearsObj[0x739b374d, vbo ff 7, fs 8, bf 9, bs 10]
Thread[main-AWTAnimator,5,main] GearsES2.init.X 0x75881071 FIN GearsES2[obj 0x75881071 isInit true, usesShared false, 1 GearsObj[0x5a236774, vbo ff 1, fs 2, bf 3, bs 4], 2 GearsObj[0x739b374d, vbo ff 7, fs 8, bf 9, bs 10], 3 GearsObj[0xbad96cc, vbo ff 13, fs 14, bf 15, bs 16], sharedGears null]
Thread[main-AWTAnimator,5,main] GearsES2.reshape 0x75881071 0/0 192x262 of 192x262, swapInterval 1, drawable 0xffffffff98010fe7, msaa false, tileRendererInUse null
>> GearsES2 0x75881071, angle 0.0, [l -1.0, r 1.0, b -1.3645834, t 1.3645834] 2.0x2.7291667 -> [l -1.0, r 1.0, b -1.3645834, t 1.3645834] 2.0x2.7291667, v-flip false
FOCUS NEWT LOST   [fc -1]: GLWindow1, WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[source:jogamp.newt.driver.windows.WindowDriver, consumed false, when:1411367085694 d 0ms]]
******** clearAWTFocus.0
FOCUS AWT  GAINED PERM [fc 1]: WEST, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=java.awt.Frame[frame0,0,0,300x300,layout=java.awt.BorderLayout,title=AWT Parent Frame,resizable,normal],cause=ACTIVATION] on java.awt.Button[button1,8,30,48x262,label=WEST]
******** clearAWTFocus.X
toFront: robot pos: 150/150
FOCUS AWT  LOST   PERM [fc -1]: WEST, java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=null,cause=CLEAR_GLOBAL_FOCUS_OWNER] on java.awt.Button[button1,8,30,48x262,label=WEST]
centerMouse: robot pos: 32x161, onTitleBarIfWindow: true
requestFocus: click, d: 501 ms
centerMouse: robot pos: 32x161, onTitleBarIfWindow: true
requestFocus: click, d: 501 ms
centerMouse: robot pos: 32x161, onTitleBarIfWindow: true
requestFocus: click, d: 501 ms
centerMouse: robot pos: 32x161, onTitleBarIfWindow: true
requestFocus: click, d: 501 ms
centerMouse: robot pos: 32x161, onTitleBarIfWindow: true
requestFocus: click, d: 501 ms
*** AWTRobotUtil.assertRequestFocusAndWait() major UI failure
*** requestFocus.hasFocus() - AWT: false
*** waitForFocus.hasFocus() - AWT: false
*** gain: WEST[focusCount -1, temp false]
*** lost: null
java.lang.Exception: Stack trace
	at java.lang.Thread.dumpStack(Thread.java:1329)
	at com.jogamp.opengl.test.junit.util.AWTRobotUtil.assertRequestFocusAndWait(AWTRobotUtil.java:445)
	at com.jogamp.opengl.test.junit.newt.event.TestParentingFocus03KeyTraversalAWT.testWindowParentingAWTFocusTraversal(TestParentingFocus03KeyTraversalAWT.java:222)
	at com.jogamp.opengl.test.junit.newt.event.TestParentingFocus03KeyTraversalAWT.testWindowParentingAWTFocusTraversal02Offscreen(TestParentingFocus03KeyTraversalAWT.java:97)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:532)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1179)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1030)
++++ UITestCase.tearDown: com.jogamp.opengl.test.junit.newt.event.TestParentingFocus03KeyTraversalAWT - testWindowParentingAWTFocusTraversal02Offscreen
SLOCK [T main @ 1411367099612 ms --- localhost/127.0.0.1:59999 - Unlock ok within 1 ms