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

Regression

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

Failing for the past 1 build (Since Unstable#1508 )
Took 13 sec.

Error Message

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

Stacktrace

junit.framework.AssertionFailedError: Key (0:5) not typed one time on thread main expected:<1> but was:<0>
	at com.jogamp.opengl.test.junit.util.AWTRobotUtil.keyType(AWTRobotUtil.java:482)
	at com.jogamp.opengl.test.junit.util.AWTRobotUtil.assertKeyType(AWTRobotUtil.java:538)
	at com.jogamp.opengl.test.junit.newt.event.TestParentingFocus01SwingAWTRobot.testFocus01ProgrFocusImpl(TestParentingFocus01SwingAWTRobot.java:176)
	at com.jogamp.opengl.test.junit.newt.event.TestParentingFocus01SwingAWTRobot.testFocus01ProgrFocus(TestParentingFocus01SwingAWTRobot.java:91)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

Standard Error

++++ Test Singleton.ctor()
++++ Test Singleton.lock()
SLOCK [T SingletonServerSocket1-localhost/127.0.0.1:59999 @ 1674267817552 ms III - Start
SLOCK [T main @ 1674267817552 ms +++ localhost/127.0.0.1:59999 - Locked within 9 ms, 1 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.windows.WindowDriver, consumed false, when:1674267819246 d 0ms]]
Thread[main-Display-.windows_nil-1-EDT-1,5,main] RedSquareES2.init: tileRendererInUse null
RedSquareES2 init on Thread[main-Display-.windows_nil-1-EDT-1,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.6 (Compat profile, arb, compat[ES2, ES3, ES31, ES32], FBO, hardware) - 4.6.0 NVIDIA 391.35 [GL 4.6.0, vendor 391.35.0 (NVIDIA 391.35)]
Quirks         [NoDoubleBufferedBitmap, NoSurfacelessCtx]
Impl. class    jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR      NVIDIA Corporation
GL_RENDERER    GeForce GTX 460/PCIe/SSE2
GL_VERSION     4.6.0 NVIDIA 391.35
GLSL           true, has-compiler-func: true, version: 4.60 NVIDIA / 4.60.0
GL FBO: basic true, full true
GL_EXTENSIONS  325
GLX_EXTENSIONS 30
-----------------------------------------------------------------------------------------------------
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-.windows_nil-1-EDT-1,5,main] RedSquareES2.init FIN
Thread[main-Display-.windows_nil-1-EDT-1,5,main] RedSquareES2.reshape 0/0 624x418 of 624x418, swapInterval 1, drawable 0x480108b0, tileRendererInUse null
Thread[main-Display-.windows_nil-1-EDT-1,5,main] RedSquareES2.reshape FIN
Thread[AWT-EventQueue-0,6,main] RedSquareES2.reshape 0/0 624x418 of 624x418, swapInterval 1, drawable 0x630108b5, tileRendererInUse null
Thread[AWT-EventQueue-0,6,main] RedSquareES2.reshape FIN
FOCUS NEWT LOST   [fc -1]: GLWindow1, WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[source:jogamp.newt.driver.windows.WindowDriver, consumed false, when:1674267819394 d 0ms]]
******** clearAWTFocus.0
FOCUS AWT  GAINED PERM [fc 1]: Button, java.awt.event.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=ACTIVATION] on button0
******** clearAWTFocus.X
toFront: robot pos: 320/240
FOCUS AWT  LOST   PERM [fc -1]: Button, java.awt.event.FocusEvent[FOCUS_LOST,permanent,opposite=null,cause=CLEAR_GLOBAL_FOCUS_OWNER] on button0
Frames for initial setVisible(true): 5
FOCUS AWT  Button request
requestFocus: AWT Component
FOCUS AWT  GAINED PERM [fc 1]: Button, java.awt.event.FocusEvent[FOCUS_GAINED,permanent,opposite=javax.swing.JFrame[frame0,0,0,640x480,layout=java.awt.BorderLayout,title=Swing AWT Parent Frame: testNewtChildFocus,resizable,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,8,31,624x441,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true],cause=UNKNOWN] on button0
FOCUS AWT  Button sync
centerMouse: robot pos: 320x43, onTitleBarIfWindow: false
++++ 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.windows.WindowDriver, consumed false, when:1674267832303 d 1ms]]
Thread[main-Display-.windows_nil-1-EDT-1,5,main] RedSquareES2.init: tileRendererInUse null
RedSquareES2 init on Thread[main-Display-.windows_nil-1-EDT-1,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.6 (Compat profile, arb, compat[ES2, ES3, ES31, ES32], FBO, hardware) - 4.6.0 NVIDIA 391.35 [GL 4.6.0, vendor 391.35.0 (NVIDIA 391.35)]
Quirks         [NoDoubleBufferedBitmap, NoSurfacelessCtx]
Impl. class    jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR      NVIDIA Corporation
GL_RENDERER    GeForce GTX 460/PCIe/SSE2
GL_VERSION     4.6.0 NVIDIA 391.35
GLSL           true, has-compiler-func: true, version: 4.60 NVIDIA / 4.60.0
GL FBO: basic true, full true
GL_EXTENSIONS  325
GLX_EXTENSIONS 30
-----------------------------------------------------------------------------------------------------
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-.windows_nil-1-EDT-1,5,main] RedSquareES2.init FIN
Thread[main-Display-.windows_nil-1-EDT-1,5,main] RedSquareES2.reshape 0/0 624x418 of 624x418, swapInterval 1, drawable 0x630108b5, tileRendererInUse null
Thread[main-Display-.windows_nil-1-EDT-1,5,main] RedSquareES2.reshape FIN
Thread[AWT-EventQueue-0,6,main] RedSquareES2.reshape 0/0 624x418 of 624x418, swapInterval 1, drawable 0xffffffffcc010919, tileRendererInUse null
Thread[AWT-EventQueue-0,6,main] RedSquareES2.reshape FIN
FOCUS AWT  LOST   TEMP [fc -1]: Button, java.awt.event.FocusEvent[FOCUS_LOST,temporary,opposite=java.awt.Button[button1,0,0,624x23,label=Click me ..],cause=ACTIVATION] on button0
FOCUS NEWT LOST   [fc -1]: GLWindow1, WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[source:jogamp.newt.driver.windows.WindowDriver, consumed false, when:1674267832386 d 0ms]]
******** clearAWTFocus.0
FOCUS AWT  GAINED PERM [fc 1]: Button, java.awt.event.FocusEvent[FOCUS_GAINED,permanent,opposite=java.awt.Button[button0,0,0,624x23,label=Click me ..],cause=ACTIVATION] on button1
******** clearAWTFocus.X
toFront: robot pos: 320/240
FOCUS AWT  LOST   PERM [fc -1]: Button, java.awt.event.FocusEvent[FOCUS_LOST,permanent,opposite=null,cause=CLEAR_GLOBAL_FOCUS_OWNER] on button1
Frames for initial setVisible(true): 5
FOCUS AWT  Button request
centerMouse: robot pos: 320x43, onTitleBarIfWindow: true
MOUSE AWT PRESSED [true]: Button, java.awt.event.MouseEvent[MOUSE_PRESSED,(312,12),absolute(320,43),button=1,modifiers=Button1,extModifiers=Button1,clickCount=1] on button1
FOCUS AWT  GAINED PERM [fc 1]: Button, java.awt.event.FocusEvent[FOCUS_GAINED,permanent,opposite=javax.swing.JFrame[frame1,0,0,640x480,layout=java.awt.BorderLayout,title=Swing AWT Parent Frame: testNewtChildFocus,resizable,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,8,31,624x441,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true],cause=MOUSE_EVENT] on button1
MOUSE AWT RELEASED [false]: Button, java.awt.event.MouseEvent[MOUSE_RELEASED,(312,12),absolute(320,43),button=1,modifiers=Button1,clickCount=1] on button1
MOUSE AWT CLICKED [1]: Button, java.awt.event.MouseEvent[MOUSE_CLICKED,(312,12),absolute(320,43),button=1,modifiers=Button1,clickCount=1] on button1
requestFocus: click, d: 501 ms
FOCUS AWT  Button sync
centerMouse: robot pos: 320x43, onTitleBarIfWindow: false
KEY AWT PRESSED [true]: Button, java.awt.event.KeyEvent[KEY_PRESSED,keyCode=65,keyText=A,keyChar='a',keyLocation=KEY_LOCATION_STANDARD,rawCode=65,primaryLevelUnicode=97,scancode=30,extendedKeyCode=0x41] on button1
KEY AWT RELEASED [false]: Button, java.awt.event.KeyEvent[KEY_RELEASED,keyCode=65,keyText=A,keyChar='a',keyLocation=KEY_LOCATION_STANDARD,rawCode=65,primaryLevelUnicode=97,scancode=30,extendedKeyCode=0x41] on button1
KEY AWT PRESSED [true]: Button, java.awt.event.KeyEvent[KEY_PRESSED,keyCode=65,keyText=A,keyChar='a',keyLocation=KEY_LOCATION_STANDARD,rawCode=65,primaryLevelUnicode=97,scancode=30,extendedKeyCode=0x41] on button1
KEY AWT RELEASED [false]: Button, java.awt.event.KeyEvent[KEY_RELEASED,keyCode=65,keyText=A,keyChar='a',keyLocation=KEY_LOCATION_STANDARD,rawCode=65,primaryLevelUnicode=97,scancode=30,extendedKeyCode=0x41] on button1
centerMouse: robot pos: 320x43, onTitleBarIfWindow: false
MOUSE AWT PRESSED [true]: Button, java.awt.event.MouseEvent[MOUSE_PRESSED,(312,12),absolute(320,43),button=1,modifiers=Button1,extModifiers=Button1,clickCount=1] on button1
MOUSE AWT RELEASED [false]: Button, java.awt.event.MouseEvent[MOUSE_RELEASED,(312,12),absolute(320,43),button=1,modifiers=Button1,clickCount=1] on button1
MOUSE AWT CLICKED [2]: Button, java.awt.event.MouseEvent[MOUSE_CLICKED,(312,12),absolute(320,43),button=1,modifiers=Button1,clickCount=1] on button1
centerMouse: robot pos: 320x43, onTitleBarIfWindow: false
MOUSE AWT PRESSED [true]: Button, java.awt.event.MouseEvent[MOUSE_PRESSED,(312,12),absolute(320,43),button=1,modifiers=Button1,extModifiers=Button1,clickCount=1] on button1
MOUSE AWT RELEASED [false]: Button, java.awt.event.MouseEvent[MOUSE_RELEASED,(312,12),absolute(320,43),button=1,modifiers=Button1,clickCount=1] on button1
MOUSE AWT CLICKED [3]: Button, java.awt.event.MouseEvent[MOUSE_CLICKED,(312,12),absolute(320,43),button=1,modifiers=Button1,clickCount=1] on button1
MOUSE AWT PRESSED [true]: Button, java.awt.event.MouseEvent[MOUSE_PRESSED,(312,12),absolute(320,43),button=1,modifiers=Button1,extModifiers=Button1,clickCount=1] on button1
MOUSE AWT RELEASED [false]: Button, java.awt.event.MouseEvent[MOUSE_RELEASED,(312,12),absolute(320,43),button=1,modifiers=Button1,clickCount=1] on button1
MOUSE AWT CLICKED [4]: Button, java.awt.event.MouseEvent[MOUSE_CLICKED,(312,12),absolute(320,43),button=1,modifiers=Button1,clickCount=1] on button1
FOCUS NEWT Canvas/GLWindow request
centerMouse: robot pos: 320x263, onTitleBarIfWindow: true
FOCUS AWT  LOST   PERM [fc -1]: Button, java.awt.event.FocusEvent[FOCUS_LOST,permanent,opposite=null,cause=CLEAR_GLOBAL_FOCUS_OWNER] on button1
FOCUS NEWT GAINED [fc 1]: GLWindow1, WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[source:jogamp.newt.driver.windows.WindowDriver, consumed false, when:1674267837348 d 0ms]]
requestFocus: click, d: 501 ms
Info: Focus prev. gained, but NewtCanvasAWT didn't loose it. Gainer: GLWindow1[focusCount 1]; Looser NewtCanvasAWT[focusCount 0, temp false]
FOCUS NEWT Canvas/GLWindow sync
centerMouse: robot pos: 320x263, onTitleBarIfWindow: false
KEY NEWT PRESSED [true]: GLWindow1, KeyEvent[EVENT_KEY_PRESSED, code 0x41, sym 0x41, char 'a' (0x61), printable true, modifier false, action false, InputEvent[modifiers: [], NEWTEvent[source:jogamp.newt.driver.windows.WindowDriver, consumed false, when:1674267840032 d 1ms]]]
KEY NEWT RELEASED [false]: GLWindow1, KeyEvent[EVENT_KEY_RELEASED, code 0x41, sym 0x41, char 'a' (0x61), printable true, modifier false, action false, InputEvent[modifiers: [], NEWTEvent[source:jogamp.newt.driver.windows.WindowDriver, consumed false, when:1674267840096 d 0ms]]]
KEY NEWT PRESSED [true]: GLWindow1, KeyEvent[EVENT_KEY_PRESSED, code 0x41, sym 0x41, char 'a' (0x61), printable true, modifier false, action false, InputEvent[modifiers: [], NEWTEvent[source:jogamp.newt.driver.windows.WindowDriver, consumed false, when:1674267840440 d 0ms]]]
KEY NEWT RELEASED [false]: GLWindow1, KeyEvent[EVENT_KEY_RELEASED, code 0x41, sym 0x41, char 'a' (0x61), printable true, modifier false, action false, InputEvent[modifiers: [], NEWTEvent[source:jogamp.newt.driver.windows.WindowDriver, consumed false, when:1674267840514 d 0ms]]]
Thread[main-Display-.windows_nil-1-EDT-1,5,main] RedSquareES2.dispose: tileRendererInUse null
Thread[main-Display-.windows_nil-1-EDT-1,5,main] RedSquareES2.dispose FIN
++++ TestCase.tearDown: com.jogamp.opengl.test.junit.newt.event.TestParentingFocus01SwingAWTRobot - testFocus02RobotFocus
++++ Test Singleton.unlock()
SLOCK [T SingletonServerSocket1-localhost/127.0.0.1:59999 @ 1674267840827 ms III - Stopping: alive true, shallQuit true, hasSocket true
SLOCK [T main @ 1674267840827 ms --- localhost/127.0.0.1:59999 - Unlock ok within 1 ms