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

Regression

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

Failing for the past 2 builds (Since #1017 )
Took 3.2 sec.

Error Message

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

Stacktrace

junit.framework.AssertionFailedError: Key (0:1) not typed one time on thread main expected:<1> but was:<2>
	at com.jogamp.opengl.test.junit.util.AWTRobotUtil.keyType(AWTRobotUtil.java:492)
	at com.jogamp.opengl.test.junit.util.AWTRobotUtil.assertKeyType(AWTRobotUtil.java:546)
	at com.jogamp.opengl.test.junit.newt.TestFocus01SwingAWTRobot.testFocus01ProgrFocusImpl(TestFocus01SwingAWTRobot.java:173)
	at com.jogamp.opengl.test.junit.newt.TestFocus01SwingAWTRobot.testFocus02RobotFocus(TestFocus01SwingAWTRobot.java:95)

Standard Error

Thread-1 - SISock: localhost/127.0.0.1:59999 - started
SLOCK [T main @ 1372098450420 ms +++ localhost/127.0.0.1:59999 - Locked within 5 ms, 1 attempts
++++ UITestCase.setUp: com.jogamp.opengl.test.junit.newt.TestFocus01SwingAWTRobot - testFocus01ProgrFocus
NewtCanvasAWT.attachNewtChild.2: size 630x427
Thread[main-Display-.x11_:0-1-EDT-1,5,main] RedSquareES2.init ...
RedSquareES2 init on Thread[main-Display-.x11_:0-1-EDT-1,5,main]
Chosen GLCapabilities: GLCaps[glx vid 0x29, fbc 0x29: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/0/0, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]
INIT GL IS: jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: ATI Radeon HD 5800 Series 
GL_VERSION: 4.2.11762 Compatibility Profile Context
GL GLSL: true, has-compiler-func: true, version 4.20
GL FBO: basic true, full true
GL Profile: GLProfile[GL4bc/GL4bc.hw]
GL Renderer Quirks:[DontCloseX11Display]
GL:jogamp.opengl.gl4.GL4bcImpl@3efe45d3, 4.2 (hardware) - 4.2.11762 Compatibility Profile Context
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-.x11_:0-1-EDT-1,5,main] RedSquareES2.init FIN
Thread[main-Display-.x11_:0-1-EDT-1,5,main] RedSquareES2.reshape 0/0 630x427, swapInterval 1, drawable 0x3e00002
Thread[main-Display-.x11_:0-1-EDT-1,5,main] RedSquareES2.reshape FIN
Thread[AWT-EventQueue-0,6,main] RedSquareES2.reshape 0/0 630x427, swapInterval 1, drawable 0x3e00002
Thread[AWT-EventQueue-0,6,main] RedSquareES2.reshape FIN
Thread[main-Display-.x11_:0-1-EDT-1,5,main] RedSquareES2.reshape 0/0 636x430, swapInterval 1, drawable 0x3e00002
Thread[main-Display-.x11_:0-1-EDT-1,5,main] RedSquareES2.reshape FIN
FOCUS AWT  GAINED PERM [fc 1]: Button, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=ACTIVATION] on java.awt.Button[button0,0,0,636x23,label=Click me ..]
******** clearAWTFocus.0
FOCUS AWT  LOST   PERM [fc -1]: Button, java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=null,cause=CLEAR_GLOBAL_FOCUS_OWNER] on java.awt.Button[button0,0,0,636x23,label=Click me ..]
******** clearAWTFocus.X
toFront: robot pos: 320x240
Frames for initial setVisible(true): 8
FOCUS AWT  Button request
requestFocus: AWT Component
FOCUS AWT  GAINED PERM [fc 1]: Button, java.awt.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[,2,23,636x453,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true],cause=UNKNOWN] on java.awt.Button[button0,0,0,636x23,label=Click me ..]
FOCUS AWT  Button sync
centerMouse: robot pos: 320x35, onTitleBarIfWindow: false
KEY AWT PRESSED [true]: Button, java.awt.event.KeyEvent[KEY_PRESSED,keyCode=65,keyText=A,keyChar='a',keyLocation=KEY_LOCATION_STANDARD,rawCode=38,primaryLevelUnicode=97,scancode=0,extendedKeyCode=0x41] on button0
KEY AWT RELEASED [false]: Button, java.awt.event.KeyEvent[KEY_RELEASED,keyCode=65,keyText=A,keyChar='a',keyLocation=KEY_LOCATION_STANDARD,rawCode=38,primaryLevelUnicode=97,scancode=0,extendedKeyCode=0x41] on button0
KEY AWT PRESSED [true]: Button, java.awt.event.KeyEvent[KEY_PRESSED,keyCode=65,keyText=A,keyChar='a',keyLocation=KEY_LOCATION_STANDARD,rawCode=38,primaryLevelUnicode=97,scancode=0,extendedKeyCode=0x41] on button0
KEY AWT RELEASED [false]: Button, java.awt.event.KeyEvent[KEY_RELEASED,keyCode=65,keyText=A,keyChar='a',keyLocation=KEY_LOCATION_STANDARD,rawCode=38,primaryLevelUnicode=97,scancode=0,extendedKeyCode=0x41] on button0
++++ UITestCase.tearDown: com.jogamp.opengl.test.junit.newt.TestFocus01SwingAWTRobot - testFocus01ProgrFocus
++++ UITestCase.setUp: com.jogamp.opengl.test.junit.newt.TestFocus01SwingAWTRobot - testFocus02RobotFocus
NewtCanvasAWT.attachNewtChild.2: size 630x427
Thread[main-Display-.x11_:0-1-EDT-1,5,main] RedSquareES2.init ...
RedSquareES2 init on Thread[main-Display-.x11_:0-1-EDT-1,5,main]
Chosen GLCapabilities: GLCaps[glx vid 0x29, fbc 0x29: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/0/0, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]
INIT GL IS: jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: ATI Radeon HD 5800 Series 
GL_VERSION: 4.2.11762 Compatibility Profile Context
GL GLSL: true, has-compiler-func: true, version 4.20
GL FBO: basic true, full true
GL Profile: GLProfile[GL4bc/GL4bc.hw]
GL Renderer Quirks:[DontCloseX11Display]
GL:jogamp.opengl.gl4.GL4bcImpl@175d2882, 4.2 (hardware) - 4.2.11762 Compatibility Profile Context
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-.x11_:0-1-EDT-1,5,main] RedSquareES2.init FIN
Thread[main-Display-.x11_:0-1-EDT-1,5,main] RedSquareES2.reshape 0/0 630x427, swapInterval 1, drawable 0x3e00004
Thread[main-Display-.x11_:0-1-EDT-1,5,main] RedSquareES2.reshape FIN
Thread[AWT-EventQueue-0,6,main] RedSquareES2.reshape 0/0 630x427, swapInterval 1, drawable 0x3e00004
Thread[AWT-EventQueue-0,6,main] RedSquareES2.reshape FIN
******** clearAWTFocus.0
FOCUS AWT  LOST   PERM [fc -1]: Button, java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=null,cause=CLEAR_GLOBAL_FOCUS_OWNER] on java.awt.Button[button0,0,0,636x23,label=Click me ..]
FOCUS AWT  GAINED PERM [fc 1]: Button, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=ACTIVATION] on java.awt.Button[button1,0,0,636x23,label=Click me ..]
******** clearAWTFocus.X
toFront: robot pos: 320x240
Thread[main-Display-.x11_:0-1-EDT-1,5,main] RedSquareES2.reshape 0/0 636x432, swapInterval 1, drawable 0x3e00004
Thread[main-Display-.x11_:0-1-EDT-1,5,main] RedSquareES2.reshape FIN
FOCUS AWT  LOST   PERM [fc -1]: Button, java.awt.FocusEvent[FOCUS_LOST,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[,2,23,636x455,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true],cause=UNKNOWN] on java.awt.Button[button1,0,0,636x23,label=Click me ..]
Frames for initial setVisible(true): 8
FOCUS AWT  Button request
centerMouse: robot pos: 320x35, onTitleBarIfWindow: true
MOUSE AWT PRESSED [true]: Button, java.awt.event.MouseEvent[MOUSE_PRESSED,(318,12),absolute(320,35),button=1,modifiers=Button1,extModifiers=Button1,clickCount=1] on button1
FOCUS AWT  GAINED PERM [fc 1]: Button, java.awt.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[,2,23,636x455,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true],cause=MOUSE_EVENT] on java.awt.Button[button1,0,0,636x23,label=Click me ..]
MOUSE AWT RELEASED [false]: Button, java.awt.event.MouseEvent[MOUSE_RELEASED,(318,12),absolute(320,35),button=1,modifiers=Button1,clickCount=1] on button1
MOUSE AWT CLICKED [1]: Button, java.awt.event.MouseEvent[MOUSE_CLICKED,(318,12),absolute(320,35),button=1,modifiers=Button1,clickCount=1] on button1
requestFocus: click, d: 501 ms
FOCUS AWT  Button sync
centerMouse: robot pos: 320x35, onTitleBarIfWindow: false
KEY AWT PRESSED [true]: Button, java.awt.event.KeyEvent[KEY_PRESSED,keyCode=65,keyText=A,keyChar='a',keyLocation=KEY_LOCATION_STANDARD,rawCode=38,primaryLevelUnicode=97,scancode=0,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=38,primaryLevelUnicode=97,scancode=0,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=38,primaryLevelUnicode=97,scancode=0,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=38,primaryLevelUnicode=97,scancode=0,extendedKeyCode=0x41] on button1
++++ UITestCase.tearDown: com.jogamp.opengl.test.junit.newt.TestFocus01SwingAWTRobot - testFocus02RobotFocus
SLOCK [T main @ 1372098457307 ms --- localhost/127.0.0.1:59999 - Unlock ok within 1 ms