adoptium / temurin-build

Eclipse Temurin™ build scripts - common across all releases/versions
Apache License 2.0
1k stars 243 forks source link

jtreg CAInterop.java#certainlyroote1 run fail with cacerts which generated by ./mk-cacerts.sh #3768

Open sendaoYan opened 2 months ago

sendaoYan commented 2 months ago

What are you trying to do?

rm -rf tmp ; jtreg -v:fail,error -nr -w tmp -jdk:build/linux-x86_64-server-release/images/jdk test/jdk/security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java#certainlyroote1 | tail -n 5
git clone git@github.com:adoptium/temurin-build.git
cd temurin-build/security/
cd -
mv build/linux-x86_64-server-release/images/jdk/lib/security/cacerts build/linux-x86_64-server-release/images/jdk/lib/security/cacerts-ori
cp temurin-build/security/cacerts build/linux-x86_64-server-release/images/jdk/lib/security/cacerts
rm -rf tmp ; jtreg -v:fail,error -nr -w tmp -jdk:build/linux-x86_64-server-release/images/jdk test/jdk/security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java#certainlyroote1 | tail -n 5

Expected behaviour: jtreg CAInterop.java#certainlyroote1 run passed with cacerts which generated by ./mk-cacerts.sh

Observed behaviour: jtreg CAInterop.java#certainlyroote1 run passed with cacerts which generated by configure && make all

jtreg CAInterop.java#certainlyroote1 run failed with cacerts which generated by ./mk-cacerts.sh

image

Any other comments:

smlambert commented 2 months ago

Is this new behaviour? Noting that CAcerts were updated in March, https://github.com/adoptium/temurin-build/pull/3697#issuecomment-1994007189

sendaoYan commented 2 months ago

Is this new behaviour? Noting that CAcerts were updated in March, #3697 (comment)

Maybe it's a new behaviour. The dragonwell17/dragonwell21 nightly has new failure of security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java#certainlyroote1 these two days.