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

java/awt/TrayIcon tests fail on Ubuntu 22.04

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 11, 17, 19, 20
    • client-libs

      These TrayIcon tests repeatedly fail on multiple Ubuntu 22.04 systems
      java/awt/TrayIcon/TrayIconEvents/TrayIconEventsTest.java
      java/awt/TrayIcon/TrayIconEventModifiers/TrayIconEventModifiersTest.java
      java/awt/TrayIcon/SecurityCheck/FunctionalityCheck/FunctionalityCheck.java
      java/awt/TrayIcon/MouseMovedTest/MouseMovedTest.java
      java/awt/TrayIcon/MouseEventMask/MouseEventMaskTest.java
      java/awt/TrayIcon/ModalityTest/ModalityTest.java
      java/awt/TrayIcon/ActionEventMask/ActionEventMask.java

      the causes are likely the same or highly related
      Stack traces below

      java/awt/TrayIcon/TrayIconEvents/TrayIconEventsTest.java

      java.lang.RuntimeException: FAIL: mousePressed not triggered when BUTTON3 pressed
      at TrayIconEventsTest.doTest(TrayIconEventsTest.java:248)
      at TrayIconEventsTest.main(TrayIconEventsTest.java:86)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
      at java.base/java.lang.Thread.run(Thread.java:1591)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: FAIL: mousePressed not triggered when BUTTON3 pressed
      JavaTest Message: shutting down test

      ====
      java/awt/TrayIcon/TrayIconEventModifiers/TrayIconEventModifiersTest.java

      java.lang.RuntimeException: FAIL: mousePressed not triggered when SHIFT + BUTTON1 pressed
      at TrayIconEventModifiersTest.doTest(TrayIconEventModifiersTest.java:216)
      at TrayIconEventModifiersTest.main(TrayIconEventModifiersTest.java:119)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
      at java.base/java.lang.Thread.run(Thread.java:1591)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: FAIL: mousePressed not triggered when SHIFT + BUTTON1 pressed


      ====
      java/awt/TrayIcon/SecurityCheck/FunctionalityCheck/FunctionalityCheck.java

      WARNING: A command line option has enabled the Security Manager
      WARNING: The Security Manager is deprecated and will be removed in a future release
      java.lang.RuntimeException: FAIL: mouseMoved not triggered even when mouse moved over the icon
      at FunctionalityCheck.doTest(FunctionalityCheck.java:285)
      at FunctionalityCheck.main(FunctionalityCheck.java:78)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
      at java.base/java.lang.Thread.run(Thread.java:1591)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: FAIL: mouseMoved not triggered even when mouse moved over the icon
      JavaTest Message: shutting down test


      ====

      java/awt/TrayIcon/MouseMovedTest/MouseMovedTest.java

      java.lang.RuntimeException: Mouse moved action did not trigger
      at MouseMovedTest.main(MouseMovedTest.java:71)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
      at java.base/java.lang.Thread.run(Thread.java:1591)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Mouse moved action did not trigger
      JavaTest Message: shutting down test



      ====
      java/awt/TrayIcon/MouseEventMask/MouseEventMaskTest.java

      TrayIcon
      at MouseEventMaskTest.doTest(MouseEventMaskTest.java:161)
      at MouseEventMaskTest.main(MouseEventMaskTest.java:81)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
      at java.base/java.lang.Thread.run(Thread.java:1591)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: FAIL: AWTEventListener not notified when BUTTON1 pressed on


      ====
      java/awt/TrayIcon/ModalityTest/ModalityTest.java

      java.lang.RuntimeException: FAIL: mouseMoved not triggered even when mouse moved over the icon
      at ModalityTest.doTest(ModalityTest.java:325)
      at ModalityTest.main(ModalityTest.java:89)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
      at java.base/java.lang.Thread.run(Thread.java:1591)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: FAIL: mouseMoved not triggered even when mouse moved over the icon
      JavaTest Message: shutting down test


      ====
      java/awt/TrayIcon/ActionEventMask/ActionEventMask.java

      java.lang.RuntimeException: FAIL: ActionListener could not be added at runtime. b1 did not trigger ActionEvent
      at ActionEventMask.doTest(ActionEventMask.java:214)
      at ActionEventMask.main(ActionEventMask.java:78)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
      at java.base/java.lang.Thread.run(Thread.java:1591)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: FAIL: ActionListener could not be added at runtime. b1 did not trigger ActionEvent
      JavaTest Message: shutting down test


      ====

            azvegint Alexander Zvegintsev
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: