jdk_security3_1

[2025-02-27T19:54:25.139Z] Running test jdk_security3_1 ... [2025-02-27T19:54:25.139Z] =============================================== [2025-02-27T19:54:25.139Z] jdk_security3_1 Start Time: Thu Feb 27 19:54:24 2025 Epoch Time (ms): 1740686064517 [2025-02-27T19:54:25.139Z] variation: Mode650 [2025-02-27T19:54:25.139Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-02-27T19:54:25.139Z] { \ [2025-02-27T19:54:25.139Z] echo ""; echo "TEST SETUP:"; \ [2025-02-27T19:54:25.139Z] echo "Nothing to be done for setup."; \ [2025-02-27T19:54:25.139Z] mkdir -p "/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17406853645300/jdk_security3_1"; \ [2025-02-27T19:54:25.139Z] cd "/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17406853645300/jdk_security3_1"; \ [2025-02-27T19:54:25.139Z] echo ""; echo "TESTING:"; \ [2025-02-27T19:54:25.139Z] "/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/java" -Xmx512m -jar "/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../../jvmtest/openjdk/jtreg/lib/jtreg.jar" \ [2025-02-27T19:54:25.139Z] -agentvm -a -ea -esa -v:fail,error,time,nopass -retain:fail,error,*.dmp,javacore.*,heapdump.*,*.trc -ignore:quiet -timeoutFactor:8 -xml:verify -k:'!headful' -concurrency:3 -nativepath:"/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/openjdk-test-image/jdk/jtreg/native" -vmoptions:"-Xmx512m -XX:-UseCompressedOops -Djava.awt.headless=true" \ [2025-02-27T19:54:25.139Z] \ [2025-02-27T19:54:25.139Z] -w ""/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17406853645300/jdk_security3_1"/work" \ [2025-02-27T19:54:25.139Z] -r ""/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17406853645300/jdk_security3_1"/report" \ [2025-02-27T19:54:25.139Z] -jdk:"/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image" \ [2025-02-27T19:54:25.139Z] -exclude:"/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../openjdk/openjdk-jdk/test/jdk/ProblemList.txt" \ [2025-02-27T19:54:25.139Z] -exclude:"/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../../jvmtest/openjdk/excludes/ProblemList_openjdk11.txt" \ [2025-02-27T19:54:25.139Z] \ [2025-02-27T19:54:25.139Z] -exclude:"/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../openjdk/excludes/vendors/eclipse/ProblemList_openjdk11.txt" \ [2025-02-27T19:54:25.139Z] "/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../openjdk/openjdk-jdk/test/jdk:jdk_security3"; \ [2025-02-27T19:54:25.139Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_security3_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/..; else echo "-----------------------------------"; echo "jdk_security3_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-27T19:54:25.139Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-27T19:54:25.139Z] echo "Nothing to be done for teardown."; \ [2025-02-27T19:54:25.139Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17406853645300/TestTargetResult"; [2025-02-27T19:54:25.139Z] [2025-02-27T19:54:25.139Z] TEST SETUP: [2025-02-27T19:54:25.139Z] Nothing to be done for setup. [2025-02-27T19:54:25.139Z] [2025-02-27T19:54:25.139Z] TESTING: [2025-02-27T19:54:25.139Z] Directory "/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17406853645300/jdk_security3_1/work" not found: creating [2025-02-27T19:54:25.139Z] Directory "/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17406853645300/jdk_security3_1/report" not found: creating [2025-02-27T19:54:28.084Z] XML output with verification to /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work [2025-02-27T20:05:54.740Z] -------------------------------------------------- [2025-02-27T20:05:54.740Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-02-27T20:05:54.740Z] TEST JDK: /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image [2025-02-27T20:05:54.740Z] [2025-02-27T20:05:54.740Z] ACTION: build -- Passed. Build successful [2025-02-27T20:05:54.740Z] REASON: Named class compiled on demand [2025-02-27T20:05:54.740Z] TIME: 0.118 seconds [2025-02-27T20:05:54.740Z] messages: [2025-02-27T20:05:54.740Z] command: build Camerfirma [2025-02-27T20:05:54.740Z] reason: Named class compiled on demand [2025-02-27T20:05:54.740Z] started: Thu Feb 27 20:05:48 GMT 2025 [2025-02-27T20:05:54.740Z] Test directory: [2025-02-27T20:05:54.740Z] compile: Camerfirma [2025-02-27T20:05:54.740Z] finished: Thu Feb 27 20:05:48 GMT 2025 [2025-02-27T20:05:54.740Z] elapsed time (seconds): 0.118 [2025-02-27T20:05:54.740Z] [2025-02-27T20:05:54.740Z] ACTION: compile -- Passed. Compilation successful [2025-02-27T20:05:54.740Z] REASON: .class file out of date or does not exist [2025-02-27T20:05:54.740Z] TIME: 0.117 seconds [2025-02-27T20:05:54.740Z] messages: [2025-02-27T20:05:54.740Z] command: compile /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-02-27T20:05:54.740Z] reason: .class file out of date or does not exist [2025-02-27T20:05:54.740Z] started: Thu Feb 27 20:05:48 GMT 2025 [2025-02-27T20:05:54.740Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-27T20:05:54.740Z] Mode: agentvm [2025-02-27T20:05:54.740Z] Agent id: 1 [2025-02-27T20:05:54.740Z] finished: Thu Feb 27 20:05:48 GMT 2025 [2025-02-27T20:05:54.740Z] elapsed time (seconds): 0.117 [2025-02-27T20:05:54.740Z] configuration: [2025-02-27T20:05:54.740Z] Boot Layer (javac runtime environment) [2025-02-27T20:05:54.740Z] class path: /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-02-27T20:05:54.740Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-02-27T20:05:54.740Z] patch: java.base /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/patches/java.base [2025-02-27T20:05:54.740Z] [2025-02-27T20:05:54.740Z] javac compilation environment [2025-02-27T20:05:54.740Z] add modules: java.base [2025-02-27T20:05:54.740Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-27T20:05:54.740Z] source path: /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-02-27T20:05:54.740Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib [2025-02-27T20:05:54.740Z] class path: /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-02-27T20:05:54.740Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d [2025-02-27T20:05:54.740Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/test/lib [2025-02-27T20:05:54.740Z] [2025-02-27T20:05:54.740Z] rerun: [2025-02-27T20:05:54.740Z] cd /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/scratch/0 && \ [2025-02-27T20:05:54.740Z] DISPLAY=:0 \ [2025-02-27T20:05:54.740Z] HOME=/home/jenkins \ [2025-02-27T20:05:54.740Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-27T20:05:54.740Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/javac \ [2025-02-27T20:05:54.740Z] -J-ea \ [2025-02-27T20:05:54.740Z] -J-esa \ [2025-02-27T20:05:54.740Z] -J-Xmx512m \ [2025-02-27T20:05:54.740Z] -J-XX:-UseCompressedOops \ [2025-02-27T20:05:54.740Z] -J-Djava.awt.headless=true \ [2025-02-27T20:05:54.740Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops -Djava.awt.headless=true' \ [2025-02-27T20:05:54.740Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops -J-Djava.awt.headless=true' \ [2025-02-27T20:05:54.740Z] -J-Dtest.compiler.opts= \ [2025-02-27T20:05:54.740Z] -J-Dtest.java.opts= \ [2025-02-27T20:05:54.740Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-27T20:05:54.740Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-27T20:05:54.740Z] -J-Dtest.timeout.factor=8.0 \ [2025-02-27T20:05:54.740Z] -J-Dtest.nativepath=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-27T20:05:54.740Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-27T20:05:54.740Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-27T20:05:54.740Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-27T20:05:54.740Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-02-27T20:05:54.740Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-27T20:05:54.740Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \ [2025-02-27T20:05:54.740Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/test/lib \ [2025-02-27T20:05:54.740Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/test/lib \ [2025-02-27T20:05:54.740Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-27T20:05:54.740Z] --add-modules java.base \ [2025-02-27T20:05:54.740Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-27T20:05:54.740Z] -d /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \ [2025-02-27T20:05:54.740Z] -sourcepath /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-27T20:05:54.740Z] -classpath /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/test/lib /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-02-27T20:05:54.740Z] direct: [2025-02-27T20:05:54.740Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/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-02-27T20:05:54.740Z] import sun.security.validator.Validator; [2025-02-27T20:05:54.740Z] ^ [2025-02-27T20:05:54.740Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/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-02-27T20:05:54.740Z] import sun.security.validator.ValidatorException; [2025-02-27T20:05:54.740Z] ^ [2025-02-27T20:05:54.740Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/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-02-27T20:05:54.740Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-27T20:05:54.740Z] ^ [2025-02-27T20:05:54.740Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/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-02-27T20:05:54.740Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-27T20:05:54.740Z] ^ [2025-02-27T20:05:54.740Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/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-02-27T20:05:54.740Z] Validator.VAR_CODE_SIGNING, [2025-02-27T20:05:54.740Z] ^ [2025-02-27T20:05:54.740Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/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-02-27T20:05:54.740Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-27T20:05:54.740Z] ^ [2025-02-27T20:05:54.740Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/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-02-27T20:05:54.740Z] if (ce instanceof ValidatorException) { [2025-02-27T20:05:54.740Z] ^ [2025-02-27T20:05:54.740Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/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-02-27T20:05:54.740Z] ValidatorException ve = (ValidatorException) ce; [2025-02-27T20:05:54.740Z] ^ [2025-02-27T20:05:54.740Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/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-02-27T20:05:54.740Z] ValidatorException ve = (ValidatorException) ce; [2025-02-27T20:05:54.740Z] ^ [2025-02-27T20:05:54.740Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/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-02-27T20:05:54.740Z] if (ve.getErrorType() != ValidatorException.T_UNTRUSTED_CERT) { [2025-02-27T20:05:54.740Z] ^ [2025-02-27T20:05:54.740Z] Note: /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses or overrides a deprecated API. [2025-02-27T20:05:54.740Z] Note: Recompile with -Xlint:deprecation for details. [2025-02-27T20:05:54.740Z] Note: /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses unchecked or unsafe operations. [2025-02-27T20:05:54.740Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-27T20:05:54.740Z] 10 warnings [2025-02-27T20:05:54.740Z] [2025-02-27T20:05:54.740Z] 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-02-27T20:05:54.740Z] REASON: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-02-27T20:05:54.740Z] TIME: 0.566 seconds [2025-02-27T20:05:54.740Z] messages: [2025-02-27T20:05:54.740Z] command: main Camerfirma after policyOn invalid [2025-02-27T20:05:54.740Z] reason: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-02-27T20:05:54.740Z] started: Thu Feb 27 20:05:48 GMT 2025 [2025-02-27T20:05:54.740Z] Mode: othervm [/othervm specified] [2025-02-27T20:05:54.740Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-27T20:05:54.740Z] finished: Thu Feb 27 20:05:49 GMT 2025 [2025-02-27T20:05:54.740Z] elapsed time (seconds): 0.566 [2025-02-27T20:05:54.740Z] configuration: [2025-02-27T20:05:54.740Z] Boot Layer [2025-02-27T20:05:54.740Z] add modules: java.base [2025-02-27T20:05:54.740Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-27T20:05:54.740Z] [2025-02-27T20:05:54.740Z] STDOUT: [2025-02-27T20:05:54.740Z] STDERR: [2025-02-27T20:05:54.740Z] Testing camerfirmachamberscommerceca [2025-02-27T20:05:54.740Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T20:05:54.740Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439) [2025-02-27T20:05:54.740Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306) [2025-02-27T20:05:54.740Z] at java.base/sun.security.validator.Validator.validate(Validator.java:264) [2025-02-27T20:05:54.740Z] at java.base/sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:313) [2025-02-27T20:05:54.740Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:233) [2025-02-27T20:05:54.740Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:110) [2025-02-27T20:05:54.740Z] at Distrust.testTM(Distrust.java:125) [2025-02-27T20:05:54.740Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-27T20:05:54.741Z] at Camerfirma.main(Camerfirma.java:73) [2025-02-27T20:05:54.741Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-02-27T20:05:54.741Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-02-27T20:05:54.741Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-02-27T20:05:54.741Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2025-02-27T20:05:54.741Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-27T20:05:54.741Z] at java.base/java.lang.Thread.run(Thread.java:829) [2025-02-27T20:05:54.741Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T20:05:54.741Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-02-27T20:05:54.741Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-02-27T20:05:54.741Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-02-27T20:05:54.741Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434) [2025-02-27T20:05:54.741Z] ... 14 more [2025-02-27T20:05:54.741Z] 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-02-27T20:05:54.741Z] at Distrust.testTM(Distrust.java:138) [2025-02-27T20:05:54.741Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-27T20:05:54.741Z] at Camerfirma.main(Camerfirma.java:73) [2025-02-27T20:05:54.741Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-02-27T20:05:54.741Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-02-27T20:05:54.741Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-02-27T20:05:54.741Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2025-02-27T20:05:54.741Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-27T20:05:54.741Z] at java.base/java.lang.Thread.run(Thread.java:829) [2025-02-27T20:05:54.741Z] [2025-02-27T20:05:54.741Z] 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-02-27T20:05:54.741Z] JavaTest Message: shutting down test [2025-02-27T20:05:54.741Z] [2025-02-27T20:05:54.741Z] 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-02-27T20:05:54.741Z] rerun: [2025-02-27T20:05:54.741Z] cd /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/scratch/0 && \ [2025-02-27T20:05:54.741Z] DISPLAY=:0 \ [2025-02-27T20:05:54.741Z] HOME=/home/jenkins \ [2025-02-27T20:05:54.741Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-27T20:05:54.741Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/test/lib:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-02-27T20:05:54.741Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/java \ [2025-02-27T20:05:54.741Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops -Djava.awt.headless=true' \ [2025-02-27T20:05:54.741Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops -J-Djava.awt.headless=true' \ [2025-02-27T20:05:54.741Z] -Dtest.compiler.opts= \ [2025-02-27T20:05:54.741Z] -Dtest.java.opts= \ [2025-02-27T20:05:54.741Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-27T20:05:54.741Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-27T20:05:54.741Z] -Dtest.timeout.factor=8.0 \ [2025-02-27T20:05:54.741Z] -Dtest.nativepath=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-27T20:05:54.741Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-27T20:05:54.741Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-27T20:05:54.741Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-27T20:05:54.741Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-02-27T20:05:54.741Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-27T20:05:54.741Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \ [2025-02-27T20:05:54.741Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/test/lib \ [2025-02-27T20:05:54.741Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/test/lib \ [2025-02-27T20:05:54.741Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-27T20:05:54.741Z] --add-modules java.base \ [2025-02-27T20:05:54.741Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-27T20:05:54.741Z] -ea \ [2025-02-27T20:05:54.741Z] -esa \ [2025-02-27T20:05:54.741Z] -Xmx512m \ [2025-02-27T20:05:54.741Z] -XX:-UseCompressedOops \ [2025-02-27T20:05:54.741Z] -Djava.awt.headless=true \ [2025-02-27T20:05:54.741Z] -Djava.library.path=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-27T20:05:54.741Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d/main.0.jta after policyOn invalid [2025-02-27T20:05:54.741Z] [2025-02-27T20:05:54.741Z] 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-02-27T20:05:54.741Z] -------------------------------------------------- [2025-02-27T20:05:54.741Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java [2025-02-27T20:05:54.741Z] TEST JDK: /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image [2025-02-27T20:05:54.741Z] [2025-02-27T20:05:54.741Z] ACTION: build -- Passed. Build successful [2025-02-27T20:05:54.741Z] REASON: Named class compiled on demand [2025-02-27T20:05:54.741Z] TIME: 0.08 seconds [2025-02-27T20:05:54.741Z] messages: [2025-02-27T20:05:54.741Z] command: build Entrust [2025-02-27T20:05:54.741Z] reason: Named class compiled on demand [2025-02-27T20:05:54.741Z] started: Thu Feb 27 20:05:48 GMT 2025 [2025-02-27T20:05:54.741Z] Test directory: [2025-02-27T20:05:54.741Z] compile: Entrust [2025-02-27T20:05:54.741Z] finished: Thu Feb 27 20:05:48 GMT 2025 [2025-02-27T20:05:54.741Z] elapsed time (seconds): 0.08 [2025-02-27T20:05:54.741Z] [2025-02-27T20:05:54.741Z] ACTION: compile -- Passed. Compilation successful [2025-02-27T20:05:54.741Z] REASON: .class file out of date or does not exist [2025-02-27T20:05:54.741Z] TIME: 0.079 seconds [2025-02-27T20:05:54.741Z] messages: [2025-02-27T20:05:54.741Z] command: compile /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java [2025-02-27T20:05:54.741Z] reason: .class file out of date or does not exist [2025-02-27T20:05:54.741Z] started: Thu Feb 27 20:05:48 GMT 2025 [2025-02-27T20:05:54.741Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-27T20:05:54.741Z] Mode: agentvm [2025-02-27T20:05:54.741Z] Agent id: 2 [2025-02-27T20:05:54.741Z] finished: Thu Feb 27 20:05:48 GMT 2025 [2025-02-27T20:05:54.741Z] elapsed time (seconds): 0.079 [2025-02-27T20:05:54.741Z] configuration: [2025-02-27T20:05:54.741Z] Boot Layer (javac runtime environment) [2025-02-27T20:05:54.741Z] class path: /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-02-27T20:05:54.741Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-02-27T20:05:54.741Z] patch: java.base /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/patches/java.base [2025-02-27T20:05:54.741Z] [2025-02-27T20:05:54.741Z] javac compilation environment [2025-02-27T20:05:54.741Z] add modules: java.base [2025-02-27T20:05:54.741Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-27T20:05:54.741Z] source path: /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-02-27T20:05:54.741Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib [2025-02-27T20:05:54.741Z] class path: /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-02-27T20:05:54.741Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d [2025-02-27T20:05:54.741Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/2/test/lib [2025-02-27T20:05:54.741Z] [2025-02-27T20:05:54.741Z] rerun: [2025-02-27T20:05:54.741Z] cd /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/scratch/1 && \ [2025-02-27T20:05:54.741Z] DISPLAY=:0 \ [2025-02-27T20:05:54.741Z] HOME=/home/jenkins \ [2025-02-27T20:05:54.741Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-27T20:05:54.741Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/javac \ [2025-02-27T20:05:54.741Z] -J-ea \ [2025-02-27T20:05:54.741Z] -J-esa \ [2025-02-27T20:05:54.741Z] -J-Xmx512m \ [2025-02-27T20:05:54.741Z] -J-XX:-UseCompressedOops \ [2025-02-27T20:05:54.741Z] -J-Djava.awt.headless=true \ [2025-02-27T20:05:54.741Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops -Djava.awt.headless=true' \ [2025-02-27T20:05:54.741Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops -J-Djava.awt.headless=true' \ [2025-02-27T20:05:54.741Z] -J-Dtest.compiler.opts= \ [2025-02-27T20:05:54.741Z] -J-Dtest.java.opts= \ [2025-02-27T20:05:54.741Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-27T20:05:54.741Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-27T20:05:54.741Z] -J-Dtest.timeout.factor=8.0 \ [2025-02-27T20:05:54.741Z] -J-Dtest.nativepath=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-27T20:05:54.741Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-27T20:05:54.741Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-27T20:05:54.741Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-27T20:05:54.741Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-02-27T20:05:54.741Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-27T20:05:54.741Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d \ [2025-02-27T20:05:54.741Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/2/test/lib \ [2025-02-27T20:05:54.741Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/2/test/lib \ [2025-02-27T20:05:54.741Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-27T20:05:54.741Z] --add-modules java.base \ [2025-02-27T20:05:54.741Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-27T20:05:54.741Z] -d /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d \ [2025-02-27T20:05:54.741Z] -sourcepath /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-27T20:05:54.741Z] -classpath /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/2/test/lib /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java [2025-02-27T20:05:54.741Z] direct: [2025-02-27T20:05:54.741Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/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-02-27T20:05:54.741Z] import sun.security.validator.Validator; [2025-02-27T20:05:54.741Z] ^ [2025-02-27T20:05:54.741Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/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-02-27T20:05:54.741Z] import sun.security.validator.ValidatorException; [2025-02-27T20:05:54.741Z] ^ [2025-02-27T20:05:54.741Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/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-02-27T20:05:54.741Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-27T20:05:54.741Z] ^ [2025-02-27T20:05:54.741Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/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-02-27T20:05:54.742Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-27T20:05:54.742Z] ^ [2025-02-27T20:05:54.742Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/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-02-27T20:05:54.742Z] Validator.VAR_CODE_SIGNING, [2025-02-27T20:05:54.742Z] ^ [2025-02-27T20:05:54.742Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/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-02-27T20:05:54.742Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-27T20:05:54.742Z] ^ [2025-02-27T20:05:54.742Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/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-02-27T20:05:54.742Z] if (ce instanceof ValidatorException) { [2025-02-27T20:05:54.742Z] ^ [2025-02-27T20:05:54.742Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/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-02-27T20:05:54.742Z] ValidatorException ve = (ValidatorException) ce; [2025-02-27T20:05:54.742Z] ^ [2025-02-27T20:05:54.742Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/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-02-27T20:05:54.742Z] ValidatorException ve = (ValidatorException) ce; [2025-02-27T20:05:54.742Z] ^ [2025-02-27T20:05:54.742Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/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-02-27T20:05:54.742Z] if (ve.getErrorType() != ValidatorException.T_UNTRUSTED_CERT) { [2025-02-27T20:05:54.742Z] ^ [2025-02-27T20:05:54.742Z] Note: /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses or overrides a deprecated API. [2025-02-27T20:05:54.742Z] Note: Recompile with -Xlint:deprecation for details. [2025-02-27T20:05:54.742Z] Note: /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses unchecked or unsafe operations. [2025-02-27T20:05:54.742Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-27T20:05:54.742Z] 10 warnings [2025-02-27T20:05:54.742Z] [2025-02-27T20:05:54.742Z] 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-02-27T20:05:54.742Z] REASON: User specified action: run main/othervm Entrust after policyOn invalid [2025-02-27T20:05:54.742Z] TIME: 0.664 seconds [2025-02-27T20:05:54.742Z] messages: [2025-02-27T20:05:54.742Z] command: main Entrust after policyOn invalid [2025-02-27T20:05:54.742Z] reason: User specified action: run main/othervm Entrust after policyOn invalid [2025-02-27T20:05:54.742Z] started: Thu Feb 27 20:05:48 GMT 2025 [2025-02-27T20:05:54.742Z] Mode: othervm [/othervm specified] [2025-02-27T20:05:54.742Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-27T20:05:54.742Z] finished: Thu Feb 27 20:05:49 GMT 2025 [2025-02-27T20:05:54.742Z] elapsed time (seconds): 0.664 [2025-02-27T20:05:54.742Z] configuration: [2025-02-27T20:05:54.742Z] Boot Layer [2025-02-27T20:05:54.742Z] add modules: java.base [2025-02-27T20:05:54.742Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-27T20:05:54.742Z] [2025-02-27T20:05:54.742Z] STDOUT: [2025-02-27T20:05:54.742Z] STDERR: [2025-02-27T20:05:54.742Z] Testing entrustevca [2025-02-27T20:05:54.742Z] Testing entrustrootcaec1 [2025-02-27T20:05:54.742Z] Testing entrustrootcag2 [2025-02-27T20:05:54.742Z] Testing entrustrootcag4 [2025-02-27T20:05:54.742Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T20:05:54.742Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439) [2025-02-27T20:05:54.742Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306) [2025-02-27T20:05:54.742Z] at java.base/sun.security.validator.Validator.validate(Validator.java:264) [2025-02-27T20:05:54.742Z] at java.base/sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:313) [2025-02-27T20:05:54.742Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:233) [2025-02-27T20:05:54.742Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:110) [2025-02-27T20:05:54.742Z] at Distrust.testTM(Distrust.java:125) [2025-02-27T20:05:54.742Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-27T20:05:54.742Z] at Entrust.main(Entrust.java:66) [2025-02-27T20:05:54.742Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-02-27T20:05:54.742Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-02-27T20:05:54.742Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-02-27T20:05:54.742Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2025-02-27T20:05:54.742Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-27T20:05:54.742Z] at java.base/java.lang.Thread.run(Thread.java:829) [2025-02-27T20:05:54.742Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T20:05:54.742Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-02-27T20:05:54.742Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-02-27T20:05:54.742Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-02-27T20:05:54.742Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434) [2025-02-27T20:05:54.742Z] ... 14 more [2025-02-27T20:05:54.742Z] 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-02-27T20:05:54.742Z] at Distrust.testTM(Distrust.java:138) [2025-02-27T20:05:54.742Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-27T20:05:54.742Z] at Entrust.main(Entrust.java:66) [2025-02-27T20:05:54.742Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-02-27T20:05:54.742Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-02-27T20:05:54.742Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-02-27T20:05:54.742Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2025-02-27T20:05:54.742Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-27T20:05:54.742Z] at java.base/java.lang.Thread.run(Thread.java:829) [2025-02-27T20:05:54.742Z] [2025-02-27T20:05:54.742Z] 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-02-27T20:05:54.742Z] JavaTest Message: shutting down test [2025-02-27T20:05:54.742Z] [2025-02-27T20:05:54.742Z] 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-02-27T20:05:54.742Z] rerun: [2025-02-27T20:05:54.742Z] cd /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/scratch/1 && \ [2025-02-27T20:05:54.742Z] DISPLAY=:0 \ [2025-02-27T20:05:54.742Z] HOME=/home/jenkins \ [2025-02-27T20:05:54.742Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-27T20:05:54.742Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/2/test/lib:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-02-27T20:05:54.742Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/java \ [2025-02-27T20:05:54.742Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops -Djava.awt.headless=true' \ [2025-02-27T20:05:54.742Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops -J-Djava.awt.headless=true' \ [2025-02-27T20:05:54.742Z] -Dtest.compiler.opts= \ [2025-02-27T20:05:54.742Z] -Dtest.java.opts= \ [2025-02-27T20:05:54.742Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-27T20:05:54.742Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-27T20:05:54.742Z] -Dtest.timeout.factor=8.0 \ [2025-02-27T20:05:54.742Z] -Dtest.nativepath=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-27T20:05:54.742Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-27T20:05:54.742Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-27T20:05:54.742Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-27T20:05:54.742Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-02-27T20:05:54.742Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-27T20:05:54.742Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d \ [2025-02-27T20:05:54.742Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/2/test/lib \ [2025-02-27T20:05:54.742Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/2/test/lib \ [2025-02-27T20:05:54.742Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-27T20:05:54.742Z] --add-modules java.base \ [2025-02-27T20:05:54.742Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-27T20:05:54.742Z] -ea \ [2025-02-27T20:05:54.742Z] -esa \ [2025-02-27T20:05:54.742Z] -Xmx512m \ [2025-02-27T20:05:54.742Z] -XX:-UseCompressedOops \ [2025-02-27T20:05:54.742Z] -Djava.awt.headless=true \ [2025-02-27T20:05:54.742Z] -Djava.library.path=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-27T20:05:54.742Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d/main.0.jta after policyOn invalid [2025-02-27T20:05:54.742Z] [2025-02-27T20:05:54.742Z] 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-02-27T20:05:54.742Z] -------------------------------------------------- [2025-02-27T20:05:54.742Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java [2025-02-27T20:05:54.742Z] TEST JDK: /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image [2025-02-27T20:05:54.742Z] [2025-02-27T20:05:54.742Z] ACTION: build -- Passed. Build successful [2025-02-27T20:05:54.742Z] REASON: Named class compiled on demand [2025-02-27T20:05:54.742Z] TIME: 0.055 seconds [2025-02-27T20:05:54.742Z] messages: [2025-02-27T20:05:54.742Z] command: build Symantec [2025-02-27T20:05:54.742Z] reason: Named class compiled on demand [2025-02-27T20:05:54.742Z] started: Thu Feb 27 20:05:49 GMT 2025 [2025-02-27T20:05:54.742Z] Test directory: [2025-02-27T20:05:54.742Z] compile: Symantec [2025-02-27T20:05:54.742Z] finished: Thu Feb 27 20:05:49 GMT 2025 [2025-02-27T20:05:54.742Z] elapsed time (seconds): 0.055 [2025-02-27T20:05:54.742Z] [2025-02-27T20:05:54.742Z] ACTION: compile -- Passed. Compilation successful [2025-02-27T20:05:54.742Z] REASON: .class file out of date or does not exist [2025-02-27T20:05:54.742Z] TIME: 0.055 seconds [2025-02-27T20:05:54.742Z] messages: [2025-02-27T20:05:54.742Z] command: compile /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java [2025-02-27T20:05:54.742Z] reason: .class file out of date or does not exist [2025-02-27T20:05:54.742Z] started: Thu Feb 27 20:05:49 GMT 2025 [2025-02-27T20:05:54.742Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-27T20:05:54.742Z] Mode: agentvm [2025-02-27T20:05:54.742Z] Agent id: 1 [2025-02-27T20:05:54.742Z] finished: Thu Feb 27 20:05:49 GMT 2025 [2025-02-27T20:05:54.742Z] elapsed time (seconds): 0.055 [2025-02-27T20:05:54.742Z] configuration: [2025-02-27T20:05:54.742Z] Boot Layer (javac runtime environment) [2025-02-27T20:05:54.742Z] class path: /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-02-27T20:05:54.742Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-02-27T20:05:54.742Z] patch: java.base /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/patches/java.base [2025-02-27T20:05:54.742Z] [2025-02-27T20:05:54.742Z] javac compilation environment [2025-02-27T20:05:54.742Z] add modules: java.base [2025-02-27T20:05:54.742Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-27T20:05:54.742Z] source path: /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-02-27T20:05:54.742Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib [2025-02-27T20:05:54.742Z] class path: /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-02-27T20:05:54.742Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.d [2025-02-27T20:05:54.743Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/test/lib [2025-02-27T20:05:54.743Z] [2025-02-27T20:05:54.743Z] rerun: [2025-02-27T20:05:54.743Z] cd /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/scratch/0 && \ [2025-02-27T20:05:54.743Z] DISPLAY=:0 \ [2025-02-27T20:05:54.743Z] HOME=/home/jenkins \ [2025-02-27T20:05:54.743Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-27T20:05:54.743Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/javac \ [2025-02-27T20:05:54.743Z] -J-ea \ [2025-02-27T20:05:54.743Z] -J-esa \ [2025-02-27T20:05:54.743Z] -J-Xmx512m \ [2025-02-27T20:05:54.743Z] -J-XX:-UseCompressedOops \ [2025-02-27T20:05:54.743Z] -J-Djava.awt.headless=true \ [2025-02-27T20:05:54.743Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops -Djava.awt.headless=true' \ [2025-02-27T20:05:54.743Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops -J-Djava.awt.headless=true' \ [2025-02-27T20:05:54.743Z] -J-Dtest.compiler.opts= \ [2025-02-27T20:05:54.743Z] -J-Dtest.java.opts= \ [2025-02-27T20:05:54.743Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-27T20:05:54.743Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-27T20:05:54.743Z] -J-Dtest.timeout.factor=8.0 \ [2025-02-27T20:05:54.743Z] -J-Dtest.nativepath=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-27T20:05:54.743Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-27T20:05:54.743Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java \ [2025-02-27T20:05:54.743Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java \ [2025-02-27T20:05:54.743Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-02-27T20:05:54.743Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-27T20:05:54.743Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.d \ [2025-02-27T20:05:54.743Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.d:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/test/lib \ [2025-02-27T20:05:54.743Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.d:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/test/lib \ [2025-02-27T20:05:54.743Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-27T20:05:54.743Z] --add-modules java.base \ [2025-02-27T20:05:54.743Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-27T20:05:54.743Z] -d /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.d \ [2025-02-27T20:05:54.743Z] -sourcepath /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-27T20:05:54.743Z] -classpath /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.d:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/test/lib /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java [2025-02-27T20:05:54.743Z] direct: [2025-02-27T20:05:54.743Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/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-02-27T20:05:54.743Z] import sun.security.validator.Validator; [2025-02-27T20:05:54.743Z] ^ [2025-02-27T20:05:54.743Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/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-02-27T20:05:54.743Z] import sun.security.validator.ValidatorException; [2025-02-27T20:05:54.743Z] ^ [2025-02-27T20:05:54.743Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/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-02-27T20:05:54.745Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-27T20:05:54.745Z] ^ [2025-02-27T20:05:54.745Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/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-02-27T20:05:54.745Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-27T20:05:54.745Z] ^ [2025-02-27T20:05:54.745Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/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-02-27T20:05:54.745Z] Validator.VAR_CODE_SIGNING, [2025-02-27T20:05:54.745Z] ^ [2025-02-27T20:05:54.745Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/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-02-27T20:05:54.745Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-27T20:05:54.745Z] ^ [2025-02-27T20:05:54.745Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/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-02-27T20:05:54.745Z] if (ce instanceof ValidatorException) { [2025-02-27T20:05:54.745Z] ^ [2025-02-27T20:05:54.745Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/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-02-27T20:05:54.745Z] ValidatorException ve = (ValidatorException) ce; [2025-02-27T20:05:54.745Z] ^ [2025-02-27T20:05:54.745Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/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-02-27T20:05:54.745Z] ValidatorException ve = (ValidatorException) ce; [2025-02-27T20:05:54.745Z] ^ [2025-02-27T20:05:54.745Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/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-02-27T20:05:54.745Z] if (ve.getErrorType() != ValidatorException.T_UNTRUSTED_CERT) { [2025-02-27T20:05:54.745Z] ^ [2025-02-27T20:05:54.745Z] Note: /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses or overrides a deprecated API. [2025-02-27T20:05:54.745Z] Note: Recompile with -Xlint:deprecation for details. [2025-02-27T20:05:54.745Z] Note: /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses unchecked or unsafe operations. [2025-02-27T20:05:54.745Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-27T20:05:54.745Z] 10 warnings [2025-02-27T20:05:54.745Z] [2025-02-27T20:05:54.745Z] 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-02-27T20:05:54.745Z] REASON: User specified action: run main/othervm Symantec after policyOn invalid [2025-02-27T20:05:54.745Z] TIME: 0.621 seconds [2025-02-27T20:05:54.745Z] messages: [2025-02-27T20:05:54.745Z] command: main Symantec after policyOn invalid [2025-02-27T20:05:54.745Z] reason: User specified action: run main/othervm Symantec after policyOn invalid [2025-02-27T20:05:54.745Z] started: Thu Feb 27 20:05:49 GMT 2025 [2025-02-27T20:05:54.745Z] Mode: othervm [/othervm specified] [2025-02-27T20:05:54.745Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-27T20:05:54.745Z] finished: Thu Feb 27 20:05:49 GMT 2025 [2025-02-27T20:05:54.745Z] elapsed time (seconds): 0.621 [2025-02-27T20:05:54.745Z] configuration: [2025-02-27T20:05:54.745Z] Boot Layer [2025-02-27T20:05:54.745Z] add modules: java.base [2025-02-27T20:05:54.745Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-27T20:05:54.745Z] [2025-02-27T20:05:54.745Z] STDOUT: [2025-02-27T20:05:54.745Z] STDERR: [2025-02-27T20:05:54.745Z] Testing geotrustprimarycag2 [2025-02-27T20:05:54.745Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T20:05:54.745Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439) [2025-02-27T20:05:54.745Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306) [2025-02-27T20:05:54.745Z] at java.base/sun.security.validator.Validator.validate(Validator.java:264) [2025-02-27T20:05:54.745Z] at java.base/sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:313) [2025-02-27T20:05:54.745Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:233) [2025-02-27T20:05:54.745Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:110) [2025-02-27T20:05:54.745Z] at Distrust.testTM(Distrust.java:125) [2025-02-27T20:05:54.745Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-27T20:05:54.745Z] at Symantec.main(Symantec.java:77) [2025-02-27T20:05:54.745Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-02-27T20:05:54.745Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-02-27T20:05:54.745Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-02-27T20:05:54.745Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2025-02-27T20:05:54.745Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-27T20:05:54.745Z] at java.base/java.lang.Thread.run(Thread.java:829) [2025-02-27T20:05:54.745Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T20:05:54.745Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-02-27T20:05:54.745Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-02-27T20:05:54.745Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-02-27T20:05:54.745Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434) [2025-02-27T20:05:54.745Z] ... 14 more [2025-02-27T20:05:54.745Z] 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-02-27T20:05:54.745Z] at Distrust.testTM(Distrust.java:138) [2025-02-27T20:05:54.745Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-27T20:05:54.745Z] at Symantec.main(Symantec.java:77) [2025-02-27T20:05:54.745Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-02-27T20:05:54.745Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-02-27T20:05:54.745Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-02-27T20:05:54.745Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2025-02-27T20:05:54.745Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-27T20:05:54.745Z] at java.base/java.lang.Thread.run(Thread.java:829) [2025-02-27T20:05:54.745Z] [2025-02-27T20:05:54.745Z] 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-02-27T20:05:54.745Z] JavaTest Message: shutting down test [2025-02-27T20:05:54.745Z] [2025-02-27T20:05:54.745Z] 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-02-27T20:05:54.745Z] rerun: [2025-02-27T20:05:54.745Z] cd /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/scratch/0 && \ [2025-02-27T20:05:54.745Z] DISPLAY=:0 \ [2025-02-27T20:05:54.745Z] HOME=/home/jenkins \ [2025-02-27T20:05:54.745Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-27T20:05:54.745Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.d:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/test/lib:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-02-27T20:05:54.745Z] /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/java \ [2025-02-27T20:05:54.745Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops -Djava.awt.headless=true' \ [2025-02-27T20:05:54.745Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops -J-Djava.awt.headless=true' \ [2025-02-27T20:05:54.745Z] -Dtest.compiler.opts= \ [2025-02-27T20:05:54.745Z] -Dtest.java.opts= \ [2025-02-27T20:05:54.745Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-27T20:05:54.745Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-27T20:05:54.745Z] -Dtest.timeout.factor=8.0 \ [2025-02-27T20:05:54.745Z] -Dtest.nativepath=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-27T20:05:54.745Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-27T20:05:54.745Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java \ [2025-02-27T20:05:54.745Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java \ [2025-02-27T20:05:54.745Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-02-27T20:05:54.745Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-27T20:05:54.745Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.d \ [2025-02-27T20:05:54.745Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.d:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/test/lib \ [2025-02-27T20:05:54.745Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.d:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/classes/1/test/lib \ [2025-02-27T20:05:54.745Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-27T20:05:54.745Z] --add-modules java.base \ [2025-02-27T20:05:54.745Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-27T20:05:54.745Z] -ea \ [2025-02-27T20:05:54.745Z] -esa \ [2025-02-27T20:05:54.746Z] -Xmx512m \ [2025-02-27T20:05:54.746Z] -XX:-UseCompressedOops \ [2025-02-27T20:05:54.746Z] -Djava.awt.headless=true \ [2025-02-27T20:05:54.746Z] -Djava.library.path=/home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-27T20:05:54.746Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.d/main.0.jta after policyOn invalid [2025-02-27T20:05:54.746Z] [2025-02-27T20:05:54.746Z] 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-02-27T20:05:54.746Z] -------------------------------------------------- [2025-02-27T20:17:06.234Z] Test results: passed: 776; failed: 3 [2025-02-27T20:17:06.234Z] Report written to /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/report/html/report.html [2025-02-27T20:17:06.234Z] Results written to /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17406853645300/jdk_security3_1/work [2025-02-27T20:17:06.234Z] Error: Some tests failed or other problems occurred. [2025-02-27T20:17:06.234Z] ----------------------------------- [2025-02-27T20:17:06.234Z] jdk_security3_1_FAILED [2025-02-27T20:17:06.234Z] ----------------------------------- [2025-02-27T20:17:06.234Z] [2025-02-27T20:17:06.234Z] TEST TEARDOWN: [2025-02-27T20:17:06.234Z] Nothing to be done for teardown. [2025-02-27T20:17:06.234Z] jdk_security3_1 Finish Time: Thu Feb 27 20:17:02 2025 Epoch Time (ms): 1740687422848