jdk_security3_1

[2025-04-04T05:55:25.303Z] Running test jdk_security3_1 ... [2025-04-04T05:55:25.303Z] =============================================== [2025-04-04T05:55:25.303Z] jdk_security3_1 Start Time: Fri Apr 4 05:55:24 2025 Epoch Time (ms): 1743746124967 [2025-04-04T05:55:25.303Z] variation: Mode650 [2025-04-04T05:55:25.303Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-04-04T05:55:25.303Z] { \ [2025-04-04T05:55:25.303Z] echo ""; echo "TEST SETUP:"; \ [2025-04-04T05:55:25.303Z] echo "Nothing to be done for setup."; \ [2025-04-04T05:55:25.303Z] mkdir -p "/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_174371700927/jdk_security3_1"; \ [2025-04-04T05:55:25.304Z] cd "/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_174371700927/jdk_security3_1"; \ [2025-04-04T05:55:25.304Z] echo ""; echo "TESTING:"; \ [2025-04-04T05:55:25.304Z] "/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/java" -Xmx512m -jar "/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/../../jvmtest/openjdk/jtreg/lib/jtreg.jar" \ [2025-04-04T05:55:25.304Z] -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_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/openjdk-test-image/jdk/jtreg/native" -vmoptions:"-Xmx512m -XX:-UseCompressedOops " \ [2025-04-04T05:55:25.304Z] \ [2025-04-04T05:55:25.304Z] -w ""/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_174371700927/jdk_security3_1"/work" \ [2025-04-04T05:55:25.304Z] -r ""/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_174371700927/jdk_security3_1"/report" \ [2025-04-04T05:55:25.304Z] -jdk:"/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image" \ [2025-04-04T05:55:25.304Z] -exclude:"/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/../openjdk/openjdk-jdk/test/jdk/ProblemList.txt" \ [2025-04-04T05:55:25.304Z] -exclude:"/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/../../jvmtest/openjdk/excludes/ProblemList_openjdk25.txt" \ [2025-04-04T05:55:25.304Z] \ [2025-04-04T05:55:25.304Z] \ [2025-04-04T05:55:25.304Z] "/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/../openjdk/openjdk-jdk/test/jdk:jdk_security3"; \ [2025-04-04T05:55:25.304Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_security3_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/..; else echo "-----------------------------------"; echo "jdk_security3_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-04-04T05:55:25.304Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-04-04T05:55:25.304Z] echo "Nothing to be done for teardown."; \ [2025-04-04T05:55:25.304Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_174371700927/TestTargetResult"; [2025-04-04T05:55:25.304Z] [2025-04-04T05:55:25.304Z] TEST SETUP: [2025-04-04T05:55:25.304Z] Nothing to be done for setup. [2025-04-04T05:55:25.304Z] [2025-04-04T05:55:25.304Z] TESTING: [2025-04-04T05:55:26.942Z] Directory "/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_174371700927/jdk_security3_1/work" not found: creating [2025-04-04T05:55:26.942Z] Directory "/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_174371700927/jdk_security3_1/report" not found: creating [2025-04-04T05:55:43.351Z] XML output with verification to /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_174371700927/jdk_security3_1/work [2025-04-04T07:58:12.560Z] -------------------------------------------------- [2025-04-04T07:58:12.560Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-04-04T07:58:12.560Z] TEST JDK: /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image [2025-04-04T07:58:12.560Z] [2025-04-04T07:58:12.560Z] ACTION: build -- Passed. Build successful [2025-04-04T07:58:12.560Z] REASON: Named class compiled on demand [2025-04-04T07:58:12.560Z] TIME: 1.059 seconds [2025-04-04T07:58:12.560Z] messages: [2025-04-04T07:58:12.560Z] command: build Camerfirma [2025-04-04T07:58:12.560Z] reason: Named class compiled on demand [2025-04-04T07:58:12.560Z] started: Fri Apr 04 07:58:05 UTC 2025 [2025-04-04T07:58:12.560Z] Test directory: [2025-04-04T07:58:12.560Z] compile: Camerfirma [2025-04-04T07:58:12.560Z] finished: Fri Apr 04 07:58:06 UTC 2025 [2025-04-04T07:58:12.560Z] elapsed time (seconds): 1.059 [2025-04-04T07:58:12.560Z] [2025-04-04T07:58:12.560Z] ACTION: compile -- Passed. Compilation successful [2025-04-04T07:58:12.560Z] REASON: .class file out of date or does not exist [2025-04-04T07:58:12.560Z] TIME: 1.059 seconds [2025-04-04T07:58:12.560Z] messages: [2025-04-04T07:58:12.560Z] command: compile /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-04-04T07:58:12.560Z] reason: .class file out of date or does not exist [2025-04-04T07:58:12.560Z] started: Fri Apr 04 07:58:05 UTC 2025 [2025-04-04T07:58:12.560Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-04-04T07:58:12.560Z] Mode: agentvm [2025-04-04T07:58:12.560Z] Agent id: 2 [2025-04-04T07:58:12.560Z] Process id: 3794922 [2025-04-04T07:58:12.560Z] finished: Fri Apr 04 07:58:06 UTC 2025 [2025-04-04T07:58:12.560Z] elapsed time (seconds): 1.059 [2025-04-04T07:58:12.560Z] configuration: [2025-04-04T07:58:12.560Z] Boot Layer (javac runtime environment) [2025-04-04T07:58:12.560Z] class path: /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-04-04T07:58:12.560Z] /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-04-04T07:58:12.560Z] patch: java.base /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_174371700927/jdk_security3_1/work/patches/java.base [2025-04-04T07:58:12.560Z] [2025-04-04T07:58:12.560Z] javac compilation environment [2025-04-04T07:58:12.560Z] add modules: java.base [2025-04-04T07:58:12.560Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-04-04T07:58:12.560Z] source path: /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-04-04T07:58:12.560Z] /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/test/lib [2025-04-04T07:58:12.560Z] class path: /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-04-04T07:58:12.560Z] /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_174371700927/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d [2025-04-04T07:58:12.560Z] /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_174371700927/jdk_security3_1/work/classes/2/test/lib [2025-04-04T07:58:12.560Z] [2025-04-04T07:58:12.560Z] rerun: [2025-04-04T07:58:12.560Z] cd /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_174371700927/jdk_security3_1/work/scratch/2 && \ [2025-04-04T07:58:12.560Z] DISPLAY=:0 \ [2025-04-04T07:58:12.560Z] HOME=/home/jenkins \ [2025-04-04T07:58:12.560Z] LANG=C.UTF-8 \ [2025-04-04T07:58:12.560Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-04-04T07:58:12.560Z] /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/javac \ [2025-04-04T07:58:12.560Z] -J-ea \ [2025-04-04T07:58:12.560Z] -J-esa \ [2025-04-04T07:58:12.560Z] -J-Xmx512m \ [2025-04-04T07:58:12.560Z] -J-XX:-UseCompressedOops \ [2025-04-04T07:58:12.560Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-04-04T07:58:12.560Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-04-04T07:58:12.560Z] -J-Dtest.compiler.opts= \ [2025-04-04T07:58:12.560Z] -J-Dtest.java.opts= \ [2025-04-04T07:58:12.560Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-04-04T07:58:12.560Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-04-04T07:58:12.560Z] -J-Dtest.timeout.factor=8.0 \ [2025-04-04T07:58:12.560Z] -J-Dtest.nativepath=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-04-04T07:58:12.560Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-04-04T07:58:12.560Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-04-04T07:58:12.560Z] -J-Dtest.verbose=Verbose[p=NONE,f=FULL,e=FULL,t=true,m=false] \ [2025-04-04T07:58:12.560Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-04-04T07:58:12.560Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-04-04T07:58:12.560Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-04-04T07:58:12.560Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_174371700927/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \ [2025-04-04T07:58:12.560Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_174371700927/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_174371700927/jdk_security3_1/work/classes/2/test/lib \ [2025-04-04T07:58:12.560Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_174371700927/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_174371700927/jdk_security3_1/work/classes/2/test/lib \ [2025-04-04T07:58:12.560Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-04-04T07:58:12.560Z] --add-modules java.base \ [2025-04-04T07:58:12.560Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-04-04T07:58:12.560Z] -d /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_174371700927/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \ [2025-04-04T07:58:12.560Z] -sourcepath /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-04-04T07:58:12.560Z] -classpath /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_174371700927/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_174371700927/jdk_security3_1/work/classes/2/test/lib /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-04-04T07:58:12.560Z] direct: [2025-04-04T07:58:12.560Z] Note: /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses or overrides a deprecated API. [2025-04-04T07:58:12.560Z] Note: Recompile with -Xlint:deprecation for details. [2025-04-04T07:58:12.560Z] Note: /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses unchecked or unsafe operations. [2025-04-04T07:58:12.560Z] Note: Recompile with -Xlint:unchecked for details. [2025-04-04T07:58:12.560Z] [2025-04-04T07:58:12.560Z] 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-04-04T07:58:12.561Z] REASON: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-04-04T07:58:12.561Z] TIME: 5.207 seconds [2025-04-04T07:58:12.561Z] messages: [2025-04-04T07:58:12.561Z] command: main Camerfirma after policyOn invalid [2025-04-04T07:58:12.561Z] reason: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-04-04T07:58:12.561Z] started: Fri Apr 04 07:58:06 UTC 2025 [2025-04-04T07:58:12.561Z] Mode: othervm [/othervm specified] [2025-04-04T07:58:12.561Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-04-04T07:58:12.561Z] Process id: 3837106 [2025-04-04T07:58:12.561Z] finished: Fri Apr 04 07:58:11 UTC 2025 [2025-04-04T07:58:12.561Z] elapsed time (seconds): 5.207 [2025-04-04T07:58:12.561Z] configuration: [2025-04-04T07:58:12.561Z] Boot Layer [2025-04-04T07:58:12.561Z] add modules: java.base [2025-04-04T07:58:12.561Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-04-04T07:58:12.561Z] [2025-04-04T07:58:12.561Z] STDOUT: [2025-04-04T07:58:12.561Z] STDERR: [2025-04-04T07:58:12.561Z] Testing camerfirmachamberscommerceca [2025-04-04T07:58:12.561Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-04-04T07:58:12.561Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387) [2025-04-04T07:58:12.561Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:270) [2025-04-04T07:58:12.561Z] at java.base/sun.security.validator.Validator.validate(Validator.java:256) [2025-04-04T07:58:12.561Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:241) [2025-04-04T07:58:12.561Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113) [2025-04-04T07:58:12.561Z] at Distrust.testTM(Distrust.java:125) [2025-04-04T07:58:12.561Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-04-04T07:58:12.561Z] at Camerfirma.main(Camerfirma.java:73) [2025-04-04T07:58:12.561Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) [2025-04-04T07:58:12.561Z] at java.base/java.lang.reflect.Method.invoke(Method.java:565) [2025-04-04T07:58:12.561Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-04-04T07:58:12.561Z] at java.base/java.lang.Thread.run(Thread.java:1447) [2025-04-04T07:58:12.561Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-04-04T07:58:12.561Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-04-04T07:58:12.561Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-04-04T07:58:12.561Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:299) [2025-04-04T07:58:12.561Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382) [2025-04-04T07:58:12.561Z] ... 11 more [2025-04-04T07:58:12.561Z] 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-04-04T07:58:12.561Z] at Distrust.testTM(Distrust.java:138) [2025-04-04T07:58:12.561Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-04-04T07:58:12.561Z] at Camerfirma.main(Camerfirma.java:73) [2025-04-04T07:58:12.561Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) [2025-04-04T07:58:12.561Z] at java.base/java.lang.reflect.Method.invoke(Method.java:565) [2025-04-04T07:58:12.561Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-04-04T07:58:12.561Z] at java.base/java.lang.Thread.run(Thread.java:1447) [2025-04-04T07:58:12.561Z] [2025-04-04T07:58:12.561Z] 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-04-04T07:58:12.561Z] JavaTest Message: shutting down test [2025-04-04T07:58:12.561Z] [2025-04-04T07:58:12.561Z] 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-04-04T07:58:12.561Z] rerun: [2025-04-04T07:58:12.561Z] cd /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_174371700927/jdk_security3_1/work/scratch/2 && \ [2025-04-04T07:58:12.561Z] DISPLAY=:0 \ [2025-04-04T07:58:12.561Z] HOME=/home/jenkins \ [2025-04-04T07:58:12.561Z] LANG=C.UTF-8 \ [2025-04-04T07:58:12.561Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-04-04T07:58:12.561Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_174371700927/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_174371700927/jdk_security3_1/work/classes/2/test/lib:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/test/lib:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-04-04T07:58:12.561Z] /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/java \ [2025-04-04T07:58:12.561Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-04-04T07:58:12.561Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-04-04T07:58:12.561Z] -Dtest.compiler.opts= \ [2025-04-04T07:58:12.561Z] -Dtest.java.opts= \ [2025-04-04T07:58:12.561Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-04-04T07:58:12.561Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-04-04T07:58:12.561Z] -Dtest.timeout.factor=8.0 \ [2025-04-04T07:58:12.561Z] -Dtest.nativepath=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-04-04T07:58:12.561Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-04-04T07:58:12.561Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-04-04T07:58:12.561Z] -Dtest.verbose=Verbose[p=NONE,f=FULL,e=FULL,t=true,m=false] \ [2025-04-04T07:58:12.561Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-04-04T07:58:12.561Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-04-04T07:58:12.561Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-04-04T07:58:12.561Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_174371700927/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \ [2025-04-04T07:58:12.561Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_174371700927/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_174371700927/jdk_security3_1/work/classes/2/test/lib \ [2025-04-04T07:58:12.561Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_174371700927/jdk_security3_1/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_174371700927/jdk_security3_1/work/classes/2/test/lib \ [2025-04-04T07:58:12.561Z] -Dtest.modules=java.base/sun.security.validator \ [2025-04-04T07:58:12.561Z] --add-modules java.base \ [2025-04-04T07:58:12.561Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-04-04T07:58:12.561Z] -ea \ [2025-04-04T07:58:12.561Z] -esa \ [2025-04-04T07:58:12.561Z] -Xmx512m \ [2025-04-04T07:58:12.561Z] -XX:-UseCompressedOops \ [2025-04-04T07:58:12.561Z] -Djava.library.path=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-04-04T07:58:12.561Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_174371700927/jdk_security3_1/work/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d/main.0.jta after policyOn invalid [2025-04-04T07:58:12.561Z] [2025-04-04T07:58:12.561Z] 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-04-04T07:58:12.561Z] -------------------------------------------------- [2025-04-04T09:30:59.773Z] Test results: passed: 955; failed: 1; skipped: 105; excluded: 14; did not match keywords: 13; did not meet module requirements: 3; did not meet platform requirements: 25 [2025-04-04T09:31:23.286Z] Report written to /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_174371700927/jdk_security3_1/report/html/report.html [2025-04-04T09:31:23.286Z] Results written to /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_174371700927/jdk_security3_1/work [2025-04-04T09:31:23.286Z] Error: Some tests failed or other problems occurred. [2025-04-04T09:31:23.286Z] ----------------------------------- [2025-04-04T09:31:23.286Z] jdk_security3_1_FAILED [2025-04-04T09:31:23.286Z] ----------------------------------- [2025-04-04T09:31:23.286Z] [2025-04-04T09:31:23.286Z] TEST TEARDOWN: [2025-04-04T09:31:23.286Z] Nothing to be done for teardown. [2025-04-04T09:31:23.286Z] jdk_security3_1 Finish Time: Fri Apr 4 09:31:20 2025 Epoch Time (ms): 1743759080592