dragonwell-releng / dragonwell-adoptium

0 stars 0 forks source link

【dragonwell17】rpm包运行jdk/tools/jpackage/linux/AppAboutUrlTest.java 运行失败. #296

Closed owanqian closed 11 months ago

owanqian commented 11 months ago

x86: https://tone.aliyun-inc.com/ws/xesljfzh/test_result/248397?tab=1

【环境准备】

BINARY_URL=https://compiler-ci-bucket.oss-cn-hangzhou.aliyuncs.com/koji/20231120-141154-241-#9-linux.x86_64.release.fake_branch-java-17-alibaba-dragonwell-17.0.9.0.10.9.1.al8.jdk-rpm.tar.gz
TEST_IMAGE=oss://compiler-ci-bucket/dragonwell17/20231114-002504-781-#153-linux.x86_64.release.standard-effce46066d79b05140bee59cff5a8591bf9f1fe.test-image.tar.gz
git clone https://github.com/dragonwell-project/dragonwell17.git  jdk-repo
test=jdk-repo/test/jdk/tools/jpackage/linux/AppAboutUrlTest.java
jtreg -va -nr -w tmp $test

【对比测试】

dragonwell17 tar版本fail一项.rpm包,2项全部fail wget https://dragonwell.oss-cn-shanghai.aliyuncs.com/17.0.9.0.10%2B9/Alibaba_Dragonwell_Standard_17.0.9.0.10%2B9_x64_linux.tar.gz\

[root@iZbp1hmgsldsm4l82drivdZ bin]# ./java -version; ./java -Xinternalversion
openjdk version "17.0.9" 2023-10-17
OpenJDK Runtime Environment (Alibaba Dragonwell Standard Edition)-17.0.9.0.10+9-GA (build 17.0.9+9)
OpenJDK 64-Bit Server VM (Alibaba Dragonwell Standard Edition)-17.0.9.0.10+9-GA (build 17.0.9+9, mixed mode, sharing)
OpenJDK 64-Bit Server VM (17.0.9+9) for linux-amd64 JRE (17.0.9+9), built on Oct 17 2023 00:00:00 by "dragonwell" with gcc 7.5.0
[15:08:45.160] TRACE: Verify unpacked: [/var/tmp/tone/run/jtreg/dragonwell-17.0.9.0.10+9-GA/bin/jpackage --input ./testDefaults/input --dest ./testDefaults/output --name DefaultsAppAboutUrlTest --type rpm --main-jar hello.jar --main-class Hello --runtime-image ./testDefaults/fake_runtime jpt-unpacked-folder ./testDefaults/unpacked-rpm](17)
[15:08:45.161] TRACE: assertEquals(1): Check the package has 1 top installation directories
[15:08:45.161] TRACE: assertStringListEquals(): Check there are no files with [.jpackage.xml] name in the package
[15:08:45.162] TRACE: assertTrue(): Check [./testDefaults/unpacked-rpm/opt/defaultsappabouturltest/lib/runtime] path exists
[15:08:45.162] TRACE: assertTrue(): Check [./testDefaults/unpacked-rpm/opt/defaultsappabouturltest/lib/runtime] is a directory
[15:08:45.162] TRACE: assertTrue(): Check [./testDefaults/unpacked-rpm/opt/defaultsappabouturltest/bin/DefaultsAppAboutUrlTest] path exists
[15:08:45.162] TRACE: assertTrue(): Check [./testDefaults/unpacked-rpm/opt/defaultsappabouturltest/bin/DefaultsAppAboutUrlTest] is a file
[15:08:45.162] TRACE: assertTrue(): Check [./testDefaults/unpacked-rpm/opt/defaultsappabouturltest/bin/DefaultsAppAboutUrlTest] file is executable
[15:08:45.162] TRACE: assertTrue(): Check [./testDefaults/unpacked-rpm/opt/defaultsappabouturltest/lib/app/DefaultsAppAboutUrlTest.cfg] path exists
[15:08:45.162] TRACE: assertTrue(): Check [./testDefaults/unpacked-rpm/opt/defaultsappabouturltest/lib/app/DefaultsAppAboutUrlTest.cfg] is a file
[15:08:45.163] TRACE: Not running [./testDefaults/unpacked-rpm/opt/defaultsappabouturltest/bin/DefaultsAppAboutUrlTest] launcher because application runtime directory [./testDefaults/unpacked-rpm/opt/defaultsappabouturltest/lib/runtime] is incomplete
[15:08:45.163] TRACE: Deleting [./testDefaults] directory recursively
[15:08:45.164] [       OK ] AppAboutUrlTest.testDefaults; checks=21
[15:08:45.165] [==========] 2 tests ran
[15:08:45.165] [  PASSED  ] 1 test
[15:08:45.166] [  FAILED  ] 1 test, listed below
[15:08:45.166] [  FAILED  ] AppAboutUrlTest.test; workDir=[./test]
[15:08:45.167] 1 FAILED TEST
STDERR:
MoTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused
Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
        at java.desktop/sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
        at java.desktop/sun.awt.X11GraphicsEnvironment$1.run(Unknown Source)
        at java.base/java.security.AccessController.doPrivileged(Unknown Source)
        at java.desktop/sun.awt.X11GraphicsEnvironment.initStatic(Unknown Source)
        at java.desktop/sun.awt.X11GraphicsEnvironment.<clinit>(Unknown Source)
        at java.desktop/sun.awt.PlatformGraphicsInfo.createGE(Unknown Source)
        at java.desktop/java.awt.GraphicsEnvironment$LocalGE.createGE(Unknown Source)
        at java.desktop/java.awt.GraphicsEnvironment$LocalGE.<clinit>(Unknown Source)
        at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
        at java.desktop/sun.awt.X11.XToolkit.<clinit>(Unknown Source)
        at java.desktop/sun.awt.PlatformGraphicsInfo.createToolkit(Unknown Source)
        at java.desktop/java.awt.Toolkit.getDefaultToolkit(Unknown Source)
        at java.desktop/java.awt.Desktop.isDesktopSupported(Unknown Source)
        at Hello.createInstance(Hello.java:170)
        at Hello.<clinit>(Hello.java:161)
MoTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused
Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
        at java.desktop/sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
        at java.desktop/sun.awt.X11GraphicsEnvironment$1.run(Unknown Source)
        at java.base/java.security.AccessController.doPrivileged(Unknown Source)
        at java.desktop/sun.awt.X11GraphicsEnvironment.initStatic(Unknown Source)
        at java.desktop/sun.awt.X11GraphicsEnvironment.<clinit>(Unknown Source)
        at java.desktop/sun.awt.PlatformGraphicsInfo.createGE(Unknown Source)
        at java.desktop/java.awt.GraphicsEnvironment$LocalGE.createGE(Unknown Source)
        at java.desktop/java.awt.GraphicsEnvironment$LocalGE.<clinit>(Unknown Source)
        at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
        at java.desktop/sun.awt.X11.XToolkit.<clinit>(Unknown Source)
        at java.desktop/sun.awt.PlatformGraphicsInfo.createToolkit(Unknown Source)
        at java.desktop/java.awt.Toolkit.getDefaultToolkit(Unknown Source)
        at java.desktop/java.awt.Desktop.isDesktopSupported(Unknown Source)
        at Hello.createInstance(Hello.java:170)
        at Hello.<clinit>(Hello.java:161)
MoTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused
Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
        at java.desktop/sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
        at java.desktop/sun.awt.X11GraphicsEnvironment$1.run(Unknown Source)
        at java.base/java.security.AccessController.doPrivileged(Unknown Source)
        at java.desktop/sun.awt.X11GraphicsEnvironment.initStatic(Unknown Source)
        at java.desktop/sun.awt.X11GraphicsEnvironment.<clinit>(Unknown Source)
        at java.desktop/sun.awt.PlatformGraphicsInfo.createGE(Unknown Source)
        at java.desktop/java.awt.GraphicsEnvironment$LocalGE.createGE(Unknown Source)
        at java.desktop/java.awt.GraphicsEnvironment$LocalGE.<clinit>(Unknown Source)
        at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
        at java.desktop/sun.awt.X11.XToolkit.<clinit>(Unknown Source)
        at java.desktop/sun.awt.PlatformGraphicsInfo.createToolkit(Unknown Source)
        at java.desktop/java.awt.Toolkit.getDefaultToolkit(Unknown Source)
        at java.desktop/java.awt.Desktop.isDesktopSupported(Unknown Source)
        at Hello.createInstance(Hello.java:170)
        at Hello.<clinit>(Hello.java:161)
java.lang.AssertionError: Expected [0]. Actual [1]: Check command [/var/tmp/tone/run/jtreg/tmp/scratch/./test/unpacked-rpm/opt/appabouturltest/bin/AppAboutUrlTest](1) exited with 0 code
        at jdk.jpackage.test.TKit.error(TKit.java:268)
        at jdk.jpackage.test.TKit.assertEquals(TKit.java:571)
        at jdk.jpackage.test.Executor$Result.assertExitCodeIs(Executor.java:185)
        at jdk.jpackage.test.Executor.executeAndRepeatUntilExitCode(Executor.java:261)
        at jdk.jpackage.test.HelloApp$AppOutputVerifier.executeAndVerifyOutput(HelloApp.java:426)
        at jdk.jpackage.test.HelloApp$AppOutputVerifier.executeAndVerifyOutput(HelloApp.java:440)
        at jdk.jpackage.test.HelloApp.executeLauncherAndVerifyOutput(HelloApp.java:323)
        at jdk.jpackage.test.PackageTest.lambda$configureHelloApp$20(PackageTest.java:323)
        at jdk.jpackage.test.Functional$ThrowingConsumer.lambda$toConsumer$0(Functional.java:41)
        at jdk.jpackage.test.PackageTest$Handler.lambda$verifyPackageInstalled$5(PackageTest.java:605)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
        at jdk.jpackage.test.PackageTest$Handler.verifyPackageInstalled(PackageTest.java:605)
        at jdk.jpackage.test.PackageTest$Handler.accept(PackageTest.java:544)
        at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:466)
        at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:398)
        at jdk.jpackage.test.Functional$ThrowingConsumer.lambda$toConsumer$0(Functional.java:41)
        at java.base/java.lang.Iterable.forEach(Iterable.java:75)
        at jdk.jpackage.test.PackageTest.lambda$runActions$21(PackageTest.java:362)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
        at jdk.jpackage.test.PackageTest.lambda$runActions$22(PackageTest.java:361)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
        at jdk.jpackage.test.PackageTest.runActions(PackageTest.java:360)
        at jdk.jpackage.test.RunnablePackageTest.run(RunnablePackageTest.java:57)
        at AppAboutUrlTest.runTest(AppAboutUrlTest.java:97)
        at AppAboutUrlTest.test(AppAboutUrlTest.java:77)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at jdk.jpackage.test.MethodCall.accept(MethodCall.java:145)
        at jdk.jpackage.test.TestInstance.run(TestInstance.java:230)
        at jdk.jpackage.test.TKit.lambda$ignoreExceptions$5(TKit.java:139)
        at jdk.jpackage.test.TKit.lambda$runTests$3(TKit.java:124)
        at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
        at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
        at jdk.jpackage.test.TKit.lambda$runTests$4(TKit.java:121)
        at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105)
        at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:107)
        at jdk.jpackage.test.TKit.runTests(TKit.java:120)
        at jdk.jpackage.test.Main.runTests(Main.java:79)
        at jdk.jpackage.test.Main.lambda$main$2(Main.java:75)
        at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105)
        at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:107)
        at jdk.jpackage.test.Main.main(Main.java:75)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:840)
java.lang.RuntimeException: 1 FAILED TEST
        at jdk.jpackage.test.Main.reportSummary(Main.java:130)
        at jdk.jpackage.test.Main.runTests(Main.java:90)
        at jdk.jpackage.test.Main.lambda$main$2(Main.java:75)
        at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105)
        at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:107)
        at jdk.jpackage.test.Main.main(Main.java:75)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:840)

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

【用例日志】

[15:07:36.324] TRACE: Verify unpacked: [/var/tmp/tone/run/jtreg/binary-download/usr/lib/jvm/java-17-alibaba-dragonwell-17.0.9.0.10.9-1.al8.x86_64/bin/jpackage --input ./testDefaults/input --dest ./testDefaults/output --name DefaultsAppAboutUrlTest --type rpm --main-jar hello.jar --main-class Hello --runtime-image ./testDefaults/fake_runtime jpt-unpacked-folder ./testDefaults/unpacked-rpm](17)
[15:07:36.324] ERROR: Expected [1]. Actual [2]: Check the package has 1 top installation directories
[15:07:36.324] [  FAILED  ] AppAboutUrlTest.testDefaults; checks=13
[15:07:36.325] [==========] 2 tests ran
[15:07:36.325] [  PASSED  ] 0 tests
[15:07:36.326] [  FAILED  ] 2 tests, listed below
[15:07:36.327] [  FAILED  ] AppAboutUrlTest.test; workDir=[./test]
[15:07:36.327] [  FAILED  ] AppAboutUrlTest.testDefaults; workDir=[./testDefaults]
[15:07:36.327] 2 FAILED TESTS
STDERR:
java.lang.AssertionError: Expected [1]. Actual [2]: Check the package has 1 top installation directories
        at jdk.jpackage.test.TKit.error(TKit.java:268)
        at jdk.jpackage.test.TKit.assertEquals(TKit.java:571)
        at jdk.jpackage.test.PackageTest$Handler.verifyRootCountInUnpackedPackage(PackageTest.java:643)
        at jdk.jpackage.test.PackageTest$Handler.lambda$verifyPackageInstalled$3(PackageTest.java:587)
        at java.base/java.util.Optional.ifPresent(Optional.java:178)
        at jdk.jpackage.test.PackageTest$Handler.verifyPackageInstalled(PackageTest.java:585)
        at jdk.jpackage.test.PackageTest$Handler.accept(PackageTest.java:544)
        at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:466)
        at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:398)
        at jdk.jpackage.test.Functional$ThrowingConsumer.lambda$toConsumer$0(Functional.java:41)
        at java.base/java.lang.Iterable.forEach(Iterable.java:75)
        at jdk.jpackage.test.PackageTest.lambda$runActions$21(PackageTest.java:362)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
        at jdk.jpackage.test.PackageTest.lambda$runActions$22(PackageTest.java:361)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
        at jdk.jpackage.test.PackageTest.runActions(PackageTest.java:360)
        at jdk.jpackage.test.RunnablePackageTest.run(RunnablePackageTest.java:57)
        at AppAboutUrlTest.runTest(AppAboutUrlTest.java:97)
        at AppAboutUrlTest.test(AppAboutUrlTest.java:77)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at jdk.jpackage.test.MethodCall.accept(MethodCall.java:145)
        at jdk.jpackage.test.TestInstance.run(TestInstance.java:230)
        at jdk.jpackage.test.TKit.lambda$ignoreExceptions$5(TKit.java:139)
        at jdk.jpackage.test.TKit.lambda$runTests$3(TKit.java:124)
        at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
        at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
        at jdk.jpackage.test.TKit.lambda$runTests$4(TKit.java:121)
        at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105)
        at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:107)
        at jdk.jpackage.test.TKit.runTests(TKit.java:120)
        at jdk.jpackage.test.Main.runTests(Main.java:79)
        at jdk.jpackage.test.Main.lambda$main$2(Main.java:75)
        at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105)
        at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:107)
        at jdk.jpackage.test.Main.main(Main.java:75)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:840)
java.lang.AssertionError: Expected [1]. Actual [2]: Check the package has 1 top installation directories
        at jdk.jpackage.test.TKit.error(TKit.java:268)
        at jdk.jpackage.test.TKit.assertEquals(TKit.java:571)
        at jdk.jpackage.test.PackageTest$Handler.verifyRootCountInUnpackedPackage(PackageTest.java:643)
        at jdk.jpackage.test.PackageTest$Handler.lambda$verifyPackageInstalled$3(PackageTest.java:587)
        at java.base/java.util.Optional.ifPresent(Optional.java:178)
        at jdk.jpackage.test.PackageTest$Handler.verifyPackageInstalled(PackageTest.java:585)
        at jdk.jpackage.test.PackageTest$Handler.accept(PackageTest.java:544)
        at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:466)
        at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:398)
        at jdk.jpackage.test.Functional$ThrowingConsumer.lambda$toConsumer$0(Functional.java:41)
        at java.base/java.lang.Iterable.forEach(Iterable.java:75)
        at jdk.jpackage.test.PackageTest.lambda$runActions$21(PackageTest.java:362)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
        at jdk.jpackage.test.PackageTest.lambda$runActions$22(PackageTest.java:361)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
        at jdk.jpackage.test.PackageTest.runActions(PackageTest.java:360)
        at jdk.jpackage.test.RunnablePackageTest.run(RunnablePackageTest.java:57)
        at AppAboutUrlTest.runTest(AppAboutUrlTest.java:97)
        at AppAboutUrlTest.testDefaults(AppAboutUrlTest.java:84)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at jdk.jpackage.test.MethodCall.accept(MethodCall.java:145)
        at jdk.jpackage.test.TestInstance.run(TestInstance.java:230)
        at jdk.jpackage.test.TKit.lambda$ignoreExceptions$5(TKit.java:139)
        at jdk.jpackage.test.TKit.lambda$runTests$3(TKit.java:124)
        at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
        at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
        at jdk.jpackage.test.TKit.lambda$runTests$4(TKit.java:121)
        at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105)
        at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:107)
        at jdk.jpackage.test.TKit.runTests(TKit.java:120)
        at jdk.jpackage.test.Main.runTests(Main.java:79)
        at jdk.jpackage.test.Main.lambda$main$2(Main.java:75)
        at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105)
        at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:107)
        at jdk.jpackage.test.Main.main(Main.java:75)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:840)
java.lang.RuntimeException: 2 FAILED TESTS
        at jdk.jpackage.test.Main.reportSummary(Main.java:130)
        at jdk.jpackage.test.Main.runTests(Main.java:90)
        at jdk.jpackage.test.Main.lambda$main$2(Main.java:75)
        at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105)
        at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:107)
        at jdk.jpackage.test.Main.main(Main.java:75)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:840)

JavaTest Message: Test threw exception: java.lang.RuntimeException: 2 FAILED TESTS
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: 2 FAILED TESTS

【版本信息】

[root@iZbp1hmgsldsm4l82drivdZ jtreg]# uname -a ; cat /etc/os-release ; free -h; lscpu| head -n 25;java -version; java -Xinternalversion
Linux iZbp1hmgsldsm4l82drivdZ 5.10.134-15.al8.x86_64 #1 SMP Thu Jul 20 00:44:04 CST 2023 x86_64 x86_64 x86_64 GNU/Linux
NAME="Alibaba Cloud Linux"
VERSION="3 (Soaring Falcon)"
ID="alinux"
ID_LIKE="rhel fedora centos anolis"
VERSION_ID="3"
PLATFORM_ID="platform:al8"
PRETTY_NAME="Alibaba Cloud Linux 3 (Soaring Falcon)"
ANSI_COLOR="0;31"
HOME_URL="https://www.aliyun.com/"

              total        used        free      shared  buff/cache   available
Mem:           61Gi       593Mi        52Gi       3.0Mi       8.1Gi        60Gi
Swap:            0B          0B          0B
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              16
On-line CPU(s) list: 0-15
Thread(s) per core:  2
Core(s) per socket:  8
Socket(s):           1
NUMA node(s):        1
Vendor ID:           GenuineIntel
BIOS Vendor ID:      Alibaba Cloud
CPU family:          6
Model:               143
Model name:          Intel(R) Xeon(R) Platinum 8475B
BIOS Model name:     pc-i440fx-2.1
Stepping:            8
CPU MHz:             3198.741
CPU max MHz:         3800.0000
CPU min MHz:         800.0000
BogoMIPS:            5400.00
Hypervisor vendor:   KVM
Virtualization type: full
L1d cache:           48K
L1i cache:           32K
L2 cache:            2048K
openjdk version "17.0.9.9" 2023-11-17
OpenJDK Runtime Environment (Alibaba Dragonwell) (build 17.0.9.9+9)
OpenJDK 64-Bit Server VM (Alibaba Dragonwell) (build 17.0.9.9+9, mixed mode)
OpenJDK 64-Bit Server VM (17.0.9.9+9) for linux-amd64 JRE (17.0.9.9+9), built on Nov 17 2023 03:05:05 by "mockbuild" with gcc 10.2.1 20200825 (Alibaba 10.2.1-3.5 2.32)