The following test timed out in the JDK26 CI:
tools/jpackage/share/ServiceTest.java
Here's a snippet from the log file:
#section:main
----------messages:(11/896)----------
command: main -Xmx512m jdk.jpackage.test.Main --jpt-run=ServiceTest
reason: User specified action: run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main --jpt-run=ServiceTest
exclusiveAccess wait time (seconds): 236.17
started: Wed Sep 17 11:19:38 GMT 2025
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules jdk.jpackage,java.base,jdk.jlink --add-exports jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED --add-opens jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED --add-exports jdk.jpackage/jdk.jpackage.internal.util=ALL-UNNAMED --add-exports jdk.jpackage/jdk.jpackage.internal.util.function=ALL-UNNAMED --add-exports java.base/jdk.internal.util=ALL-UNNAMED --add-exports jdk.jlink/jdk.tools.jlink.internal=ALL-UNNAMED
Process id: 55754
Timeout information:
--- Timeout information end.
finished: Wed Sep 17 11:34:08 GMT 2025
elapsed time (seconds): 870.727
----------configuration:(9/533)----------
<snip>
[11:27:29.673] TRACE: assertTrue(): Check [testUpdate/unpacked-pkg-0/unpacked/Applications/UpdateServiceTest.app/Contents/app/bar.cfg] path exists
[11:27:29.673] TRACE: assertTrue(): Check [testUpdate/unpacked-pkg-0/unpacked/Applications/UpdateServiceTest.app/Contents/app/bar.cfg] is a file
[11:27:29.673] TRACE: assertTrue(): Check [testUpdate/unpacked-pkg-0/unpacked/Applications/UpdateServiceTest.app/Contents/Resources/bar.icns] path doesn't exist
[11:27:29.673] TRACE: Not verifying contents of test output file [/tmp/bar-launcher-as-service.txt] for bar launcher because package was unpacked, not installed
[11:27:29.695] TRACE: Deleting [testUpdate] directory recursively
[11:27:30.152] [ OK ] ServiceTest.testUpdate; checks=113
[11:27:30.177] [==========] 2 tests ran
[11:27:30.177] [ PASSED ] 2 tests
----------System.err:(1/15)----------
STATUS:Passed.
----------rerun:(47/8271)*----------
It looks like the test PASSed while the timeout handler was running.
tools/jpackage/share/ServiceTest.java
Here's a snippet from the log file:
#section:main
----------messages:(11/896)----------
command: main -Xmx512m jdk.jpackage.test.Main --jpt-run=ServiceTest
reason: User specified action: run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main --jpt-run=ServiceTest
exclusiveAccess wait time (seconds): 236.17
started: Wed Sep 17 11:19:38 GMT 2025
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules jdk.jpackage,java.base,jdk.jlink --add-exports jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED --add-opens jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED --add-exports jdk.jpackage/jdk.jpackage.internal.util=ALL-UNNAMED --add-exports jdk.jpackage/jdk.jpackage.internal.util.function=ALL-UNNAMED --add-exports java.base/jdk.internal.util=ALL-UNNAMED --add-exports jdk.jlink/jdk.tools.jlink.internal=ALL-UNNAMED
Process id: 55754
Timeout information:
--- Timeout information end.
finished: Wed Sep 17 11:34:08 GMT 2025
elapsed time (seconds): 870.727
----------configuration:(9/533)----------
<snip>
[11:27:29.673] TRACE: assertTrue(): Check [testUpdate/unpacked-pkg-0/unpacked/Applications/UpdateServiceTest.app/Contents/app/bar.cfg] path exists
[11:27:29.673] TRACE: assertTrue(): Check [testUpdate/unpacked-pkg-0/unpacked/Applications/UpdateServiceTest.app/Contents/app/bar.cfg] is a file
[11:27:29.673] TRACE: assertTrue(): Check [testUpdate/unpacked-pkg-0/unpacked/Applications/UpdateServiceTest.app/Contents/Resources/bar.icns] path doesn't exist
[11:27:29.673] TRACE: Not verifying contents of test output file [/tmp/bar-launcher-as-service.txt] for bar launcher because package was unpacked, not installed
[11:27:29.695] TRACE: Deleting [testUpdate] directory recursively
[11:27:30.152] [ OK ] ServiceTest.testUpdate; checks=113
[11:27:30.177] [==========] 2 tests ran
[11:27:30.177] [ PASSED ] 2 tests
----------System.err:(1/15)----------
STATUS:Passed.
----------rerun:(47/8271)*----------
It looks like the test PASSed while the timeout handler was running.