Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dragonwell8][fastdebug][aarch64][nightly][regress]compiler/7184394/TestAESMain.java随机报错assert(reduced_size <= desired_eden_size) failed: Inconsistent result #701

Open
sendaoYan opened this issue Nov 21, 2024 · 4 comments
Assignees

Comments

@sendaoYan
Copy link
Collaborator

https://tone.aliyun-inc.com/ws/xesljfzh/test_result/407720?tab=1
【环境准备】

BINARY_URL=oss://compiler-ci-bucket/dragonwell8/CI/tar/20241113-002913-606-#614-linux.aarch64.fastdebug.master-4e627c40c952ec0b11d55b8f08ddc92c099f1be7.tar.gz
JTREG_URL=oss://compiler-ci-bucket/jdk/tools/jtreg5.1-b01.zip
[email protected]:dragonwell-project/dragonwell8.git
JDK_BRANCH=dragonwell_standard-8.23.22
cd ~/tone/tone-matrix-compiler/common;./ossutil.bin_$(arch) -i;cd -
alias oss="~/tone/tone-matrix-compiler/common/ossutil.bin_$(arch) -e oss-cn-hangzhou.aliyuncs.com -u jvm_dev-b  ~/tone/tone-matrix-compiler/common/ossutil_bin/ossutil -o download -f -r"

部署二进制:
oss $BINARY_URL -l ${BINARY_URL##*/}
mkdir bin-dragonwell8;tar -xf ${BINARY_URL##*/} -C bin-dragonwell8

部署jtreg工具:
oss $JTREG_URL -l ${JTREG_URL##*/};unzip ${JTREG_URL##*/}

部署用例repo
git clone -b $JDK_BRANCH $JDK_REPO jdk-repo

执行以下命令:
cd bin-dragonwell8/dragonwell-8.20.21/ && export JAVA_HOME=$PWD ; export PATH=$JAVA_HOME/bin:$PATH ; export TEST_JDK_HOME=$JAVA_HOME && cd -
cd jtreg ;export JT_HOME=$PWD ; export PATH=$PWD/bin:$PATH;cd -

jtreg  -nr -v:fail,error -w tmp  -XX:-UseCompressedOops   jdk-repo/hotspot/test/compiler/7184394/TestAESMain.java

【测试分析】
失败率2/50,复现命令:

 function runJtreg() { jtreg $args  -Xmixed  -ea -esa -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 50 | xargs -i -n 1 -P 26 bash -c "runJtreg {}" ; echo total fail number: `ls $dir/*.lo
g 2> /dev/null | wc | awk '{print $1}'`
41 48
real    7m44.091s
user    170m3.885s
sys     20m47.433s
total fail number: 2

【用例日志】
hs_err_pid1602102.log

# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/psAdaptiveSizePolicy.cpp:1384
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/data1/workspace/dragonwell8.nightly.pipeline/hotspot/src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.cpp:1384), pid=1602102, tid=0x0000ffff371f1150
#  assert(reduced_size <= desired_eden_size) failed: Inconsistent result
#
# JRE version: OpenJDK Runtime Environment (8.0_372-b01) (build 1.8.0_372-fastdebug-b01)
# Java VM: OpenJDK 64-Bit Server VM (25.372-b01-fastdebug mixed mode linux-aarch64 compressed oops)
# Core dump written. Default location: /home/dongzhichun/working/dragonwell8-debug/tmp-jtreg-TestAESMain/index-41/scratch/core or core.1602102
#
# An error report file with more information is saved as:
# /home/dongzhichun/working/dragonwell8-debug/tmp-jtreg-TestAESMain/index-41/scratch/hs_err_pid1602102.log
#
# If you would like to submit a bug report, please visit:
#   mailto:[email protected]

【jdk信息】

java -version;java -Xinternalversion
openjdk version "1.8.0_372-fastdebug"
OpenJDK Runtime Environment (Alibaba Dragonwell Extended Edition 8.20.21) (build 1.8.0_372-fastdebug-b01)
OpenJDK 64-Bit Server VM (Alibaba Dragonwell Extended Edition 8.20.21) (build 25.372-b01-fastdebug, mixed mode)
OpenJDK 64-Bit Server VM (25.372-b01-fastdebug) for linux-aarch64 JRE (1.8.0_372-b01), built on Nov 12 2024 16:32:50 by "" with gcc 4.8.5 20150623 (Red Hat 4.8.5-44)

【系统版本信息】

uname -a ; cat /etc/os-release ; free -h ; lscpu | head -n 25
Linux CompilerTest-aarch64-3 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.2Gi       120Gi       0.0Ki       565Mi       120Gi
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

@sendaoYan
Copy link
Collaborator Author

@dzchun
Copy link

dzchun commented Nov 22, 2024

dragonwell8 fastdebug新增两个用例同样问题
https://tone.aliyun-inc.com/ws/xesljfzh/test_result/408389
gc/concurrentMarkSweep/CheckAllocateAndSystemGC.java

https://tone.aliyun-inc.com/ws/xesljfzh/test_result/408394
runtime/Metaspace/FragmentMetaspaceSimple.java

@sendaoYan
Copy link
Collaborator Author

runtime/Metaspace/FragmentMetaspaceSimple.java

https://code.alibaba-inc.com/os-quality/tone-matrix-compiler/codereview/19292865

@sendaoYan sendaoYan changed the title [dragonwell8][fastdebug][aarch64][nightly]compiler/7184394/TestAESMain.java随机报错assert(reduced_size <= desired_eden_size) failed: Inconsistent result [dragonwell8][fastdebug][aarch64][nightly][regress]compiler/7184394/TestAESMain.java随机报错assert(reduced_size <= desired_eden_size) failed: Inconsistent result Nov 22, 2024
@sendaoYan sendaoYan assigned weixlu and unassigned kuaiwei Nov 22, 2024
@dzchun
Copy link

dzchun commented Nov 22, 2024

上游openjdk8未复现,相关core文件已上传oss://compiler-ci-bucket/jdk/core-dump-files/dragonwell8/issue701

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants