jdk_security3_1

[2025-02-20T09:22:03.611Z] Running test jdk_security3_1 ... [2025-02-20T09:22:03.611Z] =============================================== [2025-02-20T09:22:03.612Z] jdk_security3_1 Start Time: Thu Feb 20 09:22:02 2025 Epoch Time (ms): 1740043322875 [2025-02-20T09:22:03.612Z] variation: Mode650 [2025-02-20T09:22:03.612Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-02-20T09:22:03.612Z] { \ [2025-02-20T09:22:03.612Z] echo ""; echo "TEST SETUP:"; \ [2025-02-20T09:22:03.612Z] echo "Nothing to be done for setup."; \ [2025-02-20T09:22:03.612Z] mkdir -p "/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17400407898258/jdk_security3_1"; \ [2025-02-20T09:22:03.612Z] cd "/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17400407898258/jdk_security3_1"; \ [2025-02-20T09:22:03.612Z] echo ""; echo "TESTING:"; \ [2025-02-20T09:22:03.612Z] "/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/java" -Xmx512m -jar "/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/../../jvmtest/openjdk/jtreg/lib/jtreg.jar" \ [2025-02-20T09:22:03.612Z] -agentvm -a -ea -esa -v:fail,error,time,nopass -retain:fail,error,*.dmp,javacore.*,heapdump.*,*.trc -ignore:quiet -timeoutFactor:8 -xml:verify -concurrency:3 -nativepath:"/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/openjdk-test-image/jdk/jtreg/native" -vmoptions:"-Xmx512m -XX:-UseCompressedOops " \ [2025-02-20T09:22:03.612Z] \ [2025-02-20T09:22:03.612Z] -w ""/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17400407898258/jdk_security3_1"/work" \ [2025-02-20T09:22:03.612Z] -r ""/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17400407898258/jdk_security3_1"/report" \ [2025-02-20T09:22:03.612Z] -jdk:"/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image" \ [2025-02-20T09:22:03.612Z] -exclude:"/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/../openjdk/openjdk-jdk/test/jdk/ProblemList.txt" \ [2025-02-20T09:22:03.612Z] -exclude:"/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/../../jvmtest/openjdk/excludes/ProblemList_openjdk17.txt" \ [2025-02-20T09:22:03.612Z] \ [2025-02-20T09:22:03.612Z] -exclude:"/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/../openjdk/excludes/vendors/eclipse/ProblemList_openjdk17.txt" \ [2025-02-20T09:22:03.612Z] "/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/../openjdk/openjdk-jdk/test/jdk:jdk_security3"; \ [2025-02-20T09:22:03.612Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_security3_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/..; else echo "-----------------------------------"; echo "jdk_security3_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-20T09:22:03.612Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-20T09:22:03.612Z] echo "Nothing to be done for teardown."; \ [2025-02-20T09:22:03.612Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17400407898258/TestTargetResult"; [2025-02-20T09:22:03.612Z] [2025-02-20T09:22:03.612Z] TEST SETUP: [2025-02-20T09:22:03.612Z] Nothing to be done for setup. [2025-02-20T09:22:03.612Z] [2025-02-20T09:22:03.612Z] TESTING: [2025-02-20T09:22:05.931Z] Directory "/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17400407898258/jdk_security3_1/work" not found: creating [2025-02-20T09:22:05.931Z] Directory "/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/../TKG/output_17400407898258/jdk_security3_1/report" not found: creating [2025-02-20T09:22:34.991Z] XML output with verification to /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work [2025-02-20T10:36:01.623Z] -------------------------------------------------- [2025-02-20T10:36:01.623Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-02-20T10:36:01.623Z] TEST JDK: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image [2025-02-20T10:36:01.623Z] [2025-02-20T10:36:01.623Z] ACTION: build -- Passed. Build successful [2025-02-20T10:36:01.623Z] REASON: Named class compiled on demand [2025-02-20T10:36:01.623Z] TIME: 0.272 seconds [2025-02-20T10:36:01.623Z] messages: [2025-02-20T10:36:01.623Z] command: build Camerfirma [2025-02-20T10:36:01.623Z] reason: Named class compiled on demand [2025-02-20T10:36:01.623Z] started: Thu Feb 20 10:35:44 UTC 2025 [2025-02-20T10:36:01.623Z] Test directory: [2025-02-20T10:36:01.623Z] compile: Camerfirma [2025-02-20T10:36:01.623Z] finished: Thu Feb 20 10:35:45 UTC 2025 [2025-02-20T10:36:01.623Z] elapsed time (seconds): 0.272 [2025-02-20T10:36:01.623Z] [2025-02-20T10:36:01.623Z] ACTION: compile -- Passed. Compilation successful [2025-02-20T10:36:01.623Z] REASON: .class file out of date or does not exist [2025-02-20T10:36:01.623Z] TIME: 0.271 seconds [2025-02-20T10:36:01.623Z] messages: [2025-02-20T10:36:01.623Z] command: compile /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-02-20T10:36:01.623Z] reason: .class file out of date or does not exist [2025-02-20T10:36:01.623Z] started: Thu Feb 20 10:35:44 UTC 2025 [2025-02-20T10:36:01.623Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-20T10:36:01.623Z] Mode: agentvm [2025-02-20T10:36:01.623Z] Agent id: 2 [2025-02-20T10:36:01.623Z] finished: Thu Feb 20 10:35:45 UTC 2025 [2025-02-20T10:36:01.623Z] elapsed time (seconds): 0.271 [2025-02-20T10:36:01.623Z] configuration: [2025-02-20T10:36:01.623Z] Boot Layer (javac runtime environment) [2025-02-20T10:36:01.623Z] class path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-02-20T10:36:01.623Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-02-20T10:36:01.623Z] patch: java.base /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/patches/java.base [2025-02-20T10:36:01.623Z] [2025-02-20T10:36:01.623Z] javac compilation environment [2025-02-20T10:36:01.623Z] add modules: java.base [2025-02-20T10:36:01.623Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-20T10:36:01.623Z] source path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-02-20T10:36:01.623Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib [2025-02-20T10:36:01.623Z] class path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-02-20T10:36:01.623Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d [2025-02-20T10:36:01.623Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/test/lib [2025-02-20T10:36:01.623Z] [2025-02-20T10:36:01.623Z] rerun: [2025-02-20T10:36:01.623Z] cd /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/scratch/1 && \ [2025-02-20T10:36:01.623Z] DISPLAY=:0 \ [2025-02-20T10:36:01.623Z] HOME=/home/jenkins \ [2025-02-20T10:36:01.623Z] LANG=C.UTF-8 \ [2025-02-20T10:36:01.623Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-20T10:36:01.623Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/javac \ [2025-02-20T10:36:01.623Z] -J-ea \ [2025-02-20T10:36:01.623Z] -J-esa \ [2025-02-20T10:36:01.623Z] -J-Xmx512m \ [2025-02-20T10:36:01.623Z] -J-XX:-UseCompressedOops \ [2025-02-20T10:36:01.623Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-20T10:36:01.623Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-20T10:36:01.623Z] -J-Dtest.compiler.opts= \ [2025-02-20T10:36:01.623Z] -J-Dtest.java.opts= \ [2025-02-20T10:36:01.623Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-20T10:36:01.623Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-20T10:36:01.623Z] -J-Dtest.timeout.factor=8.0 \ [2025-02-20T10:36:01.623Z] -J-Dtest.nativepath=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-20T10:36:01.623Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-20T10:36:01.623Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-20T10:36:01.623Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-20T10:36:01.623Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-02-20T10:36:01.623Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-20T10:36:01.623Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \ [2025-02-20T10:36:01.623Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/test/lib \ [2025-02-20T10:36:01.623Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/test/lib \ [2025-02-20T10:36:01.623Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-20T10:36:01.623Z] --add-modules java.base \ [2025-02-20T10:36:01.623Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-20T10:36:01.623Z] -d /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \ [2025-02-20T10:36:01.623Z] -sourcepath /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-20T10:36:01.623Z] -classpath /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/test/lib /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-02-20T10:36:01.623Z] direct: [2025-02-20T10:36:01.623Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_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-20T10:36:01.623Z] import sun.security.validator.Validator; [2025-02-20T10:36:01.623Z] ^ [2025-02-20T10:36:01.623Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_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-20T10:36:01.623Z] import sun.security.validator.ValidatorException; [2025-02-20T10:36:01.623Z] ^ [2025-02-20T10:36:01.623Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_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-20T10:36:01.623Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-20T10:36:01.623Z] ^ [2025-02-20T10:36:01.623Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_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-20T10:36:01.623Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-20T10:36:01.623Z] ^ [2025-02-20T10:36:01.623Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_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-20T10:36:01.623Z] Validator.VAR_CODE_SIGNING, [2025-02-20T10:36:01.623Z] ^ [2025-02-20T10:36:01.623Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_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-20T10:36:01.623Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-20T10:36:01.623Z] ^ [2025-02-20T10:36:01.623Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_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-20T10:36:01.623Z] if (ce instanceof ValidatorException) { [2025-02-20T10:36:01.623Z] ^ [2025-02-20T10:36:01.623Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_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-20T10:36:01.623Z] ValidatorException ve = (ValidatorException) ce; [2025-02-20T10:36:01.623Z] ^ [2025-02-20T10:36:01.623Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_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-20T10:36:01.623Z] ValidatorException ve = (ValidatorException) ce; [2025-02-20T10:36:01.623Z] ^ [2025-02-20T10:36:01.624Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_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-20T10:36:01.624Z] if (ve.getErrorType() != ValidatorException.T_UNTRUSTED_CERT) { [2025-02-20T10:36:01.624Z] ^ [2025-02-20T10:36:01.624Z] Note: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_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-20T10:36:01.624Z] Note: Recompile with -Xlint:deprecation for details. [2025-02-20T10:36:01.624Z] Note: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses unchecked or unsafe operations. [2025-02-20T10:36:01.624Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-20T10:36:01.624Z] 10 warnings [2025-02-20T10:36:01.624Z] [2025-02-20T10:36:01.624Z] 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-20T10:36:01.624Z] REASON: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-02-20T10:36:01.624Z] TIME: 5.106 seconds [2025-02-20T10:36:01.624Z] messages: [2025-02-20T10:36:01.624Z] command: main Camerfirma after policyOn invalid [2025-02-20T10:36:01.624Z] reason: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-02-20T10:36:01.624Z] started: Thu Feb 20 10:35:45 UTC 2025 [2025-02-20T10:36:01.624Z] Mode: othervm [/othervm specified] [2025-02-20T10:36:01.624Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-20T10:36:01.624Z] finished: Thu Feb 20 10:35:50 UTC 2025 [2025-02-20T10:36:01.624Z] elapsed time (seconds): 5.106 [2025-02-20T10:36:01.624Z] configuration: [2025-02-20T10:36:01.624Z] Boot Layer [2025-02-20T10:36:01.624Z] add modules: java.base [2025-02-20T10:36:01.624Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-20T10:36:01.624Z] [2025-02-20T10:36:01.624Z] STDOUT: [2025-02-20T10:36:01.624Z] STDERR: [2025-02-20T10:36:01.624Z] Testing camerfirmachamberscommerceca [2025-02-20T10:36:01.624Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-20T10:36:01.624Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439) [2025-02-20T10:36:01.624Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306) [2025-02-20T10:36:01.624Z] at java.base/sun.security.validator.Validator.validate(Validator.java:264) [2025-02-20T10:36:01.624Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:242) [2025-02-20T10:36:01.624Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113) [2025-02-20T10:36:01.624Z] at Distrust.testTM(Distrust.java:125) [2025-02-20T10:36:01.624Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-20T10:36:01.624Z] at Camerfirma.main(Camerfirma.java:73) [2025-02-20T10:36:01.624Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-02-20T10:36:01.624Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-02-20T10:36:01.624Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-02-20T10:36:01.624Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-02-20T10:36:01.624Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-20T10:36:01.624Z] at java.base/java.lang.Thread.run(Thread.java:840) [2025-02-20T10:36:01.624Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-20T10:36:01.624Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-02-20T10:36:01.624Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-02-20T10:36:01.624Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-02-20T10:36:01.624Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434) [2025-02-20T10:36:01.624Z] ... 13 more [2025-02-20T10:36:01.624Z] 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-20T10:36:01.624Z] at Distrust.testTM(Distrust.java:138) [2025-02-20T10:36:01.624Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-20T10:36:01.624Z] at Camerfirma.main(Camerfirma.java:73) [2025-02-20T10:36:01.624Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-02-20T10:36:01.624Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-02-20T10:36:01.624Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-02-20T10:36:01.624Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-02-20T10:36:01.624Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-20T10:36:01.624Z] at java.base/java.lang.Thread.run(Thread.java:840) [2025-02-20T10:36:01.624Z] [2025-02-20T10:36:01.624Z] 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-20T10:36:01.624Z] JavaTest Message: shutting down test [2025-02-20T10:36:01.624Z] [2025-02-20T10:36:01.624Z] 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-20T10:36:01.624Z] rerun: [2025-02-20T10:36:01.624Z] cd /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/scratch/1 && \ [2025-02-20T10:36:01.624Z] DISPLAY=:0 \ [2025-02-20T10:36:01.624Z] HOME=/home/jenkins \ [2025-02-20T10:36:01.624Z] LANG=C.UTF-8 \ [2025-02-20T10:36:01.624Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-20T10:36:01.624Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-02-20T10:36:01.624Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/java \ [2025-02-20T10:36:01.624Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-20T10:36:01.624Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-20T10:36:01.624Z] -Dtest.compiler.opts= \ [2025-02-20T10:36:01.624Z] -Dtest.java.opts= \ [2025-02-20T10:36:01.624Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-20T10:36:01.624Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-20T10:36:01.624Z] -Dtest.timeout.factor=8.0 \ [2025-02-20T10:36:01.624Z] -Dtest.nativepath=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-20T10:36:01.624Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-20T10:36:01.624Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-20T10:36:01.624Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-20T10:36:01.624Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-02-20T10:36:01.624Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-20T10:36:01.624Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \ [2025-02-20T10:36:01.624Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/test/lib \ [2025-02-20T10:36:01.624Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/test/lib \ [2025-02-20T10:36:01.624Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-20T10:36:01.624Z] --add-modules java.base \ [2025-02-20T10:36:01.624Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-20T10:36:01.624Z] -ea \ [2025-02-20T10:36:01.624Z] -esa \ [2025-02-20T10:36:01.624Z] -Xmx512m \ [2025-02-20T10:36:01.624Z] -XX:-UseCompressedOops \ [2025-02-20T10:36:01.624Z] -Djava.library.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-20T10:36:01.624Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d/main.0.jta after policyOn invalid [2025-02-20T10:36:01.624Z] [2025-02-20T10:36:01.624Z] 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-20T10:36:01.624Z] -------------------------------------------------- [2025-02-20T10:36:01.624Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java [2025-02-20T10:36:01.624Z] TEST JDK: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image [2025-02-20T10:36:01.624Z] [2025-02-20T10:36:01.624Z] ACTION: build -- Passed. Build successful [2025-02-20T10:36:01.624Z] REASON: Named class compiled on demand [2025-02-20T10:36:01.624Z] TIME: 0.253 seconds [2025-02-20T10:36:01.624Z] messages: [2025-02-20T10:36:01.624Z] command: build Entrust [2025-02-20T10:36:01.624Z] reason: Named class compiled on demand [2025-02-20T10:36:01.624Z] started: Thu Feb 20 10:35:50 UTC 2025 [2025-02-20T10:36:01.624Z] Test directory: [2025-02-20T10:36:01.624Z] compile: Entrust [2025-02-20T10:36:01.624Z] finished: Thu Feb 20 10:35:50 UTC 2025 [2025-02-20T10:36:01.624Z] elapsed time (seconds): 0.253 [2025-02-20T10:36:01.624Z] [2025-02-20T10:36:01.624Z] ACTION: compile -- Passed. Compilation successful [2025-02-20T10:36:01.624Z] REASON: .class file out of date or does not exist [2025-02-20T10:36:01.624Z] TIME: 0.251 seconds [2025-02-20T10:36:01.624Z] messages: [2025-02-20T10:36:01.624Z] command: compile /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java [2025-02-20T10:36:01.624Z] reason: .class file out of date or does not exist [2025-02-20T10:36:01.624Z] started: Thu Feb 20 10:35:50 UTC 2025 [2025-02-20T10:36:01.624Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-20T10:36:01.624Z] Mode: agentvm [2025-02-20T10:36:01.624Z] Agent id: 2 [2025-02-20T10:36:01.624Z] finished: Thu Feb 20 10:35:50 UTC 2025 [2025-02-20T10:36:01.624Z] elapsed time (seconds): 0.251 [2025-02-20T10:36:01.624Z] configuration: [2025-02-20T10:36:01.624Z] Boot Layer (javac runtime environment) [2025-02-20T10:36:01.624Z] class path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-02-20T10:36:01.624Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-02-20T10:36:01.624Z] patch: java.base /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/patches/java.base [2025-02-20T10:36:01.624Z] [2025-02-20T10:36:01.624Z] javac compilation environment [2025-02-20T10:36:01.624Z] add modules: java.base [2025-02-20T10:36:01.624Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-20T10:36:01.624Z] source path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-02-20T10:36:01.624Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib [2025-02-20T10:36:01.624Z] class path: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-02-20T10:36:01.624Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d [2025-02-20T10:36:01.624Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/test/lib [2025-02-20T10:36:01.624Z] [2025-02-20T10:36:01.625Z] rerun: [2025-02-20T10:36:01.625Z] cd /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/scratch/1 && \ [2025-02-20T10:36:01.625Z] DISPLAY=:0 \ [2025-02-20T10:36:01.625Z] HOME=/home/jenkins \ [2025-02-20T10:36:01.625Z] LANG=C.UTF-8 \ [2025-02-20T10:36:01.625Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-20T10:36:01.625Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/javac \ [2025-02-20T10:36:01.625Z] -J-ea \ [2025-02-20T10:36:01.625Z] -J-esa \ [2025-02-20T10:36:01.625Z] -J-Xmx512m \ [2025-02-20T10:36:01.625Z] -J-XX:-UseCompressedOops \ [2025-02-20T10:36:01.625Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-20T10:36:01.625Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-20T10:36:01.625Z] -J-Dtest.compiler.opts= \ [2025-02-20T10:36:01.625Z] -J-Dtest.java.opts= \ [2025-02-20T10:36:01.625Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-20T10:36:01.625Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-20T10:36:01.625Z] -J-Dtest.timeout.factor=8.0 \ [2025-02-20T10:36:01.625Z] -J-Dtest.nativepath=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-20T10:36:01.625Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-20T10:36:01.625Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-20T10:36:01.625Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-20T10:36:01.625Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-02-20T10:36:01.625Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-20T10:36:01.625Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d \ [2025-02-20T10:36:01.625Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/test/lib \ [2025-02-20T10:36:01.625Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/test/lib \ [2025-02-20T10:36:01.625Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-20T10:36:01.625Z] --add-modules java.base \ [2025-02-20T10:36:01.625Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-20T10:36:01.625Z] -d /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d \ [2025-02-20T10:36:01.625Z] -sourcepath /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-20T10:36:01.625Z] -classpath /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/test/lib /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java [2025-02-20T10:36:01.625Z] direct: [2025-02-20T10:36:01.625Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_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-20T10:36:01.625Z] import sun.security.validator.Validator; [2025-02-20T10:36:01.625Z] ^ [2025-02-20T10:36:01.625Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_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-20T10:36:01.625Z] import sun.security.validator.ValidatorException; [2025-02-20T10:36:01.625Z] ^ [2025-02-20T10:36:01.625Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_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-20T10:36:01.625Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-20T10:36:01.625Z] ^ [2025-02-20T10:36:01.625Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_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-20T10:36:01.625Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-20T10:36:01.625Z] ^ [2025-02-20T10:36:01.625Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_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-20T10:36:01.625Z] Validator.VAR_CODE_SIGNING, [2025-02-20T10:36:01.625Z] ^ [2025-02-20T10:36:01.625Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_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-20T10:36:01.625Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-20T10:36:01.625Z] ^ [2025-02-20T10:36:01.625Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_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-20T10:36:01.625Z] if (ce instanceof ValidatorException) { [2025-02-20T10:36:01.625Z] ^ [2025-02-20T10:36:01.625Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_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-20T10:36:01.625Z] ValidatorException ve = (ValidatorException) ce; [2025-02-20T10:36:01.625Z] ^ [2025-02-20T10:36:01.625Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_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-20T10:36:01.625Z] ValidatorException ve = (ValidatorException) ce; [2025-02-20T10:36:01.625Z] ^ [2025-02-20T10:36:01.625Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_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-20T10:36:01.625Z] if (ve.getErrorType() != ValidatorException.T_UNTRUSTED_CERT) { [2025-02-20T10:36:01.625Z] ^ [2025-02-20T10:36:01.625Z] Note: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_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-20T10:36:01.625Z] Note: Recompile with -Xlint:deprecation for details. [2025-02-20T10:36:01.625Z] Note: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses unchecked or unsafe operations. [2025-02-20T10:36:01.625Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-20T10:36:01.625Z] 10 warnings [2025-02-20T10:36:01.625Z] [2025-02-20T10:36:01.625Z] 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-20T10:36:01.625Z] REASON: User specified action: run main/othervm Entrust after policyOn invalid [2025-02-20T10:36:01.625Z] TIME: 3.741 seconds [2025-02-20T10:36:01.625Z] messages: [2025-02-20T10:36:01.625Z] command: main Entrust after policyOn invalid [2025-02-20T10:36:01.625Z] reason: User specified action: run main/othervm Entrust after policyOn invalid [2025-02-20T10:36:01.625Z] started: Thu Feb 20 10:35:50 UTC 2025 [2025-02-20T10:36:01.625Z] Mode: othervm [/othervm specified] [2025-02-20T10:36:01.625Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-20T10:36:01.625Z] finished: Thu Feb 20 10:35:54 UTC 2025 [2025-02-20T10:36:01.625Z] elapsed time (seconds): 3.741 [2025-02-20T10:36:01.625Z] configuration: [2025-02-20T10:36:01.625Z] Boot Layer [2025-02-20T10:36:01.625Z] add modules: java.base [2025-02-20T10:36:01.625Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-20T10:36:01.625Z] [2025-02-20T10:36:01.625Z] STDOUT: [2025-02-20T10:36:01.625Z] STDERR: [2025-02-20T10:36:01.625Z] Testing entrustevca [2025-02-20T10:36:01.625Z] Testing entrustrootcaec1 [2025-02-20T10:36:01.625Z] Testing entrustrootcag2 [2025-02-20T10:36:01.625Z] Testing entrustrootcag4 [2025-02-20T10:36:01.625Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-20T10:36:01.625Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439) [2025-02-20T10:36:01.625Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306) [2025-02-20T10:36:01.625Z] at java.base/sun.security.validator.Validator.validate(Validator.java:264) [2025-02-20T10:36:01.625Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:242) [2025-02-20T10:36:01.625Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113) [2025-02-20T10:36:01.625Z] at Distrust.testTM(Distrust.java:125) [2025-02-20T10:36:01.625Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-20T10:36:01.625Z] at Entrust.main(Entrust.java:66) [2025-02-20T10:36:01.625Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-02-20T10:36:01.625Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-02-20T10:36:01.625Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-02-20T10:36:01.625Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-02-20T10:36:01.625Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-20T10:36:01.625Z] at java.base/java.lang.Thread.run(Thread.java:840) [2025-02-20T10:36:01.625Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-20T10:36:01.625Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-02-20T10:36:01.625Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-02-20T10:36:01.625Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-02-20T10:36:01.625Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434) [2025-02-20T10:36:01.625Z] ... 13 more [2025-02-20T10:36:01.625Z] 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-20T10:36:01.625Z] at Distrust.testTM(Distrust.java:138) [2025-02-20T10:36:01.625Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-20T10:36:01.625Z] at Entrust.main(Entrust.java:66) [2025-02-20T10:36:01.625Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-02-20T10:36:01.625Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-02-20T10:36:01.625Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-02-20T10:36:01.625Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-02-20T10:36:01.625Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-20T10:36:01.625Z] at java.base/java.lang.Thread.run(Thread.java:840) [2025-02-20T10:36:01.625Z] [2025-02-20T10:36:01.625Z] 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-20T10:36:01.625Z] JavaTest Message: shutting down test [2025-02-20T10:36:01.625Z] [2025-02-20T10:36:01.626Z] 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-20T10:36:01.626Z] rerun: [2025-02-20T10:36:01.626Z] cd /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/scratch/1 && \ [2025-02-20T10:36:01.626Z] DISPLAY=:0 \ [2025-02-20T10:36:01.626Z] HOME=/home/jenkins \ [2025-02-20T10:36:01.626Z] LANG=C.UTF-8 \ [2025-02-20T10:36:01.626Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-20T10:36:01.626Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-02-20T10:36:01.626Z] /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image/bin/java \ [2025-02-20T10:36:01.626Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-20T10:36:01.626Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-20T10:36:01.626Z] -Dtest.compiler.opts= \ [2025-02-20T10:36:01.626Z] -Dtest.java.opts= \ [2025-02-20T10:36:01.626Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-20T10:36:01.626Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/j2sdk-image \ [2025-02-20T10:36:01.626Z] -Dtest.timeout.factor=8.0 \ [2025-02-20T10:36:01.626Z] -Dtest.nativepath=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-20T10:36:01.626Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-20T10:36:01.626Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-20T10:36:01.626Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-20T10:36:01.626Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-02-20T10:36:01.626Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-20T10:36:01.626Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d \ [2025-02-20T10:36:01.626Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/test/lib \ [2025-02-20T10:36:01.626Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/classes/0/test/lib \ [2025-02-20T10:36:01.626Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-20T10:36:01.626Z] --add-modules java.base \ [2025-02-20T10:36:01.626Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-20T10:36:01.626Z] -ea \ [2025-02-20T10:36:01.626Z] -esa \ [2025-02-20T10:36:01.626Z] -Xmx512m \ [2025-02-20T10:36:01.626Z] -XX:-UseCompressedOops \ [2025-02-20T10:36:01.626Z] -Djava.library.path=/home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-20T10:36:01.626Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d/main.0.jta after policyOn invalid [2025-02-20T10:36:01.626Z] [2025-02-20T10:36:01.626Z] 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-20T10:36:01.626Z] -------------------------------------------------- [2025-02-20T11:36:46.726Z] Test results: passed: 871; failed: 2 [2025-02-20T11:36:50.742Z] Report written to /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/report/html/report.html [2025-02-20T11:36:50.742Z] Results written to /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_s390x_linux_testList_2/aqa-tests/TKG/output_17400407898258/jdk_security3_1/work [2025-02-20T11:36:50.742Z] Error: Some tests failed or other problems occurred. [2025-02-20T11:36:50.742Z] ----------------------------------- [2025-02-20T11:36:50.742Z] jdk_security3_1_FAILED [2025-02-20T11:36:50.742Z] ----------------------------------- [2025-02-20T11:36:50.742Z] [2025-02-20T11:36:50.742Z] TEST TEARDOWN: [2025-02-20T11:36:50.742Z] Nothing to be done for teardown. [2025-02-20T11:36:51.540Z] jdk_security3_1 Finish Time: Thu Feb 20 11:36:50 2025 Epoch Time (ms): 1740051410695