3116242 MainWrapper -Dtest.vm.opts=-Xmixed -ea -esa -Dtest.tool.vm.opts=-J-Xmixed -J-ea -J-esa -Dtest.compiler.opts= -Dtest.java.opts= -Dtest.jdk=/home/dongzhichun/working/tone/ajdk8/bin-ajdk8-0906/j2sdk-image -Dcompile.jdk=/home/dongzhichun/working/tone/ajdk8/bin-ajdk8-0906/j2sdk-image -Dtest.timeout.factor=4.0 -Dtest.root=/home/dongzhichun/working/tone/ajdk8/jdk-repo-ajdk8/jdk/test -Dtest.name=sun/tools/jstatd/TestJstatdExternalRegistry.java -Dtest.file=/home/dongzhichun/working/tone/ajdk8/jdk-repo-ajdk8/jdk/test/sun/tools/jstatd/TestJstatdExternalRegistry.java -Dtest.src=/home/dongzhichun/working/tone/ajdk8/jdk-repo-ajdk8/jdk/test/sun/tools/jstatd -Dtest.src.path=/home/dongzhichun/working/tone/ajdk8/jdk-repo-ajdk8/jdk/test/sun/tools/jstatd:/home/dongzhichun/working/tone/ajdk8/jdk-repo-ajdk8/jdk/test/lib/testlibrary -Dtest.classes=/home/dongzhichun/working/tone/ajdk8/tmp-jtreg-TestJstatdExternalRegistry/index-1307/classes/sun/tools/jstatd -Dtest.class.path=/home/dongzhichun/working/tone/ajdk8/tmp-jtreg-TestJstatdExternalRegist
3117073 -- process information unavailable
3110352 jtreg.jar -Dprogram=jtreg
3104272 -- process information unavailable
Start jstat:
[/home/dongzhichun/working/tone/ajdk8/bin-ajdk8-0906/j2sdk-image/bin/jstat -J-XX:+UsePerfData -J-Duser.language=en -gcutil 3115377@CompilerTest-aarch64-5:44491 250 5]
Could not read data for remote JVM 3115377
ProcessThread.stopProcess() will kill process
--- ProcessLog ---
cmd: /home/dongzhichun/working/tone/ajdk8/bin-ajdk8-0906/j2sdk-image/bin/jstatd -J-XX:+UsePerfData -J-Djava.security.policy=/home/dongzhichun/working/tone/ajdk8/jdk-repo-ajdk8/jdk/test/sun/tools/jstatd/all.policy -J-Dparent.pid.3115039 -p 44491
exitvalue: 143
stderr:
stdout:
STDERR:
stdout: [];
stderr: [Could not read data for remote JVM 3115377
]
exitValue = 1
java.lang.RuntimeException: Expected to get exit value of [0]
at jdk.testlibrary.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:387)
at JstatdTest.verifyJstatOutput(JstatdTest.java:246)
at JstatdTest.runToolsAndVerify(JstatdTest.java:259)
at JstatdTest.doTest(JstatdTest.java:361)
at TestJstatdExternalRegistry.main(TestJstatdExternalRegistry.java:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:82)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.lang.Thread.run(Thread.java:879)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0]
JavaTest Message: shutting down test
【版本信息】
[dongzhichun@CompilerTest-aarch64-5 bin]$ uname -a ; cat /etc/os-release ; free -h ; lscpu | head -n 25 ; ./java -version ; ./java -Xinternalversion
Linux CompilerTest-aarch64-5 5.10.134-16.1.al8.aarch64 #1 SMP Thu Dec 7 22:04:51 CST 2023 aarch64 aarch64 aarch64 GNU/Linux
NAME="Alibaba Cloud Linux"
VERSION="3 (Soaring Falcon)"
ID="alinux"
ID_LIKE="rhel fedora centos anolis"
VERSION_ID="3"
UPDATE_ID="9"
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: 122Gi 1.5Gi 83Gi 0.0Ki 37Gi 119Gi
Swap: 0B 0B 0B
Architecture: aarch64
Byte Order: Little Endian
CPU(s): 32
On-line CPU(s) list: 0-31
Thread(s) per core: 1
Core(s) per socket: 32
Socket(s): 1
NUMA node(s): 1
Vendor ID: ARM
Model: 0
Model name: Neoverse-N2
Stepping: r0p0
CPU MHz: 3000.000
CPU max MHz: 3000.0000
CPU min MHz: 3000.0000
BogoMIPS: 100.00
L1d cache: 64K
L1i cache: 64K
L2 cache: 1024K
L3 cache: 65536K
NUMA node0 CPU(s): 0-31
Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh
openjdk version "1.8.0_412"
OpenJDK Runtime Environment (Alibaba 8.9.14) (build 1.8.0_412-b0)
OpenJDK 64-Bit Server VM (Alibaba 8.9.14) (build 25.412-b0-internal, mixed mode)
OpenJDK 64-Bit Server VM (25.412-b0-internal) for linux-aarch64 JRE (1.8.0_412-b0), built on Sep 6 2024 02:16:29 by "" with gcc 4.8.5 20150623 (Red Hat 4.8.5-44)
https://tone.aliyun-inc.com/ws/xesljfzh/test_result/370622?tab=1
【环境准备】
x64和aarch64都有问题,失败率1/2000,复现命令:
【对比测试】
dragonwell8 同样问题 失败率3/1w oss://dragonwell/8.20.21/Alibaba_Dragonwell_Extended_8.20.21_aarch64_linux.tar.gz
Temurin8 同样问题 失败率1/1w oss://compiler-ci-bucket/openjdk/jdk8u422-ga/OpenJDK8U-jdk_aarch64_linux_hotspot_8u422b05.tar.gz
【用例日志】
1306.log
index-1306.rar
【版本信息】