dragonwell-releng / dragonwell-adoptium

0 stars 0 forks source link

【AJDK8】jfr/event/oldobject/TestSanityDefault.java在aarch64平台-Xcomp -XX:TieredStopAtLevel=1选项下执行timed out #223

Closed owanqian closed 10 months ago

owanqian commented 10 months ago

https://tone.aliyun-inc.com/ws/xesljfzh/test_result/233336 【环境准备】

wget -O binary.tar.gz http://114.55.64.175:8666/ajdk-backup/test-52/OpenJDK8U-jdk_aarch64_linux_ajdk_2023-08-29-06-03.tar.gz
tar xzvf binary.tar.gz
cd binary-download && export JAVA_HOME=$PWD ; export PATH=$JAVA_HOME/bin:$PATH ; export TEST_JDK_HOME=$JAVA_HOME && cd -
wget -O jtreg.zip https://compiler-ci-bucket.oss-cn-hangzhou.aliyuncs.com/jdk/tools/jtreg5.1-b01.zip 
unzip jtreg.zip
cd jtreg 
export JT_HOME=$PWD ; export PATH=$PWD/bin:$PATH
cd -
git clone https://$user:$pass@codeup.aliyun.com/5f4e0dfe6207a1a8b17fa7cf/compiler-test/jdk8u.git  jdk-repo -b wip_ajdk_ga_merge_branch
test=jdk-repo/jdk/test/jdk/jfr/event/oldobject/TestSanityDefault.java
args="-Xcomp -XX:TieredStopAtLevel=1 -ea -esa"
jtreg -w jt-work -nr -v:fail,error $native $args $test

【对比测试】

上个版本的issue记录为: https://github.com/dragonwell-releng/dragonwell-adoptium/issues/157 为上游问题, 记录一下. ajdk8 release wget -O binary.tar.gz http://114.55.64.175:8666/ajdk-backup/8.20.24/OpenJDK8U-jdk_aarch64_linux_ajdk_2023-06-08-03-43.tar.gz

[root@VM20210305-10 a8-release]# java -version; java -Xinternalversion
openjdk version "1.8.0_372"
OpenJDK Runtime Environment (Alibaba 8.20.24) (build 1.8.0_372-b773)
OpenJDK 64-Bit Server VM (Alibaba 8.20.24) (build 25.372-b773, mixed mode)
OpenJDK 64-Bit Server VM (25.372-b773) for linux-aarch64 JRE (1.8.0_372-b773), built on Jun  8 2023 03:45:10 by "root" with gcc 4.8.5 20150623 (Red Hat 4.8.5-44)

dragonwell8 release版本 同样问题 wget -O binary.tar.gz https://dragonwell.oss-cn-shanghai.aliyuncs.com/8.16.17/Alibaba_Dragonwell_Extended_8.16.17_aarch64_linux.tar.gz

[root@VM20210305-10 dw8-release]# java -version; java -Xinternalversion
openjdk version "1.8.0_382"
OpenJDK Runtime Environment (Alibaba Dragonwell Extended Edition 8.16.17) (build 1.8.0_382-b01)
OpenJDK 64-Bit Server VM (Alibaba Dragonwell Extended Edition 8.16.17) (build 25.382-b01, mixed mode)
OpenJDK 64-Bit Server VM (25.382-b01) for linux-aarch64 JRE (1.8.0_382-b01), built on Aug  4 2023 07:22:34 by "jenkins" with gcc 7.5.0

temurin8 release版本 同样问题 wget https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u382-b05/OpenJDK8U-jdk_aarch64_linux_hotspot_8u382b05.tar.gz

[root@VM20210305-10 t8]#  java -version; java -Xinternalversion
openjdk version "1.8.0_382"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_382-b05)
OpenJDK 64-Bit Server VM (Temurin)(build 25.382-b05, mixed mode)
OpenJDK 64-Bit Server VM (25.382-b05) for linux-aarch64 JRE (1.8.0_382-b05), built on Jul 19 2023 15:37:15 by "jenkins" with gcc 7.5.0

【用例日志】 fail的case是: jdk-repo/jdk/test/jdk/jfr/event/oldobject/TestSanityDefault.java-rerun-10 完整日志.txt

STDERR:

ACTION: main -- Error. Program `/disk1/a8/binary-download/bin/java' timed out (timeout set to 120000ms, elapsed time including timeout handling was 125420ms).
REASON: User specified action: run main/othervm jdk.jfr.event.oldobject.TestSanityDefault
TIME:   125.424 seconds
messages:
command: main jdk.jfr.event.oldobject.TestSanityDefault
reason: User specified action: run main/othervm jdk.jfr.event.oldobject.TestSanityDefault
Mode: othervm [/othervm specified]
Timeout information:
Running jstack on process 1029857
1029857: Unable to open socket file: target process not responding or HotSpot VM not loaded
The -F option can be used when the target process is not responding
--- Timeout information end.
elapsed time (seconds): 125.424
configuration:
STDOUT:
Timeout refired 120 times
STDERR:
OpenJDK 64-Bit Server VM warning: Code cache is flushed due to class re-definition: java/io/FileInputStream. Use -XX:+PrintCodeCacheFlushStackTrace to see the stack trace.

【版本信息】

[root@VM20210305-10 a8]# uname -a ; cat /etc/os-release ; free -h ; lscpu | head -n 25 ; java -version ; java -Xinternalversion
Linux VM20210305-10 4.19.91-26.an8.aarch64 #1 SMP Tue May 24 13:14:10 CST 2022 aarch64 aarch64 aarch64 GNU/Linux
NAME="Anolis OS"
VERSION="8.6"
ID="anolis"
ID_LIKE="rhel fedora centos"
VERSION_ID="8.6"
PLATFORM_ID="platform:an8"
PRETTY_NAME="Anolis OS 8.6"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"

              total        used        free      shared  buff/cache   available
Mem:           15Gi       330Mi       1.4Gi       0.0Ki        13Gi        14Gi
Swap:            0B          0B          0B
Architecture:        aarch64
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per cluster: 4
Socket(s):           2
Cluster(s):          1
NUMA node(s):        1
Vendor ID:           HiSilicon
BIOS Vendor ID:      Alibaba Cloud
Model:               0
Model name:          Kunpeng-920
BIOS Model name:     virt-rhel7.6.0
Stepping:            0x1
BogoMIPS:            200.00
NUMA node0 CPU(s):   0-3
Flags:               fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm
openjdk version "1.8.0_372"
OpenJDK Runtime Environment (Alibaba 8.20.24) (build 1.8.0_372-b)
OpenJDK 64-Bit Server VM (Alibaba 8.20.24) (build 25.372-b-internal, mixed mode)
OpenJDK 64-Bit Server VM (25.372-b-internal) for linux-aarch64 JRE (1.8.0_372-b), built on Aug 29 2023 06:04:33 by "root" with gcc 4.8.5 20150623 (Red Hat 4.8.5-44)
sendaoYan commented 10 months ago

jdk22、dragonwell11均没有问题

sendaoYan commented 10 months ago

jdk8 x64平台现象一样

sendaoYan commented 10 months ago

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