dragonwell-releng / dragonwell-adoptium

0 stars 0 forks source link

【ajdk11】【nightly】ajdk11 jdk/crac/recursiveCheckpoint/Test.java用例失败, release版本没有问题: java: unknown action: restorevalidate #313

Closed owanqian closed 11 months ago

owanqian commented 11 months ago

https://tone.aliyun-inc.com/ws/xesljfzh/test_result/251161 https://tone.aliyun-inc.com/ws/xesljfzh/test_result/251158

【环境准备】

wget -O  binary.tar.gz https://compiler-ci-bucket.oss-cn-hangzhou.aliyuncs.com/ajdk11/20231113-175545-338-%23455-linux.aarch64.release.master-55d48850ff2736653bbe350fb22887f7f53833f8.jdk.tar.gz
mkdir binary-download 
tar xzvf binary.tar.gz -C binary-download
cd binary-download && export JAVA_HOME=$PWD ; export PATH=$JAVA_HOME/bin:$PATH ; export TEST_JDK_HOME=$JAVA_HOME && cd -
wget -O test-images.tar.gz https://compiler-ci-bucket.oss-cn-hangzhou.aliyuncs.com/ajdk11/20231113-175545-338-%23455-linux.aarch64.release.master-55d48850ff2736653bbe350fb22887f7f53833f8.test-image.tar.gz
make test-image
tar xzvf test-images.tar.gz -C test-image

wget -O jtreg.zip https://compiler-ci-bucket.oss-cn-hangzhou.aliyuncs.com/jdk/tools/jtreg-6.1.1.zip
unzip jtreg.zip
cd jtreg 
export JT_HOME=$PWD ; export PATH=$PWD/bin:$PATH
cd -
git clone -b master https://codeup.aliyun.com/5f4e0dfe6207a1a8b17fa7cf/compiler-test/jdk11.git jdk-repo
test=jdk/crac/recursiveCheckpoint/Test.java
args='-Xmixed'
native='-nativepath:./test-images/hotspot/jtreg/native'
jtreg -w tmp -nr -v:fail,error $native  $args $test

【对比测试】

a11 release 没有问题. wget http://114.55.64.175:8666/ajdk-backup/11.0.20.20/OpenJDK11U-jdk_x64_linux_ajdk_2023-10-11-02-37.tar.gz

[root@VM20190228-137 bin]# ./java -version ; ./java -Xinternalversion
openjdk version "11.0.20.20-AJDK" 2023-10-11
OpenJDK Runtime Environment (Alibaba AJDK) (build 11.0.20.20-AJDK+8-Alibaba)
OpenJDK 64-Bit Server VM (Alibaba AJDK) (build 11.0.20.20-AJDK+8-Alibaba, mixed mode)
OpenJDK 64-Bit Server VM (11.0.20.20-AJDK+8-Alibaba) for linux-amd64 JRE (11.0.20.20-AJDK+8-Alibaba), built on Oct 11 2023 02:42:24 by "" with gcc 7.3.1 20180303 (Red Hat 7.3.1-5)

【用例日志】

完整日志.txt

ACTION: driver -- Error. Program `/tmp/tone/run/jtreg/binary-download/bin/java' timed out (timeout set to 240000ms, elapsed time including timeout handling was 240172ms).
REASON: User specified action: run driver/timeout=60 jdk.test.lib.crac.CracTest 10 
TIME:   240.174 seconds
messages:
command: driver jdk.test.lib.crac.CracTest 10
reason: User specified action: run driver/timeout=60 jdk.test.lib.crac.CracTest 10 
Mode: othervm
Timeout information:
Running jstack on process 3995599
3995599: No such process
--- Timeout information end.
elapsed time (seconds): 240.174
configuration:
STDOUT:
CR: Checkpoint ...
Timeout refired 240 times
STDERR:
Starting process to be checkpointed:
/tmp/tone/run/jtreg/binary-download/bin/java -ea -cp /tmp/tone/run/jtreg/jt-work-crac/classes/3/jdk/crac/recursiveCheckpoint/Test.d:/tmp/tone/run/jtreg/jt-work-crac/classes/3/test/lib -XX:CREngine=pauseengine -XX:CRaCCheckpointTo=cr jdk.test.lib.crac.CracTest __run_test__ Test 10
Restore #1
Starting restored process:
/tmp/tone/run/jtreg/binary-download/bin/java -ea -cp /tmp/tone/run/jtreg/jt-work-crac/classes/3/jdk/crac/recursiveCheckpoint/Test.d:/tmp/tone/run/jtreg/jt-work-crac/classes/3/test/lib -XX:CREngine=pauseengine -XX:CRaCRestoreFrom=cr
unknown action: restorevalidate

【版本信息】

[root@VM20190228-137 a11]# uname -a ; cat /etc/os-release ; free -h; lscpu| head -n 25;java -version; java -Xinternalversion
Linux VM20190228-137 5.10.134-14.al8.x86_64 #1 SMP Thu Apr 27 16:46:29 CST 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"
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:           15Gi       764Mi       3.4Gi       826Mi        11Gi        13Gi
Swap:            0B          0B          0B
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  2
Core(s) per socket:  1
Socket(s):           2
NUMA node(s):        1
Vendor ID:           GenuineIntel
BIOS Vendor ID:      Alibaba Cloud
CPU family:          6
Model:               85
Model name:          Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz
BIOS Model name:     pc-i440fx-2.1
Stepping:            4
CPU MHz:             2500.012
BogoMIPS:            5000.02
Hypervisor vendor:   KVM
Virtualization type: full
L1d cache:           32K
L1i cache:           32K
L2 cache:            1024K
L3 cache:            33792K
NUMA node0 CPU(s):   0-3
openjdk version "11.0.20.20-AJDK" 2023-11-13
OpenJDK Runtime Environment (build 11.0.20.20-AJDK+0-Alibaba)
OpenJDK 64-Bit Server VM (build 11.0.20.20-AJDK+0-Alibaba, mixed mode)
OpenJDK 64-Bit Server VM (11.0.20.20-AJDK+0-Alibaba) for linux-amd64 JRE (11.0.20.20-AJDK+0-Alibaba), built on Nov 13 2023 09:56:38 by "" with gcc 7.3.1 20180303 (Red Hat 7.3.1-5)
sendaoYan commented 11 months ago

已经有记录,通过aone跟踪 https://aone.alibaba-inc.com/v2/project/355606/bug/53253645# 《[ajdk11][crac]jdk/crac/recursiveCheckpoint/Test.java用例随机报错unknown action: restorevalidate》

sendaoYan commented 11 months ago

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