-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
25
-
None
-
+ uname -a
Linux iZbp1iacj6u93p80j9j3cnZ 5.10.134-18.al8.x86_64 #1 SMP Fri Dec 13 16:56:53 CST 2024 x86_64 x86_64 x86_64 GNU/Linux
+ cat /etc/os-release
NAME="Alibaba Cloud Linux"
VERSION="3 (OpenAnolis Edition)"
ID="alinux"
ID_LIKE="rhel fedora centos anolis"
VERSION_ID="3"
VARIANT="OpenAnolis Edition"
VARIANT_ID="openanolis"
ALINUX_MINOR_ID="2104"
ALINUX_UPDATE_ID="11"
PLATFORM_ID="platform:al8"
PRETTY_NAME="Alibaba Cloud Linux 3.2104 U11 (OpenAnolis Edition)"
ANSI_COLOR="0;31"
HOME_URL="https://www.aliyun.com/"
+ free -h
total used free shared buff/cache available
Mem: 247Gi 3.3Gi 183Gi 2.0Mi 62Gi 244Gi
Swap: 0B 0B 0B
+ lscpu
+ head -n 25
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 64
On-line CPU(s) list: 0-63
Thread(s) per core: 2
Core(s) per socket: 32
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
BIOS Vendor ID: Alibaba Cloud
CPU family: 6
Model: 106
Model name: Intel(R) Xeon(R) Platinum 8369B CPU @ 2.70GHz
BIOS Model name: pc-i440fx-2.1
Stepping: 6
CPU MHz: 3511.435
BogoMIPS: 5399.99
Hypervisor vendor: KVM
Virtualization type: full
L1d cache: 48K
L1i cache: 32K
L2 cache: 1280K
L3 cache: 49152K
NUMA node0 CPU(s): 0-63
+ java -version
openjdk version "25-internal" 2025-09-16
OpenJDK Runtime Environment (build 25-internal-d6d45c6e)
OpenJDK 64-Bit Server VM (build 25-internal-d6d45c6e, mixed mode, sharing)
+ java -Xinternalversion
OpenJDK 64-Bit Server VM (25-internal-d6d45c6e) for linux-amd64 JRE (25-internal-d6d45c6e), built on 2025-01-15T00:09:10Z with gcc 10.2.1 20210130 (Red Hat 10.2.1-11)
+ jtreg -version
jtreg 7.4-dev+0
Installed in /tmp/tone/run/jtreg/jtreg/lib/jtreg.jar
Running on platform version 25-internal from /tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk.
Built with Java(TM) 2 SDK, Version 11.0.21+9-LTS on June 14, 2024.
Copyright (c) 1999, 2022, Oracle and/or its affiliates. All rights reserved.
Use is subject to license terms.
JT Harness, version 6.0 ea b24 (June 14, 2024)
Java Assembler Tools, version 7.0 ea b09 (June 14, 2024)
TestNG: testng-7.3.0.jar, guice-5.1.0.jar, jcommander-1.82.jar
JUnit: junit-platform-console-standalone-1.10.2.jar
+ git remote -v
origin git@github.com:openjdk/jdk.git (fetch)
origin git@github.com:openjdk/jdk.git (push)
+ git branch- master
+ git log -n 1
+ head -n 1
commit d6d45c6eae2304adb57a49a61861456c3e429e73
+ git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
+ git diff+ uname -a Linux iZbp1iacj6u93p80j9j3cnZ 5.10.134-18.al8.x86_64 #1 SMP Fri Dec 13 16:56:53 CST 2024 x86_64 x86_64 x86_64 GNU/Linux + cat /etc/os-release NAME="Alibaba Cloud Linux" VERSION="3 (OpenAnolis Edition)" ID="alinux" ID_LIKE="rhel fedora centos anolis" VERSION_ID="3" VARIANT="OpenAnolis Edition" VARIANT_ID="openanolis" ALINUX_MINOR_ID="2104" ALINUX_UPDATE_ID="11" PLATFORM_ID="platform:al8" PRETTY_NAME="Alibaba Cloud Linux 3.2104 U11 (OpenAnolis Edition)" ANSI_COLOR="0;31" HOME_URL="https://www.aliyun.com/" + free -h total used free shared buff/cache available Mem: 247Gi 3.3Gi 183Gi 2.0Mi 62Gi 244Gi Swap: 0B 0B 0B + lscpu + head -n 25 Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 64 On-line CPU(s) list: 0-63 Thread(s) per core: 2 Core(s) per socket: 32 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel BIOS Vendor ID: Alibaba Cloud CPU family: 6 Model: 106 Model name: Intel(R) Xeon(R) Platinum 8369B CPU @ 2.70GHz BIOS Model name: pc-i440fx-2.1 Stepping: 6 CPU MHz: 3511.435 BogoMIPS: 5399.99 Hypervisor vendor: KVM Virtualization type: full L1d cache: 48K L1i cache: 32K L2 cache: 1280K L3 cache: 49152K NUMA node0 CPU(s): 0-63 + java -version openjdk version "25-internal" 2025-09-16 OpenJDK Runtime Environment (build 25-internal-d6d45c6e) OpenJDK 64-Bit Server VM (build 25-internal-d6d45c6e, mixed mode, sharing) + java -Xinternalversion OpenJDK 64-Bit Server VM (25-internal-d6d45c6e) for linux-amd64 JRE (25-internal-d6d45c6e), built on 2025-01-15T00:09:10Z with gcc 10.2.1 20210130 (Red Hat 10.2.1-11) + jtreg -version jtreg 7.4-dev+0 Installed in /tmp/tone/run/jtreg/jtreg/lib/jtreg.jar Running on platform version 25-internal from /tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk. Built with Java(TM) 2 SDK, Version 11.0.21+9-LTS on June 14, 2024. Copyright (c) 1999, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. JT Harness, version 6.0 ea b24 (June 14, 2024) Java Assembler Tools, version 7.0 ea b09 (June 14, 2024) TestNG: testng-7.3.0.jar, guice-5.1.0.jar, jcommander-1.82.jar JUnit: junit-platform-console-standalone-1.10.2.jar + git remote -v origin git@github.com:openjdk/jdk.git (fetch) origin git@github.com:openjdk/jdk.git (push) + git branch master + git log -n 1 + head -n 1 commit d6d45c6eae2304adb57a49a61861456c3e429e73 + git status On branch master Your branch is up to date with 'origin/master'. nothing to commit, working tree clean + git diff - master
-
x86_64, aarch64
-
linux
The test log snippet:
Invoking testExtractToUnspecifiedDir
jimage [extract, --dir, --, /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/tools/jimage/JImageExtractTest/./JImageExtractTest3978454062921453679/smalljdk/lib/modules]
STDERR:
java.util.MissingResourceException: Can't find resource for bundle jdk.tools.jlink.resources.plugins, key err.ambiguous.arg
at java.base/java.util.ResourceBundle.getObject(ResourceBundle.java:558)
at java.base/java.util.ResourceBundle.getString(ResourceBundle.java:514)
at jdk.jlink/jdk.tools.jlink.internal.TaskHelper$ResourceBundleHelper.getMessage(TaskHelper.java:487)
at jdk.jlink/jdk.tools.jlink.internal.TaskHelper$BadArgs.<init>(TaskHelper.java:71)
at jdk.jlink/jdk.tools.jlink.internal.TaskHelper$OptionsHelper.handleOptions(TaskHelper.java:552)
at jdk.jlink/jdk.tools.jimage.JImageTask.run(JImageTask.java:191)
at jdk.jlink/jdk.tools.jimage.Main.run(Main.java:48)
at JImageCliTest.jimage(JImageCliTest.java:78)
at JImageExtractTest.testExtractToUnspecifiedDir(JImageExtractTest.java:135)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at JImageCliTest.runTests(JImageCliTest.java:111)
at JImageExtractTest.main(JImageExtractTest.java:234)
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.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at JImageCliTest.runTests(JImageCliTest.java:111)
at JImageExtractTest.main(JImageExtractTest.java:234)
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)
Caused by: java.lang.RuntimeException: Output contains error, output=[]
: expected true, was false
at jdk.test.lib.Asserts.fail(Asserts.java:689)
at jdk.test.lib.Asserts.assertTrue(Asserts.java:541)
at JImageCliTest$JImageResult.assertShowsError(JImageCliTest.java:96)
at JImageExtractTest.testExtractToUnspecifiedDir(JImageExtractTest.java:137)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
... 7 more
- relates to
-
JDK-8347761 Test tools/jimage/JImageExtractTest.java fails after JDK-8303884
- Resolved