jdk_security3_1

[2025-03-27T21:07:16.952Z] Running test jdk_security3_1 ... [2025-03-27T21:07:16.952Z] =============================================== [2025-03-27T21:07:16.952Z] jdk_security3_1 Start Time: Thu Mar 27 21:07:12 2025 Epoch Time (ms): 1743109632284 [2025-03-27T21:07:16.952Z] variation: Mode650 [2025-03-27T21:07:16.952Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-03-27T21:07:16.952Z] { \ [2025-03-27T21:07:16.952Z] echo ""; echo "TEST SETUP:"; \ [2025-03-27T21:07:16.952Z] echo "Nothing to be done for setup."; \ [2025-03-27T21:07:16.952Z] mkdir -p "/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/../TKG/output_1743092503901/jdk_security3_1"; \ [2025-03-27T21:07:16.952Z] cd "/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/../TKG/output_1743092503901/jdk_security3_1"; \ [2025-03-27T21:07:16.952Z] echo ""; echo "TESTING:"; \ [2025-03-27T21:07:16.952Z] "/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image/bin/java" -Xmx512m -jar "/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/../../jvmtest/openjdk/jtreg/lib/jtreg.jar" \ [2025-03-27T21:07:16.952Z] -agentvm -a -ea -esa -v:fail,error,time,nopass -retain:fail,error,*.dmp,javacore.*,heapdump.*,*.trc -ignore:quiet -timeoutFactor:16 -xml:verify -k:'!headful' -concurrency:3 -nativepath:"/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native" -vmoptions:"-Xmx512m -XX:-UseCompressedOops -Djava.awt.headless=true" \ [2025-03-27T21:07:16.952Z] \ [2025-03-27T21:07:16.952Z] -w ""/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/../TKG/output_1743092503901/jdk_security3_1"/work" \ [2025-03-27T21:07:16.952Z] -r ""/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/../TKG/output_1743092503901/jdk_security3_1"/report" \ [2025-03-27T21:07:16.952Z] -jdk:"/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image" \ [2025-03-27T21:07:16.952Z] -exclude:"/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/../openjdk/openjdk-jdk/test/jdk/ProblemList.txt" \ [2025-03-27T21:07:16.952Z] -exclude:"/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/../../jvmtest/openjdk/excludes/ProblemList_openjdk17.txt" \ [2025-03-27T21:07:16.952Z] \ [2025-03-27T21:07:16.952Z] -exclude:"/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/../openjdk/excludes/vendors/eclipse/ProblemList_openjdk17.txt" \ [2025-03-27T21:07:16.952Z] "/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/../openjdk/openjdk-jdk/test/jdk:jdk_security3"; \ [2025-03-27T21:07:16.952Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_security3_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/..; else echo "-----------------------------------"; echo "jdk_security3_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-03-27T21:07:16.952Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-03-27T21:07:16.952Z] echo "Nothing to be done for teardown."; \ [2025-03-27T21:07:16.952Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/../TKG/output_1743092503901/TestTargetResult"; [2025-03-27T21:07:16.952Z] [2025-03-27T21:07:16.952Z] TEST SETUP: [2025-03-27T21:07:16.952Z] Nothing to be done for setup. [2025-03-27T21:07:16.952Z] [2025-03-27T21:07:16.952Z] TESTING: [2025-03-27T21:07:16.952Z] Directory "/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/../TKG/output_1743092503901/jdk_security3_1/work" not found: creating [2025-03-27T21:07:16.952Z] Directory "/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/../TKG/output_1743092503901/jdk_security3_1/report" not found: creating [2025-03-27T21:07:39.996Z] XML output with verification to /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work [2025-03-27T22:10:09.621Z] -------------------------------------------------- [2025-03-27T22:10:09.621Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-03-27T22:10:09.621Z] TEST JDK: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image [2025-03-27T22:10:09.621Z] [2025-03-27T22:10:09.621Z] ACTION: build -- Passed. Build successful [2025-03-27T22:10:09.621Z] REASON: Named class compiled on demand [2025-03-27T22:10:09.621Z] TIME: 0.25 seconds [2025-03-27T22:10:09.621Z] messages: [2025-03-27T22:10:09.621Z] command: build Camerfirma [2025-03-27T22:10:09.621Z] reason: Named class compiled on demand [2025-03-27T22:10:09.621Z] started: Thu Mar 27 22:10:03 UTC 2025 [2025-03-27T22:10:09.621Z] Test directory: [2025-03-27T22:10:09.621Z] compile: Camerfirma [2025-03-27T22:10:09.621Z] finished: Thu Mar 27 22:10:03 UTC 2025 [2025-03-27T22:10:09.621Z] elapsed time (seconds): 0.25 [2025-03-27T22:10:09.621Z] [2025-03-27T22:10:09.621Z] ACTION: compile -- Passed. Compilation successful [2025-03-27T22:10:09.621Z] REASON: .class file out of date or does not exist [2025-03-27T22:10:09.621Z] TIME: 0.246 seconds [2025-03-27T22:10:09.621Z] messages: [2025-03-27T22:10:09.621Z] command: compile /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-03-27T22:10:09.621Z] reason: .class file out of date or does not exist [2025-03-27T22:10:09.621Z] started: Thu Mar 27 22:10:03 UTC 2025 [2025-03-27T22:10:09.621Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-03-27T22:10:09.621Z] Mode: agentvm [2025-03-27T22:10:09.621Z] Agent id: 3 [2025-03-27T22:10:09.621Z] finished: Thu Mar 27 22:10:03 UTC 2025 [2025-03-27T22:10:09.621Z] elapsed time (seconds): 0.246 [2025-03-27T22:10:09.621Z] configuration: [2025-03-27T22:10:09.621Z] Boot Layer (javac runtime environment) [2025-03-27T22:10:09.621Z] class path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-03-27T22:10:09.621Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-03-27T22:10:09.621Z] patch: java.base /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/patches/java.base [2025-03-27T22:10:09.621Z] [2025-03-27T22:10:09.621Z] javac compilation environment [2025-03-27T22:10:09.621Z] add modules: java.base [2025-03-27T22:10:09.621Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-03-27T22:10:09.621Z] source path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-03-27T22:10:09.621Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib [2025-03-27T22:10:09.621Z] class path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-03-27T22:10:09.621Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d [2025-03-27T22:10:09.621Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib [2025-03-27T22:10:09.621Z] [2025-03-27T22:10:09.621Z] rerun: [2025-03-27T22:10:09.621Z] cd /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/scratch/1 && \ [2025-03-27T22:10:09.621Z] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus \ [2025-03-27T22:10:09.621Z] DISPLAY=:0 \ [2025-03-27T22:10:09.621Z] HOME=/home/jenkins \ [2025-03-27T22:10:09.621Z] LANG=en_US.UTF-8 \ [2025-03-27T22:10:09.621Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-03-27T22:10:09.621Z] XDG_RUNTIME_DIR=/run/user/1001 \ [2025-03-27T22:10:09.621Z] XDG_SESSION_CLASS=user \ [2025-03-27T22:10:09.621Z] XDG_SESSION_ID=7869 \ [2025-03-27T22:10:09.621Z] XDG_SESSION_TYPE=tty \ [2025-03-27T22:10:09.621Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image/bin/javac \ [2025-03-27T22:10:09.621Z] -J-ea \ [2025-03-27T22:10:09.621Z] -J-esa \ [2025-03-27T22:10:09.621Z] -J-Xmx512m \ [2025-03-27T22:10:09.621Z] -J-XX:-UseCompressedOops \ [2025-03-27T22:10:09.621Z] -J-Djava.awt.headless=true \ [2025-03-27T22:10:09.621Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops -Djava.awt.headless=true' \ [2025-03-27T22:10:09.621Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops -J-Djava.awt.headless=true' \ [2025-03-27T22:10:09.621Z] -J-Dtest.compiler.opts= \ [2025-03-27T22:10:09.621Z] -J-Dtest.java.opts= \ [2025-03-27T22:10:09.621Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image \ [2025-03-27T22:10:09.622Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image \ [2025-03-27T22:10:09.622Z] -J-Dtest.timeout.factor=16.0 \ [2025-03-27T22:10:09.622Z] -J-Dtest.nativepath=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-03-27T22:10:09.622Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-03-27T22:10:09.622Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-03-27T22:10:09.622Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-03-27T22:10:09.622Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-03-27T22:10:09.622Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-03-27T22:10:09.622Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \ [2025-03-27T22:10:09.622Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib \ [2025-03-27T22:10:09.622Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib \ [2025-03-27T22:10:09.622Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-03-27T22:10:09.622Z] --add-modules java.base \ [2025-03-27T22:10:09.622Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-03-27T22:10:09.622Z] -d /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \ [2025-03-27T22:10:09.622Z] -sourcepath /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-03-27T22:10:09.622Z] -classpath /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-03-27T22:10:09.622Z] direct: [2025-03-27T22:10:09.622Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:31: warning: Validator is internal proprietary API and may be removed in a future release [2025-03-27T22:10:09.622Z] import sun.security.validator.Validator; [2025-03-27T22:10:09.622Z] ^ [2025-03-27T22:10:09.622Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:32: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-03-27T22:10:09.622Z] import sun.security.validator.ValidatorException; [2025-03-27T22:10:09.622Z] ^ [2025-03-27T22:10:09.622Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:67: warning: Validator is internal proprietary API and may be removed in a future release [2025-03-27T22:10:09.622Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-03-27T22:10:09.622Z] ^ [2025-03-27T22:10:09.622Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:67: warning: Validator is internal proprietary API and may be removed in a future release [2025-03-27T22:10:09.622Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-03-27T22:10:09.622Z] ^ [2025-03-27T22:10:09.622Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:68: warning: Validator is internal proprietary API and may be removed in a future release [2025-03-27T22:10:09.622Z] Validator.VAR_CODE_SIGNING, [2025-03-27T22:10:09.622Z] ^ [2025-03-27T22:10:09.622Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:67: warning: Validator is internal proprietary API and may be removed in a future release [2025-03-27T22:10:09.622Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-03-27T22:10:09.622Z] ^ [2025-03-27T22:10:09.622Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:134: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-03-27T22:10:09.622Z] if (ce instanceof ValidatorException) { [2025-03-27T22:10:09.622Z] ^ [2025-03-27T22:10:09.622Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:135: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-03-27T22:10:09.622Z] ValidatorException ve = (ValidatorException) ce; [2025-03-27T22:10:09.622Z] ^ [2025-03-27T22:10:09.622Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:135: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-03-27T22:10:09.622Z] ValidatorException ve = (ValidatorException) ce; [2025-03-27T22:10:09.622Z] ^ [2025-03-27T22:10:09.622Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:136: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-03-27T22:10:09.622Z] if (ve.getErrorType() != ValidatorException.T_UNTRUSTED_CERT) { [2025-03-27T22:10:09.622Z] ^ [2025-03-27T22:10:09.622Z] Note: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses or overrides a deprecated API. [2025-03-27T22:10:09.622Z] Note: Recompile with -Xlint:deprecation for details. [2025-03-27T22:10:09.622Z] Note: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses unchecked or unsafe operations. [2025-03-27T22:10:09.622Z] Note: Recompile with -Xlint:unchecked for details. [2025-03-27T22:10:09.622Z] 10 warnings [2025-03-27T22:10:09.622Z] [2025-03-27T22:10:09.622Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-03-27T22:10:09.622Z] REASON: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-03-27T22:10:09.622Z] TIME: 3.098 seconds [2025-03-27T22:10:09.622Z] messages: [2025-03-27T22:10:09.622Z] command: main Camerfirma after policyOn invalid [2025-03-27T22:10:09.622Z] reason: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-03-27T22:10:09.622Z] started: Thu Mar 27 22:10:03 UTC 2025 [2025-03-27T22:10:09.622Z] Mode: othervm [/othervm specified] [2025-03-27T22:10:09.622Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-03-27T22:10:09.622Z] finished: Thu Mar 27 22:10:07 UTC 2025 [2025-03-27T22:10:09.622Z] elapsed time (seconds): 3.098 [2025-03-27T22:10:09.622Z] configuration: [2025-03-27T22:10:09.622Z] Boot Layer [2025-03-27T22:10:09.622Z] add modules: java.base [2025-03-27T22:10:09.622Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-03-27T22:10:09.622Z] [2025-03-27T22:10:09.622Z] STDOUT: [2025-03-27T22:10:09.622Z] STDERR: [2025-03-27T22:10:09.622Z] Testing camerfirmachamberscommerceca [2025-03-27T22:10:09.622Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-03-27T22:10:09.622Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439) [2025-03-27T22:10:09.622Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306) [2025-03-27T22:10:09.623Z] at java.base/sun.security.validator.Validator.validate(Validator.java:264) [2025-03-27T22:10:09.623Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:242) [2025-03-27T22:10:09.623Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113) [2025-03-27T22:10:09.623Z] at Distrust.testTM(Distrust.java:125) [2025-03-27T22:10:09.623Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-03-27T22:10:09.623Z] at Camerfirma.main(Camerfirma.java:73) [2025-03-27T22:10:09.623Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-03-27T22:10:09.623Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-03-27T22:10:09.623Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-03-27T22:10:09.623Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-03-27T22:10:09.623Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-03-27T22:10:09.623Z] at java.base/java.lang.Thread.run(Thread.java:840) [2025-03-27T22:10:09.623Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-03-27T22:10:09.623Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-03-27T22:10:09.623Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-03-27T22:10:09.623Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-03-27T22:10:09.623Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434) [2025-03-27T22:10:09.623Z] ... 13 more [2025-03-27T22:10:09.623Z] java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-03-27T22:10:09.623Z] at Distrust.testTM(Distrust.java:138) [2025-03-27T22:10:09.623Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-03-27T22:10:09.623Z] at Camerfirma.main(Camerfirma.java:73) [2025-03-27T22:10:09.623Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-03-27T22:10:09.623Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-03-27T22:10:09.623Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-03-27T22:10:09.623Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-03-27T22:10:09.623Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-03-27T22:10:09.623Z] at java.base/java.lang.Thread.run(Thread.java:840) [2025-03-27T22:10:09.623Z] [2025-03-27T22:10:09.623Z] JavaTest Message: Test threw exception: java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-03-27T22:10:09.623Z] JavaTest Message: shutting down test [2025-03-27T22:10:09.623Z] [2025-03-27T22:10:09.623Z] STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-03-27T22:10:09.623Z] rerun: [2025-03-27T22:10:09.623Z] cd /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/scratch/1 && \ [2025-03-27T22:10:09.623Z] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus \ [2025-03-27T22:10:09.623Z] DISPLAY=:0 \ [2025-03-27T22:10:09.623Z] HOME=/home/jenkins \ [2025-03-27T22:10:09.623Z] LANG=en_US.UTF-8 \ [2025-03-27T22:10:09.623Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-03-27T22:10:09.623Z] XDG_RUNTIME_DIR=/run/user/1001 \ [2025-03-27T22:10:09.623Z] XDG_SESSION_CLASS=user \ [2025-03-27T22:10:09.623Z] XDG_SESSION_ID=7869 \ [2025-03-27T22:10:09.623Z] XDG_SESSION_TYPE=tty \ [2025-03-27T22:10:09.623Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-03-27T22:10:09.623Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image/bin/java \ [2025-03-27T22:10:09.623Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops -Djava.awt.headless=true' \ [2025-03-27T22:10:09.623Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops -J-Djava.awt.headless=true' \ [2025-03-27T22:10:09.623Z] -Dtest.compiler.opts= \ [2025-03-27T22:10:09.623Z] -Dtest.java.opts= \ [2025-03-27T22:10:09.623Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image \ [2025-03-27T22:10:09.623Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image \ [2025-03-27T22:10:09.623Z] -Dtest.timeout.factor=16.0 \ [2025-03-27T22:10:09.623Z] -Dtest.nativepath=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-03-27T22:10:09.623Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-03-27T22:10:09.623Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-03-27T22:10:09.623Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-03-27T22:10:09.623Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-03-27T22:10:09.623Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-03-27T22:10:09.623Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \ [2025-03-27T22:10:09.623Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib \ [2025-03-27T22:10:09.623Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib \ [2025-03-27T22:10:09.623Z] -Dtest.modules=java.base/sun.security.validator \ [2025-03-27T22:10:09.623Z] --add-modules java.base \ [2025-03-27T22:10:09.623Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-03-27T22:10:09.623Z] -ea \ [2025-03-27T22:10:09.623Z] -esa \ [2025-03-27T22:10:09.623Z] -Xmx512m \ [2025-03-27T22:10:09.623Z] -XX:-UseCompressedOops \ [2025-03-27T22:10:09.623Z] -Djava.awt.headless=true \ [2025-03-27T22:10:09.623Z] -Djava.library.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-03-27T22:10:09.623Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d/main.0.jta after policyOn invalid [2025-03-27T22:10:09.623Z] [2025-03-27T22:10:09.623Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-03-27T22:10:09.623Z] -------------------------------------------------- [2025-03-27T22:10:11.311Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java [2025-03-27T22:10:11.312Z] TEST JDK: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image [2025-03-27T22:10:11.312Z] [2025-03-27T22:10:11.312Z] ACTION: build -- Passed. Build successful [2025-03-27T22:10:11.312Z] REASON: Named class compiled on demand [2025-03-27T22:10:11.312Z] TIME: 0.303 seconds [2025-03-27T22:10:11.312Z] messages: [2025-03-27T22:10:11.312Z] command: build Entrust [2025-03-27T22:10:11.312Z] reason: Named class compiled on demand [2025-03-27T22:10:11.312Z] started: Thu Mar 27 22:10:07 UTC 2025 [2025-03-27T22:10:11.312Z] Test directory: [2025-03-27T22:10:11.312Z] compile: Entrust [2025-03-27T22:10:11.312Z] finished: Thu Mar 27 22:10:07 UTC 2025 [2025-03-27T22:10:11.312Z] elapsed time (seconds): 0.303 [2025-03-27T22:10:11.312Z] [2025-03-27T22:10:11.312Z] ACTION: compile -- Passed. Compilation successful [2025-03-27T22:10:11.312Z] REASON: .class file out of date or does not exist [2025-03-27T22:10:11.312Z] TIME: 0.301 seconds [2025-03-27T22:10:11.312Z] messages: [2025-03-27T22:10:11.312Z] command: compile /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java [2025-03-27T22:10:11.312Z] reason: .class file out of date or does not exist [2025-03-27T22:10:11.312Z] started: Thu Mar 27 22:10:07 UTC 2025 [2025-03-27T22:10:11.312Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-03-27T22:10:11.312Z] Mode: agentvm [2025-03-27T22:10:11.312Z] Agent id: 3 [2025-03-27T22:10:11.312Z] finished: Thu Mar 27 22:10:07 UTC 2025 [2025-03-27T22:10:11.312Z] elapsed time (seconds): 0.301 [2025-03-27T22:10:11.312Z] configuration: [2025-03-27T22:10:11.312Z] Boot Layer (javac runtime environment) [2025-03-27T22:10:11.312Z] class path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-03-27T22:10:11.312Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-03-27T22:10:11.312Z] patch: java.base /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/patches/java.base [2025-03-27T22:10:11.312Z] [2025-03-27T22:10:11.312Z] javac compilation environment [2025-03-27T22:10:11.312Z] add modules: java.base [2025-03-27T22:10:11.312Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-03-27T22:10:11.312Z] source path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-03-27T22:10:11.312Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib [2025-03-27T22:10:11.312Z] class path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-03-27T22:10:11.312Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d [2025-03-27T22:10:11.312Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib [2025-03-27T22:10:11.312Z] [2025-03-27T22:10:11.312Z] rerun: [2025-03-27T22:10:11.312Z] cd /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/scratch/1 && \ [2025-03-27T22:10:11.312Z] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus \ [2025-03-27T22:10:11.312Z] DISPLAY=:0 \ [2025-03-27T22:10:11.312Z] HOME=/home/jenkins \ [2025-03-27T22:10:11.312Z] LANG=en_US.UTF-8 \ [2025-03-27T22:10:11.312Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-03-27T22:10:11.312Z] XDG_RUNTIME_DIR=/run/user/1001 \ [2025-03-27T22:10:11.312Z] XDG_SESSION_CLASS=user \ [2025-03-27T22:10:11.312Z] XDG_SESSION_ID=7869 \ [2025-03-27T22:10:11.312Z] XDG_SESSION_TYPE=tty \ [2025-03-27T22:10:11.312Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image/bin/javac \ [2025-03-27T22:10:11.312Z] -J-ea \ [2025-03-27T22:10:11.312Z] -J-esa \ [2025-03-27T22:10:11.312Z] -J-Xmx512m \ [2025-03-27T22:10:11.312Z] -J-XX:-UseCompressedOops \ [2025-03-27T22:10:11.312Z] -J-Djava.awt.headless=true \ [2025-03-27T22:10:11.312Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops -Djava.awt.headless=true' \ [2025-03-27T22:10:11.312Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops -J-Djava.awt.headless=true' \ [2025-03-27T22:10:11.312Z] -J-Dtest.compiler.opts= \ [2025-03-27T22:10:11.312Z] -J-Dtest.java.opts= \ [2025-03-27T22:10:11.312Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image \ [2025-03-27T22:10:11.312Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image \ [2025-03-27T22:10:11.312Z] -J-Dtest.timeout.factor=16.0 \ [2025-03-27T22:10:11.312Z] -J-Dtest.nativepath=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-03-27T22:10:11.312Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-03-27T22:10:11.312Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-03-27T22:10:11.312Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-03-27T22:10:11.312Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-03-27T22:10:11.312Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-03-27T22:10:11.312Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d \ [2025-03-27T22:10:11.312Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib \ [2025-03-27T22:10:11.312Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib \ [2025-03-27T22:10:11.312Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-03-27T22:10:11.312Z] --add-modules java.base \ [2025-03-27T22:10:11.312Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-03-27T22:10:11.312Z] -d /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d \ [2025-03-27T22:10:11.312Z] -sourcepath /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-03-27T22:10:11.312Z] -classpath /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java [2025-03-27T22:10:11.312Z] direct: [2025-03-27T22:10:11.312Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:31: warning: Validator is internal proprietary API and may be removed in a future release [2025-03-27T22:10:11.312Z] import sun.security.validator.Validator; [2025-03-27T22:10:11.312Z] ^ [2025-03-27T22:10:11.313Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:32: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-03-27T22:10:11.313Z] import sun.security.validator.ValidatorException; [2025-03-27T22:10:11.313Z] ^ [2025-03-27T22:10:11.313Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:67: warning: Validator is internal proprietary API and may be removed in a future release [2025-03-27T22:10:11.313Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-03-27T22:10:11.313Z] ^ [2025-03-27T22:10:11.313Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:67: warning: Validator is internal proprietary API and may be removed in a future release [2025-03-27T22:10:11.313Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-03-27T22:10:11.313Z] ^ [2025-03-27T22:10:11.313Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:68: warning: Validator is internal proprietary API and may be removed in a future release [2025-03-27T22:10:11.313Z] Validator.VAR_CODE_SIGNING, [2025-03-27T22:10:11.313Z] ^ [2025-03-27T22:10:11.313Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:67: warning: Validator is internal proprietary API and may be removed in a future release [2025-03-27T22:10:11.313Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-03-27T22:10:11.313Z] ^ [2025-03-27T22:10:11.313Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:134: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-03-27T22:10:11.313Z] if (ce instanceof ValidatorException) { [2025-03-27T22:10:11.313Z] ^ [2025-03-27T22:10:11.313Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:135: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-03-27T22:10:11.313Z] ValidatorException ve = (ValidatorException) ce; [2025-03-27T22:10:11.313Z] ^ [2025-03-27T22:10:11.313Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:135: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-03-27T22:10:11.313Z] ValidatorException ve = (ValidatorException) ce; [2025-03-27T22:10:11.313Z] ^ [2025-03-27T22:10:11.313Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:136: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-03-27T22:10:11.313Z] if (ve.getErrorType() != ValidatorException.T_UNTRUSTED_CERT) { [2025-03-27T22:10:11.313Z] ^ [2025-03-27T22:10:11.313Z] Note: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses or overrides a deprecated API. [2025-03-27T22:10:11.313Z] Note: Recompile with -Xlint:deprecation for details. [2025-03-27T22:10:11.313Z] Note: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses unchecked or unsafe operations. [2025-03-27T22:10:11.313Z] Note: Recompile with -Xlint:unchecked for details. [2025-03-27T22:10:11.313Z] 10 warnings [2025-03-27T22:10:11.313Z] [2025-03-27T22:10:11.313Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-03-27T22:10:11.313Z] REASON: User specified action: run main/othervm Entrust after policyOn invalid [2025-03-27T22:10:11.313Z] TIME: 3.733 seconds [2025-03-27T22:10:11.313Z] messages: [2025-03-27T22:10:11.313Z] command: main Entrust after policyOn invalid [2025-03-27T22:10:11.313Z] reason: User specified action: run main/othervm Entrust after policyOn invalid [2025-03-27T22:10:11.313Z] started: Thu Mar 27 22:10:07 UTC 2025 [2025-03-27T22:10:11.313Z] Mode: othervm [/othervm specified] [2025-03-27T22:10:11.313Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-03-27T22:10:11.313Z] finished: Thu Mar 27 22:10:11 UTC 2025 [2025-03-27T22:10:11.313Z] elapsed time (seconds): 3.733 [2025-03-27T22:10:11.313Z] configuration: [2025-03-27T22:10:11.313Z] Boot Layer [2025-03-27T22:10:11.313Z] add modules: java.base [2025-03-27T22:10:11.313Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-03-27T22:10:11.313Z] [2025-03-27T22:10:11.313Z] STDOUT: [2025-03-27T22:10:11.313Z] STDERR: [2025-03-27T22:10:11.313Z] Testing entrustevca [2025-03-27T22:10:11.313Z] Testing entrustrootcaec1 [2025-03-27T22:10:11.313Z] Testing entrustrootcag2 [2025-03-27T22:10:11.313Z] Testing entrustrootcag4 [2025-03-27T22:10:11.313Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-03-27T22:10:11.313Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439) [2025-03-27T22:10:11.313Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306) [2025-03-27T22:10:11.313Z] at java.base/sun.security.validator.Validator.validate(Validator.java:264) [2025-03-27T22:10:11.313Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:242) [2025-03-27T22:10:11.313Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113) [2025-03-27T22:10:11.313Z] at Distrust.testTM(Distrust.java:125) [2025-03-27T22:10:11.313Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-03-27T22:10:11.313Z] at Entrust.main(Entrust.java:66) [2025-03-27T22:10:11.313Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-03-27T22:10:11.313Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-03-27T22:10:11.313Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-03-27T22:10:11.313Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-03-27T22:10:11.313Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-03-27T22:10:11.313Z] at java.base/java.lang.Thread.run(Thread.java:840) [2025-03-27T22:10:11.313Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-03-27T22:10:11.313Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-03-27T22:10:11.313Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-03-27T22:10:11.313Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-03-27T22:10:11.313Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434) [2025-03-27T22:10:11.313Z] ... 13 more [2025-03-27T22:10:11.313Z] java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-03-27T22:10:11.313Z] at Distrust.testTM(Distrust.java:138) [2025-03-27T22:10:11.313Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-03-27T22:10:11.313Z] at Entrust.main(Entrust.java:66) [2025-03-27T22:10:11.313Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-03-27T22:10:11.313Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-03-27T22:10:11.313Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-03-27T22:10:11.313Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-03-27T22:10:11.313Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-03-27T22:10:11.313Z] at java.base/java.lang.Thread.run(Thread.java:840) [2025-03-27T22:10:11.313Z] [2025-03-27T22:10:11.313Z] JavaTest Message: Test threw exception: java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-03-27T22:10:11.313Z] JavaTest Message: shutting down test [2025-03-27T22:10:11.313Z] [2025-03-27T22:10:11.313Z] STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-03-27T22:10:11.313Z] rerun: [2025-03-27T22:10:11.313Z] cd /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/scratch/1 && \ [2025-03-27T22:10:11.313Z] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus \ [2025-03-27T22:10:11.313Z] DISPLAY=:0 \ [2025-03-27T22:10:11.313Z] HOME=/home/jenkins \ [2025-03-27T22:10:11.313Z] LANG=en_US.UTF-8 \ [2025-03-27T22:10:11.313Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-03-27T22:10:11.313Z] XDG_RUNTIME_DIR=/run/user/1001 \ [2025-03-27T22:10:11.313Z] XDG_SESSION_CLASS=user \ [2025-03-27T22:10:11.313Z] XDG_SESSION_ID=7869 \ [2025-03-27T22:10:11.313Z] XDG_SESSION_TYPE=tty \ [2025-03-27T22:10:11.314Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-03-27T22:10:11.314Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image/bin/java \ [2025-03-27T22:10:11.314Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops -Djava.awt.headless=true' \ [2025-03-27T22:10:11.314Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops -J-Djava.awt.headless=true' \ [2025-03-27T22:10:11.314Z] -Dtest.compiler.opts= \ [2025-03-27T22:10:11.314Z] -Dtest.java.opts= \ [2025-03-27T22:10:11.314Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image \ [2025-03-27T22:10:11.314Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image \ [2025-03-27T22:10:11.314Z] -Dtest.timeout.factor=16.0 \ [2025-03-27T22:10:11.314Z] -Dtest.nativepath=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-03-27T22:10:11.314Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-03-27T22:10:11.314Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-03-27T22:10:11.314Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-03-27T22:10:11.314Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-03-27T22:10:11.314Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-03-27T22:10:11.314Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d \ [2025-03-27T22:10:11.314Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib \ [2025-03-27T22:10:11.314Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib \ [2025-03-27T22:10:11.314Z] -Dtest.modules=java.base/sun.security.validator \ [2025-03-27T22:10:11.314Z] --add-modules java.base \ [2025-03-27T22:10:11.314Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-03-27T22:10:11.314Z] -ea \ [2025-03-27T22:10:11.314Z] -esa \ [2025-03-27T22:10:11.314Z] -Xmx512m \ [2025-03-27T22:10:11.314Z] -XX:-UseCompressedOops \ [2025-03-27T22:10:11.314Z] -Djava.awt.headless=true \ [2025-03-27T22:10:11.314Z] -Djava.library.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-03-27T22:10:11.314Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d/main.0.jta after policyOn invalid [2025-03-27T22:10:11.314Z] [2025-03-27T22:10:11.314Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-03-27T22:10:11.314Z] -------------------------------------------------- [2025-03-27T22:46:00.732Z] TEST: sun/security/tools/jarsigner/TimestampCheck.java [2025-03-27T22:46:00.732Z] TEST JDK: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image [2025-03-27T22:46:00.732Z] [2025-03-27T22:46:00.732Z] ACTION: build -- Passed. Build successful [2025-03-27T22:46:00.732Z] REASON: User specified action: run build jdk.test.lib.util.JarUtils jdk.test.lib.SecurityTools jdk.test.lib.Utils jdk.test.lib.Asserts jdk.test.lib.JDKToolFinder jdk.test.lib.JDKToolLauncher jdk.test.lib.Platform jdk.test.lib.process.* [2025-03-27T22:46:00.732Z] TIME: 1.384 seconds [2025-03-27T22:46:00.732Z] messages: [2025-03-27T22:46:00.732Z] command: build jdk.test.lib.util.JarUtils jdk.test.lib.SecurityTools jdk.test.lib.Utils jdk.test.lib.Asserts jdk.test.lib.JDKToolFinder jdk.test.lib.JDKToolLauncher jdk.test.lib.Platform jdk.test.lib.process.* [2025-03-27T22:46:00.732Z] reason: User specified action: run build jdk.test.lib.util.JarUtils jdk.test.lib.SecurityTools jdk.test.lib.Utils jdk.test.lib.Asserts jdk.test.lib.JDKToolFinder jdk.test.lib.JDKToolLauncher jdk.test.lib.Platform jdk.test.lib.process.* [2025-03-27T22:46:00.732Z] started: Thu Mar 27 22:41:29 UTC 2025 [2025-03-27T22:46:00.732Z] Library /test/lib: [2025-03-27T22:46:00.732Z] compile: jdk.test.lib.SecurityTools [2025-03-27T22:46:00.732Z] Test directory: [2025-03-27T22:46:00.732Z] compile: jdk.test.lib.Utils [2025-03-27T22:46:00.732Z] finished: Thu Mar 27 22:41:30 UTC 2025 [2025-03-27T22:46:00.732Z] elapsed time (seconds): 1.384 [2025-03-27T22:46:00.732Z] [2025-03-27T22:46:00.732Z] ACTION: compile -- Passed. Compilation successful [2025-03-27T22:46:00.732Z] REASON: .class file out of date or does not exist [2025-03-27T22:46:00.732Z] TIME: 0.888 seconds [2025-03-27T22:46:00.732Z] messages: [2025-03-27T22:46:00.732Z] command: compile /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib/jdk/test/lib/SecurityTools.java [2025-03-27T22:46:00.732Z] reason: .class file out of date or does not exist [2025-03-27T22:46:00.732Z] started: Thu Mar 27 22:41:29 UTC 2025 [2025-03-27T22:46:00.732Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.pkcs=ALL-UNNAMED --add-exports java.base/sun.security.timestamp=ALL-UNNAMED --add-exports java.base/sun.security.x509=ALL-UNNAMED --add-exports java.base/sun.security.util=ALL-UNNAMED --add-exports java.base/sun.security.tools.keytool=ALL-UNNAMED [2025-03-27T22:46:00.732Z] Mode: agentvm [2025-03-27T22:46:00.732Z] Agent id: 3 [2025-03-27T22:46:00.732Z] finished: Thu Mar 27 22:41:30 UTC 2025 [2025-03-27T22:46:00.732Z] elapsed time (seconds): 0.888 [2025-03-27T22:46:00.732Z] configuration: [2025-03-27T22:46:00.732Z] Boot Layer (javac runtime environment) [2025-03-27T22:46:00.732Z] class path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-03-27T22:46:00.732Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-03-27T22:46:00.732Z] patch: java.base /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/patches/java.base [2025-03-27T22:46:00.732Z] [2025-03-27T22:46:00.732Z] javac compilation environment [2025-03-27T22:46:00.732Z] add modules: java.base [2025-03-27T22:46:00.732Z] add exports: java.base/sun.security.pkcs ALL-UNNAMED [2025-03-27T22:46:00.732Z] java.base/sun.security.timestamp ALL-UNNAMED [2025-03-27T22:46:00.732Z] java.base/sun.security.tools.keytool ALL-UNNAMED [2025-03-27T22:46:00.732Z] java.base/sun.security.util ALL-UNNAMED [2025-03-27T22:46:00.732Z] java.base/sun.security.x509 ALL-UNNAMED [2025-03-27T22:46:00.732Z] source path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib [2025-03-27T22:46:00.732Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/lib/testlibrary [2025-03-27T22:46:00.732Z] class path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/tools/jarsigner/TimestampCheck.d [2025-03-27T22:46:00.732Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib [2025-03-27T22:46:00.732Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/lib/testlibrary [2025-03-27T22:46:00.732Z] [2025-03-27T22:46:00.732Z] rerun: [2025-03-27T22:46:00.732Z] cd /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/scratch/1 && \ [2025-03-27T22:46:00.732Z] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus \ [2025-03-27T22:46:00.732Z] DISPLAY=:0 \ [2025-03-27T22:46:00.732Z] HOME=/home/jenkins \ [2025-03-27T22:46:00.732Z] LANG=en_US.UTF-8 \ [2025-03-27T22:46:00.732Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-03-27T22:46:00.732Z] XDG_RUNTIME_DIR=/run/user/1001 \ [2025-03-27T22:46:00.732Z] XDG_SESSION_CLASS=user \ [2025-03-27T22:46:00.732Z] XDG_SESSION_ID=7869 \ [2025-03-27T22:46:00.732Z] XDG_SESSION_TYPE=tty \ [2025-03-27T22:46:00.733Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image/bin/javac \ [2025-03-27T22:46:00.733Z] -J-ea \ [2025-03-27T22:46:00.733Z] -J-esa \ [2025-03-27T22:46:00.733Z] -J-Xmx512m \ [2025-03-27T22:46:00.733Z] -J-XX:-UseCompressedOops \ [2025-03-27T22:46:00.733Z] -J-Djava.awt.headless=true \ [2025-03-27T22:46:00.733Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops -Djava.awt.headless=true' \ [2025-03-27T22:46:00.733Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops -J-Djava.awt.headless=true' \ [2025-03-27T22:46:00.733Z] -J-Dtest.compiler.opts= \ [2025-03-27T22:46:00.733Z] -J-Dtest.java.opts= \ [2025-03-27T22:46:00.733Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image \ [2025-03-27T22:46:00.733Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image \ [2025-03-27T22:46:00.733Z] -J-Dtest.timeout.factor=16.0 \ [2025-03-27T22:46:00.733Z] -J-Dtest.nativepath=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-03-27T22:46:00.733Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-03-27T22:46:00.733Z] -J-Dtest.name=sun/security/tools/jarsigner/TimestampCheck.java \ [2025-03-27T22:46:00.733Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/tools/jarsigner/TimestampCheck.java \ [2025-03-27T22:46:00.733Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/tools/jarsigner \ [2025-03-27T22:46:00.733Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/tools/jarsigner:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/lib/testlibrary \ [2025-03-27T22:46:00.733Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/tools/jarsigner/TimestampCheck.d \ [2025-03-27T22:46:00.733Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/tools/jarsigner/TimestampCheck.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/lib/testlibrary \ [2025-03-27T22:46:00.733Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/tools/jarsigner/TimestampCheck.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/tools/jarsigner:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/lib/testlibrary \ [2025-03-27T22:46:00.733Z] -J-Dtest.modules='java.base/sun.security.pkcs java.base/sun.security.timestamp java.base/sun.security.x509 java.base/sun.security.util java.base/sun.security.tools.keytool' \ [2025-03-27T22:46:00.733Z] --add-modules java.base \ [2025-03-27T22:46:00.733Z] --add-exports java.base/sun.security.pkcs=ALL-UNNAMED \ [2025-03-27T22:46:00.733Z] --add-exports java.base/sun.security.timestamp=ALL-UNNAMED \ [2025-03-27T22:46:00.733Z] --add-exports java.base/sun.security.x509=ALL-UNNAMED \ [2025-03-27T22:46:00.733Z] --add-exports java.base/sun.security.util=ALL-UNNAMED \ [2025-03-27T22:46:00.733Z] --add-exports java.base/sun.security.tools.keytool=ALL-UNNAMED \ [2025-03-27T22:46:00.733Z] -d /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib \ [2025-03-27T22:46:00.733Z] -sourcepath /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/lib/testlibrary \ [2025-03-27T22:46:00.733Z] -classpath /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/tools/jarsigner/TimestampCheck.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/lib/testlibrary /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib/jdk/test/lib/SecurityTools.java [2025-03-27T22:46:00.733Z] [2025-03-27T22:46:00.733Z] ACTION: compile -- Passed. Compilation successful [2025-03-27T22:46:00.733Z] REASON: .class file out of date or does not exist [2025-03-27T22:46:00.733Z] TIME: 0.464 seconds [2025-03-27T22:46:00.733Z] messages: [2025-03-27T22:46:00.733Z] command: compile /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/tools/jarsigner/Utils.java [2025-03-27T22:46:00.733Z] reason: .class file out of date or does not exist [2025-03-27T22:46:00.733Z] started: Thu Mar 27 22:41:30 UTC 2025 [2025-03-27T22:46:00.733Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.pkcs=ALL-UNNAMED --add-exports java.base/sun.security.timestamp=ALL-UNNAMED --add-exports java.base/sun.security.x509=ALL-UNNAMED --add-exports java.base/sun.security.util=ALL-UNNAMED --add-exports java.base/sun.security.tools.keytool=ALL-UNNAMED [2025-03-27T22:46:00.733Z] Mode: agentvm [2025-03-27T22:46:00.733Z] Agent id: 3 [2025-03-27T22:46:00.733Z] finished: Thu Mar 27 22:41:30 UTC 2025 [2025-03-27T22:46:00.733Z] elapsed time (seconds): 0.464 [2025-03-27T22:46:00.733Z] configuration: [2025-03-27T22:46:00.733Z] Boot Layer (javac runtime environment) [2025-03-27T22:46:00.733Z] class path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-03-27T22:46:00.733Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-03-27T22:46:00.733Z] patch: java.base /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/patches/java.base [2025-03-27T22:46:00.733Z] [2025-03-27T22:46:00.733Z] javac compilation environment [2025-03-27T22:46:00.733Z] add modules: java.base [2025-03-27T22:46:00.733Z] add exports: java.base/sun.security.pkcs ALL-UNNAMED [2025-03-27T22:46:00.733Z] java.base/sun.security.timestamp ALL-UNNAMED [2025-03-27T22:46:00.733Z] java.base/sun.security.tools.keytool ALL-UNNAMED [2025-03-27T22:46:00.733Z] java.base/sun.security.util ALL-UNNAMED [2025-03-27T22:46:00.733Z] java.base/sun.security.x509 ALL-UNNAMED [2025-03-27T22:46:00.733Z] source path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/tools/jarsigner [2025-03-27T22:46:00.733Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib [2025-03-27T22:46:00.733Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/lib/testlibrary [2025-03-27T22:46:00.733Z] class path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/tools/jarsigner [2025-03-27T22:46:00.733Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/tools/jarsigner/TimestampCheck.d [2025-03-27T22:46:00.733Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib [2025-03-27T22:46:00.733Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/lib/testlibrary [2025-03-27T22:46:00.733Z] [2025-03-27T22:46:00.733Z] rerun: [2025-03-27T22:46:00.733Z] cd /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/scratch/1 && \ [2025-03-27T22:46:00.733Z] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus \ [2025-03-27T22:46:00.733Z] DISPLAY=:0 \ [2025-03-27T22:46:00.733Z] HOME=/home/jenkins \ [2025-03-27T22:46:00.733Z] LANG=en_US.UTF-8 \ [2025-03-27T22:46:00.733Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-03-27T22:46:00.733Z] XDG_RUNTIME_DIR=/run/user/1001 \ [2025-03-27T22:46:00.733Z] XDG_SESSION_CLASS=user \ [2025-03-27T22:46:00.733Z] XDG_SESSION_ID=7869 \ [2025-03-27T22:46:00.733Z] XDG_SESSION_TYPE=tty \ [2025-03-27T22:46:00.733Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image/bin/javac \ [2025-03-27T22:46:00.733Z] -J-ea \ [2025-03-27T22:46:00.733Z] -J-esa \ [2025-03-27T22:46:00.733Z] -J-Xmx512m \ [2025-03-27T22:46:00.733Z] -J-XX:-UseCompressedOops \ [2025-03-27T22:46:00.733Z] -J-Djava.awt.headless=true \ [2025-03-27T22:46:00.733Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops -Djava.awt.headless=true' \ [2025-03-27T22:46:00.733Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops -J-Djava.awt.headless=true' \ [2025-03-27T22:46:00.733Z] -J-Dtest.compiler.opts= \ [2025-03-27T22:46:00.733Z] -J-Dtest.java.opts= \ [2025-03-27T22:46:00.733Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image \ [2025-03-27T22:46:00.733Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image \ [2025-03-27T22:46:00.733Z] -J-Dtest.timeout.factor=16.0 \ [2025-03-27T22:46:00.733Z] -J-Dtest.nativepath=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-03-27T22:46:00.733Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-03-27T22:46:00.733Z] -J-Dtest.name=sun/security/tools/jarsigner/TimestampCheck.java \ [2025-03-27T22:46:00.733Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/tools/jarsigner/TimestampCheck.java \ [2025-03-27T22:46:00.733Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/tools/jarsigner \ [2025-03-27T22:46:00.733Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/tools/jarsigner:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/lib/testlibrary \ [2025-03-27T22:46:00.733Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/tools/jarsigner/TimestampCheck.d \ [2025-03-27T22:46:00.733Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/tools/jarsigner/TimestampCheck.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/lib/testlibrary \ [2025-03-27T22:46:00.733Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/tools/jarsigner/TimestampCheck.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/tools/jarsigner:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/lib/testlibrary \ [2025-03-27T22:46:00.733Z] -J-Dtest.modules='java.base/sun.security.pkcs java.base/sun.security.timestamp java.base/sun.security.x509 java.base/sun.security.util java.base/sun.security.tools.keytool' \ [2025-03-27T22:46:00.733Z] --add-modules java.base \ [2025-03-27T22:46:00.733Z] --add-exports java.base/sun.security.pkcs=ALL-UNNAMED \ [2025-03-27T22:46:00.733Z] --add-exports java.base/sun.security.timestamp=ALL-UNNAMED \ [2025-03-27T22:46:00.733Z] --add-exports java.base/sun.security.x509=ALL-UNNAMED \ [2025-03-27T22:46:00.733Z] --add-exports java.base/sun.security.util=ALL-UNNAMED \ [2025-03-27T22:46:00.733Z] --add-exports java.base/sun.security.tools.keytool=ALL-UNNAMED \ [2025-03-27T22:46:00.733Z] -d /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/tools/jarsigner/TimestampCheck.d \ [2025-03-27T22:46:00.733Z] -sourcepath /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/tools/jarsigner:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/lib/testlibrary \ [2025-03-27T22:46:00.733Z] -classpath /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/tools/jarsigner:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/tools/jarsigner/TimestampCheck.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/lib/testlibrary /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/tools/jarsigner/Utils.java [2025-03-27T22:46:00.733Z] [2025-03-27T22:46:00.733Z] ACTION: compile -- Passed. Compilation successful [2025-03-27T22:46:00.733Z] REASON: User specified action: run compile -XDignore.symbol.file TimestampCheck.java [2025-03-27T22:46:00.733Z] TIME: 5.734 seconds [2025-03-27T22:46:00.733Z] messages: [2025-03-27T22:46:00.733Z] command: compile -XDignore.symbol.file /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/tools/jarsigner/TimestampCheck.java [2025-03-27T22:46:00.733Z] reason: User specified action: run compile -XDignore.symbol.file TimestampCheck.java [2025-03-27T22:46:00.733Z] started: Thu Mar 27 22:41:30 UTC 2025 [2025-03-27T22:46:00.733Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.pkcs=ALL-UNNAMED --add-exports java.base/sun.security.timestamp=ALL-UNNAMED --add-exports java.base/sun.security.x509=ALL-UNNAMED --add-exports java.base/sun.security.util=ALL-UNNAMED --add-exports java.base/sun.security.tools.keytool=ALL-UNNAMED [2025-03-27T22:46:00.733Z] Mode: agentvm [2025-03-27T22:46:00.733Z] Agent id: 3 [2025-03-27T22:46:00.733Z] finished: Thu Mar 27 22:41:36 UTC 2025 [2025-03-27T22:46:00.733Z] elapsed time (seconds): 5.734 [2025-03-27T22:46:00.733Z] configuration: [2025-03-27T22:46:00.733Z] Boot Layer (javac runtime environment) [2025-03-27T22:46:00.733Z] class path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-03-27T22:46:00.733Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-03-27T22:46:00.733Z] patch: java.base /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/patches/java.base [2025-03-27T22:46:00.733Z] [2025-03-27T22:46:00.733Z] javac compilation environment [2025-03-27T22:46:00.733Z] add modules: java.base [2025-03-27T22:46:00.733Z] add exports: java.base/sun.security.pkcs ALL-UNNAMED [2025-03-27T22:46:00.733Z] java.base/sun.security.timestamp ALL-UNNAMED [2025-03-27T22:46:00.733Z] java.base/sun.security.tools.keytool ALL-UNNAMED [2025-03-27T22:46:00.733Z] java.base/sun.security.util ALL-UNNAMED [2025-03-27T22:46:00.733Z] java.base/sun.security.x509 ALL-UNNAMED [2025-03-27T22:46:00.733Z] source path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/tools/jarsigner [2025-03-27T22:46:00.733Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib [2025-03-27T22:46:00.733Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/lib/testlibrary [2025-03-27T22:46:00.733Z] class path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/tools/jarsigner [2025-03-27T22:46:00.733Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/tools/jarsigner/TimestampCheck.d [2025-03-27T22:46:00.733Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib [2025-03-27T22:46:00.733Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/lib/testlibrary [2025-03-27T22:46:00.733Z] [2025-03-27T22:46:00.733Z] rerun: [2025-03-27T22:46:00.733Z] cd /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/scratch/1 && \ [2025-03-27T22:46:00.733Z] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus \ [2025-03-27T22:46:00.733Z] DISPLAY=:0 \ [2025-03-27T22:46:00.733Z] HOME=/home/jenkins \ [2025-03-27T22:46:00.733Z] LANG=en_US.UTF-8 \ [2025-03-27T22:46:00.733Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-03-27T22:46:00.733Z] XDG_RUNTIME_DIR=/run/user/1001 \ [2025-03-27T22:46:00.733Z] XDG_SESSION_CLASS=user \ [2025-03-27T22:46:00.733Z] XDG_SESSION_ID=7869 \ [2025-03-27T22:46:00.733Z] XDG_SESSION_TYPE=tty \ [2025-03-27T22:46:00.733Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image/bin/javac \ [2025-03-27T22:46:00.733Z] -J-ea \ [2025-03-27T22:46:00.733Z] -J-esa \ [2025-03-27T22:46:00.733Z] -J-Xmx512m \ [2025-03-27T22:46:00.733Z] -J-XX:-UseCompressedOops \ [2025-03-27T22:46:00.733Z] -J-Djava.awt.headless=true \ [2025-03-27T22:46:00.733Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops -Djava.awt.headless=true' \ [2025-03-27T22:46:00.733Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops -J-Djava.awt.headless=true' \ [2025-03-27T22:46:00.733Z] -J-Dtest.compiler.opts= \ [2025-03-27T22:46:00.733Z] -J-Dtest.java.opts= \ [2025-03-27T22:46:00.733Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image \ [2025-03-27T22:46:00.733Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image \ [2025-03-27T22:46:00.733Z] -J-Dtest.timeout.factor=16.0 \ [2025-03-27T22:46:00.733Z] -J-Dtest.nativepath=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-03-27T22:46:00.733Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-03-27T22:46:00.733Z] -J-Dtest.name=sun/security/tools/jarsigner/TimestampCheck.java \ [2025-03-27T22:46:00.733Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/tools/jarsigner/TimestampCheck.java \ [2025-03-27T22:46:00.733Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/tools/jarsigner \ [2025-03-27T22:46:00.733Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/tools/jarsigner:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/lib/testlibrary \ [2025-03-27T22:46:00.733Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/tools/jarsigner/TimestampCheck.d \ [2025-03-27T22:46:00.733Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/tools/jarsigner/TimestampCheck.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/lib/testlibrary \ [2025-03-27T22:46:00.733Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/tools/jarsigner/TimestampCheck.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/tools/jarsigner:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/lib/testlibrary \ [2025-03-27T22:46:00.733Z] -J-Dtest.modules='java.base/sun.security.pkcs java.base/sun.security.timestamp java.base/sun.security.x509 java.base/sun.security.util java.base/sun.security.tools.keytool' \ [2025-03-27T22:46:00.733Z] --add-modules java.base \ [2025-03-27T22:46:00.733Z] --add-exports java.base/sun.security.pkcs=ALL-UNNAMED \ [2025-03-27T22:46:00.733Z] --add-exports java.base/sun.security.timestamp=ALL-UNNAMED \ [2025-03-27T22:46:00.733Z] --add-exports java.base/sun.security.x509=ALL-UNNAMED \ [2025-03-27T22:46:00.733Z] --add-exports java.base/sun.security.util=ALL-UNNAMED \ [2025-03-27T22:46:00.733Z] --add-exports java.base/sun.security.tools.keytool=ALL-UNNAMED \ [2025-03-27T22:46:00.734Z] -d /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/tools/jarsigner/TimestampCheck.d \ [2025-03-27T22:46:00.734Z] -sourcepath /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/tools/jarsigner:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/lib/testlibrary \ [2025-03-27T22:46:00.734Z] -classpath /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/tools/jarsigner:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/tools/jarsigner/TimestampCheck.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/lib/testlibrary \ [2025-03-27T22:46:00.734Z] -XDignore.symbol.file /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/tools/jarsigner/TimestampCheck.java [2025-03-27T22:46:00.734Z] direct: [2025-03-27T22:46:00.734Z] Note: Some input files use or override a deprecated API. [2025-03-27T22:46:00.734Z] Note: Recompile with -Xlint:deprecation for details. [2025-03-27T22:46:00.734Z] [2025-03-27T22:46:00.734Z] ACTION: build -- Passed. All files up to date [2025-03-27T22:46:00.734Z] REASON: Named class compiled on demand [2025-03-27T22:46:00.734Z] TIME: 0.0 seconds [2025-03-27T22:46:00.734Z] messages: [2025-03-27T22:46:00.734Z] command: build TimestampCheck [2025-03-27T22:46:00.734Z] reason: Named class compiled on demand [2025-03-27T22:46:00.734Z] started: Thu Mar 27 22:41:36 UTC 2025 [2025-03-27T22:46:00.734Z] finished: Thu Mar 27 22:41:36 UTC 2025 [2025-03-27T22:46:00.734Z] elapsed time (seconds): 0.0 [2025-03-27T22:46:00.734Z] [2025-03-27T22:46:00.734Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'signer certificate expired on .*. However, the JAR will be valid' missing from stdout/stderr [2025-03-27T22:46:00.734Z] REASON: User specified action: run main/timeout=600 TimestampCheck [2025-03-27T22:46:00.734Z] TIME: 255.086 seconds [2025-03-27T22:46:00.734Z] messages: [2025-03-27T22:46:00.734Z] command: main TimestampCheck [2025-03-27T22:46:00.734Z] reason: User specified action: run main/timeout=600 TimestampCheck [2025-03-27T22:46:00.734Z] started: Thu Mar 27 22:41:36 UTC 2025 [2025-03-27T22:46:00.734Z] Mode: agentvm [2025-03-27T22:46:00.734Z] Agent id: 42 [2025-03-27T22:46:00.734Z] Additional exports to unnamed modules from @modules: java.base/sun.security.pkcs java.base/sun.security.timestamp java.base/sun.security.x509 java.base/sun.security.util java.base/sun.security.tools.keytool [2025-03-27T22:46:00.734Z] finished: Thu Mar 27 22:45:51 UTC 2025 [2025-03-27T22:46:00.734Z] elapsed time (seconds): 255.086 [2025-03-27T22:46:00.734Z] configuration: [2025-03-27T22:46:00.734Z] Boot Layer [2025-03-27T22:46:00.734Z] class path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-03-27T22:46:00.734Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-03-27T22:46:00.734Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jvmtest/openjdk/jtreg/lib/junit-platform-console-standalone-1.9.2.jar [2025-03-27T22:46:00.734Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jvmtest/openjdk/jtreg/lib/testng-7.3.0.jar [2025-03-27T22:46:00.734Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jvmtest/openjdk/jtreg/lib/guice-5.1.0.jar [2025-03-27T22:46:00.734Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jvmtest/openjdk/jtreg/lib/jcommander-1.82.jar [2025-03-27T22:46:00.734Z] patch: java.base /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/patches/java.base [2025-03-27T22:46:00.734Z] [2025-03-27T22:46:00.734Z] Test Layer [2025-03-27T22:46:00.734Z] add exports: java.base/sun.security.pkcs ALL-UNNAMED [2025-03-27T22:46:00.734Z] java.base/sun.security.timestamp ALL-UNNAMED [2025-03-27T22:46:00.734Z] java.base/sun.security.tools.keytool ALL-UNNAMED [2025-03-27T22:46:00.734Z] java.base/sun.security.util ALL-UNNAMED [2025-03-27T22:46:00.734Z] java.base/sun.security.x509 ALL-UNNAMED [2025-03-27T22:46:00.734Z] class path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/tools/jarsigner/TimestampCheck.d [2025-03-27T22:46:00.734Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/tools/jarsigner [2025-03-27T22:46:00.734Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib [2025-03-27T22:46:00.734Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib [2025-03-27T22:46:00.734Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/lib/testlibrary [2025-03-27T22:46:00.734Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/lib/testlibrary [2025-03-27T22:46:00.734Z] [2025-03-27T22:46:00.734Z] rerun: [2025-03-27T22:46:00.734Z] cd /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/scratch/1 && \ [2025-03-27T22:46:00.734Z] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus \ [2025-03-27T22:46:00.734Z] DISPLAY=:0 \ [2025-03-27T22:46:00.734Z] HOME=/home/jenkins \ [2025-03-27T22:46:00.734Z] LANG=en_US.UTF-8 \ [2025-03-27T22:46:00.734Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-03-27T22:46:00.734Z] XDG_RUNTIME_DIR=/run/user/1001 \ [2025-03-27T22:46:00.734Z] XDG_SESSION_CLASS=user \ [2025-03-27T22:46:00.734Z] XDG_SESSION_ID=7869 \ [2025-03-27T22:46:00.734Z] XDG_SESSION_TYPE=tty \ [2025-03-27T22:46:00.734Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image/bin/java \ [2025-03-27T22:46:00.734Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops -Djava.awt.headless=true' \ [2025-03-27T22:46:00.734Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops -J-Djava.awt.headless=true' \ [2025-03-27T22:46:00.734Z] -Dtest.compiler.opts= \ [2025-03-27T22:46:00.734Z] -Dtest.java.opts= \ [2025-03-27T22:46:00.734Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image \ [2025-03-27T22:46:00.734Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image \ [2025-03-27T22:46:00.734Z] -Dtest.timeout.factor=16.0 \ [2025-03-27T22:46:00.734Z] -Dtest.nativepath=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-03-27T22:46:00.734Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-03-27T22:46:00.734Z] -Dtest.name=sun/security/tools/jarsigner/TimestampCheck.java \ [2025-03-27T22:46:00.734Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/tools/jarsigner/TimestampCheck.java \ [2025-03-27T22:46:00.734Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/tools/jarsigner \ [2025-03-27T22:46:00.734Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/tools/jarsigner:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/lib/testlibrary \ [2025-03-27T22:46:00.734Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/tools/jarsigner/TimestampCheck.d \ [2025-03-27T22:46:00.734Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/tools/jarsigner/TimestampCheck.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/lib/testlibrary \ [2025-03-27T22:46:00.734Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/tools/jarsigner/TimestampCheck.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/tools/jarsigner:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/lib/testlibrary \ [2025-03-27T22:46:00.734Z] -Dtest.modules='java.base/sun.security.pkcs java.base/sun.security.timestamp java.base/sun.security.x509 java.base/sun.security.util java.base/sun.security.tools.keytool' \ [2025-03-27T22:46:00.734Z] -classpath /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/sun/security/tools/jarsigner/TimestampCheck.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/tools/jarsigner:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work/classes/2/lib/testlibrary:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/lib/testlibrary:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-03-27T22:46:00.734Z] TimestampCheck [2025-03-27T22:46:00.734Z] stderr: [2025-03-27T22:46:00.734Z] WARNING: A terminally deprecated method in java.lang.System has been called [2025-03-27T22:46:00.734Z] WARNING: System::setSecurityManager has been called by com.sun.javatest.regtest.agent.RegressionSecurityManager (file:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar) [2025-03-27T22:46:00.734Z] WARNING: Please consider reporting this to the maintainers of com.sun.javatest.regtest.agent.RegressionSecurityManager [2025-03-27T22:46:00.734Z] WARNING: System::setSecurityManager will be removed in a future release [2025-03-27T22:46:00.734Z] STDOUT: [2025-03-27T22:46:00.734Z] Adding A to unsigned.jar [2025-03-27T22:46:00.734Z] [2025-03-27T22:46:00.734Z] [2025-03-27T22:46:00.734Z] >> Test #1 [2025-03-27T22:46:00.734Z] Command line: [/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image/bin/jarsigner -J-Duser.language=en -J-Duser.country=US -keystore ks -storepass changeit -strict -verbose -debug -signedjar normal.jar unsigned.jar signer -tsa http://localhost:43937/normal] [2025-03-27T22:46:00.734Z] [2025-03-27T22:44:56.750540045Z] Gathering output for process 150658 [2025-03-27T22:46:00.734Z] ===== Request ==== [2025-03-27T22:46:00.734Z] reqVersion: 1 [2025-03-27T22:46:00.734Z] reqDigestAlgo: SHA-256 [2025-03-27T22:46:00.734Z] reqNonce: 8595149570637998265 [2025-03-27T22:46:00.734Z] certReq: true [2025-03-27T22:46:00.734Z] ===== Response ==== [2025-03-27T22:46:00.734Z] Status: 0 [2025-03-27T22:46:00.734Z] Generated status info [2025-03-27T22:46:00.734Z] Signer: CN=ts [2025-03-27T22:46:00.734Z] Issuer: CN=CA [2025-03-27T22:46:00.734Z] version: 1 [2025-03-27T22:46:00.734Z] policyId: 2.3.4 [2025-03-27T22:46:00.734Z] digestAlgo: SHA-256 [2025-03-27T22:46:00.734Z] serialNumber: 1 [2025-03-27T22:46:00.734Z] genTime: Thu Mar 27 22:45:05 UTC 2025 [2025-03-27T22:46:00.734Z] Signature algorithm: SHA256withRSA [2025-03-27T22:46:00.734Z] Generated signed data [2025-03-27T22:46:00.734Z] Generated response [2025-03-27T22:46:00.734Z] [2025-03-27T22:45:06.408517625Z] Waiting for completion for process 150658 [2025-03-27T22:46:00.734Z] [2025-03-27T22:45:06.409981993Z] Waiting for completion finished for process 150658 [2025-03-27T22:46:00.734Z] Output and diagnostic info for process 150658 was saved into 'pid-150658-output.log' [2025-03-27T22:46:00.734Z] Command line args: [-keystore, ks, -storepass, changeit, -strict, -verbose, -debug, -signedjar, normal.jar, unsigned.jar, signer, -tsa, http://localhost:43937/normal] [2025-03-27T22:46:00.734Z] requesting a signature timestamp [2025-03-27T22:46:00.734Z] TSA location: http://localhost:43937/normal [2025-03-27T22:46:00.734Z] updating: META-INF/MANIFEST.MF [2025-03-27T22:46:00.734Z] adding: META-INF/SIGNER.SF [2025-03-27T22:46:00.734Z] adding: META-INF/SIGNER.RSA [2025-03-27T22:46:00.734Z] signing: A [2025-03-27T22:46:00.734Z] [2025-03-27T22:46:00.734Z] >>> Signer [2025-03-27T22:46:00.734Z] X.509, CN=signer [2025-03-27T22:46:00.734Z] Signature algorithm: SHA256withRSA, 2048-bit key [2025-03-27T22:46:00.734Z] [certificate is valid from 3/27/25, 10:44 PM to 10/13/25, 10:44 PM] [2025-03-27T22:46:00.734Z] X.509, CN=CA [2025-03-27T22:46:00.734Z] Signature algorithm: SHA256withRSA, 2048-bit key [2025-03-27T22:46:00.734Z] [trusted certificate] [2025-03-27T22:46:00.734Z] >>> TSA [2025-03-27T22:46:00.734Z] X.509, CN=ts [2025-03-27T22:46:00.734Z] Signature algorithm: SHA256withRSA, 2048-bit key [2025-03-27T22:46:00.734Z] [certificate is valid from 3/27/25, 10:44 PM to 8/9/26, 10:44 PM] [2025-03-27T22:46:00.734Z] [2025-03-27T22:46:00.734Z] jar signed. [2025-03-27T22:46:00.734Z] [2025-03-27T22:46:00.734Z] The signer certificate will expire on 2025-10-13. [2025-03-27T22:46:00.734Z] The timestamp will expire on 2026-08-09. [2025-03-27T22:46:00.734Z] [2025-03-27T22:46:00.734Z] Exit value: 0 [2025-03-27T22:46:00.734Z] Command line: [/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image/bin/jarsigner -J-Duser.language=en -J-Duser.country=US -keystore ks -storepass changeit -verify -strict normal.jar] [2025-03-27T22:46:00.734Z] [2025-03-27T22:45:06.439376030Z] Gathering output for process 150767 [2025-03-27T22:46:00.734Z] [2025-03-27T22:45:12.947387192Z] Waiting for completion for process 150767 [2025-03-27T22:46:00.734Z] [2025-03-27T22:45:12.949058898Z] Waiting for completion finished for process 150767 [2025-03-27T22:46:00.734Z] Output and diagnostic info for process 150767 was saved into 'pid-150767-output.log' [2025-03-27T22:46:00.734Z] [2025-03-27T22:46:00.734Z] jar verified. [2025-03-27T22:46:00.734Z] [2025-03-27T22:46:00.734Z] Exit value: 0 [2025-03-27T22:46:00.734Z] Command line: [/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image/bin/jarsigner -J-Duser.language=en -J-Duser.country=US -keystore ks -storepass changeit -verify -strict normal.jar -verbose] [2025-03-27T22:46:00.734Z] [2025-03-27T22:45:12.965568627Z] Gathering output for process 150875 [2025-03-27T22:46:00.734Z] [2025-03-27T22:45:20.263901383Z] Waiting for completion for process 150875 [2025-03-27T22:46:00.734Z] [2025-03-27T22:45:20.264841739Z] Waiting for completion finished for process 150875 [2025-03-27T22:46:00.734Z] Output and diagnostic info for process 150875 was saved into 'pid-150875-output.log' [2025-03-27T22:46:00.734Z] [2025-03-27T22:46:00.734Z] s k 75 Thu Mar 27 22:45:02 UTC 2025 META-INF/MANIFEST.MF [2025-03-27T22:46:00.734Z] 305 Thu Mar 27 22:45:04 UTC 2025 META-INF/SIGNER.SF [2025-03-27T22:46:00.734Z] 3280 Thu Mar 27 22:45:04 UTC 2025 META-INF/SIGNER.RSA [2025-03-27T22:46:00.734Z] smk 1 Thu Mar 27 22:41:58 UTC 2025 A [2025-03-27T22:46:00.734Z] [2025-03-27T22:46:00.734Z] s = signature was verified [2025-03-27T22:46:00.734Z] m = entry is listed in manifest [2025-03-27T22:46:00.734Z] k = at least one certificate was found in keystore [2025-03-27T22:46:00.734Z] [2025-03-27T22:46:00.734Z] - Signed by "CN=signer" [2025-03-27T22:46:00.734Z] Digest algorithm: SHA-256 [2025-03-27T22:46:00.734Z] Signature algorithm: SHA256withRSA, 2048-bit key [2025-03-27T22:46:00.734Z] Timestamped by "CN=ts" on Thu Mar 27 22:45:05 UTC 2025 [2025-03-27T22:46:00.734Z] Timestamp digest algorithm: SHA-256 [2025-03-27T22:46:00.734Z] Timestamp signature algorithm: SHA256withRSA, 2048-bit key [2025-03-27T22:46:00.734Z] [2025-03-27T22:46:00.734Z] jar verified. [2025-03-27T22:46:00.734Z] [2025-03-27T22:46:00.734Z] The signer certificate will expire on 2025-10-13. [2025-03-27T22:46:00.734Z] The timestamp will expire on 2026-08-09. [2025-03-27T22:46:00.734Z] [2025-03-27T22:46:00.734Z] Exit value: 0 [2025-03-27T22:46:00.734Z] [2025-03-27T22:46:00.734Z] >> Test #2 [2025-03-27T22:46:00.734Z] Command line: [/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image/bin/jarsigner -J-Duser.language=en -J-Duser.country=US -keystore ks -storepass changeit -strict -verbose -debug -signedjar tsold.jar unsigned.jar oldsigner -tsa http://localhost:43937/tsold] [2025-03-27T22:46:00.734Z] [2025-03-27T22:45:20.286271252Z] Gathering output for process 151002 [2025-03-27T22:46:00.734Z] ===== Request ==== [2025-03-27T22:46:00.734Z] reqVersion: 1 [2025-03-27T22:46:00.734Z] reqDigestAlgo: SHA-256 [2025-03-27T22:46:00.734Z] reqNonce: 824511056910375930 [2025-03-27T22:46:00.734Z] certReq: true [2025-03-27T22:46:00.734Z] ===== Response ==== [2025-03-27T22:46:00.734Z] Status: 0 [2025-03-27T22:46:00.734Z] Generated status info [2025-03-27T22:46:00.734Z] Signer: CN=tsold [2025-03-27T22:46:00.734Z] Issuer: CN=CA [2025-03-27T22:46:00.734Z] version: 1 [2025-03-27T22:46:00.734Z] policyId: 2.3.4 [2025-03-27T22:46:00.734Z] digestAlgo: SHA-256 [2025-03-27T22:46:00.734Z] serialNumber: 1 [2025-03-27T22:46:00.734Z] genTime: Fri Mar 07 22:45:28 UTC 2025 [2025-03-27T22:46:00.734Z] Signature algorithm: SHA256withRSA [2025-03-27T22:46:00.734Z] Generated signed data [2025-03-27T22:46:00.734Z] Generated response [2025-03-27T22:46:00.734Z] [2025-03-27T22:45:29.107951155Z] Waiting for completion for process 151002 [2025-03-27T22:46:00.734Z] [2025-03-27T22:45:29.108927512Z] Waiting for completion finished for process 151002 [2025-03-27T22:46:00.734Z] Output and diagnostic info for process 151002 was saved into 'pid-151002-output.log' [2025-03-27T22:46:00.734Z] Command line args: [-keystore, ks, -storepass, changeit, -strict, -verbose, -debug, -signedjar, tsold.jar, unsigned.jar, oldsigner, -tsa, http://localhost:43937/tsold] [2025-03-27T22:46:00.734Z] requesting a signature timestamp [2025-03-27T22:46:00.734Z] TSA location: http://localhost:43937/tsold [2025-03-27T22:46:00.734Z] updating: META-INF/MANIFEST.MF [2025-03-27T22:46:00.735Z] adding: META-INF/OLDSIGNE.SF [2025-03-27T22:46:00.735Z] adding: META-INF/OLDSIGNE.RSA [2025-03-27T22:46:00.735Z] signing: A [2025-03-27T22:46:00.735Z] [2025-03-27T22:46:00.735Z] >>> Signer [2025-03-27T22:46:00.735Z] X.509, CN=oldsigner [2025-03-27T22:46:00.735Z] Signature algorithm: SHA256withRSA, 2048-bit key [2025-03-27T22:46:00.735Z] [certificate is valid from 2/25/25, 10:44 PM to 3/17/25, 10:44 PM] [2025-03-27T22:46:00.735Z] X.509, CN=CA [2025-03-27T22:46:00.735Z] Signature algorithm: SHA256withRSA, 2048-bit key [2025-03-27T22:46:00.735Z] [trusted certificate] [2025-03-27T22:46:00.735Z] >>> TSA [2025-03-27T22:46:00.735Z] X.509, CN=tsold [2025-03-27T22:46:00.735Z] Signature algorithm: SHA256withRSA, 2048-bit key [2025-03-27T22:46:00.735Z] [certificate is valid from 2/15/25, 10:44 PM to 6/30/26, 10:44 PM] [2025-03-27T22:46:00.735Z] [2025-03-27T22:46:00.735Z] jar signed. [2025-03-27T22:46:00.735Z] [2025-03-27T22:46:00.735Z] The signer certificate expired on 2025-03-17. However, the JAR will be valid until the timestamp expires on 2026-06-30. [2025-03-27T22:46:00.735Z] [2025-03-27T22:46:00.735Z] Exit value: 0 [2025-03-27T22:46:00.735Z] Command line: [/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image/bin/jarsigner -J-Duser.language=en -J-Duser.country=US -keystore ks -storepass changeit -verify -strict tsold.jar -verbose -certs] [2025-03-27T22:46:00.735Z] [2025-03-27T22:45:29.146220071Z] Gathering output for process 151134 [2025-03-27T22:46:00.735Z] [2025-03-27T22:45:36.233600451Z] Waiting for completion for process 151134 [2025-03-27T22:46:00.735Z] [2025-03-27T22:45:36.234441471Z] Waiting for completion finished for process 151134 [2025-03-27T22:46:00.735Z] Output and diagnostic info for process 151134 was saved into 'pid-151134-output.log' [2025-03-27T22:46:00.735Z] [2025-03-27T22:46:00.735Z] s k 75 Thu Mar 27 22:45:26 UTC 2025 META-INF/MANIFEST.MF [2025-03-27T22:46:00.735Z] [2025-03-27T22:46:00.735Z] >>> Signer [2025-03-27T22:46:00.735Z] X.509, CN=oldsigner (oldsigner) [2025-03-27T22:46:00.735Z] Signature algorithm: SHA256withRSA, 2048-bit key [2025-03-27T22:46:00.735Z] [certificate is valid from 2/25/25, 10:44 PM to 3/17/25, 10:44 PM] [2025-03-27T22:46:00.735Z] X.509, CN=CA (ca) [2025-03-27T22:46:00.735Z] Signature algorithm: SHA256withRSA, 2048-bit key [2025-03-27T22:46:00.735Z] [trusted certificate] [2025-03-27T22:46:00.735Z] >>> TSA [2025-03-27T22:46:00.735Z] X.509, CN=tsold [2025-03-27T22:46:00.735Z] Signature algorithm: SHA256withRSA, 2048-bit key [2025-03-27T22:46:00.735Z] [certificate is valid from 2/15/25, 10:44 PM to 6/30/26, 10:44 PM] [2025-03-27T22:46:00.735Z] [2025-03-27T22:46:00.735Z] 305 Thu Mar 27 22:45:28 UTC 2025 META-INF/OLDSIGNE.SF [2025-03-27T22:46:00.735Z] 3284 Thu Mar 27 22:45:28 UTC 2025 META-INF/OLDSIGNE.RSA [2025-03-27T22:46:00.735Z] smk 1 Thu Mar 27 22:41:58 UTC 2025 A [2025-03-27T22:46:00.735Z] [2025-03-27T22:46:00.735Z] [entry was signed on 3/7/25, 10:45 PM] [2025-03-27T22:46:00.735Z] >>> Signer [2025-03-27T22:46:00.735Z] X.509, CN=oldsigner (oldsigner) [2025-03-27T22:46:00.735Z] Signature algorithm: SHA256withRSA, 2048-bit key [2025-03-27T22:46:00.735Z] [certificate is valid from 2/25/25, 10:44 PM to 3/17/25, 10:44 PM] [2025-03-27T22:46:00.735Z] X.509, CN=CA (ca) [2025-03-27T22:46:00.735Z] Signature algorithm: SHA256withRSA, 2048-bit key [2025-03-27T22:46:00.735Z] [trusted certificate] [2025-03-27T22:46:00.735Z] >>> TSA [2025-03-27T22:46:00.735Z] X.509, CN=tsold [2025-03-27T22:46:00.735Z] Signature algorithm: SHA256withRSA, 2048-bit key [2025-03-27T22:46:00.735Z] [certificate is valid from 2/15/25, 10:44 PM to 6/30/26, 10:44 PM] [2025-03-27T22:46:00.735Z] [2025-03-27T22:46:00.735Z] [2025-03-27T22:46:00.735Z] s = signature was verified [2025-03-27T22:46:00.735Z] m = entry is listed in manifest [2025-03-27T22:46:00.735Z] k = at least one certificate was found in keystore [2025-03-27T22:46:00.735Z] [2025-03-27T22:46:00.735Z] - Signed by "CN=oldsigner" [2025-03-27T22:46:00.735Z] Digest algorithm: SHA-256 [2025-03-27T22:46:00.735Z] Signature algorithm: SHA256withRSA, 2048-bit key [2025-03-27T22:46:00.735Z] Timestamped by "CN=tsold" on Fri Mar 07 22:45:28 UTC 2025 [2025-03-27T22:46:00.735Z] Timestamp digest algorithm: SHA-256 [2025-03-27T22:46:00.735Z] Timestamp signature algorithm: SHA256withRSA, 2048-bit key [2025-03-27T22:46:00.735Z] [2025-03-27T22:46:00.735Z] jar verified. [2025-03-27T22:46:00.735Z] [2025-03-27T22:46:00.735Z] The signer certificate expired on 2025-03-17. However, the JAR will be valid until the timestamp expires on 2026-06-30. [2025-03-27T22:46:00.735Z] [2025-03-27T22:46:00.735Z] Exit value: 0 [2025-03-27T22:46:00.735Z] [2025-03-27T22:46:00.735Z] >> Test #3 [2025-03-27T22:46:00.735Z] Command line: [/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image/bin/jarsigner -J-Duser.language=en -J-Duser.country=US -keystore ks -storepass changeit -strict -verbose -debug -signedjar tsbefore2019.jar unsigned.jar pre2019signer -tsa http://localhost:43937/tsbefore2019 -digestalg SHA-1] [2025-03-27T22:46:00.735Z] [2025-03-27T22:45:36.256630002Z] Gathering output for process 151241 [2025-03-27T22:46:00.735Z] ===== Request ==== [2025-03-27T22:46:00.735Z] reqVersion: 1 [2025-03-27T22:46:00.735Z] reqDigestAlgo: SHA-256 [2025-03-27T22:46:00.735Z] reqNonce: 3898936566797465712 [2025-03-27T22:46:00.735Z] certReq: true [2025-03-27T22:46:00.735Z] ===== Response ==== [2025-03-27T22:46:00.735Z] Status: 0 [2025-03-27T22:46:00.735Z] Generated status info [2025-03-27T22:46:00.735Z] Signer: CN=tsbefore2019 [2025-03-27T22:46:00.735Z] Issuer: CN=CA [2025-03-27T22:46:00.735Z] version: 1 [2025-03-27T22:46:00.735Z] policyId: 2.3.4 [2025-03-27T22:46:00.735Z] digestAlgo: SHA-256 [2025-03-27T22:46:00.735Z] serialNumber: 1 [2025-03-27T22:46:00.735Z] genTime: Sat Aug 18 19:04:58 UTC 2018 [2025-03-27T22:46:00.735Z] Signature algorithm: SHA256withRSA [2025-03-27T22:46:00.735Z] Generated signed data [2025-03-27T22:46:00.735Z] Generated response [2025-03-27T22:46:00.735Z] [2025-03-27T22:45:44.692266671Z] Waiting for completion for process 151241 [2025-03-27T22:46:00.735Z] [2025-03-27T22:45:44.693429365Z] Waiting for completion finished for process 151241 [2025-03-27T22:46:00.735Z] Output and diagnostic info for process 151241 was saved into 'pid-151241-output.log' [2025-03-27T22:46:00.735Z] Command line args: [-keystore, ks, -storepass, changeit, -strict, -verbose, -debug, -signedjar, tsbefore2019.jar, unsigned.jar, pre2019signer, -tsa, http://localhost:43937/tsbefore2019, -digestalg, SHA-1] [2025-03-27T22:46:00.735Z] requesting a signature timestamp [2025-03-27T22:46:00.735Z] TSA location: http://localhost:43937/tsbefore2019 [2025-03-27T22:46:00.735Z] updating: META-INF/MANIFEST.MF [2025-03-27T22:46:00.735Z] adding: META-INF/PRE2019S.SF [2025-03-27T22:46:00.735Z] adding: META-INF/PRE2019S.RSA [2025-03-27T22:46:00.735Z] signing: A [2025-03-27T22:46:00.735Z] [2025-03-27T22:46:00.735Z] >>> Signer [2025-03-27T22:46:00.735Z] X.509, CN=pre2019signer [2025-03-27T22:46:00.735Z] Signature algorithm: SHA256withRSA, 2048-bit key [2025-03-27T22:46:00.735Z] [certificate is valid from 6/1/18, 10:44 PM to 6/1/19, 10:44 PM] [2025-03-27T22:46:00.735Z] X.509, CN=CA [2025-03-27T22:46:00.735Z] Signature algorithm: SHA256withRSA, 2048-bit key [2025-03-27T22:46:00.735Z] [trusted certificate] [2025-03-27T22:46:00.735Z] >>> TSA [2025-03-27T22:46:00.735Z] X.509, CN=tsbefore2019 [2025-03-27T22:46:00.735Z] Signature algorithm: SHA256withRSA, 2048-bit key [2025-03-27T22:46:00.735Z] [certificate will expire on 3/20/26, 10:44 PM] [2025-03-27T22:46:00.735Z] [2025-03-27T22:46:00.735Z] jar signed, with signer errors. [2025-03-27T22:46:00.735Z] [2025-03-27T22:46:00.735Z] Error: [2025-03-27T22:46:00.735Z] The SHA-1 algorithm specified for the -digestalg option is considered a security risk and is disabled. [2025-03-27T22:46:00.735Z] [2025-03-27T22:46:00.735Z] Warning: [2025-03-27T22:46:00.735Z] The timestamp will expire within one year on 2026-03-20. [2025-03-27T22:46:00.735Z] [2025-03-27T22:46:00.735Z] Exit value: 4 [2025-03-27T22:46:00.735Z] Command line: [/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/jdkbinary/j2sdk-image/bin/jarsigner -J-Duser.language=en -J-Duser.country=US -keystore ks -storepass changeit -verify -strict tsbefore2019.jar -verbose] [2025-03-27T22:46:00.735Z] [2025-03-27T22:45:44.728548873Z] Gathering output for process 151350 [2025-03-27T22:46:00.735Z] [2025-03-27T22:45:51.357016937Z] Waiting for completion for process 151350 [2025-03-27T22:46:00.735Z] [2025-03-27T22:45:51.357990961Z] Waiting for completion finished for process 151350 [2025-03-27T22:46:00.735Z] Output and diagnostic info for process 151350 was saved into 'pid-151350-output.log' [2025-03-27T22:46:00.735Z] [2025-03-27T22:46:00.735Z] s k 57 Thu Mar 27 22:45:42 UTC 2025 META-INF/MANIFEST.MF [2025-03-27T22:46:00.735Z] 248 Thu Mar 27 22:45:42 UTC 2025 META-INF/PRE2019S.SF [2025-03-27T22:46:00.735Z] 3297 Thu Mar 27 22:45:42 UTC 2025 META-INF/PRE2019S.RSA [2025-03-27T22:46:00.735Z] smk 1 Thu Mar 27 22:41:58 UTC 2025 A [2025-03-27T22:46:00.735Z] [2025-03-27T22:46:00.735Z] s = signature was verified [2025-03-27T22:46:00.735Z] m = entry is listed in manifest [2025-03-27T22:46:00.735Z] k = at least one certificate was found in keystore [2025-03-27T22:46:00.735Z] [2025-03-27T22:46:00.735Z] - Signed by "CN=pre2019signer" [2025-03-27T22:46:00.735Z] Digest algorithm: SHA-1 (weak) [2025-03-27T22:46:00.735Z] Signature algorithm: SHA256withRSA, 2048-bit key [2025-03-27T22:46:00.735Z] Timestamped by "CN=tsbefore2019" on Sat Aug 18 19:04:58 UTC 2018 [2025-03-27T22:46:00.735Z] Timestamp digest algorithm: SHA-256 [2025-03-27T22:46:00.735Z] Timestamp signature algorithm: SHA256withRSA, 2048-bit key [2025-03-27T22:46:00.735Z] [2025-03-27T22:46:00.735Z] jar verified. [2025-03-27T22:46:00.735Z] [2025-03-27T22:46:00.735Z] Warning: [2025-03-27T22:46:00.735Z] The SHA-1 digest algorithm is considered a security risk. This algorithm will be disabled in a future update. [2025-03-27T22:46:00.735Z] The timestamp will expire within one year on 2026-03-20. [2025-03-27T22:46:00.735Z] [2025-03-27T22:46:00.735Z] Re-run with the -verbose and -certs options for more details. [2025-03-27T22:46:00.735Z] [2025-03-27T22:46:00.735Z] Exit value: 0 [2025-03-27T22:46:00.735Z] STDERR: [2025-03-27T22:46:00.735Z] Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 200 days [2025-03-27T22:46:00.735Z] for: CN=signer [2025-03-27T22:46:00.735Z] Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 200 days [2025-03-27T22:46:00.735Z] for: CN=oldsigner [2025-03-27T22:46:00.735Z] Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 200 days [2025-03-27T22:46:00.735Z] for: CN=pre2019signer [2025-03-27T22:46:00.735Z] Generating 2,048 bit DSA key pair and self-signed certificate (SHA256withDSA) with a validity of 200 days [2025-03-27T22:46:00.735Z] for: CN=dsakey [2025-03-27T22:46:00.735Z] [2025-03-27T22:46:00.735Z] Warning: [2025-03-27T22:46:00.735Z] The -keyalg option is specified multiple times. All except the last one will be ignored. [2025-03-27T22:46:00.735Z] Generating 256 bit EC (secp256r1) key pair and self-signed certificate (SHA256withECDSA) with a validity of 200 days [2025-03-27T22:46:00.735Z] for: CN=eckey [2025-03-27T22:46:00.735Z] [2025-03-27T22:46:00.735Z] Warning: [2025-03-27T22:46:00.735Z] The -keyalg option is specified multiple times. All except the last one will be ignored. [2025-03-27T22:46:00.735Z] Generating -1 bit RSASSA-PSS key pair and self-signed certificate (RSASSA-PSS) with a validity of 200 days [2025-03-27T22:46:00.735Z] for: CN=psskey [2025-03-27T22:46:00.735Z] [2025-03-27T22:46:00.735Z] Warning: [2025-03-27T22:46:00.735Z] The -keyalg option is specified multiple times. All except the last one will be ignored. [2025-03-27T22:46:00.735Z] Generating 255 bit Ed25519 key pair and self-signed certificate (Ed25519) with a validity of 200 days [2025-03-27T22:46:00.739Z] for: CN=edkey [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Warning: [2025-03-27T22:46:00.739Z] The -keyalg option is specified multiple times. All except the last one will be ignored. [2025-03-27T22:46:00.739Z] Generating 1,024 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 200 days [2025-03-27T22:46:00.739Z] for: CN=weakkeysize [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Warning: [2025-03-27T22:46:00.739Z] The generated certificate uses a 1024-bit RSA key which is considered a security risk. This key size will be disabled in a future update. [2025-03-27T22:46:00.739Z] Generating 512 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 200 days [2025-03-27T22:46:00.739Z] for: CN=disabledkeysize [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Warning: [2025-03-27T22:46:00.739Z] The generated certificate uses a 512-bit RSA key which is considered a security risk and is disabled. [2025-03-27T22:46:00.739Z] Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 200 days [2025-03-27T22:46:00.739Z] for: CN=badku [2025-03-27T22:46:00.739Z] Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 200 days [2025-03-27T22:46:00.739Z] for: CN=ts [2025-03-27T22:46:00.739Z] Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 200 days [2025-03-27T22:46:00.739Z] for: CN=tsold [2025-03-27T22:46:00.739Z] Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 200 days [2025-03-27T22:46:00.739Z] for: CN=tsbefore2019 [2025-03-27T22:46:00.739Z] Generating 1,024 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 200 days [2025-03-27T22:46:00.739Z] for: CN=tsweak [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Warning: [2025-03-27T22:46:00.739Z] The generated certificate uses a 1024-bit RSA key which is considered a security risk. This key size will be disabled in a future update. [2025-03-27T22:46:00.739Z] Generating 512 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 200 days [2025-03-27T22:46:00.739Z] for: CN=tsdisabled [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Warning: [2025-03-27T22:46:00.739Z] The generated certificate uses a 512-bit RSA key which is considered a security risk and is disabled. [2025-03-27T22:46:00.739Z] Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 200 days [2025-03-27T22:46:00.739Z] for: CN=tsbad1 [2025-03-27T22:46:00.739Z] Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 200 days [2025-03-27T22:46:00.739Z] for: CN=tsbad2 [2025-03-27T22:46:00.739Z] Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 200 days [2025-03-27T22:46:00.739Z] for: CN=tsbad3 [2025-03-27T22:46:00.739Z] Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 200 days [2025-03-27T22:46:00.739Z] for: CN=tsnoca [2025-03-27T22:46:00.739Z] Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 200 days [2025-03-27T22:46:00.739Z] for: CN=expired [2025-03-27T22:46:00.739Z] Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 200 days [2025-03-27T22:46:00.739Z] for: CN=expiring [2025-03-27T22:46:00.739Z] Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 200 days [2025-03-27T22:46:00.739Z] for: CN=long [2025-03-27T22:46:00.739Z] Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 200 days [2025-03-27T22:46:00.739Z] for: CN=tsexpired [2025-03-27T22:46:00.739Z] Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 200 days [2025-03-27T22:46:00.739Z] for: CN=tsexpiring [2025-03-27T22:46:00.739Z] Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 200 days [2025-03-27T22:46:00.739Z] for: CN=tsexpiringsoon [2025-03-27T22:46:00.739Z] Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 200 days [2025-03-27T22:46:00.739Z] for: CN=tslong [2025-03-27T22:46:00.739Z] Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 200 days [2025-03-27T22:46:00.739Z] for: CN=CA [2025-03-27T22:46:00.739Z] Certificate reply was installed in keystore [2025-03-27T22:46:00.739Z] Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 200 days [2025-03-27T22:46:00.739Z] for: CN=CA [2025-03-27T22:46:00.739Z] Certificate reply was installed in keystore [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Warning: [2025-03-27T22:46:00.739Z] The -validity option is specified multiple times. All except the last one will be ignored. [2025-03-27T22:46:00.739Z] Certificate reply was installed in keystore [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Warning: [2025-03-27T22:46:00.739Z] The -validity option is specified multiple times. All except the last one will be ignored. [2025-03-27T22:46:00.739Z] Certificate reply was installed in keystore [2025-03-27T22:46:00.739Z] Certificate reply was installed in keystore [2025-03-27T22:46:00.739Z] Certificate reply was installed in keystore [2025-03-27T22:46:00.739Z] Certificate reply was installed in keystore [2025-03-27T22:46:00.739Z] Certificate reply was installed in keystore [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Warning: [2025-03-27T22:46:00.739Z] The generated certificate request uses a 1024-bit RSA key which is considered a security risk. This key size will be disabled in a future update. [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Warning: [2025-03-27T22:46:00.739Z] The certificate request uses a 1024-bit RSA key which is considered a security risk. This key size will be disabled in a future update. [2025-03-27T22:46:00.739Z] The generated certificate uses a 1024-bit RSA key which is considered a security risk. This key size will be disabled in a future update. [2025-03-27T22:46:00.739Z] Certificate reply was installed in keystore [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Warning: [2025-03-27T22:46:00.739Z] The input uses a 1024-bit RSA key which is considered a security risk. This key size will be disabled in a future update. [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Warning: [2025-03-27T22:46:00.739Z] The generated certificate request uses a 512-bit RSA key which is considered a security risk and is disabled. [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Warning: [2025-03-27T22:46:00.739Z] The certificate request uses a 512-bit RSA key which is considered a security risk and is disabled. [2025-03-27T22:46:00.739Z] The generated certificate uses a 512-bit RSA key which is considered a security risk and is disabled. [2025-03-27T22:46:00.739Z] Certificate reply was installed in keystore [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Warning: [2025-03-27T22:46:00.739Z] The input uses a 512-bit RSA key which is considered a security risk and is disabled. [2025-03-27T22:46:00.739Z] Certificate reply was installed in keystore [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Warning: [2025-03-27T22:46:00.739Z] The -validity option is specified multiple times. All except the last one will be ignored. [2025-03-27T22:46:00.739Z] Certificate reply was installed in keystore [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Warning: [2025-03-27T22:46:00.739Z] The -validity option is specified multiple times. All except the last one will be ignored. [2025-03-27T22:46:00.739Z] Certificate reply was installed in keystore [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Warning: [2025-03-27T22:46:00.739Z] The -validity option is specified multiple times. All except the last one will be ignored. [2025-03-27T22:46:00.739Z] Certificate reply was installed in keystore [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Warning: [2025-03-27T22:46:00.739Z] The -validity option is specified multiple times. All except the last one will be ignored. [2025-03-27T22:46:00.739Z] Certificate reply was installed in keystore [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Warning: [2025-03-27T22:46:00.739Z] The -validity option is specified multiple times. All except the last one will be ignored. [2025-03-27T22:46:00.739Z] Certificate reply was installed in keystore [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Warning: [2025-03-27T22:46:00.739Z] The -validity option is specified multiple times. All except the last one will be ignored. [2025-03-27T22:46:00.739Z] Certificate reply was installed in keystore [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Warning: [2025-03-27T22:46:00.739Z] The -validity option is specified multiple times. All except the last one will be ignored. [2025-03-27T22:46:00.739Z] Certificate reply was installed in keystore [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Warning: [2025-03-27T22:46:00.739Z] The -validity option is specified multiple times. All except the last one will be ignored. [2025-03-27T22:46:00.739Z] Certificate reply was installed in keystore [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Warning: [2025-03-27T22:46:00.739Z] The -validity option is specified multiple times. All except the last one will be ignored. [2025-03-27T22:46:00.739Z] Certificate reply was installed in keystore [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Warning: [2025-03-27T22:46:00.739Z] The -validity option is specified multiple times. All except the last one will be ignored. [2025-03-27T22:46:00.739Z] Certificate reply was installed in keystore [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Warning: [2025-03-27T22:46:00.739Z] The generated certificate request uses a 1024-bit RSA key which is considered a security risk. This key size will be disabled in a future update. [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Warning: [2025-03-27T22:46:00.739Z] The certificate request uses a 1024-bit RSA key which is considered a security risk. This key size will be disabled in a future update. [2025-03-27T22:46:00.739Z] The generated certificate uses a 1024-bit RSA key which is considered a security risk. This key size will be disabled in a future update. [2025-03-27T22:46:00.739Z] Certificate reply was installed in keystore [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Warning: [2025-03-27T22:46:00.739Z] The input uses a 1024-bit RSA key which is considered a security risk. This key size will be disabled in a future update. [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Warning: [2025-03-27T22:46:00.739Z] The generated certificate request uses a 512-bit RSA key which is considered a security risk and is disabled. [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Warning: [2025-03-27T22:46:00.739Z] The certificate request uses a 512-bit RSA key which is considered a security risk and is disabled. [2025-03-27T22:46:00.739Z] The generated certificate uses a 512-bit RSA key which is considered a security risk and is disabled. [2025-03-27T22:46:00.739Z] Certificate reply was installed in keystore [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Warning: [2025-03-27T22:46:00.739Z] The input uses a 512-bit RSA key which is considered a security risk and is disabled. [2025-03-27T22:46:00.739Z] Certificate reply was installed in keystore [2025-03-27T22:46:00.739Z] Certificate reply was installed in keystore [2025-03-27T22:46:00.739Z] Certificate reply was installed in keystore [2025-03-27T22:46:00.739Z] stdout: [ [2025-03-27T22:46:00.739Z] s k 57 Thu Mar 27 22:45:42 UTC 2025 META-INF/MANIFEST.MF [2025-03-27T22:46:00.739Z] 248 Thu Mar 27 22:45:42 UTC 2025 META-INF/PRE2019S.SF [2025-03-27T22:46:00.739Z] 3297 Thu Mar 27 22:45:42 UTC 2025 META-INF/PRE2019S.RSA [2025-03-27T22:46:00.739Z] smk 1 Thu Mar 27 22:41:58 UTC 2025 A [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] s = signature was verified [2025-03-27T22:46:00.739Z] m = entry is listed in manifest [2025-03-27T22:46:00.739Z] k = at least one certificate was found in keystore [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] - Signed by "CN=pre2019signer" [2025-03-27T22:46:00.739Z] Digest algorithm: SHA-1 (weak) [2025-03-27T22:46:00.739Z] Signature algorithm: SHA256withRSA, 2048-bit key [2025-03-27T22:46:00.739Z] Timestamped by "CN=tsbefore2019" on Sat Aug 18 19:04:58 UTC 2018 [2025-03-27T22:46:00.739Z] Timestamp digest algorithm: SHA-256 [2025-03-27T22:46:00.739Z] Timestamp signature algorithm: SHA256withRSA, 2048-bit key [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] jar verified. [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Warning: [2025-03-27T22:46:00.739Z] The SHA-1 digest algorithm is considered a security risk. This algorithm will be disabled in a future update. [2025-03-27T22:46:00.739Z] The timestamp will expire within one year on 2026-03-20. [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] Re-run with the -verbose and -certs options for more details. [2025-03-27T22:46:00.739Z] ]; [2025-03-27T22:46:00.739Z] stderr: [] [2025-03-27T22:46:00.739Z] exitValue = 0 [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] java.lang.RuntimeException: 'signer certificate expired on .*. However, the JAR will be valid' missing from stdout/stderr [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:340) [2025-03-27T22:46:00.739Z] at TimestampCheck.main(TimestampCheck.java:228) [2025-03-27T22:46:00.739Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-03-27T22:46:00.739Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-03-27T22:46:00.739Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-03-27T22:46:00.739Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-03-27T22:46:00.739Z] at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333) [2025-03-27T22:46:00.739Z] at java.base/java.lang.Thread.run(Thread.java:840) [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] JavaTest Message: Test threw exception: java.lang.RuntimeException [2025-03-27T22:46:00.739Z] JavaTest Message: shutting down test [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] [2025-03-27T22:46:00.739Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'signer certificate expired on .*. However, the JAR will be valid' missing from stdout/stderr [2025-03-27T22:46:00.739Z] -------------------------------------------------- [2025-03-27T23:12:17.766Z] Test results: passed: 870; failed: 3 [2025-03-27T23:12:57.741Z] Report written to /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/report/html/report.html [2025-03-27T23:12:57.741Z] Results written to /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_riscv64_linux_rerun/aqa-tests/TKG/output_1743092503901/jdk_security3_1/work [2025-03-27T23:12:57.741Z] Error: Some tests failed or other problems occurred. [2025-03-27T23:12:58.067Z] ----------------------------------- [2025-03-27T23:12:58.067Z] jdk_security3_1_FAILED [2025-03-27T23:12:58.067Z] ----------------------------------- [2025-03-27T23:12:58.067Z] [2025-03-27T23:12:58.067Z] TEST TEARDOWN: [2025-03-27T23:12:58.067Z] Nothing to be done for teardown. [2025-03-27T23:12:58.067Z] jdk_security3_1 Finish Time: Thu Mar 27 23:12:57 2025 Epoch Time (ms): 1743117177774