dragonwell-project / dragonwell8

Alibaba Dragonwell8 JDK
http://dragonwell-jdk.io
GNU General Public License v2.0
4.21k stars 497 forks source link

[upstream]jck8d-generateSecret2Tests intermitently fail #583

Open sendaoYan opened 1 year ago

sendaoYan commented 1 year ago

https://tone.aliyun-inc.com/ws/xesljfzh/test_result/210875?tab=1

test command:

export cmd='/home/yansendao/software/jdk/temurin/jdk8u382-b05/bin/java -Xfuture -classpath /home/yansendao/jck/jck8d/JCK-runtime-8d/classes javasoft.sqe.tests.api.javax.crypto.KeyAgreement.generateSecret2Tests -TestCaseID ALL'
function runJck() {  $cmd &> tmp-jck/$1.log ; if [[ 95 -ne $? ]] ; then echo -n "$1 " ; else rm -rf tmp-jck/index-$1 tmp-jck/$1.log ; fi ; } ; export -f runJck ; rm -rf tmp-jck ; mkdir -p tmp-jck ; time seq 10000 | xargs -i -n 1 -P `nproc` bash -c "runJck {}" ; echo total fail number: `ls tmp-jck/*.log 2> /dev/null | wc | awk '{print $1}'`

result:

image

generateSecret2Tests004: Failed. generateSecret() doesn't successfully reset KeyAgreement object.
STATUS:Failed.test cases: 4; passed: 3; failed: 1; first test case failure: generateSecret2Tests004

9638.log 9335.log 8773.log 8543.log 7837.log 6619.log 5041.log 4175.log 398.log 3727.log 3609.log 331.log 3273.log 2340.log 2316.log 144.log

image