JDK-8321625 : [testbug] ContextMenuNPETest fails intermittently on Linux
  • Type: Bug
  • Component: javafx
  • Sub-Component: controls
  • Affected Version: jfx22
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2023-12-08
  • Updated: 2024-06-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Relates :  
Description
The following headful system test fails intermittently on Linux. We see this failure quite often in our automated test runs.

ContextMenuNPETest > testContextMenuNPE FAILED
    java.lang.AssertionError: Timeout: Failed to hide context menu.
        at org.junit.Assert.fail(Assert.java:89)
        at org.junit.Assert.assertTrue(Assert.java:42)
        at test.util.Util.waitForLatch(Util.java:400)
        at test.robot.javafx.scene.ContextMenuNPETest.selectSubmenuItem(ContextMenuNPETest.java:105)
        at test.robot.javafx.scene.ContextMenuNPETest.testContextMenuNPE(ContextMenuNPETest.java:111)

Comments
Not able to reproduce this issue in my local ubuntu 22.04 VM even after running many times. Since it was intermittent issue and I don't see any changes which would have fixed the issue, keeping the bug open.
18-03-2024

This is causing a lot of noise in our CI headful test runs, so we will mark this test as unstable on Linux. See JDK-8321626.
09-12-2023