[root@VM20210305-10 d17-release]# java -version; java -Xinternalversion
openjdk version "17.0.8" 2023-07-18
OpenJDK Runtime Environment (Alibaba Dragonwell Standard Edition)-17.0.8.0.8+7-GA (build 17.0.8+7)
OpenJDK 64-Bit Server VM (Alibaba Dragonwell Standard Edition)-17.0.8.0.8+7-GA (build 17.0.8+7, mixed mode, sharing)
OpenJDK 64-Bit Server VM (17.0.8+7) for linux-aarch64 JRE (17.0.8+7), built on Jul 18 2023 00:00:00 by "dragonwell" with gcc 10.3.0
[root@VM20190228-137 t17]# java -version; java -Xinternalversion
openjdk version "17.0.9" 2023-10-17
OpenJDK Runtime Environment Temurin-17.0.9+9 (build 17.0.9+9)
OpenJDK 64-Bit Server VM Temurin-17.0.9+9 (build 17.0.9+9, mixed mode, sharing)
OpenJDK 64-Bit Server VM (17.0.9+9) for linux-amd64 JRE (17.0.9+9), built on Oct 17 2023 00:00:00 by "admin" with gcc 10.3.0
STDOUT:
STDERR:
ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: One or more tests failed, see test output for details
REASON: User specified action: run main/othervm -Djavax.net.debug=ssl:respmgr java.base/sun.security.ssl.StatusResponseManagerTests
TIME: 54.766 seconds
messages:
command: main -Djavax.net.debug=ssl:respmgr java.base/sun.security.ssl.StatusResponseManagerTests
reason: User specified action: run main/othervm -Djavax.net.debug=ssl:respmgr java.base/sun.security.ssl.StatusResponseManagerTests
Mode: othervm [/othervm specified, test or library uses bootclasspath, test or library overrides a system module]
Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.provider.certpath=ALL-UNNAMED --add-exports java.base/sun.security.util=ALL-UNNAMED --add-exports java.base/sun.security.x509=ALL-UNNAMED --add-exports java.base/sun.security.ssl=ALL-UNNAMED
elapsed time (seconds): 54.766
configuration:
Boot Layer
add modules: java.base
add exports: java.base/sun.security.provider.certpath ALL-UNNAMED
java.base/sun.security.ssl ALL-UNNAMED
java.base/sun.security.util ALL-UNNAMED
java.base/sun.security.x509 ALL-UNNAMED
add reads: java.base ALL-UNNAMED
patch: java.base /root/d17/tmp/classes/sun/security/ssl/Stapling/StatusResponseManager.d/patches/java.base
STDOUT:
Generated Root CA KeyPair
Generated Intermediate CA KeyPair
Generated SSL Cert KeyPair
Root CA Created:
Issuer: CN=Root CA Cert, O=SomeCompany
Subject: CN=Root CA Cert, O=SomeCompany
Serial: 1
Root OCSP Responder URI is http://localhost:40743
Intermediate CA Created:
Issuer: CN=Root CA Cert, O=SomeCompany
Subject: CN=Intermediate CA Cert, O=SomeCompany
Serial: 100
Intermediate CA OCSP Responder URI is http://localhost:38515
SSL Certificate Created:
Issuer: CN=Intermediate CA Cert, O=SomeCompany
Subject: CN=SSLCertificate, O=SomeCompany
Serial: 4096
============ Tests ============
Test 1: Basic OCSP fetch test
Result: FAIL Incorrect number of responses: expected 1, got 0
-------------------------------------------
Test 2: Clear StatusResponseManager cache
Result: PASS
-------------------------------------------
Test 3: Basic OCSP_MULTI fetch test
Result: PASS
-------------------------------------------
Test 4: Test Cache Expiration
Result: PASS
-------------------------------------------
End Results: 3 Passed, 1 Failed.
STDERR:
javax.net.ssl|DEBUG|A1|MainThread|2023-11-01 22:34:42.309 CST|StatusResponseManager.java:271|Beginning check: Type = OCSP, Chain length = 3
javax.net.ssl|DEBUG|A1|MainThread|2023-11-01 22:34:42.899 CST|StatusResponseManager.java:421|Check cache for SN4096: MISS
javax.net.ssl|DEBUG|D1|pool-3-thread-1|2023-11-01 22:34:43.443 CST|StatusResponseManager.java:615|Starting fetch for SN 4096
javax.net.ssl|DEBUG|D1|pool-3-thread-1|2023-11-01 22:34:43.555 CST|StatusResponseManager.java:633|Attempting fetch from http://localhost:38515
javax.net.ssl|DEBUG|A1|MainThread|2023-11-01 22:34:48.097 CST|StatusResponseManager.java:365|Found cancelled task
javax.net.ssl|DEBUG|A1|MainThread|2023-11-01 22:34:48.121 CST|StatusResponseManager.java:271|Beginning check: Type = OCSP_MULTI, Chain length = 3
javax.net.ssl|DEBUG|A1|MainThread|2023-11-01 22:34:48.123 CST|StatusResponseManager.java:421|Check cache for SN4096: MISS
javax.net.ssl|DEBUG|A1|MainThread|2023-11-01 22:34:48.174 CST|StatusResponseManager.java:421|Check cache for SN100: MISS
javax.net.ssl|DEBUG|D1|pool-3-thread-1|2023-11-01 22:34:48.459 CST|StatusResponseManager.java:664|OCSP Status: SUCCESSFUL (1392 bytes)
javax.net.ssl|DEBUG|D1|pool-3-thread-1|2023-11-01 22:34:48.488 CST|StatusResponseManager.java:707|Added response for SN 4096 to cache
javax.net.ssl|DEBUG|02|pool-6-thread-1|2023-11-01 22:34:48.514 CST|StatusResponseManager.java:615|Starting fetch for SN 4096
javax.net.ssl|DEBUG|02|pool-6-thread-1|2023-11-01 22:34:48.515 CST|StatusResponseManager.java:633|Attempting fetch from http://localhost:38515
javax.net.ssl|DEBUG|F1|pool-5-thread-1|2023-11-01 22:34:48.684 CST|StatusResponseManager.java:615|Starting fetch for SN 100
javax.net.ssl|DEBUG|F1|pool-5-thread-1|2023-11-01 22:34:48.684 CST|StatusResponseManager.java:633|Attempting fetch from http://localhost:40743
javax.net.ssl|DEBUG|02|pool-6-thread-1|2023-11-01 22:34:50.514 CST|StatusResponseManager.java:664|OCSP Status: SUCCESSFUL (1392 bytes)
javax.net.ssl|DEBUG|02|pool-6-thread-1|2023-11-01 22:34:50.514 CST|StatusResponseManager.java:707|Added response for SN 4096 to cache
javax.net.ssl|DEBUG|F1|pool-5-thread-1|2023-11-01 22:34:51.165 CST|StatusResponseManager.java:664|OCSP Status: SUCCESSFUL (1321 bytes)
javax.net.ssl|DEBUG|F1|pool-5-thread-1|2023-11-01 22:34:51.165 CST|StatusResponseManager.java:707|Added response for SN 100 to cache
javax.net.ssl|DEBUG|A1|MainThread|2023-11-01 22:34:51.170 CST|StatusResponseManager.java:178|Clearing response cache
javax.net.ssl|DEBUG|A1|MainThread|2023-11-01 22:34:51.449 CST|StatusResponseManager.java:271|Beginning check: Type = OCSP_MULTI, Chain length = 3
javax.net.ssl|DEBUG|A1|MainThread|2023-11-01 22:34:51.569 CST|StatusResponseManager.java:421|Check cache for SN4096: MISS
javax.net.ssl|DEBUG|A1|MainThread|2023-11-01 22:34:51.573 CST|StatusResponseManager.java:421|Check cache for SN100: MISS
javax.net.ssl|DEBUG|32|pool-9-thread-1|2023-11-01 22:34:51.599 CST|StatusResponseManager.java:615|Starting fetch for SN 4096
javax.net.ssl|DEBUG|32|pool-9-thread-1|2023-11-01 22:34:51.599 CST|StatusResponseManager.java:633|Attempting fetch from http://localhost:38515
javax.net.ssl|DEBUG|42|pool-10-thread-1|2023-11-01 22:34:51.599 CST|StatusResponseManager.java:615|Starting fetch for SN 100
javax.net.ssl|DEBUG|42|pool-10-thread-1|2023-11-01 22:34:51.599 CST|StatusResponseManager.java:633|Attempting fetch from http://localhost:40743
javax.net.ssl|DEBUG|32|pool-9-thread-1|2023-11-01 22:34:52.156 CST|StatusResponseManager.java:664|OCSP Status: SUCCESSFUL (1392 bytes)
javax.net.ssl|DEBUG|32|pool-9-thread-1|2023-11-01 22:34:52.156 CST|StatusResponseManager.java:707|Added response for SN 4096 to cache
javax.net.ssl|DEBUG|42|pool-10-thread-1|2023-11-01 22:34:52.446 CST|StatusResponseManager.java:664|OCSP Status: SUCCESSFUL (1321 bytes)
javax.net.ssl|DEBUG|42|pool-10-thread-1|2023-11-01 22:34:52.446 CST|StatusResponseManager.java:707|Added response for SN 100 to cache
javax.net.ssl|DEBUG|A1|MainThread|2023-11-01 22:34:52.466 CST|StatusResponseManager.java:271|Beginning check: Type = OCSP_MULTI, Chain length = 3
javax.net.ssl|DEBUG|A1|MainThread|2023-11-01 22:34:52.466 CST|StatusResponseManager.java:421|Check cache for SN4096: MISS
javax.net.ssl|DEBUG|A1|MainThread|2023-11-01 22:34:52.482 CST|StatusResponseManager.java:421|Check cache for SN100: MISS
javax.net.ssl|DEBUG|72|pool-13-thread-1|2023-11-01 22:34:52.483 CST|StatusResponseManager.java:615|Starting fetch for SN 4096
javax.net.ssl|DEBUG|72|pool-13-thread-1|2023-11-01 22:34:52.483 CST|StatusResponseManager.java:633|Attempting fetch from http://localhost:38515
javax.net.ssl|DEBUG|82|pool-14-thread-1|2023-11-01 22:34:52.483 CST|StatusResponseManager.java:615|Starting fetch for SN 100
javax.net.ssl|DEBUG|82|pool-14-thread-1|2023-11-01 22:34:52.483 CST|StatusResponseManager.java:633|Attempting fetch from http://localhost:40743
javax.net.ssl|DEBUG|82|pool-14-thread-1|2023-11-01 22:34:52.632 CST|StatusResponseManager.java:664|OCSP Status: SUCCESSFUL (1321 bytes)
javax.net.ssl|DEBUG|82|pool-14-thread-1|2023-11-01 22:34:52.632 CST|StatusResponseManager.java:707|Added response for SN 100 to cache
javax.net.ssl|DEBUG|72|pool-13-thread-1|2023-11-01 22:34:52.769 CST|StatusResponseManager.java:664|OCSP Status: SUCCESSFUL (1392 bytes)
javax.net.ssl|DEBUG|72|pool-13-thread-1|2023-11-01 22:34:52.769 CST|StatusResponseManager.java:707|Added response for SN 4096 to cache
java.lang.RuntimeException: One or more tests failed, see test output for details
at java.base/sun.security.ssl.StatusResponseManagerTests.runTests(StatusResponseManagerTests.java:480)
at java.base/sun.security.ssl.StatusResponseManagerTests.main(StatusResponseManagerTests.java:92)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:840)
JavaTest Message: Test threw exception: java.lang.RuntimeException: One or more tests failed, see test output for details
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: One or more tests failed, see test output for details
【版本信息】
[root@iZbp1b6nmz6iha8lvd8iflZ d17]# uname -a ; cat /etc/os-release ; free -h; lscpu| head -n 25;java -version; java -Xinternalversion
Linux iZbp1b6nmz6iha8lvd8iflZ 5.10.134-15.an8.aarch64 #1 SMP Thu Jul 20 00:33:45 CST 2023 aarch64 aarch64 aarch64 GNU/Linux
NAME="Anolis OS"
VERSION="8.8"
ID="anolis"
ID_LIKE="rhel fedora centos"
VERSION_ID="8.8"
PLATFORM_ID="platform:an8"
PRETTY_NAME="Anolis OS 8.8"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"
total used free shared buff/cache available
Mem: 61Gi 1.3Gi 48Gi 0.0Ki 11Gi 59Gi
Swap: 0B 0B 0B
Architecture: aarch64
Byte Order: Little Endian
CPU(s): 32
On-line CPU(s) list: 0-31
Thread(s) per core: 1
Core(s) per socket: 32
Socket(s): 1
NUMA node(s): 1
Vendor ID: ARM
BIOS Vendor ID: Alibaba Cloud
Model: 0
Model name: Neoverse-N2
BIOS Model name: virt-rhel7.6.0
Stepping: r0p0
CPU MHz: 3000.000
CPU max MHz: 3000.0000
CPU min MHz: 3000.0000
BogoMIPS: 100.00
L1d cache: 64K
L1i cache: 64K
L2 cache: 1024K
L3 cache: 65536K
NUMA node0 CPU(s): 0-31
Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh
openjdk version "17.0.9" 2023-10-17
OpenJDK Runtime Environment (Alibaba Dragonwell Standard Edition)-17.0.8.0.9+7-GA (build 17.0.9+7)
OpenJDK 64-Bit Server VM (Alibaba Dragonwell Standard Edition)-17.0.8.0.9+7-GA (build 17.0.9+7, mixed mode, sharing)
OpenJDK 64-Bit Server VM (17.0.9+7) for linux-aarch64 JRE (17.0.9+7), built on Oct 17 2023 00:00:00 by "dragonwell" with gcc 10.3.0
https://tone.aliyun-inc.com/ws/xesljfzh/test_result/239360
【环境准备】
【对比测试】
dragonwell17 release版本通过. wget https://github.com/dragonwell-project/dragonwell17/releases/download/dragonwell-standard-17.0.8.0.8%2B7_jdk-17.0.8-ga/Alibaba_Dragonwell_Standard_17.0.8.0.8.7_aarch64_linux.tar.gz
temurin17 同样通过. https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.9%2B9/OpenJDK17U-jdk_aarch64_linux_hotspot_17.0.9_9.tar.gz
【用例日志】
完整日志.txt
【版本信息】