dragonwell-releng / issues-repo

0 stars 0 forks source link

[dragonwell8][8.18.19][standard]security/cert下2个用例:couldn't determine EE certificate status #6

Closed owanqian closed 5 months ago

owanqian commented 5 months ago

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

【环境准备】

wget -O binary.tar.gz https://dragonwell.oss-cn-shanghai.aliyuncs.com/8.18.19-test-dragonwell_standard/Alibaba_Dragonwell_Standard_8.18.19_x64_linux.tar.gz
JDK_REPO=git@github.com:dragonwell-project/dragonwell8.git
JDK_BRANCH=dragonwell_standard-8.18.19

tar xzvf binary.tar.gz
cd binary-download && export JAVA_HOME=$PWD ; export PATH=$JAVA_HOME/bin:$PATH ; export TEST_JDK_HOME=$JAVA_HOME && cd -
wget -O jtreg.zip http://114.55.64.175:8666/compiler-ci-bucket/tools/jtreg_5_1_b01.zip
unzip jtreg.zip
cd jtreg 
export JT_HOME=$PWD ; export PATH=$PWD/bin:$PATH
cd -
git clone $JDK_REPO -b $JDK_BRANCH jdk-repo
test=security/infra/java/security/cert/CertPathValidator/certification/DigicertCSRootG5.java

args="-Xmixed"
jtreg -w jt-work -nr -v:fail,error $native $args $test

涉及用例: security/infra/java/security/cert/CertPathValidator/certification/DigicertCSRootG5.java security/infra/java/security/cert/CertPathValidator/certification/EmSignRootG2CA.java

【对比测试】

release和上游都是同样问题.

dragonwell8 release版本 wget https://dragonwell.oss-cn-shanghai.aliyuncs.com/8.17.18/Alibaba_Dragonwell_Standard_8.17.18_x64_linux.tar.gz

[root@iZbp1d4w2dxya2p8nscm72Z bin]# ./java -version; ./java -Xinternalversion
openjdk version "1.8.0_392"
OpenJDK Runtime Environment (Alibaba Dragonwell Standard Edition 8.17.18) (build 1.8.0_392-b01)
OpenJDK 64-Bit Server VM (Alibaba Dragonwell Standard Edition 8.17.18) (build 25.392-b01, mixed mode)
OpenJDK 64-Bit Server VM (25.392-b01) for linux-amd64 JRE (1.8.0_392-b01), built on Dec 27 2023 04:57:37 by "root" with gcc 7.5.0

temurin8 release wget http://114.55.64.175:8666/compiler-ci-bucket/openjdk/jdk8u402-ga/OpenJDK8U-jdk_x64_linux_hotspot_8u402b06.tar.gz

[root@iZbp1d4w2dxya2p8nscm72Z bin]# ./java -version; ./java -Xinternalversion
openjdk version "1.8.0_402"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_402-b06)
OpenJDK 64-Bit Server VM (Temurin)(build 25.402-b06, mixed mode)
OpenJDK 64-Bit Server VM (25.402-b06) for linux-amd64 JRE (1.8.0_402-b06), built on Jan 18 2024 20:44:46 by "jenkins" with gcc 7.5.0

【用例日志】

certpath: NO - don't try this trustedCert
java.lang.RuntimeException: TEST FAILED: couldn't determine EE certificate status
        at ValidatePathWithParams.validate(ValidatePathWithParams.java:177)
        at Digicert_CS_ECC.runTest(DigicertCSRootG5.java:148)
        at DigicertCSRootG5.main(DigicertCSRootG5.java:46)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        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:750)

JavaTest Message: Test threw exception: java.lang.RuntimeException: TEST FAILED: couldn't determine EE certificate status
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: TEST FAILED: couldn't determine EE certificate status

【版本信息】

[root@iZbp1d4w2dxya2p8nscm72Z bin]# uname -a ; cat /etc/os-release ; free -h; lscpu| head -n 25;./java -version; ./java -Xinternalversion
Linux iZbp1d4w2dxya2p8nscm72Z 5.10.134-16.1.al8.x86_64 #1 SMP Thu Dec 7 14:11:24 UTC 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"
UPDATE_ID="9"
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:           60Gi       596Mi        58Gi       2.0Mi       2.0Gi        59Gi
Swap:            0B          0B          0B
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              32
On-line CPU(s) list: 0-31
Thread(s) per core:  2
Core(s) per socket:  16
Socket(s):           1
NUMA node(s):        1
Vendor ID:           GenuineIntel
BIOS Vendor ID:      Alibaba Cloud
CPU family:          6
Model:               106
Model name:          Intel(R) Xeon(R) Platinum 8369B CPU @ 2.70GHz
BIOS Model name:     pc-i440fx-2.1
Stepping:            6
CPU MHz:             3514.939
BogoMIPS:            5399.99
Hypervisor vendor:   KVM
Virtualization type: full
L1d cache:           48K
L1i cache:           32K
L2 cache:            1280K
L3 cache:            49152K
NUMA node0 CPU(s):   0-31
openjdk version "1.8.0_392"
OpenJDK Runtime Environment (Alibaba Dragonwell Standard Edition 8.17.18) (build 1.8.0_392-b01)
OpenJDK 64-Bit Server VM (Alibaba Dragonwell Standard Edition 8.17.18) (build 25.392-b01, mixed mode)
OpenJDK 64-Bit Server VM (25.392-b01) for linux-amd64 JRE (1.8.0_392-b01), built on Jan 29 2024 01:55:33 by "root" with gcc 7.5.0
sendaoYan commented 5 months ago

https://github.com/dragonwell-project/dragonwell21/issues/20