Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6847163

test/java/awt/Toolkit/ToolkitPropertyTest/ToolkitPropertyTest_Enable.java sometimes fails

XMLWordPrintable

    • generic
    • generic

      The test sometimes fails on linux-i586, Gnome/Metacity 2.24 with the current JDK 7 (~ b59):

      ----------System.out:(126/8343)----------
      Property = true
      Number Of Buttons = 20
      TEST: 1024
      TEST: 2048
      TEST: 4096
      TEST: 16384
      TEST: 32768
      TEST: 65536
      TEST: 131072
      TEST: 262144
      TEST: 524288
      TEST: 1048576
      TEST: 2097152
      TEST: 4194304
      TEST: 8388608
      TEST: 16777216
      TEST: 33554432
      TEST: 67108864
      TEST: 134217728
      TEST: 268435456
      TEST: 536870912
      TEST: 1073741824
      button to press = 1 : value passed to robot = 1024
      PRESSED java.awt.event.MouseEvent[MOUSE_PRESSED,(150,150),absolute(150,174),button=1,modifiers=Button1,extModifiers=Button1,clickCount=1] on frame0
      RELEASED java.awt.event.MouseEvent[MOUSE_RELEASED,(150,150),absolute(150,174),button=1,modifiers=Button1,clickCount=1] on frame0
      CLICKED java.awt.event.MouseEvent[MOUSE_CLICKED,(150,150),absolute(150,174),button=1,modifiers=Button1,clickCount=1] on frame0
      button to press = 2 : value passed to robot = 2048
      PRESSED java.awt.event.MouseEvent[MOUSE_PRESSED,(150,150),absolute(150,174),button=2,modifiers=Alt+Button2,extModifiers=Button2,clickCount=1] on frame0
      RELEASED java.awt.event.MouseEvent[MOUSE_RELEASED,(150,150),absolute(150,174),button=2,modifiers=Alt+Button2,clickCount=1] on frame0
      CLICKED java.awt.event.MouseEvent[MOUSE_CLICKED,(150,150),absolute(150,174),button=2,modifiers=Alt+Button2,clickCount=1] on frame0
      button to press = 3 : value passed to robot = 4096
      PRESSED java.awt.event.MouseEvent[MOUSE_PRESSED,(150,150),absolute(150,174),button=3,modifiers=Meta+Button3,extModifiers=Button3,clickCount=1] on frame0
      RELEASED java.awt.event.MouseEvent[MOUSE_RELEASED,(150,150),absolute(150,174),button=3,modifiers=Meta+Button3,clickCount=1] on frame0
      CLICKED java.awt.event.MouseEvent[MOUSE_CLICKED,(150,150),absolute(150,174),button=3,modifiers=Meta+Button3,clickCount=1] on frame0
      button to press = 4 : value passed to robot = 16384
      PRESSED java.awt.event.MouseEvent[MOUSE_PRESSED,(150,150),absolute(150,174),button=4,extModifiers=Button4,clickCount=1] on frame0
      MEvent. CASE!
      MEvent. CASE!
      RELEASED java.awt.event.MouseEvent[MOUSE_RELEASED,(150,150),absolute(150,174),button=4,clickCount=1] on frame0
      CLICKED java.awt.event.MouseEvent[MOUSE_CLICKED,(150,150),absolute(150,174),button=4,clickCount=1] on frame0
      button to press = 5 : value passed to robot = 32768
      PRESSED java.awt.event.MouseEvent[MOUSE_PRESSED,(150,150),absolute(150,174),button=5,extModifiers=Button5,clickCount=1] on frame0
      MEvent. CASE!
      MEvent. CASE!
      RELEASED java.awt.event.MouseEvent[MOUSE_RELEASED,(150,150),absolute(150,174),button=5,clickCount=1] on frame0
      CLICKED java.awt.event.MouseEvent[MOUSE_CLICKED,(150,150),absolute(150,174),button=5,clickCount=1] on frame0
      button to press = 6 : value passed to robot = 65536
      PRESSED java.awt.event.MouseEvent[MOUSE_PRESSED,(150,150),absolute(150,174),button=6,extModifiers=Button6,clickCount=1] on frame0
      MEvent. CASE!
      MEvent. CASE!
      RELEASED java.awt.event.MouseEvent[MOUSE_RELEASED,(150,150),absolute(150,174),button=6,clickCount=1] on frame0
      CLICKED java.awt.event.MouseEvent[MOUSE_CLICKED,(150,150),absolute(150,174),button=6,clickCount=1] on frame0
      button to press = 7 : value passed to robot = 131072
      PRESSED java.awt.event.MouseEvent[MOUSE_PRESSED,(150,150),absolute(150,174),button=7,extModifiers=Button7,clickCount=1] on frame0
      MEvent. CASE!
      MEvent. CASE!
      RELEASED java.awt.event.MouseEvent[MOUSE_RELEASED,(150,150),absolute(150,174),button=7,clickCount=1] on frame0
      CLICKED java.awt.event.MouseEvent[MOUSE_CLICKED,(150,150),absolute(150,174),button=7,clickCount=1] on frame0
      button to press = 8 : value passed to robot = 262144
      PRESSED java.awt.event.MouseEvent[MOUSE_PRESSED,(150,150),absolute(150,174),button=8,extModifiers=Button8,clickCount=1] on frame0
      MEvent. CASE!
      MEvent. CASE!
      RELEASED java.awt.event.MouseEvent[MOUSE_RELEASED,(150,150),absolute(150,174),button=8,clickCount=1] on frame0
      CLICKED java.awt.event.MouseEvent[MOUSE_CLICKED,(150,150),absolute(150,174),button=8,clickCount=1] on frame0
      button to press = 9 : value passed to robot = 524288
      PRESSED java.awt.event.MouseEvent[MOUSE_PRESSED,(150,150),absolute(150,174),button=9,extModifiers=Button9,clickCount=1] on frame0
      MEvent. CASE!
      MEvent. CASE!
      RELEASED java.awt.event.MouseEvent[MOUSE_RELEASED,(150,150),absolute(150,174),button=9,clickCount=1] on frame0
      CLICKED java.awt.event.MouseEvent[MOUSE_CLICKED,(150,150),absolute(150,174),button=9,clickCount=1] on frame0
      button to press = 10 : value passed to robot = 1048576
      PRESSED java.awt.event.MouseEvent[MOUSE_PRESSED,(150,150),absolute(150,174),button=10,extModifiers=Button10,clickCount=1] on frame0
      MEvent. CASE!
      MEvent. CASE!
      RELEASED java.awt.event.MouseEvent[MOUSE_RELEASED,(150,150),absolute(150,174),button=10,clickCount=1] on frame0
      CLICKED java.awt.event.MouseEvent[MOUSE_CLICKED,(150,150),absolute(150,174),button=10,clickCount=1] on frame0
      button to press = 11 : value passed to robot = 2097152
      PRESSED java.awt.event.MouseEvent[MOUSE_PRESSED,(150,150),absolute(150,174),button=11,extModifiers=Button11,clickCount=1] on frame0
      MEvent. CASE!
      MEvent. CASE!
      RELEASED java.awt.event.MouseEvent[MOUSE_RELEASED,(150,150),absolute(150,174),button=11,clickCount=1] on frame0
      CLICKED java.awt.event.MouseEvent[MOUSE_CLICKED,(150,150),absolute(150,174),button=11,clickCount=1] on frame0
      button to press = 12 : value passed to robot = 4194304
      PRESSED java.awt.event.MouseEvent[MOUSE_PRESSED,(150,150),absolute(150,174),button=12,extModifiers=Button12,clickCount=1] on frame0
      MEvent. CASE!
      MEvent. CASE!
      RELEASED java.awt.event.MouseEvent[MOUSE_RELEASED,(150,150),absolute(150,174),button=12,clickCount=1] on frame0
      CLICKED java.awt.event.MouseEvent[MOUSE_CLICKED,(150,150),absolute(150,174),button=12,clickCount=1] on frame0
      button to press = 13 : value passed to robot = 8388608
      PRESSED java.awt.event.MouseEvent[MOUSE_PRESSED,(150,150),absolute(150,174),button=13,extModifiers=Button13,clickCount=1] on frame0
      MEvent. CASE!
      MEvent. CASE!
      RELEASED java.awt.event.MouseEvent[MOUSE_RELEASED,(150,150),absolute(150,174),button=13,clickCount=1] on frame0
      CLICKED java.awt.event.MouseEvent[MOUSE_CLICKED,(150,150),absolute(150,174),button=13,clickCount=1] on frame0
      button to press = 14 : value passed to robot = 16777216
      PRESSED java.awt.event.MouseEvent[MOUSE_PRESSED,(150,150),absolute(150,174),button=14,extModifiers=Button14,clickCount=1] on frame0
      MEvent. CASE!
      MEvent. CASE!
      RELEASED java.awt.event.MouseEvent[MOUSE_RELEASED,(150,150),absolute(150,174),button=14,clickCount=1] on frame0
      CLICKED java.awt.event.MouseEvent[MOUSE_CLICKED,(150,150),absolute(150,174),button=14,clickCount=1] on frame0
      button to press = 15 : value passed to robot = 33554432
      PRESSED java.awt.event.MouseEvent[MOUSE_PRESSED,(150,150),absolute(150,174),button=15,extModifiers=Button15,clickCount=1] on frame0
      MEvent. CASE!
      MEvent. CASE!
      RELEASED java.awt.event.MouseEvent[MOUSE_RELEASED,(150,150),absolute(150,174),button=15,clickCount=1] on frame0
      CLICKED java.awt.event.MouseEvent[MOUSE_CLICKED,(150,150),absolute(150,174),button=15,clickCount=1] on frame0
      button to press = 16 : value passed to robot = 67108864
      PRESSED java.awt.event.MouseEvent[MOUSE_PRESSED,(150,150),absolute(150,174),button=16,extModifiers=Button16,clickCount=1] on frame0
      MEvent. CASE!
      MEvent. CASE!
      RELEASED java.awt.event.MouseEvent[MOUSE_RELEASED,(150,150),absolute(150,174),button=16,clickCount=1] on frame0
      CLICKED java.awt.event.MouseEvent[MOUSE_CLICKED,(150,150),absolute(150,174),button=16,clickCount=1] on frame0
      button to press = 17 : value passed to robot = 134217728
      PRESSED java.awt.event.MouseEvent[MOUSE_PRESSED,(150,150),absolute(150,174),button=17,extModifiers=Button17,clickCount=1] on frame0
      MEvent. CASE!
      MEvent. CASE!
      RELEASED java.awt.event.MouseEvent[MOUSE_RELEASED,(150,150),absolute(150,174),button=17,clickCount=1] on frame0
      CLICKED java.awt.event.MouseEvent[MOUSE_CLICKED,(150,150),absolute(150,174),button=17,clickCount=1] on frame0
      button to press = 18 : value passed to robot = 268435456
      PRESSED java.awt.event.MouseEvent[MOUSE_PRESSED,(150,150),absolute(150,174),button=18,extModifiers=Button18,clickCount=1] on frame0
      MEvent. CASE!
      MEvent. CASE!
      RELEASED java.awt.event.MouseEvent[MOUSE_RELEASED,(150,150),absolute(150,174),button=18,clickCount=1] on frame0
      CLICKED java.awt.event.MouseEvent[MOUSE_CLICKED,(150,150),absolute(150,174),button=18,clickCount=1] on frame0
      button to press = 19 : value passed to robot = 536870912
      button to press = 20 : value passed to robot = 1073741824
      ----------System.err:(26/1957)----------
      java.lang.RuntimeException: TESTCASE 2 FAILED : button 19 wasn't single pressed|released|clicked : 0 : 0 : 0
      at ToolkitPropertyTest_Enable.testCase2(ToolkitPropertyTest_Enable.java:107)
      at ToolkitPropertyTest_Enable.main(ToolkitPropertyTest_Enable.java:63)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:623)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:717)
      java.lang.RuntimeException: java.lang.RuntimeException: TESTCASE 2 FAILED : button 19 wasn't single pressed|released|clicked : 0 : 0 : 0
      at ToolkitPropertyTest_Enable.main(ToolkitPropertyTest_Enable.java:70)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:623)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:717)
      Caused by: java.lang.RuntimeException: TESTCASE 2 FAILED : button 19 wasn't single pressed|released|clicked : 0 : 0 : 0
      at ToolkitPropertyTest_Enable.testCase2(ToolkitPropertyTest_Enable.java:107)
      at ToolkitPropertyTest_Enable.main(ToolkitPropertyTest_Enable.java:63)
      ... 6 more

      JavaTest Message: Test threw exception: java.lang.RuntimeException: java.lang.RuntimeException: TESTCASE 2 FAILED : button 19 wasn't single pressed|released|clicked : 0 : 0 : 0
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: java.lang.RuntimeException: TESTCASE 2 FAILED : button 19 wasn't single pressed|released|clicked : 0 : 0 : 0
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: java.lang.RuntimeException: TESTCASE 2 FAILED : button 19 wasn't single pressed|released|clicked : 0 : 0 : 0


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: java.lang.RuntimeException: TESTCASE 2 FAILED : button 19 wasn't single pressed|released|clicked : 0 : 0 : 0

            azvegint Alexander Zvegintsev
            anthony Anthony Petrov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: