dragonwell-releng / dragonwell-adoptium

0 stars 0 forks source link

【上游问题】用例sun/nio/ch/TempBuffer.java在aarch64平台使用-Xcomp选项概率失败 #168

Closed zhaoyuanfang1 closed 11 months ago

zhaoyuanfang1 commented 1 year ago

https://tone.aliyun-inc.com/ws/xesljfzh/test_result/194934?tab=1 Steps to Reproduce Steps to reproduce the behavior:

wget -nv https://ajdk-backup.oss-cn-hangzhou.aliyuncs.com/8.20.24/OpenJDK8U-jdk_aarch64_linux_ajdk_2023-06-08-03-43.tar.gz -O binary.tar.gz
tar zxvf binary.tar.gz
cd jdk8u372-b776
export JAVA_HOME=$PWD ; export PATH=$JAVA_HOME/bin:$PATH ; export TEST_JDK_HOME=$JAVA_HOME
cd -
wget -nv https://compiler-ci-bucket.oss-cn-hangzhou.aliyuncs.com/jdk/tools/jtreg5.1-b01.zip -O jtreg.zip
unzip jtreg.zip
cd jtreg
export JT_HOME=$PWD ; export PATH=$PWD/bin:$PATH
cd -
git clone -b master "https://code.alibaba-inc.com/ajdk/jdk8u" jdk-repo
test=./jdk-repo/jdk/test/sun/nio/ch/TempBuffer.java
alias j='jtreg -w tmp -nr -v:fail,error'
nproc=`nproc` ; dir="tmp-jtreg-"`basename $test .java` ; rm -rf $dir ; mkdir -p $dir ; time seq 5000 | xargs -i -n 1 -P $nproc bash -c "jtreg -ea -esa -Xcomp -timeoutFactor:2 -v:fail,error,time,nopass -nr -w $dir/index-{} $test &> $dir/{}.log ; grep 'Test results: passed: 1' -L $dir/{}.log"

ajdk8失败日志: 2781.log 722.log 关键错误信息:

STDERR:
java.io.IOException: No such file or directory
    at sun.nio.ch.NativeThread.signal(Native Method)
    at sun.nio.ch.SinkChannelImpl.implCloseSelectableChannel(SinkChannelImpl.java:104)
    at java.nio.channels.spi.AbstractSelectableChannel.implCloseChannel(AbstractSelectableChannel.java:247)
    at java.nio.channels.spi.AbstractInterruptibleChannel.close(AbstractInterruptibleChannel.java:115)
    at TempBuffer.testTempBufs(TempBuffer.java:85)
    at TempBuffer.main(TempBuffer.java:41)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:82)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
    at java.lang.Thread.run(Thread.java:879)

JavaTest Message: Test threw exception: java.io.IOException: No such file or directory
JavaTest Message: shutting down test

dragonwell8失败日志: 436.log

1075.log

temurin失败日志: 4390.log

ajdk8错误概率:2/5000 dragonwell8错误概率:2/5000 temurin8错误概率:1/5000

环境信息: image

sendaoYan commented 1 year ago

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

sendaoYan commented 11 months ago

zhaoyuanfang1 提交的issue先关闭,后续有问题再重新打开