JDK-8332432 : Test compiler/rangechecks/TestArrayAccessAboveRCAfterRCCastIIEliminated.java fail on aarch64
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 23
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: aarch64
  • Submitted: 2024-05-17
  • Updated: 2024-05-21
  • Resolved: 2024-05-17
Related Reports
Duplicate :  
Description
compiler/rangechecks/TestArrayAccessAboveRCAfterRCCastIIEliminated.java intermittent fail on linux aarch64 by mine own build binary.

configure comand:
bash configure --with-jobs=32 --prefix=/var/tmp/tone/run/jtreg/jdk-repo/install-fastdebug --verbose --with-debug-level=fastdebug --enable-unlimited-crypto --with-vendor-name=yansendao --with-vendor-url=https://github.com/sendaoYan --with-vendor-bug-url=mailto:yansendao.ysd@alibaba-inc.com --with-vendor-vm-bug-url=mailto:yansendao.ysd@alibaba-inc.com --with-jvm-variants=server --with-boot-jdk=/var/tmp/tone/run/jtreg/binary-download/jdk-binary --with-gtest=/var/tmp/tone/run/jtreg/googletest-v1.14.x --with-jtreg=/var/tmp/tone/run/jtreg/jtreg --with-jmh=build/jmh/jars --with-version-pre="" --with-version-opt="" --with-zlib=system

jtreg test command:
jtreg -va -nr -w tmp test/hotspot/jtreg/compiler/rangechecks/TestArrayAccessAboveRCAfterRCCastIIEliminated.java


result:
ACTION: main -- Failed. Unexpected exit from test [exit code: 134]
REASON: User specified action: run main/othervm -XX:-TieredCompilation -XX:-UseOnStackReplacement -XX:-BackgroundCompilation -XX:CompileCommand=dontinline,TestArrayAccessAboveRCAfterRCCastIIEliminated::notInlined TestArrayAccessAboveRCAfterRCCastIIEliminated 
TIME:   2.816 seconds
messages:
command: main -XX:-TieredCompilation -XX:-UseOnStackReplacement -XX:-BackgroundCompilation -XX:CompileCommand=dontinline,TestArrayAccessAboveRCAfterRCCastIIEliminated::notInlined TestArrayAccessAboveRCAfterRCCastIIEliminated
reason: User specified action: run main/othervm -XX:-TieredCompilation -XX:-UseOnStackReplacement -XX:-BackgroundCompilation -XX:CompileCommand=dontinline,TestArrayAccessAboveRCAfterRCCastIIEliminated::notInlined TestArrayAccessAboveRCAfterRCCastIIEliminated 
started: Thu May 16 20:35:45 CST 2024
Mode: othervm [/othervm specified]
finished: Thu May 16 20:35:48 CST 2024
elapsed time (seconds): 2.816
configuration:
STDOUT:
CompileCommand: dontinline TestArrayAccessAboveRCAfterRCCastIIEliminated.notInlined bool dontinline = true
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/var/tmp/tone/run/jtreg/jdk-repo/src/hotspot/share/opto/gcm.cpp:1423), pid=320401, tid=320432
#  assert(false) failed: graph should be schedulable
#
# JRE version: OpenJDK Runtime Environment (23.0) (fastdebug build 23)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 23, mixed mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
# Problematic frame:
# V  [libjvm.so+0xc6ca80]  PhaseCFG::schedule_late(VectorSet&, Node_Stack&)+0xe80
#
# Core dump will be written. Default location: /var/tmp/tone/run/jtreg/jt-work/hotspot_jtreg/compiler/rangechecks/TestArrayAccessAboveRCAfterRCCastIIEliminated/core.320401
#
# An error report file with more information is saved as:
# /var/tmp/tone/run/jtreg/jt-work/hotspot_jtreg/compiler/rangechecks/TestArrayAccessAboveRCAfterRCCastIIEliminated/hs_err_pid320401.log
#
# Compiler replay data is saved as:
# /var/tmp/tone/run/jtreg/jt-work/hotspot_jtreg/compiler/rangechecks/TestArrayAccessAboveRCAfterRCCastIIEliminated/replay_pid320401.log
#
# If you would like to submit a bug report, please visit:
#   mailto:yansendao.ysd@alibaba-inc.com
#
STDERR:
rerun:
cd /var/tmp/tone/run/jtreg/jt-work/hotspot_jtreg/compiler/rangechecks/TestArrayAccessAboveRCAfterRCCastIIEliminated && \
DISPLAY=:7 \
HOME=/home/testUserForTone \
JTREG_VERSION=jtreg-7.3.1.1 \
LANG=C \
LC_CTYPE=C.UTF-8 \
LD_LIBRARY_PATH= \
PATH=/bin:/usr/bin:/usr/sbin \
TEST_IMAGE_DIR=/var/tmp/tone/run/jtreg/test-images \
CLASSPATH=/var/tmp/tone/run/jtreg/jt-work/hotspot_jtreg/classes/2/compiler/rangechecks/TestArrayAccessAboveRCAfterRCCastIIEliminated.d:/var/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/rangechecks:/var/tmp/tone/run/jtreg/jtreg/lib/javatest.jar:/var/tmp/tone/run/jtreg/jtreg/lib/jtreg.jar \
    /var/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-fastdebug/images/jdk/bin/java \
        -Dtest.vm.opts='-Djdk.lang.processReaperUseDefaultStackSize=true -Dtest.wisp.socketAddress=www.alibabacloud.com -Xmixed -ea -esa' \
        -Dtest.tool.vm.opts='-J-Djdk.lang.processReaperUseDefaultStackSize=true -J-Dtest.wisp.socketAddress=www.alibabacloud.com -J-Xmixed -J-ea -J-esa' \
        -Dtest.compiler.opts= \
        -Dtest.java.opts= \
        -Dtest.jdk=/var/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-fastdebug/images/jdk \
        -Dcompile.jdk=/var/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-fastdebug/images/jdk \
        -Dtest.timeout.factor=10.0 \
        -Dtest.nativepath=/var/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \
        -Dtest.root=/var/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg \
        -Dtest.name=compiler/rangechecks/TestArrayAccessAboveRCAfterRCCastIIEliminated.java \
        -Dtest.file=/var/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/rangechecks/TestArrayAccessAboveRCAfterRCCastIIEliminated.java \
        -Dtest.src=/var/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/rangechecks \
        -Dtest.src.path=/var/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/rangechecks \
        -Dtest.classes=/var/tmp/tone/run/jtreg/jt-work/hotspot_jtreg/classes/2/compiler/rangechecks/TestArrayAccessAboveRCAfterRCCastIIEliminated.d \
        -Dtest.class.path=/var/tmp/tone/run/jtreg/jt-work/hotspot_jtreg/classes/2/compiler/rangechecks/TestArrayAccessAboveRCAfterRCCastIIEliminated.d \
        -Djdk.lang.processReaperUseDefaultStackSize=true \
        -Dtest.wisp.socketAddress=www.alibabacloud.com \
        -Xmixed \
        -ea \
        -esa \
        -Djava.library.path=/var/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \
        -XX:-TieredCompilation \
        -XX:-UseOnStackReplacement \
        -XX:-BackgroundCompilation \
        -XX:CompileCommand=dontinline,TestArrayAccessAboveRCAfterRCCastIIEliminated::notInlined \
        com.sun.javatest.regtest.agent.MainWrapper /var/tmp/tone/run/jtreg/jt-work/hotspot_jtreg/compiler/rangechecks/TestArrayAccessAboveRCAfterRCCastIIEliminated.d/main.0.jta

TEST RESULT: Failed. Unexpected exit from test [exit code: 134]
Comments
JDK-8332369
17-05-2024