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

Failed

com.jogamp.opengl.test.junit.newt.TestFocus01SwingAWTRobot.testFocus02RobotFocus

Failing for the past 2 builds (Since Unstable#801 )
Took 11 sec.

Error Message

Key (0:5) not typed one time expected:<1> but was:<0>

Stacktrace

junit.framework.AssertionFailedError: Key (0:5) not typed one time expected:<1> but was:<0>
	at com.jogamp.opengl.test.junit.util.AWTRobotUtil.keyType(AWTRobotUtil.java:365)
	at com.jogamp.opengl.test.junit.util.AWTRobotUtil.assertKeyType(AWTRobotUtil.java:394)
	at com.jogamp.opengl.test.junit.newt.TestFocus01SwingAWTRobot.testFocus01ProgrFocusImpl(TestFocus01SwingAWTRobot.java:174)
	at com.jogamp.opengl.test.junit.newt.TestFocus01SwingAWTRobot.testFocus02RobotFocus(TestFocus01SwingAWTRobot.java:95)

Standard Error

Thread-1 - SingletonInstanceServerSocket: localhost/127.0.0.1:59999 - started
SLOCK 1347803324652 +++ localhost/127.0.0.1:59999 - Locked 
++++ UITestCase.setUp: com.jogamp.opengl.test.junit.newt.TestFocus01SwingAWTRobot - testFocus01ProgrFocus
******** clearAWTFocus.0
Thread[main-Display-jogamp.newt.driver.macosx_nil-1-EDT-1,5,main] RedSquareES2.init ...
RedSquareES2 init on Thread[main-Display-jogamp.newt.driver.macosx_nil-1-EDT-1,5,main]
Chosen GLCapabilities: GLCaps[rgba 0x8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[.]]
INIT GL IS: jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: NVIDIA GeForce 320M OpenGL Engine
GL_VERSION: 2.1 NVIDIA-7.18.18
GL GLSL: true, has-compiler: true, version 1.20
GL FBO: basic true, full true
GL Profile: GLProfile[GL2/GL2.hw]
GL:jogamp.opengl.gl4.GL4bcImpl@e90943, 2.1 (Compatibility profile, arb, FBO, hardware) - 2.1 NVIDIA-7.18.18
Thread[main-Display-jogamp.newt.driver.macosx_nil-1-EDT-1,5,main] RedSquareES2.init FIN
Thread[main-Display-jogamp.newt.driver.macosx_nil-1-EDT-1,5,main] RedSquareES2.reshape 0/0 640x430, swapInterval 1
Thread[main-Display-jogamp.newt.driver.macosx_nil-1-EDT-1,5,main] RedSquareES2.reshape FIN
Thread[main-Display-jogamp.newt.driver.macosx_nil-1-EDT-1,5,main] RedSquareES2.reshape 0/0 640x430, swapInterval 1
Thread[main-Display-jogamp.newt.driver.macosx_nil-1-EDT-1,5,main] RedSquareES2.reshape FIN
******** clearAWTFocus.X
toFront: robot pos: java.awt.Point[x=320,y=262]
FOCUS AWT  GAINED (Window) [fc 1]: window, java.awt.event.WindowEvent[WINDOW_GAINED_FOCUS,opposite=null,oldState=0,newState=0] on frame0
FOCUS AWT  GAINED PERM [fc 1]: frame1, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=UNKNOWN] on javax.swing.JFrame[frame0,0,22,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]
Frames for initial setVisible(true): 2
FOCUS AWT  Button request
requestFocus: AWT Component
requestFocus: AWT Component
requestFocus: AWT Component
requestFocus: AWT Component
requestFocus: AWT Component
*** AWTRobotUtil.assertRequestFocusAndWait() major UI failure
*** requestFocus.hasFocus() - AWT: false
*** waitForFocus.hasFocus() - AWT: false
*** gain: Button[focusCount 0, temp false]
*** lost: frame1[focusCount 1, temp false]
java.lang.Exception: Stack trace
	at java.lang.Thread.dumpStack(Thread.java:1273)
	at com.jogamp.opengl.test.junit.util.AWTRobotUtil.assertRequestFocusAndWait(AWTRobotUtil.java:334)
	at com.jogamp.opengl.test.junit.newt.TestFocus01SwingAWTRobot.testFocus01ProgrFocusImpl(TestFocus01SwingAWTRobot.java:170)
	at com.jogamp.opengl.test.junit.newt.TestFocus01SwingAWTRobot.testFocus01ProgrFocus(TestFocus01SwingAWTRobot.java:88)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
	at org.junit.rules.TestWatchman$1.evaluate(TestWatchman.java:48)
	at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)
++++ UITestCase.tearDown: com.jogamp.opengl.test.junit.newt.TestFocus01SwingAWTRobot - testFocus01ProgrFocus
++++ UITestCase.setUp: com.jogamp.opengl.test.junit.newt.TestFocus01SwingAWTRobot - testFocus02RobotFocus
FOCUS AWT  LOST   PERM [fc -1]: frame1, java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=null,cause=CLEAR_GLOBAL_FOCUS_OWNER] on javax.swing.JFrame[frame0,0,22,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]
******** clearAWTFocus.0
Thread[main-Display-jogamp.newt.driver.macosx_nil-1-EDT-1,5,main] RedSquareES2.init ...
RedSquareES2 init on Thread[main-Display-jogamp.newt.driver.macosx_nil-1-EDT-1,5,main]
Chosen GLCapabilities: GLCaps[rgba 0x8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[.]]
INIT GL IS: jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: NVIDIA GeForce 320M OpenGL Engine
GL_VERSION: 2.1 NVIDIA-7.18.18
GL GLSL: true, has-compiler: true, version 1.20
GL FBO: basic true, full true
GL Profile: GLProfile[GL2/GL2.hw]
GL:jogamp.opengl.gl4.GL4bcImpl@4c71d2, 2.1 (Compatibility profile, arb, FBO, hardware) - 2.1 NVIDIA-7.18.18
Thread[main-Display-jogamp.newt.driver.macosx_nil-1-EDT-1,5,main] RedSquareES2.init FIN
Thread[main-Display-jogamp.newt.driver.macosx_nil-1-EDT-1,5,main] RedSquareES2.reshape 0/0 640x430, swapInterval 1
Thread[main-Display-jogamp.newt.driver.macosx_nil-1-EDT-1,5,main] RedSquareES2.reshape FIN
Thread[main-Display-jogamp.newt.driver.macosx_nil-1-EDT-1,5,main] RedSquareES2.reshape 0/0 640x430, swapInterval 1
Thread[main-Display-jogamp.newt.driver.macosx_nil-1-EDT-1,5,main] RedSquareES2.reshape FIN
******** clearAWTFocus.X
toFront: robot pos: java.awt.Point[x=320,y=262]
FOCUS AWT  GAINED (Window) [fc 1]: window, java.awt.event.WindowEvent[WINDOW_GAINED_FOCUS,opposite=javax.swing.JFrame[frame0,0,22,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],oldState=0,newState=0] on frame1
FOCUS AWT  GAINED PERM [fc 1]: frame1, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=UNKNOWN] on javax.swing.JFrame[frame1,0,22,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]
Frames for initial setVisible(true): 2
FOCUS AWT  Button request
centerMouse: robot pos: java.awt.Point[x=320,y=58], onTitleBarIfWindow: true
MOUSE AWT PRESSED [true]: Button, java.awt.event.MouseEvent[MOUSE_PRESSED,(325,13),absolute(320,58),button=1,modifiers=Button1,extModifiers=Button1,clickCount=1] on button0
MOUSE AWT RELEASED [false]: Button, java.awt.event.MouseEvent[MOUSE_RELEASED,(325,13),absolute(320,58),button=1,modifiers=Button1,clickCount=1] on button0
MOUSE AWT CLICKED [1]: Button, java.awt.event.MouseEvent[MOUSE_CLICKED,(325,13),absolute(320,58),button=1,modifiers=Button1,clickCount=1] on button0
FOCUS AWT  LOST   PERM [fc -1]: frame1, java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=java.awt.Button[button0,0,0,640x28,label=Click me ..],cause=NATIVE_SYSTEM] on javax.swing.JFrame[frame1,0,22,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]
FOCUS AWT  GAINED PERM [fc 1]: Button, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=javax.swing.JFrame[frame1,0,22,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],cause=NATIVE_SYSTEM] on java.awt.Button[button0,0,0,640x28,label=Click me ..]
requestFocus: click, d: 501 ms
FOCUS AWT  Button sync
centerMouse: robot pos: java.awt.Point[x=320,y=58], onTitleBarIfWindow: false
++++ UITestCase.tearDown: com.jogamp.opengl.test.junit.newt.TestFocus01SwingAWTRobot - testFocus02RobotFocus
SLOCK 1347803349181 --- localhost/127.0.0.1:59999 - Unlock ok