The following test timed out in the JDK23 CI:
tools/jpackage/share/IconTest.java
Here's snippets from the log file:
#section:main
----------messages:(9/612)----------
command: main -Xmx512m --add-opens jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED jdk.jpackage.test.Main --jpt-run=IconTest
reason: User specified action: run main/othervm/timeout=540 -Xmx512m --add-opens jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED jdk.jpackage.test.Main --jpt-run=IconTest
started: Thu Mar 14 06:36:50 GMT 2024
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules jdk.jpackage --add-exports jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED
Timeout information:
--- Timeout information end.
finished: Thu Mar 14 07:26:49 GMT 2024
elapsed time (seconds): 2998.796
----------configuration:(5/187)----------
Boot Layer
add modules: jdk.jpackage
add exports: jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED
add opens: jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED
----------System.out:(1839/173127)----------
[06:36:50.670] Parsing [--jpt-run=IconTest]...
[06:36:50.717] IconTest.test -> [public void IconTest.test() throws java.io.IOException]
[06:36:50.729] Create: IconTest(AppImage, DefaultIcon).test
[06:36:50.729] Create: IconTest(AppImage, CustomIcon).test
<snip>
[06:58:21.046] TRACE: assertEquals(0): Check command [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-23+14-1070/macosx-x64.jdk/jdk-23.jdk/Contents/Home/bin/jpackage --input ./test.f79b089b/input --dest ./test.f79b089b/output --name IconTest --type dmg --main-jar hello.jar --main-class Hello --icon /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-23+14-1070/src.full/open/test/jdk/tools/jpackage/resources/icon2.icns --resource-dir ./test.f79b089b/resources.0 --runtime-image ./test.f79b089b/fake_runtime -J-Djlink.debug=true --verbose](21) exited with 0 code
[06:58:21.047] TRACE: assertTrue(): Check [./test.f79b089b/output/IconTest-1.0.dmg] path exists
[06:58:21.048] TRACE: assertTrue(): Check [./test.f79b089b/output/IconTest-1.0.dmg] is a file
[06:58:21.048] TRACE: assertNotNull([06:56:03.030] Using custom package resource [icon] (loaded from file /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-23+14-1070/src.full/open/test/jdk/tools/jpackage/resources/icon2.icns).): Check output contains [Using custom package resource [icon] (loaded from file] string
Timeout signalled after 2160 seconds
[07:16:00.434] TRACE: Exploded [./test.f79b089b/output/IconTest-1.0.dmg] in [/Volumes/IconTest/.background] directory
[07:16:00.450] TRACE: exec: Execute [cp -r /Volumes/IconTest/.background ./test.f79b089b/unpacked-dmg/Applications](4); discard I/O...
[07:16:00.458] TRACE: exec: Done. Exit code: 0
<snip>
[07:18:10.201] TRACE: assertTrue(): Check [./test.dd895b94/output/IconTest-1.0.dmg] path exists
[07:18:10.201] TRACE: assertTrue(): Check [./test.dd895b94/output/IconTest-1.0.dmg] is a file
[07:18:10.202] TRACE: assertNotNull([07:16:02.177] Using default package resource JavaApp.icns [icon] (add IconTest.icns to the resource-dir to customize).): Check output contains [Using default package resource JavaApp.icns [icon] (add IconTest.icns to the resource-dir to customize)] string
----------System.err:(0/0)----------
----------rerun:(40/7390)*----------
<snip>
result: Error. Program `/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-23+14-1070/macosx-x64.jdk/jdk-23.jdk/Contents/Home/bin/java' timed out (timeout set to 2160000ms, elapsed time including timeout handling was 2998762ms).
tools/jpackage/share/IconTest.java
Here's snippets from the log file:
#section:main
----------messages:(9/612)----------
command: main -Xmx512m --add-opens jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED jdk.jpackage.test.Main --jpt-run=IconTest
reason: User specified action: run main/othervm/timeout=540 -Xmx512m --add-opens jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED jdk.jpackage.test.Main --jpt-run=IconTest
started: Thu Mar 14 06:36:50 GMT 2024
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules jdk.jpackage --add-exports jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED
Timeout information:
--- Timeout information end.
finished: Thu Mar 14 07:26:49 GMT 2024
elapsed time (seconds): 2998.796
----------configuration:(5/187)----------
Boot Layer
add modules: jdk.jpackage
add exports: jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED
add opens: jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED
----------System.out:(1839/173127)----------
[06:36:50.670] Parsing [--jpt-run=IconTest]...
[06:36:50.717] IconTest.test -> [public void IconTest.test() throws java.io.IOException]
[06:36:50.729] Create: IconTest(AppImage, DefaultIcon).test
[06:36:50.729] Create: IconTest(AppImage, CustomIcon).test
<snip>
[06:58:21.046] TRACE: assertEquals(0): Check command [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-23+14-1070/macosx-x64.jdk/jdk-23.jdk/Contents/Home/bin/jpackage --input ./test.f79b089b/input --dest ./test.f79b089b/output --name IconTest --type dmg --main-jar hello.jar --main-class Hello --icon /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-23+14-1070/src.full/open/test/jdk/tools/jpackage/resources/icon2.icns --resource-dir ./test.f79b089b/resources.0 --runtime-image ./test.f79b089b/fake_runtime -J-Djlink.debug=true --verbose](21) exited with 0 code
[06:58:21.047] TRACE: assertTrue(): Check [./test.f79b089b/output/IconTest-1.0.dmg] path exists
[06:58:21.048] TRACE: assertTrue(): Check [./test.f79b089b/output/IconTest-1.0.dmg] is a file
[06:58:21.048] TRACE: assertNotNull([06:56:03.030] Using custom package resource [icon] (loaded from file /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-23+14-1070/src.full/open/test/jdk/tools/jpackage/resources/icon2.icns).): Check output contains [Using custom package resource [icon] (loaded from file] string
Timeout signalled after 2160 seconds
[07:16:00.434] TRACE: Exploded [./test.f79b089b/output/IconTest-1.0.dmg] in [/Volumes/IconTest/.background] directory
[07:16:00.450] TRACE: exec: Execute [cp -r /Volumes/IconTest/.background ./test.f79b089b/unpacked-dmg/Applications](4); discard I/O...
[07:16:00.458] TRACE: exec: Done. Exit code: 0
<snip>
[07:18:10.201] TRACE: assertTrue(): Check [./test.dd895b94/output/IconTest-1.0.dmg] path exists
[07:18:10.201] TRACE: assertTrue(): Check [./test.dd895b94/output/IconTest-1.0.dmg] is a file
[07:18:10.202] TRACE: assertNotNull([07:16:02.177] Using default package resource JavaApp.icns [icon] (add IconTest.icns to the resource-dir to customize).): Check output contains [Using default package resource JavaApp.icns [icon] (add IconTest.icns to the resource-dir to customize)] string
----------System.err:(0/0)----------
----------rerun:(40/7390)*----------
<snip>
result: Error. Program `/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-23+14-1070/macosx-x64.jdk/jdk-23.jdk/Contents/Home/bin/java' timed out (timeout set to 2160000ms, elapsed time including timeout handling was 2998762ms).
- relates to
-
JDK-8235738 [macos] tools/jpackage tests timeout on macOS
- Resolved
-
JDK-8236282 [macos] Find permanent solution to macOS test timeout problem JDK-8235738
- Resolved