JDK-8255126 : Intermittent test failures in SandboxAppTest
  • Type: Bug
  • Component: javafx
  • Sub-Component: application-lifecycle
  • Affected Version: openjfx16
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2020-10-21
  • Updated: 2020-10-29
  • Resolved: 2020-10-29
Related Reports
Duplicate :  
Description
I still occasionally see these test failures on Windows, even after the fix for JDK-8246099, which bumped the timeout value for the test to 25 seconds: 

test.sandbox.SandboxAppTest > testFXNonApp FAILED
    java.lang.Exception: test timed out after 25000 milliseconds
        at java.base@15/java.lang.ProcessImpl.waitForInterruptibly(Native Method)
        at java.base@15/java.lang.ProcessImpl.waitFor(ProcessImpl.java:550)
        at app//test.sandbox.SandboxAppTest.runSandboxedApp(SandboxAppTest.java:70)
        at app//test.sandbox.SandboxAppTest.runSandboxedApp(SandboxAppTest.java:52)
        at app//test.sandbox.SandboxAppTest.testFXNonApp(SandboxAppTest.java:110)

test.sandbox.SandboxAppTest > testJFXPanelApp SKIPPED

Gradle Test Executor 124 finished executing tests.

> Task :systemTests:test

test.sandbox.SandboxAppTest > testFXApp FAILED
    java.lang.Exception: test timed out after 25000 milliseconds
        at java.base@15/java.lang.ProcessImpl.waitForInterruptibly(Native Method)
        at java.base@15/java.lang.ProcessImpl.waitFor(ProcessImpl.java:550)
        at app//test.sandbox.SandboxAppTest.runSandboxedApp(SandboxAppTest.java:70)
        at app//test.sandbox.SandboxAppTest.runSandboxedApp(SandboxAppTest.java:52)
        at app//test.sandbox.SandboxAppTest.testFXApp(SandboxAppTest.java:105)
Comments
Closing as a duplicate of JDK-8255486. I forgot that I had filed this one last week when I filed JDK-8255486 earlier this week. Normally we would keep the older bug, but in this case I've already used the newer one in a code comment when marking the test as unstable (see JDK-8255487).
29-10-2020