TEST: tools/jpackage/share/RuntimeImageSymbolicLinksTest.java TEST JDK: /tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk ACTION: build -- Passed. All files up to date REASON: User specified action: run build jdk.jpackage.test.* TIME: 0.0 seconds messages: command: build jdk.jpackage.test.* reason: User specified action: run build jdk.jpackage.test.* started: Fri Dec 20 22:10:11 CST 2024 finished: Fri Dec 20 22:10:11 CST 2024 elapsed time (seconds): 0.0 ACTION: compile -- Passed. Compilation successful REASON: User specified action: run compile RuntimeImageSymbolicLinksTest.java TIME: 0.436 seconds messages: command: compile /tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/share/RuntimeImageSymbolicLinksTest.java reason: User specified action: run compile RuntimeImageSymbolicLinksTest.java started: Fri Dec 20 22:10:11 CST 2024 Additional options from @modules: --add-modules jdk.jpackage,java.base --add-exports 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 Mode: othervm finished: Fri Dec 20 22:10:12 CST 2024 elapsed time (seconds): 0.436 configuration: javac compilation environment add modules: jdk.jpackage java.base add exports: java.base/jdk.internal.util ALL-UNNAMED jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED jdk.jpackage/jdk.jpackage.internal.util ALL-UNNAMED jdk.jpackage/jdk.jpackage.internal.util.function ALL-UNNAMED source path: /tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/share /tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/helpers class path: /tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/share /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/85/tools/jpackage/share/RuntimeImageSymbolicLinksTest.d /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/85/test/jdk/tools/jpackage/helpers rerun: cd /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/tools/jpackage/share/RuntimeImageSymbolicLinksTest && \ DISPLAY=:7 \ HOME=/home/testUserForTone \ JTREG_VERSION=jtreg-7.4.1 \ LANG=C \ LC_CTYPE=C.UTF-8 \ LD_LIBRARY_PATH=/tmp/tone/run/jtreg/jdk-repo/build/tools/lib \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/tmp/tone/run/jtreg/test-images \ /tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk/bin/javac \ -J-ea \ -J-esa \ -J-Dtest.vm.opts='-ea -esa' \ -J-Dtest.tool.vm.opts='-J-ea -J-esa' \ -J-Dtest.compiler.opts= \ -J-Dtest.java.opts= \ -J-Dtest.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk \ -J-Dcompile.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk \ -J-Dtest.timeout.factor=4.0 \ -J-Dtest.nativepath=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -J-Dtest.root=/tmp/tone/run/jtreg/jdk-repo/test/jdk \ -J-Dtest.name=tools/jpackage/share/RuntimeImageSymbolicLinksTest.java \ -J-Dtest.file=/tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/share/RuntimeImageSymbolicLinksTest.java \ -J-Dtest.src=/tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/share \ -J-Dtest.src.path=/tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/share:/tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/helpers \ -J-Dtest.classes=/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/85/tools/jpackage/share/RuntimeImageSymbolicLinksTest.d \ -J-Dtest.class.path=/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/85/tools/jpackage/share/RuntimeImageSymbolicLinksTest.d:/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/85/test/jdk/tools/jpackage/helpers \ -J-Dtest.modules='jdk.jpackage/jdk.jpackage.internal:+open jdk.jpackage/jdk.jpackage.internal.util jdk.jpackage/jdk.jpackage.internal.util.function java.base/jdk.internal.util' \ @/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/tools/jpackage/share/RuntimeImageSymbolicLinksTest.d/compile.0.jta STDOUT: STDERR: ACTION: build -- Passed. All files up to date REASON: Named class compiled on demand TIME: 0.0 seconds messages: command: build jdk.jpackage.test.Main reason: Named class compiled on demand started: Fri Dec 20 22:10:12 CST 2024 finished: Fri Dec 20 22:10:12 CST 2024 elapsed time (seconds): 0.0 ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 1 FAILED TEST REASON: User specified action: run main/othervm/timeout=1400 -Xmx512m jdk.jpackage.test.Main --jpt-run=RuntimeImageSymbolicLinksTest TIME: 0.205 seconds messages: command: main -Xmx512m jdk.jpackage.test.Main --jpt-run=RuntimeImageSymbolicLinksTest reason: User specified action: run main/othervm/timeout=1400 -Xmx512m jdk.jpackage.test.Main --jpt-run=RuntimeImageSymbolicLinksTest started: Fri Dec 20 22:19:42 CST 2024 Mode: othervm [/othervm specified] Additional options from @modules: --add-modules jdk.jpackage,java.base --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 finished: Fri Dec 20 22:19:42 CST 2024 elapsed time (seconds): 0.205 configuration: Boot Layer add modules: jdk.jpackage java.base add exports: java.base/jdk.internal.util ALL-UNNAMED jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED jdk.jpackage/jdk.jpackage.internal.util ALL-UNNAMED jdk.jpackage/jdk.jpackage.internal.util.function ALL-UNNAMED add opens: jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED STDOUT: [22:19:42.743] Parsing [--jpt-run=RuntimeImageSymbolicLinksTest]... [22:19:42.772] RuntimeImageSymbolicLinksTest -> [public static void RuntimeImageSymbolicLinksTest.test() throws java.lang.Exception] [22:19:42.785] Create: RuntimeImageSymbolicLinksTest.test [22:19:42.788] [ RUN ] RuntimeImageSymbolicLinksTest.test [22:19:42.795] TRACE: exec: Execute tool provider [jlink --output ./test/runtime/data/temp.runtime --add-modules ALL-MODULE-PATH --strip-debug --no-header-files --no-man-pages --strip-native-commands](9)... Error: --module-path option must be specified with --add-modules ALL-MODULE-PATH [22:19:42.831] TRACE: exec: Done. Exit code: 2 [22:19:42.831] ERROR: Expected [0]. Actual [2]: Check command tool provider [jlink --output ./test/runtime/data/temp.runtime --add-modules ALL-MODULE-PATH --strip-debug --no-header-files --no-man-pages --strip-native-commands](9) exited with 0 code [22:19:42.831] [ FAILED ] RuntimeImageSymbolicLinksTest.test; checks=1 [22:19:42.833] [==========] 1 tests ran [22:19:42.833] [ PASSED ] 0 tests [22:19:42.834] [ FAILED ] 1 test, listed below [22:19:42.835] [ FAILED ] RuntimeImageSymbolicLinksTest.test; workDir=[./test] [22:19:42.835] 1 FAILED TEST STDERR: java.lang.AssertionError: Expected [0]. Actual [2]: Check command tool provider [jlink --output ./test/runtime/data/temp.runtime --add-modules ALL-MODULE-PATH --strip-debug --no-header-files --no-man-pages --strip-native-commands](9) exited with 0 code at jdk.jpackage.test.TKit.error(TKit.java:277) at jdk.jpackage.test.TKit.assertEquals(TKit.java:598) at jdk.jpackage.test.Executor$Result.assertExitCodeIs(Executor.java:196) at jdk.jpackage.test.Executor.execute(Executor.java:239) at jdk.jpackage.test.Executor.execute(Executor.java:243) at RuntimeImageSymbolicLinksTest.test(RuntimeImageSymbolicLinksTest.java:68) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at jdk.jpackage.test.MethodCall.accept(MethodCall.java:111) at jdk.jpackage.test.TestInstance.run(TestInstance.java:229) at jdk.jpackage.test.TKit.lambda$ignoreExceptions$0(TKit.java:149) at jdk.jpackage.test.TKit.lambda$runTests$1(TKit.java:134) at java.base/java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:722) at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:807) at jdk.jpackage.test.TKit.lambda$runTests$0(TKit.java:131) at jdk.jpackage/jdk.jpackage.internal.util.function.ThrowingRunnable.lambda$toRunnable$0(ThrowingRunnable.java:35) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:118) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:109) at jdk.jpackage.test.TKit.runTests(TKit.java:130) at jdk.jpackage.test.Main.runTests(Main.java:109) at jdk.jpackage.test.Main.lambda$main$3(Main.java:105) at jdk.jpackage/jdk.jpackage.internal.util.function.ThrowingRunnable.lambda$toRunnable$0(ThrowingRunnable.java:35) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:118) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:109) at jdk.jpackage.test.Main.main(Main.java:105) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) at java.base/java.lang.Thread.run(Thread.java:1447) java.lang.RuntimeException: 1 FAILED TEST at jdk.jpackage.test.Main.reportSummary(Main.java:160) at jdk.jpackage.test.Main.runTests(Main.java:120) at jdk.jpackage.test.Main.lambda$main$3(Main.java:105) at jdk.jpackage/jdk.jpackage.internal.util.function.ThrowingRunnable.lambda$toRunnable$0(ThrowingRunnable.java:35) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:118) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:109) at jdk.jpackage.test.Main.main(Main.java:105) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) at java.base/java.lang.Thread.run(Thread.java:1447) JavaTest Message: Test threw exception: java.lang.RuntimeException: 1 FAILED TEST JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.RuntimeException: 1 FAILED TEST rerun: cd /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/tools/jpackage/share/RuntimeImageSymbolicLinksTest && \ DISPLAY=:7 \ HOME=/home/testUserForTone \ JTREG_VERSION=jtreg-7.4.1 \ LANG=C \ LC_CTYPE=C.UTF-8 \ LD_LIBRARY_PATH=/tmp/tone/run/jtreg/jdk-repo/build/tools/lib \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/tmp/tone/run/jtreg/test-images \ CLASSPATH=/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/85/tools/jpackage/share/RuntimeImageSymbolicLinksTest.d:/tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/share:/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/85/test/jdk/tools/jpackage/helpers:/tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/helpers:/tmp/tone/run/jtreg/jtreg/lib/javatest.jar:/tmp/tone/run/jtreg/jtreg/lib/jtreg.jar \ /tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk/bin/java \ -Dtest.vm.opts='-ea -esa' \ -Dtest.tool.vm.opts='-J-ea -J-esa' \ -Dtest.compiler.opts= \ -Dtest.java.opts= \ -Dtest.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk \ -Dcompile.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk \ -Dtest.timeout.factor=4.0 \ -Dtest.nativepath=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -Dtest.root=/tmp/tone/run/jtreg/jdk-repo/test/jdk \ -Dtest.name=tools/jpackage/share/RuntimeImageSymbolicLinksTest.java \ -Dtest.file=/tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/share/RuntimeImageSymbolicLinksTest.java \ -Dtest.src=/tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/share \ -Dtest.src.path=/tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/share:/tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/helpers \ -Dtest.classes=/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/85/tools/jpackage/share/RuntimeImageSymbolicLinksTest.d \ -Dtest.class.path=/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/85/tools/jpackage/share/RuntimeImageSymbolicLinksTest.d:/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/85/test/jdk/tools/jpackage/helpers \ -Dtest.modules='jdk.jpackage/jdk.jpackage.internal:+open jdk.jpackage/jdk.jpackage.internal.util jdk.jpackage/jdk.jpackage.internal.util.function java.base/jdk.internal.util' \ --add-modules jdk.jpackage,java.base \ --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 \ -ea \ -esa \ -Djava.library.path=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -Xmx512m \ com.sun.javatest.regtest.agent.MainWrapper /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/tools/jpackage/share/RuntimeImageSymbolicLinksTest.d/main.1.jta --jpt-run=RuntimeImageSymbolicLinksTest TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 1 FAILED TEST -------------------------------------------------- TEST: tools/jpackage/share/RuntimeImageTest.java TEST JDK: /tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk ACTION: build -- Passed. All files up to date REASON: User specified action: run build jdk.jpackage.test.* TIME: 0.0 seconds messages: command: build jdk.jpackage.test.* reason: User specified action: run build jdk.jpackage.test.* started: Fri Dec 20 22:10:33 CST 2024 finished: Fri Dec 20 22:10:33 CST 2024 elapsed time (seconds): 0.0 ACTION: compile -- Passed. Compilation successful REASON: User specified action: run compile RuntimeImageTest.java TIME: 0.414 seconds messages: command: compile /tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/share/RuntimeImageTest.java reason: User specified action: run compile RuntimeImageTest.java started: Fri Dec 20 22:10:33 CST 2024 Additional options from @modules: --add-modules jdk.jpackage,java.base --add-exports 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 Mode: othervm finished: Fri Dec 20 22:10:34 CST 2024 elapsed time (seconds): 0.414 configuration: javac compilation environment add modules: jdk.jpackage java.base add exports: java.base/jdk.internal.util ALL-UNNAMED jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED jdk.jpackage/jdk.jpackage.internal.util ALL-UNNAMED jdk.jpackage/jdk.jpackage.internal.util.function ALL-UNNAMED source path: /tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/share /tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/helpers class path: /tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/share /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/64/tools/jpackage/share/RuntimeImageTest.d /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/64/test/jdk/tools/jpackage/helpers rerun: cd /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/tools/jpackage/share/RuntimeImageTest && \ DISPLAY=:7 \ HOME=/home/testUserForTone \ JTREG_VERSION=jtreg-7.4.1 \ LANG=C \ LC_CTYPE=C.UTF-8 \ LD_LIBRARY_PATH=/tmp/tone/run/jtreg/jdk-repo/build/tools/lib \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/tmp/tone/run/jtreg/test-images \ /tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk/bin/javac \ -J-ea \ -J-esa \ -J-Dtest.vm.opts='-ea -esa' \ -J-Dtest.tool.vm.opts='-J-ea -J-esa' \ -J-Dtest.compiler.opts= \ -J-Dtest.java.opts= \ -J-Dtest.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk \ -J-Dcompile.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk \ -J-Dtest.timeout.factor=4.0 \ -J-Dtest.nativepath=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -J-Dtest.root=/tmp/tone/run/jtreg/jdk-repo/test/jdk \ -J-Dtest.name=tools/jpackage/share/RuntimeImageTest.java \ -J-Dtest.file=/tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/share/RuntimeImageTest.java \ -J-Dtest.src=/tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/share \ -J-Dtest.src.path=/tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/share:/tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/helpers \ -J-Dtest.classes=/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/64/tools/jpackage/share/RuntimeImageTest.d \ -J-Dtest.class.path=/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/64/tools/jpackage/share/RuntimeImageTest.d:/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/64/test/jdk/tools/jpackage/helpers \ -J-Dtest.modules='jdk.jpackage/jdk.jpackage.internal:+open jdk.jpackage/jdk.jpackage.internal.util jdk.jpackage/jdk.jpackage.internal.util.function java.base/jdk.internal.util' \ @/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/tools/jpackage/share/RuntimeImageTest.d/compile.0.jta STDOUT: STDERR: ACTION: build -- Passed. All files up to date REASON: Named class compiled on demand TIME: 0.0 seconds messages: command: build jdk.jpackage.test.Main reason: Named class compiled on demand started: Fri Dec 20 22:10:34 CST 2024 finished: Fri Dec 20 22:10:34 CST 2024 elapsed time (seconds): 0.0 ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 1 FAILED TEST REASON: User specified action: run main/othervm/timeout=1400 jdk.jpackage.test.Main --jpt-run=RuntimeImageTest TIME: 0.205 seconds messages: command: main jdk.jpackage.test.Main --jpt-run=RuntimeImageTest reason: User specified action: run main/othervm/timeout=1400 jdk.jpackage.test.Main --jpt-run=RuntimeImageTest started: Fri Dec 20 22:19:42 CST 2024 Mode: othervm [/othervm specified] Additional options from @modules: --add-modules jdk.jpackage,java.base --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 finished: Fri Dec 20 22:19:43 CST 2024 elapsed time (seconds): 0.205 configuration: Boot Layer add modules: jdk.jpackage java.base add exports: java.base/jdk.internal.util ALL-UNNAMED jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED jdk.jpackage/jdk.jpackage.internal.util ALL-UNNAMED jdk.jpackage/jdk.jpackage.internal.util.function ALL-UNNAMED add opens: jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED STDOUT: [22:19:42.948] Parsing [--jpt-run=RuntimeImageTest]... [22:19:42.977] RuntimeImageTest -> [public static void RuntimeImageTest.test() throws java.lang.Exception] [22:19:42.990] Create: RuntimeImageTest.test [22:19:42.992] [ RUN ] RuntimeImageTest.test [22:19:42.999] TRACE: exec: Execute tool provider [jlink --output ./test/runtime/data/temp.runtime --add-modules ALL-MODULE-PATH --strip-debug --no-header-files --no-man-pages --strip-native-commands](9)... Error: --module-path option must be specified with --add-modules ALL-MODULE-PATH [22:19:43.036] TRACE: exec: Done. Exit code: 2 [22:19:43.036] ERROR: Expected [0]. Actual [2]: Check command tool provider [jlink --output ./test/runtime/data/temp.runtime --add-modules ALL-MODULE-PATH --strip-debug --no-header-files --no-man-pages --strip-native-commands](9) exited with 0 code [22:19:43.037] [ FAILED ] RuntimeImageTest.test; checks=1 [22:19:43.038] [==========] 1 tests ran [22:19:43.038] [ PASSED ] 0 tests [22:19:43.039] [ FAILED ] 1 test, listed below [22:19:43.040] [ FAILED ] RuntimeImageTest.test; workDir=[./test] [22:19:43.040] 1 FAILED TEST STDERR: java.lang.AssertionError: Expected [0]. Actual [2]: Check command tool provider [jlink --output ./test/runtime/data/temp.runtime --add-modules ALL-MODULE-PATH --strip-debug --no-header-files --no-man-pages --strip-native-commands](9) exited with 0 code at jdk.jpackage.test.TKit.error(TKit.java:277) at jdk.jpackage.test.TKit.assertEquals(TKit.java:598) at jdk.jpackage.test.Executor$Result.assertExitCodeIs(Executor.java:196) at jdk.jpackage.test.Executor.execute(Executor.java:239) at jdk.jpackage.test.Executor.execute(Executor.java:243) at RuntimeImageTest.test(RuntimeImageTest.java:61) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at jdk.jpackage.test.MethodCall.accept(MethodCall.java:111) at jdk.jpackage.test.TestInstance.run(TestInstance.java:229) at jdk.jpackage.test.TKit.lambda$ignoreExceptions$0(TKit.java:149) at jdk.jpackage.test.TKit.lambda$runTests$1(TKit.java:134) at java.base/java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:722) at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:807) at jdk.jpackage.test.TKit.lambda$runTests$0(TKit.java:131) at jdk.jpackage/jdk.jpackage.internal.util.function.ThrowingRunnable.lambda$toRunnable$0(ThrowingRunnable.java:35) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:118) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:109) at jdk.jpackage.test.TKit.runTests(TKit.java:130) at jdk.jpackage.test.Main.runTests(Main.java:109) at jdk.jpackage.test.Main.lambda$main$3(Main.java:105) at jdk.jpackage/jdk.jpackage.internal.util.function.ThrowingRunnable.lambda$toRunnable$0(ThrowingRunnable.java:35) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:118) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:109) at jdk.jpackage.test.Main.main(Main.java:105) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) at java.base/java.lang.Thread.run(Thread.java:1447) java.lang.RuntimeException: 1 FAILED TEST at jdk.jpackage.test.Main.reportSummary(Main.java:160) at jdk.jpackage.test.Main.runTests(Main.java:120) at jdk.jpackage.test.Main.lambda$main$3(Main.java:105) at jdk.jpackage/jdk.jpackage.internal.util.function.ThrowingRunnable.lambda$toRunnable$0(ThrowingRunnable.java:35) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:118) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:109) at jdk.jpackage.test.Main.main(Main.java:105) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) at java.base/java.lang.Thread.run(Thread.java:1447) JavaTest Message: Test threw exception: java.lang.RuntimeException: 1 FAILED TEST JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.RuntimeException: 1 FAILED TEST rerun: cd /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/tools/jpackage/share/RuntimeImageTest && \ DISPLAY=:7 \ HOME=/home/testUserForTone \ JTREG_VERSION=jtreg-7.4.1 \ LANG=C \ LC_CTYPE=C.UTF-8 \ LD_LIBRARY_PATH=/tmp/tone/run/jtreg/jdk-repo/build/tools/lib \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/tmp/tone/run/jtreg/test-images \ CLASSPATH=/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/64/tools/jpackage/share/RuntimeImageTest.d:/tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/share:/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/64/test/jdk/tools/jpackage/helpers:/tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/helpers:/tmp/tone/run/jtreg/jtreg/lib/javatest.jar:/tmp/tone/run/jtreg/jtreg/lib/jtreg.jar \ /tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk/bin/java \ -Dtest.vm.opts='-ea -esa' \ -Dtest.tool.vm.opts='-J-ea -J-esa' \ -Dtest.compiler.opts= \ -Dtest.java.opts= \ -Dtest.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk \ -Dcompile.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk \ -Dtest.timeout.factor=4.0 \ -Dtest.nativepath=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -Dtest.root=/tmp/tone/run/jtreg/jdk-repo/test/jdk \ -Dtest.name=tools/jpackage/share/RuntimeImageTest.java \ -Dtest.file=/tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/share/RuntimeImageTest.java \ -Dtest.src=/tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/share \ -Dtest.src.path=/tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/share:/tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/helpers \ -Dtest.classes=/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/64/tools/jpackage/share/RuntimeImageTest.d \ -Dtest.class.path=/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/64/tools/jpackage/share/RuntimeImageTest.d:/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/64/test/jdk/tools/jpackage/helpers \ -Dtest.modules='jdk.jpackage/jdk.jpackage.internal:+open jdk.jpackage/jdk.jpackage.internal.util jdk.jpackage/jdk.jpackage.internal.util.function java.base/jdk.internal.util' \ --add-modules jdk.jpackage,java.base \ --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 \ -ea \ -esa \ -Djava.library.path=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ com.sun.javatest.regtest.agent.MainWrapper /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/tools/jpackage/share/RuntimeImageTest.d/main.1.jta --jpt-run=RuntimeImageTest TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 1 FAILED TEST -------------------------------------------------- TEST: tools/jpackage/share/RuntimePackageTest.java#id0 TEST JDK: /tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk ACTION: build -- Passed. All files up to date REASON: User specified action: run build jdk.jpackage.test.* TIME: 0.001 seconds messages: command: build jdk.jpackage.test.* reason: User specified action: run build jdk.jpackage.test.* started: Fri Dec 20 22:11:03 CST 2024 finished: Fri Dec 20 22:11:03 CST 2024 elapsed time (seconds): 0.001 ACTION: compile -- Passed. Compilation successful REASON: User specified action: run compile RuntimePackageTest.java TIME: 0.537 seconds messages: command: compile /tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/share/RuntimePackageTest.java reason: User specified action: run compile RuntimePackageTest.java started: Fri Dec 20 22:11:03 CST 2024 Additional options from @modules: --add-modules jdk.jpackage,java.base --add-exports 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 Mode: othervm finished: Fri Dec 20 22:11:03 CST 2024 elapsed time (seconds): 0.537 configuration: javac compilation environment add modules: jdk.jpackage java.base add exports: java.base/jdk.internal.util ALL-UNNAMED jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED jdk.jpackage/jdk.jpackage.internal.util ALL-UNNAMED jdk.jpackage/jdk.jpackage.internal.util.function ALL-UNNAMED source path: /tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/share /tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/helpers class path: /tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/share /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/81/tools/jpackage/share/RuntimePackageTest_id0.d /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/81/test/jdk/tools/jpackage/helpers rerun: cd /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/tools/jpackage/share/RuntimePackageTest_id0 && \ DISPLAY=:7 \ HOME=/home/testUserForTone \ JTREG_VERSION=jtreg-7.4.1 \ LANG=C \ LC_CTYPE=C.UTF-8 \ LD_LIBRARY_PATH=/tmp/tone/run/jtreg/jdk-repo/build/tools/lib \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/tmp/tone/run/jtreg/test-images \ /tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk/bin/javac \ -J-ea \ -J-esa \ -J-Dtest.vm.opts='-ea -esa' \ -J-Dtest.tool.vm.opts='-J-ea -J-esa' \ -J-Dtest.compiler.opts= \ -J-Dtest.java.opts= \ -J-Dtest.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk \ -J-Dcompile.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk \ -J-Dtest.timeout.factor=4.0 \ -J-Dtest.nativepath=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -J-Dtest.root=/tmp/tone/run/jtreg/jdk-repo/test/jdk \ -J-Dtest.name=tools/jpackage/share/RuntimePackageTest.java#id0 \ -J-Dtest.file=/tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/share/RuntimePackageTest.java \ -J-Dtest.src=/tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/share \ -J-Dtest.src.path=/tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/share:/tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/helpers \ -J-Dtest.classes=/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/81/tools/jpackage/share/RuntimePackageTest_id0.d \ -J-Dtest.class.path=/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/81/tools/jpackage/share/RuntimePackageTest_id0.d:/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/81/test/jdk/tools/jpackage/helpers \ -J-Dtest.modules='jdk.jpackage/jdk.jpackage.internal:+open jdk.jpackage/jdk.jpackage.internal.util jdk.jpackage/jdk.jpackage.internal.util.function java.base/jdk.internal.util' \ @/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/tools/jpackage/share/RuntimePackageTest_id0.d/compile.0.jta STDOUT: STDERR: ACTION: build -- Passed. All files up to date REASON: Named class compiled on demand TIME: 0.0 seconds messages: command: build jdk.jpackage.test.Main reason: Named class compiled on demand started: Fri Dec 20 22:11:03 CST 2024 finished: Fri Dec 20 22:11:03 CST 2024 elapsed time (seconds): 0.0 ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 3 FAILED TESTS REASON: User specified action: run main/othervm/timeout=1400 -Xmx512m jdk.jpackage.test.Main --jpt-run=RuntimePackageTest TIME: 0.281 seconds messages: command: main -Xmx512m jdk.jpackage.test.Main --jpt-run=RuntimePackageTest reason: User specified action: run main/othervm/timeout=1400 -Xmx512m jdk.jpackage.test.Main --jpt-run=RuntimePackageTest started: Fri Dec 20 22:19:43 CST 2024 Mode: othervm [/othervm specified] Additional options from @modules: --add-modules jdk.jpackage,java.base --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 finished: Fri Dec 20 22:19:43 CST 2024 elapsed time (seconds): 0.281 configuration: Boot Layer add modules: jdk.jpackage java.base add exports: java.base/jdk.internal.util ALL-UNNAMED jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED jdk.jpackage/jdk.jpackage.internal.util ALL-UNNAMED jdk.jpackage/jdk.jpackage.internal.util.function ALL-UNNAMED add opens: jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED STDOUT: [22:19:43.153] Parsing [--jpt-run=RuntimePackageTest]... [22:19:43.182] RuntimePackageTest -> [public static void RuntimePackageTest.testUsrInstallDir(), public static void RuntimePackageTest.testUsrInstallDir2(), public static void RuntimePackageTest.test()] [22:19:43.195] Create: RuntimePackageTest.testUsrInstallDir [22:19:43.196] Create: RuntimePackageTest.testUsrInstallDir2 [22:19:43.196] Create: RuntimePackageTest.test [22:19:43.198] [ RUN ] RuntimePackageTest.test [22:19:43.230] Running dpkg [22:19:43.269] TRACE: Bundler rpm supported [22:19:43.276] TRACE: Actions: [[initialize], [create], [unpack], [verify-install], [finalize]] [22:19:43.286] TRACE: exec: Execute tool provider [jlink --output ./test/runtime/data --add-modules ALL-MODULE-PATH --strip-debug --no-header-files --no-man-pages](8)... Error: --module-path option must be specified with --add-modules ALL-MODULE-PATH [22:19:43.313] TRACE: exec: Done. Exit code: 2 [22:19:43.313] ERROR: Expected [0]. Actual [2]: Check command tool provider [jlink --output ./test/runtime/data --add-modules ALL-MODULE-PATH --strip-debug --no-header-files --no-man-pages](8) exited with 0 code [22:19:43.314] [ FAILED ] RuntimePackageTest.test; checks=1 [22:19:43.315] [ RUN ] RuntimePackageTest.testUsrInstallDir [22:19:43.315] TRACE: Actions: [[initialize], [create], [unpack], [verify-install], [finalize]] [22:19:43.316] TRACE: exec: Execute tool provider [jlink --output ./testUsrInstallDir/runtime/data --add-modules ALL-MODULE-PATH --strip-debug --no-header-files --no-man-pages](8)... Error: --module-path option must be specified with --add-modules ALL-MODULE-PATH [22:19:43.316] TRACE: exec: Done. Exit code: 2 [22:19:43.317] ERROR: Expected [0]. Actual [2]: Check command tool provider [jlink --output ./testUsrInstallDir/runtime/data --add-modules ALL-MODULE-PATH --strip-debug --no-header-files --no-man-pages](8) exited with 0 code [22:19:43.317] [ FAILED ] RuntimePackageTest.testUsrInstallDir; checks=1 [22:19:43.318] [ RUN ] RuntimePackageTest.testUsrInstallDir2 [22:19:43.318] TRACE: Actions: [[initialize], [create], [unpack], [verify-install], [finalize]] [22:19:43.319] TRACE: exec: Execute tool provider [jlink --output ./testUsrInstallDir2/runtime/data --add-modules ALL-MODULE-PATH --strip-debug --no-header-files --no-man-pages](8)... Error: --module-path option must be specified with --add-modules ALL-MODULE-PATH [22:19:43.319] TRACE: exec: Done. Exit code: 2 [22:19:43.320] ERROR: Expected [0]. Actual [2]: Check command tool provider [jlink --output ./testUsrInstallDir2/runtime/data --add-modules ALL-MODULE-PATH --strip-debug --no-header-files --no-man-pages](8) exited with 0 code [22:19:43.320] [ FAILED ] RuntimePackageTest.testUsrInstallDir2; checks=1 [22:19:43.321] [==========] 3 tests ran [22:19:43.321] [ PASSED ] 0 tests [22:19:43.322] [ FAILED ] 3 tests, listed below [22:19:43.322] [ FAILED ] RuntimePackageTest.test; workDir=[./test] [22:19:43.322] [ FAILED ] RuntimePackageTest.testUsrInstallDir; workDir=[./testUsrInstallDir] [22:19:43.322] [ FAILED ] RuntimePackageTest.testUsrInstallDir2; workDir=[./testUsrInstallDir2] [22:19:43.323] 3 FAILED TESTS STDERR: java.lang.AssertionError: Expected [0]. Actual [2]: Check command tool provider [jlink --output ./test/runtime/data --add-modules ALL-MODULE-PATH --strip-debug --no-header-files --no-man-pages](8) exited with 0 code at jdk.jpackage.test.TKit.error(TKit.java:277) at jdk.jpackage.test.TKit.assertEquals(TKit.java:598) at jdk.jpackage.test.Executor$Result.assertExitCodeIs(Executor.java:196) at jdk.jpackage.test.Executor.execute(Executor.java:239) at jdk.jpackage.test.Executor.execute(Executor.java:243) at RuntimePackageTest.lambda$init$0(RuntimePackageTest.java:118) at jdk.jpackage/jdk.jpackage.internal.util.function.ThrowingConsumer.lambda$toConsumer$0(ThrowingConsumer.java:37) at jdk.jpackage.test.PackageTest$Handler.lambda$accept$0(PackageTest.java:579) at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) at jdk.jpackage.test.PackageTest$Handler.accept(PackageTest.java:579) at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:510) at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:417) at jdk.jpackage/jdk.jpackage.internal.util.function.ThrowingConsumer.lambda$toConsumer$0(ThrowingConsumer.java:37) at java.base/java.lang.Iterable.forEach(Iterable.java:75) at jdk.jpackage.test.PackageTest.lambda$runActions$1(PackageTest.java:387) at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) at jdk.jpackage.test.PackageTest.lambda$runActions$0(PackageTest.java:386) at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) at jdk.jpackage.test.PackageTest.runActions(PackageTest.java:385) at jdk.jpackage.test.RunnablePackageTest.run(RunnablePackageTest.java:58) at RuntimePackageTest.test(RuntimePackageTest.java:82) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at jdk.jpackage.test.MethodCall.accept(MethodCall.java:111) at jdk.jpackage.test.TestInstance.run(TestInstance.java:229) at jdk.jpackage.test.TKit.lambda$ignoreExceptions$0(TKit.java:149) at jdk.jpackage.test.TKit.lambda$runTests$1(TKit.java:134) at java.base/java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:722) at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:807) at jdk.jpackage.test.TKit.lambda$runTests$0(TKit.java:131) at jdk.jpackage/jdk.jpackage.internal.util.function.ThrowingRunnable.lambda$toRunnable$0(ThrowingRunnable.java:35) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:118) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:109) at jdk.jpackage.test.TKit.runTests(TKit.java:130) at jdk.jpackage.test.Main.runTests(Main.java:109) at jdk.jpackage.test.Main.lambda$main$3(Main.java:105) at jdk.jpackage/jdk.jpackage.internal.util.function.ThrowingRunnable.lambda$toRunnable$0(ThrowingRunnable.java:35) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:118) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:109) at jdk.jpackage.test.Main.main(Main.java:105) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) at java.base/java.lang.Thread.run(Thread.java:1447) java.lang.AssertionError: Expected [0]. Actual [2]: Check command tool provider [jlink --output ./testUsrInstallDir/runtime/data --add-modules ALL-MODULE-PATH --strip-debug --no-header-files --no-man-pages](8) exited with 0 code at jdk.jpackage.test.TKit.error(TKit.java:277) at jdk.jpackage.test.TKit.assertEquals(TKit.java:598) at jdk.jpackage.test.Executor$Result.assertExitCodeIs(Executor.java:196) at jdk.jpackage.test.Executor.execute(Executor.java:239) at jdk.jpackage.test.Executor.execute(Executor.java:243) at RuntimePackageTest.lambda$init$0(RuntimePackageTest.java:118) at jdk.jpackage/jdk.jpackage.internal.util.function.ThrowingConsumer.lambda$toConsumer$0(ThrowingConsumer.java:37) at jdk.jpackage.test.PackageTest$Handler.lambda$accept$0(PackageTest.java:579) at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) at jdk.jpackage.test.PackageTest$Handler.accept(PackageTest.java:579) at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:510) at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:417) at jdk.jpackage/jdk.jpackage.internal.util.function.ThrowingConsumer.lambda$toConsumer$0(ThrowingConsumer.java:37) at java.base/java.lang.Iterable.forEach(Iterable.java:75) at jdk.jpackage.test.PackageTest.lambda$runActions$1(PackageTest.java:387) at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) at jdk.jpackage.test.PackageTest.lambda$runActions$0(PackageTest.java:386) at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) at jdk.jpackage.test.PackageTest.runActions(PackageTest.java:385) at jdk.jpackage.test.RunnablePackageTest.run(RunnablePackageTest.java:58) at RuntimePackageTest.testUsrInstallDir(RuntimePackageTest.java:89) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at jdk.jpackage.test.MethodCall.accept(MethodCall.java:111) at jdk.jpackage.test.TestInstance.run(TestInstance.java:229) at jdk.jpackage.test.TKit.lambda$ignoreExceptions$0(TKit.java:149) at jdk.jpackage.test.TKit.lambda$runTests$1(TKit.java:134) at java.base/java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:722) at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:807) at jdk.jpackage.test.TKit.lambda$runTests$0(TKit.java:131) at jdk.jpackage/jdk.jpackage.internal.util.function.ThrowingRunnable.lambda$toRunnable$0(ThrowingRunnable.java:35) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:118) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:109) at jdk.jpackage.test.TKit.runTests(TKit.java:130) at jdk.jpackage.test.Main.runTests(Main.java:109) at jdk.jpackage.test.Main.lambda$main$3(Main.java:105) at jdk.jpackage/jdk.jpackage.internal.util.function.ThrowingRunnable.lambda$toRunnable$0(ThrowingRunnable.java:35) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:118) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:109) at jdk.jpackage.test.Main.main(Main.java:105) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) at java.base/java.lang.Thread.run(Thread.java:1447) java.lang.AssertionError: Expected [0]. Actual [2]: Check command tool provider [jlink --output ./testUsrInstallDir2/runtime/data --add-modules ALL-MODULE-PATH --strip-debug --no-header-files --no-man-pages](8) exited with 0 code at jdk.jpackage.test.TKit.error(TKit.java:277) at jdk.jpackage.test.TKit.assertEquals(TKit.java:598) at jdk.jpackage.test.Executor$Result.assertExitCodeIs(Executor.java:196) at jdk.jpackage.test.Executor.execute(Executor.java:239) at jdk.jpackage.test.Executor.execute(Executor.java:243) at RuntimePackageTest.lambda$init$0(RuntimePackageTest.java:118) at jdk.jpackage/jdk.jpackage.internal.util.function.ThrowingConsumer.lambda$toConsumer$0(ThrowingConsumer.java:37) at jdk.jpackage.test.PackageTest$Handler.lambda$accept$0(PackageTest.java:579) at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) at jdk.jpackage.test.PackageTest$Handler.accept(PackageTest.java:579) at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:510) at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:417) at jdk.jpackage/jdk.jpackage.internal.util.function.ThrowingConsumer.lambda$toConsumer$0(ThrowingConsumer.java:37) at java.base/java.lang.Iterable.forEach(Iterable.java:75) at jdk.jpackage.test.PackageTest.lambda$runActions$1(PackageTest.java:387) at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) at jdk.jpackage.test.PackageTest.lambda$runActions$0(PackageTest.java:386) at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) at jdk.jpackage.test.PackageTest.runActions(PackageTest.java:385) at jdk.jpackage.test.RunnablePackageTest.run(RunnablePackageTest.java:58) at RuntimePackageTest.testUsrInstallDir2(RuntimePackageTest.java:96) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at jdk.jpackage.test.MethodCall.accept(MethodCall.java:111) at jdk.jpackage.test.TestInstance.run(TestInstance.java:229) at jdk.jpackage.test.TKit.lambda$ignoreExceptions$0(TKit.java:149) at jdk.jpackage.test.TKit.lambda$runTests$1(TKit.java:134) at java.base/java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:722) at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:807) at jdk.jpackage.test.TKit.lambda$runTests$0(TKit.java:131) at jdk.jpackage/jdk.jpackage.internal.util.function.ThrowingRunnable.lambda$toRunnable$0(ThrowingRunnable.java:35) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:118) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:109) at jdk.jpackage.test.TKit.runTests(TKit.java:130) at jdk.jpackage.test.Main.runTests(Main.java:109) at jdk.jpackage.test.Main.lambda$main$3(Main.java:105) at jdk.jpackage/jdk.jpackage.internal.util.function.ThrowingRunnable.lambda$toRunnable$0(ThrowingRunnable.java:35) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:118) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:109) at jdk.jpackage.test.Main.main(Main.java:105) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) at java.base/java.lang.Thread.run(Thread.java:1447) java.lang.RuntimeException: 3 FAILED TESTS at jdk.jpackage.test.Main.reportSummary(Main.java:160) at jdk.jpackage.test.Main.runTests(Main.java:120) at jdk.jpackage.test.Main.lambda$main$3(Main.java:105) at jdk.jpackage/jdk.jpackage.internal.util.function.ThrowingRunnable.lambda$toRunnable$0(ThrowingRunnable.java:35) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:118) at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:109) at jdk.jpackage.test.Main.main(Main.java:105) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) at java.base/java.lang.Thread.run(Thread.java:1447) JavaTest Message: Test threw exception: java.lang.RuntimeException: 3 FAILED TESTS JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.RuntimeException: 3 FAILED TESTS rerun: cd /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/tools/jpackage/share/RuntimePackageTest_id0 && \ DISPLAY=:7 \ HOME=/home/testUserForTone \ JTREG_VERSION=jtreg-7.4.1 \ LANG=C \ LC_CTYPE=C.UTF-8 \ LD_LIBRARY_PATH=/tmp/tone/run/jtreg/jdk-repo/build/tools/lib \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/tmp/tone/run/jtreg/test-images \ CLASSPATH=/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/81/tools/jpackage/share/RuntimePackageTest_id0.d:/tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/share:/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/81/test/jdk/tools/jpackage/helpers:/tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/helpers:/tmp/tone/run/jtreg/jtreg/lib/javatest.jar:/tmp/tone/run/jtreg/jtreg/lib/jtreg.jar \ /tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk/bin/java \ -Dtest.vm.opts='-ea -esa' \ -Dtest.tool.vm.opts='-J-ea -J-esa' \ -Dtest.compiler.opts= \ -Dtest.java.opts= \ -Dtest.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk \ -Dcompile.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk \ -Dtest.timeout.factor=4.0 \ -Dtest.nativepath=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -Dtest.root=/tmp/tone/run/jtreg/jdk-repo/test/jdk \ -Dtest.name=tools/jpackage/share/RuntimePackageTest.java#id0 \ -Dtest.file=/tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/share/RuntimePackageTest.java \ -Dtest.src=/tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/share \ -Dtest.src.path=/tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/share:/tmp/tone/run/jtreg/jdk-repo/test/jdk/tools/jpackage/helpers \ -Dtest.classes=/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/81/tools/jpackage/share/RuntimePackageTest_id0.d \ -Dtest.class.path=/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/81/tools/jpackage/share/RuntimePackageTest_id0.d:/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/81/test/jdk/tools/jpackage/helpers \ -Dtest.modules='jdk.jpackage/jdk.jpackage.internal:+open jdk.jpackage/jdk.jpackage.internal.util jdk.jpackage/jdk.jpackage.internal.util.function java.base/jdk.internal.util' \ --add-modules jdk.jpackage,java.base \ --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 \ -ea \ -esa \ -Djava.library.path=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -Xmx512m \ com.sun.javatest.regtest.agent.MainWrapper /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/tools/jpackage/share/RuntimePackageTest_id0.d/main.1.jta --jpt-run=RuntimePackageTest TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 3 FAILED TESTS