The following test failed in the JDK18 CI:
tools/jpackage/share/MultiLauncherTwoPhaseTest.java
Here's a snippet from the log file:
[20:45:22.193] TRACE: exec: Execute [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+24-1580/macosx-aarch64.jdk/jdk-18.jdk/Contents/Home/bin/jpackage --input ./test/input --dest ./test/appimage --name MultiLauncherTwoPhaseTest --type app-image --main-jar hello.jar --main-class Hello --add-launcher bar=./test/bar.properties --add-launcher foo=./test/foo.properties --verbose](18); inherit I/O...
[20:45:22.292] Creating app package: MultiLauncherTwoPhaseTest.app in /System/Volumes/Data/mesos/work_dir/slaves/a2dc162d-743b-4800-9e92-31f85abb45b1-S137599/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/44f52242-2f73-48a0-84bf-90ef743e12c3/runs/720cc766-e489-4aca-8e35-5ab48fd3d95e/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/1/./test/appimage
[20:45:25.686] Command [PID: -1]:
jlink --output ./test/appimage/MultiLauncherTwoPhaseTest.app/Contents/runtime/Contents/Home --module-path /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+24-1580/macosx-aarch64.jdk/jdk-18.jdk/Contents/Home/jmods --add-modules java.rmi,jdk.management.jfr,jdk.jdi,jdk.charsets,jdk.xml.dom,java.xml,java.datatransfer,jdk.jstatd,jdk.httpserver,java.desktop,java.security.sasl,jdk.zipfs,java.base,jdk.crypto.ec,jdk.javadoc,jdk.management.agent,jdk.jshell,jdk.editpad,java.sql.rowset,jdk.sctp,jdk.jsobject,java.smartcardio,jdk.jlink,jdk.unsupported,java.security.jgss,jdk.nio.mapmode,java.compiler,jdk.dynalink,jdk.unsupported.desktop,jdk.accessibility,jdk.security.jgss,jdk.incubator.vector,java.sql,java.transaction.xa,java.logging,java.xml.crypto,jdk.jfr,jdk.crypto.cryptoki,jdk.random,jdk.net,java.naming,jdk.internal.ed,java.prefs,java.net.http,jdk.compiler,jdk.naming.rmi,jdk.internal.opt,jdk.jconsole,jdk.attach,jdk.internal.le,java.management,jdk.jdwp.agent,jdk.incubator.foreign,jdk.internal.jvmstat,java.instrument,jdk.management,jdk.security.auth,java.scripting,jdk.jdeps,jdk.jartool,jdk.jpackage,java.management.rmi,jdk.naming.dns,jdk.localedata --strip-native-commands --strip-debug --no-man-pages --no-header-files
[20:45:25.686] Output:
WARNING: Using incubator modules: jdk.incubator.foreign, jdk.incubator.vector
Error: java.lang.IllegalArgumentException
[20:45:25.686] Returned: 1
[20:45:25.686] jdk.jpackage.internal.PackagerException: jlink failed with: WARNING: Using incubator modules: jdk.incubator.foreign, jdk.incubator.vector
Error: java.lang.IllegalArgumentException
at jdk.jpackage/jdk.jpackage.internal.JLinkBundlerHelper.runJLink(JLinkBundlerHelper.java:199)
at jdk.jpackage/jdk.jpackage.internal.JLinkBundlerHelper.execute(JLinkBundlerHelper.java:81)
at jdk.jpackage/jdk.jpackage.internal.AppImageBundler.createAppBundle(AppImageBundler.java:166)
at jdk.jpackage/jdk.jpackage.internal.AppImageBundler.execute(AppImageBundler.java:91)
at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:689)
at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:561)
at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:91)
at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:52)
[20:45:25.702] TRACE: exec: Done. Exit code: 1
[20:45:25.703] ERROR: Expected [0]. Actual [1]: Check command [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+24-1580/macosx-aarch64.jdk/jdk-18.jdk/Contents/Home/bin/jpackage --input ./test/input --dest ./test/appimage --name MultiLauncherTwoPhaseTest --type app-image --main-jar hello.jar --main-class Hello --add-launcher bar=./test/bar.properties --add-launcher foo=./test/foo.properties --verbose](18) exited with 0 code
[20:45:25.704] [ FAILED ] MultiLauncherTwoPhaseTest.test; checks=3
[20:45:25.704] [==========] 1 tests ran
[20:45:25.705] [ PASSED ] 0 tests
[20:45:25.705] [ FAILED ] 1 test, listed below
[20:45:25.705] [ FAILED ] MultiLauncherTwoPhaseTest.test; workDir=[./test]
[20:45:25.705] 1 FAILED TEST
----------System.err:(62/4488)----------
tools/jpackage/share/MultiLauncherTwoPhaseTest.java
Here's a snippet from the log file:
[20:45:22.193] TRACE: exec: Execute [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+24-1580/macosx-aarch64.jdk/jdk-18.jdk/Contents/Home/bin/jpackage --input ./test/input --dest ./test/appimage --name MultiLauncherTwoPhaseTest --type app-image --main-jar hello.jar --main-class Hello --add-launcher bar=./test/bar.properties --add-launcher foo=./test/foo.properties --verbose](18); inherit I/O...
[20:45:22.292] Creating app package: MultiLauncherTwoPhaseTest.app in /System/Volumes/Data/mesos/work_dir/slaves/a2dc162d-743b-4800-9e92-31f85abb45b1-S137599/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/44f52242-2f73-48a0-84bf-90ef743e12c3/runs/720cc766-e489-4aca-8e35-5ab48fd3d95e/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/1/./test/appimage
[20:45:25.686] Command [PID: -1]:
jlink --output ./test/appimage/MultiLauncherTwoPhaseTest.app/Contents/runtime/Contents/Home --module-path /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+24-1580/macosx-aarch64.jdk/jdk-18.jdk/Contents/Home/jmods --add-modules java.rmi,jdk.management.jfr,jdk.jdi,jdk.charsets,jdk.xml.dom,java.xml,java.datatransfer,jdk.jstatd,jdk.httpserver,java.desktop,java.security.sasl,jdk.zipfs,java.base,jdk.crypto.ec,jdk.javadoc,jdk.management.agent,jdk.jshell,jdk.editpad,java.sql.rowset,jdk.sctp,jdk.jsobject,java.smartcardio,jdk.jlink,jdk.unsupported,java.security.jgss,jdk.nio.mapmode,java.compiler,jdk.dynalink,jdk.unsupported.desktop,jdk.accessibility,jdk.security.jgss,jdk.incubator.vector,java.sql,java.transaction.xa,java.logging,java.xml.crypto,jdk.jfr,jdk.crypto.cryptoki,jdk.random,jdk.net,java.naming,jdk.internal.ed,java.prefs,java.net.http,jdk.compiler,jdk.naming.rmi,jdk.internal.opt,jdk.jconsole,jdk.attach,jdk.internal.le,java.management,jdk.jdwp.agent,jdk.incubator.foreign,jdk.internal.jvmstat,java.instrument,jdk.management,jdk.security.auth,java.scripting,jdk.jdeps,jdk.jartool,jdk.jpackage,java.management.rmi,jdk.naming.dns,jdk.localedata --strip-native-commands --strip-debug --no-man-pages --no-header-files
[20:45:25.686] Output:
WARNING: Using incubator modules: jdk.incubator.foreign, jdk.incubator.vector
Error: java.lang.IllegalArgumentException
[20:45:25.686] Returned: 1
[20:45:25.686] jdk.jpackage.internal.PackagerException: jlink failed with: WARNING: Using incubator modules: jdk.incubator.foreign, jdk.incubator.vector
Error: java.lang.IllegalArgumentException
at jdk.jpackage/jdk.jpackage.internal.JLinkBundlerHelper.runJLink(JLinkBundlerHelper.java:199)
at jdk.jpackage/jdk.jpackage.internal.JLinkBundlerHelper.execute(JLinkBundlerHelper.java:81)
at jdk.jpackage/jdk.jpackage.internal.AppImageBundler.createAppBundle(AppImageBundler.java:166)
at jdk.jpackage/jdk.jpackage.internal.AppImageBundler.execute(AppImageBundler.java:91)
at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:689)
at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:561)
at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:91)
at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:52)
[20:45:25.702] TRACE: exec: Done. Exit code: 1
[20:45:25.703] ERROR: Expected [0]. Actual [1]: Check command [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+24-1580/macosx-aarch64.jdk/jdk-18.jdk/Contents/Home/bin/jpackage --input ./test/input --dest ./test/appimage --name MultiLauncherTwoPhaseTest --type app-image --main-jar hello.jar --main-class Hello --add-launcher bar=./test/bar.properties --add-launcher foo=./test/foo.properties --verbose](18) exited with 0 code
[20:45:25.704] [ FAILED ] MultiLauncherTwoPhaseTest.test; checks=3
[20:45:25.704] [==========] 1 tests ran
[20:45:25.705] [ PASSED ] 0 tests
[20:45:25.705] [ FAILED ] 1 test, listed below
[20:45:25.705] [ FAILED ] MultiLauncherTwoPhaseTest.test; workDir=[./test]
[20:45:25.705] 1 FAILED TEST
----------System.err:(62/4488)----------
- duplicates
-
JDK-8282954 java.util.zip reader intermittently fails with a jmod file
- Closed
- relates to
-
JDK-8277058 [macos] tools/jpackage/macosx/NameWithSpaceTest.java failed NameWithSpaceTest.test
- Open
-
JDK-8282954 java.util.zip reader intermittently fails with a jmod file
- Closed
-
JDK-8282535 Corrupted class files on OSX aarch64
- Closed
There are no Sub-Tasks for this issue.