-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
https://tone.aliyun-inc.com/ws/xesljfzh/test_result/310820?tab=1
【环境准备】
登录环境:
ssh -o ServerAliveInterval=60 [email protected]
BINARY_URL=oss://compiler-ci-bucket/dragonwell17/20240424-164803-049-#320-linux.x86_64.release.standard-5d8b2f9e9119860cfa9d9a7fb6c300ff19ef1b55.jdk.tar.gz
TEST_IMAGE=oss://compiler-ci-bucket/dragonwell17/20240424-164803-049-#320-linux.x86_64.release.standard-5d8b2f9e9119860cfa9d9a7fb6c300ff19ef1b55.test-image.tar.gz
JTREG_URL=oss://compiler-ci-bucket/jdk/tools/jtreg-7.3.1.1.zip
JDK_REPO=https://github.com/dragonwell-project/dragonwell17.git
JDK_BRANCH=standard
cd ~/tone/tone-matrix-compiler/common;./ossutil.bin_$(arch) -i;cd -
alias oss="~/tone/tone-matrix-compiler/common/ossutil.bin_$(arch) -e oss-cn-shanghai.aliyuncs.com -u jvmcloud -b ~/tone/tone-matrix-compiler/common/ossutil_bin/ossutil -o download -f -r"
部署二进制:
oss $BINARY_URL -l ${BINARY_URL##*/}
mkdir bin-dragonwell17;tar -xf ${BINARY_URL##*/} -C bin-dragonwell17
oss $TEST_IMAGE-l ${TEST_IMAGE##*/}
mkdir images-dragonwell17;tar -xf ${BINARY_URL##*/} -C images-dragonwell17
cd bin-dragonwell17 && export JAVA_HOME=$PWD ; export PATH=$JAVA_HOME/bin:$PATH ; export TEST_JDK_HOME=$JAVA_HOME && cd -
部署jtreg工具:
oss $JTREG_URL -l ${JTREG_URL##*/};unzip ${JTREG_URL##*/}
cd jtreg ;export JT_HOME=$PWD ; export PATH=$PWD/bin:$PATH;cd -
部署用例repo
git clone -b $JDK_BRANCH $JDK_REPO jdk-repo-dragonwell17
执行以下命令:
test="jdk-repo-dragonwell17/test/hotspot/jtreg/gtest/NMTGtests.java"
args="-Xmixed"
native="-nativepath:images-dragonwell17/test-image/hotspot/jtreg/native"
jtreg -nr -v:fail,error -w tmp $args $native $test
x86_64和aarch64都是概率性失败,本次验证以x86_64为准
失败率1/100
55.log
index-55.rar
复现命令
[dongzhichun@CompilerTest-x64-5 DRAGONWELL17]$ function runJtreg() { jtreg $args $native -timeoutFactor:4 -v:fail,error,time,nopass -nr -w $dir/index-$1 $test &> $dir/$1.log ; if [[ 0 -ne $? ]] ; then echo -n "$1 " ; else rm -rf $dir/index-$1 $dir/$1.log ; fi ; } ; export -f runJtreg ; export dir="tmp-jtreg-"`basename ${test##* } .java | sed "s|#|_|"` ; rm -rf $dir ; mkdir -p $dir ; time seq 100 | xargs -i -n 1 -P `nproc` bash -c "runJtreg {}" ; echo total fail number: `ls $dir/*.log 2> /dev/null | wc | awk '{print $1}'`
55
real 1m55.807s
user 55m25.619s
sys 2m54.761s
total fail number: 1
【对比测试】
dragonwell release 同样问题 1/300概率失败
oss://dragonwell/17.0.10.0.11+7/Alibaba_Dragonwell_Standard_17.0.10.0.11.7_x64_linux.tar.gz
[dongzhichun@CompilerTest-x64-5 bin]$ ./java -version
openjdk version "17.0.10" 2024-01-16
OpenJDK Runtime Environment (Alibaba Dragonwell Standard Edition)-17.0.10.0.11+7-GA (build 17.0.10+7)
OpenJDK 64-Bit Server VM (Alibaba Dragonwell Standard Edition)-17.0.10.0.11+7-GA (build 17.0.10+7, mixed mode, sharing)
[dongzhichun@CompilerTest-x64-5 bin]$ ./java -Xinternalversion
OpenJDK 64-Bit Server VM (17.0.10+7) for linux-amd64 JRE (17.0.10+7), built on Jan 16 2024 00:00:00 by "dragonwell" with gcc 7.5.0
Temurin 同样问题 1/300概率失败
https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.11%2B9/OpenJDK17U-jdk_x64_linux_hotspot_17.0.11_9.tar.gz
[dongzhichun@CompilerTest-x64-5 bin]$ ./java -version
openjdk version "17.0.11" 2024-04-16
OpenJDK Runtime Environment Temurin-17.0.11+9 (build 17.0.11+9)
OpenJDK 64-Bit Server VM Temurin-17.0.11+9 (build 17.0.11+9, mixed mode, sharing)
[dongzhichun@CompilerTest-x64-5 bin]$ ./java -Xinternalversion
OpenJDK 64-Bit Server VM (17.0.11+9) for linux-amd64 JRE (17.0.11+9), built on Apr 16 2024 00:00:00 by "admin" with gcc 10.3.0
【用例日志】
[----------] Global test environment tear-down
[==========] 60 tests from 7 test cases ran. (795 ms total)
[ PASSED ] 59 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] os.release_one_mapping_multi_commits_vm
1 FAILED TEST
ERROR: RUN_ALL_TESTS() failed. Error 1
[2024-05-13T16:50:56.643404471Z] Waiting for completion for process 311638
[2024-05-13T16:50:56.643502392Z] Waiting for completion finished for process 311638
STDERR:
java.lang.AssertionError: gtest execution failed; exit code = 2. the failed tests: [os::release_one_mapping_multi_commits_vm]
at GTestWrapper.main(GTestWrapper.java:98)
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$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:840)
JavaTest Message: Test threw exception: java.lang.AssertionError: gtest execution failed; exit code = 2. the failed tests: [os::release_one_mapping_multi_commits_vm]
JavaTest Message: shutting down test
【版本信息】
[dongzhichun@CompilerTest-x64-5 DRAGONWELL17]$ uname -a ; cat /etc/os-release ; free -h ; lscpu | head -n 25 ; java -version ; java -Xinternalversion
Linux CompilerTest-x64-5 5.10.134-16.1.al8.x86_64 #1 SMP Thu Dec 7 14:11:24 UTC 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"
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: 123Gi 1.3Gi 32Gi 3.0Mi 89Gi 121Gi
Swap: 0B 0B 0B
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 32
On-line CPU(s) list: 0-31
Thread(s) per core: 2
Core(s) per socket: 16
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 106
Model name: Intel(R) Xeon(R) Platinum 8369B CPU @ 2.70GHz
Stepping: 6
CPU MHz: 3516.069
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-31
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single ibrs_enhanced fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves wbnoinvd arat avx512vbmi pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid fsrm arch_capabilities
openjdk version "17.0.11" 2024-04-16
OpenJDK Runtime Environment (Alibaba Dragonwell Standard Edition)-17.0.7.0.7+7-GA (build 17.0.11+7)
OpenJDK 64-Bit Server VM (Alibaba Dragonwell Standard Edition)-17.0.7.0.7+7-GA (build 17.0.11+7, mixed mode, sharing)
OpenJDK 64-Bit Server VM (17.0.11+7) for linux-amd64 JRE (17.0.11+7), built on Apr 16 2024 00:00:00 by "dragonwell" with gcc 7.5.0
Metadata
Metadata
Assignees
Labels
No labels