jdk_security3_0

[2025-04-04T11:54:52.448Z] Running test jdk_security3_0 ... [2025-04-04T11:54:52.448Z] =============================================== [2025-04-04T11:54:52.448Z] jdk_security3_0 Start Time: Fri Apr 4 11:54:51 2025 Epoch Time (ms): 1743767691588 [2025-04-04T11:54:52.448Z] variation: Mode150 [2025-04-04T11:54:52.448Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-04-04T11:54:52.448Z] { \ [2025-04-04T11:54:52.448Z] echo ""; echo "TEST SETUP:"; \ [2025-04-04T11:54:52.448Z] echo "Nothing to be done for setup."; \ [2025-04-04T11:54:52.448Z] mkdir -p "/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/../TKG/output_17437662091770/jdk_security3_0"; \ [2025-04-04T11:54:52.448Z] cd "/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/../TKG/output_17437662091770/jdk_security3_0"; \ [2025-04-04T11:54:52.448Z] echo ""; echo "TESTING:"; \ [2025-04-04T11:54:52.448Z] "/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/jdkbinary/j2sdk-image/bin/java" -Xmx512m -jar "/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/../../jvmtest/openjdk/jtreg/lib/jtreg.jar" \ [2025-04-04T11:54:52.448Z] -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_s390x_linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native" -vmoptions:"-Xmx512m -XX:+UseCompressedOops " \ [2025-04-04T11:54:52.448Z] \ [2025-04-04T11:54:52.448Z] -w ""/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/../TKG/output_17437662091770/jdk_security3_0"/work" \ [2025-04-04T11:54:52.448Z] -r ""/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/../TKG/output_17437662091770/jdk_security3_0"/report" \ [2025-04-04T11:54:52.448Z] -jdk:"/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/jdkbinary/j2sdk-image" \ [2025-04-04T11:54:52.448Z] -exclude:"/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/../openjdk/openjdk-jdk/test/jdk/ProblemList.txt" \ [2025-04-04T11:54:52.448Z] -exclude:"/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/../../jvmtest/openjdk/excludes/ProblemList_openjdk25.txt" \ [2025-04-04T11:54:52.449Z] \ [2025-04-04T11:54:52.449Z] \ [2025-04-04T11:54:52.449Z] "/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/../openjdk/openjdk-jdk/test/jdk:jdk_security3"; \ [2025-04-04T11:54:52.449Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_security3_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/..; else echo "-----------------------------------"; echo "jdk_security3_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-04-04T11:54:52.449Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-04-04T11:54:52.449Z] echo "Nothing to be done for teardown."; \ [2025-04-04T11:54:52.449Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/../TKG/output_17437662091770/TestTargetResult"; [2025-04-04T11:54:52.449Z] [2025-04-04T11:54:52.449Z] TEST SETUP: [2025-04-04T11:54:52.449Z] Nothing to be done for setup. [2025-04-04T11:54:52.449Z] [2025-04-04T11:54:52.449Z] TESTING: [2025-04-04T11:54:52.985Z] Directory "/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/../TKG/output_17437662091770/jdk_security3_0/work" not found: creating [2025-04-04T11:54:52.985Z] Directory "/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/../TKG/output_17437662091770/jdk_security3_0/report" not found: creating [2025-04-04T11:55:04.459Z] XML output with verification to /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/output_17437662091770/jdk_security3_0/work [2025-04-04T12:27:58.111Z] -------------------------------------------------- [2025-04-04T12:27:58.111Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-04-04T12:27:58.111Z] TEST JDK: /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/jdkbinary/j2sdk-image [2025-04-04T12:27:58.111Z] [2025-04-04T12:27:58.111Z] ACTION: build -- Passed. Build successful [2025-04-04T12:27:58.111Z] REASON: Named class compiled on demand [2025-04-04T12:27:58.111Z] TIME: 0.168 seconds [2025-04-04T12:27:58.111Z] messages: [2025-04-04T12:27:58.111Z] command: build Camerfirma [2025-04-04T12:27:58.111Z] reason: Named class compiled on demand [2025-04-04T12:27:58.111Z] started: Fri Apr 04 12:27:50 UTC 2025 [2025-04-04T12:27:58.111Z] Test directory: [2025-04-04T12:27:58.111Z] compile: Camerfirma [2025-04-04T12:27:58.111Z] finished: Fri Apr 04 12:27:50 UTC 2025 [2025-04-04T12:27:58.111Z] elapsed time (seconds): 0.168 [2025-04-04T12:27:58.111Z] [2025-04-04T12:27:58.111Z] ACTION: compile -- Passed. Compilation successful [2025-04-04T12:27:58.111Z] REASON: .class file out of date or does not exist [2025-04-04T12:27:58.111Z] TIME: 0.168 seconds [2025-04-04T12:27:58.111Z] messages: [2025-04-04T12:27:58.111Z] command: compile /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-04-04T12:27:58.111Z] reason: .class file out of date or does not exist [2025-04-04T12:27:58.111Z] started: Fri Apr 04 12:27:50 UTC 2025 [2025-04-04T12:27:58.111Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-04-04T12:27:58.112Z] Mode: agentvm [2025-04-04T12:27:58.112Z] Agent id: 1 [2025-04-04T12:27:58.112Z] Process id: 579161 [2025-04-04T12:27:58.112Z] finished: Fri Apr 04 12:27:50 UTC 2025 [2025-04-04T12:27:58.112Z] elapsed time (seconds): 0.168 [2025-04-04T12:27:58.112Z] configuration: [2025-04-04T12:27:58.112Z] Boot Layer (javac runtime environment) [2025-04-04T12:27:58.112Z] class path: /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-04-04T12:27:58.112Z] /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-04-04T12:27:58.112Z] patch: java.base /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/output_17437662091770/jdk_security3_0/work/patches/java.base [2025-04-04T12:27:58.112Z] [2025-04-04T12:27:58.112Z] javac compilation environment [2025-04-04T12:27:58.112Z] add modules: java.base [2025-04-04T12:27:58.112Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-04-04T12:27:58.112Z] source path: /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-04-04T12:27:58.112Z] /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib [2025-04-04T12:27:58.112Z] class path: /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-04-04T12:27:58.112Z] /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/output_17437662091770/jdk_security3_0/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d [2025-04-04T12:27:58.112Z] /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/output_17437662091770/jdk_security3_0/work/classes/2/test/lib [2025-04-04T12:27:58.112Z] [2025-04-04T12:27:58.112Z] rerun: [2025-04-04T12:27:58.112Z] cd /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/output_17437662091770/jdk_security3_0/work/scratch/0 && \ [2025-04-04T12:27:58.112Z] DISPLAY=:0 \ [2025-04-04T12:27:58.112Z] HOME=/home/jenkins \ [2025-04-04T12:27:58.112Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-04-04T12:27:58.112Z] XDG_CONFIG_DIRS=/etc/xdg \ [2025-04-04T12:27:58.112Z] XDG_DATA_DIRS=/usr/share \ [2025-04-04T12:27:58.112Z] /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/jdkbinary/j2sdk-image/bin/javac \ [2025-04-04T12:27:58.112Z] -J-ea \ [2025-04-04T12:27:58.112Z] -J-esa \ [2025-04-04T12:27:58.112Z] -J-Xmx512m \ [2025-04-04T12:27:58.112Z] -J-XX:+UseCompressedOops \ [2025-04-04T12:27:58.112Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-04-04T12:27:58.112Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-04-04T12:27:58.112Z] -J-Dtest.compiler.opts= \ [2025-04-04T12:27:58.112Z] -J-Dtest.java.opts= \ [2025-04-04T12:27:58.112Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/jdkbinary/j2sdk-image \ [2025-04-04T12:27:58.112Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/jdkbinary/j2sdk-image \ [2025-04-04T12:27:58.112Z] -J-Dtest.timeout.factor=8.0 \ [2025-04-04T12:27:58.112Z] -J-Dtest.nativepath=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-04-04T12:27:58.112Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-04-04T12:27:58.112Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-04-04T12:27:58.112Z] -J-Dtest.verbose=Verbose[p=NONE,f=FULL,e=FULL,t=true,m=false] \ [2025-04-04T12:27:58.112Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-04-04T12:27:58.112Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-04-04T12:27:58.112Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-04-04T12:27:58.112Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/output_17437662091770/jdk_security3_0/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \ [2025-04-04T12:27:58.112Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/output_17437662091770/jdk_security3_0/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/output_17437662091770/jdk_security3_0/work/classes/2/test/lib \ [2025-04-04T12:27:58.112Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/output_17437662091770/jdk_security3_0/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/output_17437662091770/jdk_security3_0/work/classes/2/test/lib \ [2025-04-04T12:27:58.112Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-04-04T12:27:58.112Z] --add-modules java.base \ [2025-04-04T12:27:58.112Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-04-04T12:27:58.112Z] -d /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/output_17437662091770/jdk_security3_0/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \ [2025-04-04T12:27:58.112Z] -sourcepath /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-04-04T12:27:58.112Z] -classpath /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/output_17437662091770/jdk_security3_0/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/output_17437662091770/jdk_security3_0/work/classes/2/test/lib /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-04-04T12:27:58.112Z] direct: [2025-04-04T12:27:58.112Z] Note: /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses or overrides a deprecated API. [2025-04-04T12:27:58.112Z] Note: Recompile with -Xlint:deprecation for details. [2025-04-04T12:27:58.112Z] Note: /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses unchecked or unsafe operations. [2025-04-04T12:27:58.112Z] Note: Recompile with -Xlint:unchecked for details. [2025-04-04T12:27:58.112Z] [2025-04-04T12:27:58.112Z] 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-04T12:27:58.112Z] REASON: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-04-04T12:27:58.112Z] TIME: 0.988 seconds [2025-04-04T12:27:58.112Z] messages: [2025-04-04T12:27:58.112Z] command: main Camerfirma after policyOn invalid [2025-04-04T12:27:58.112Z] reason: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-04-04T12:27:58.112Z] started: Fri Apr 04 12:27:50 UTC 2025 [2025-04-04T12:27:58.112Z] Mode: othervm [/othervm specified] [2025-04-04T12:27:58.112Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-04-04T12:27:58.112Z] Process id: 617889 [2025-04-04T12:27:58.112Z] finished: Fri Apr 04 12:27:51 UTC 2025 [2025-04-04T12:27:58.112Z] elapsed time (seconds): 0.988 [2025-04-04T12:27:58.112Z] configuration: [2025-04-04T12:27:58.112Z] Boot Layer [2025-04-04T12:27:58.112Z] add modules: java.base [2025-04-04T12:27:58.112Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-04-04T12:27:58.112Z] [2025-04-04T12:27:58.112Z] STDOUT: [2025-04-04T12:27:58.112Z] STDERR: [2025-04-04T12:27:58.112Z] Testing camerfirmachamberscommerceca [2025-04-04T12:27:58.112Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-04-04T12:27:58.113Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387) [2025-04-04T12:27:58.113Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:270) [2025-04-04T12:27:58.113Z] at java.base/sun.security.validator.Validator.validate(Validator.java:256) [2025-04-04T12:27:58.113Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:241) [2025-04-04T12:27:58.113Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113) [2025-04-04T12:27:58.113Z] at Distrust.testTM(Distrust.java:125) [2025-04-04T12:27:58.113Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-04-04T12:27:58.113Z] at Camerfirma.main(Camerfirma.java:73) [2025-04-04T12:27:58.113Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) [2025-04-04T12:27:58.113Z] at java.base/java.lang.reflect.Method.invoke(Method.java:565) [2025-04-04T12:27:58.113Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-04-04T12:27:58.113Z] at java.base/java.lang.Thread.run(Thread.java:1447) [2025-04-04T12:27:58.113Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-04-04T12:27:58.113Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-04-04T12:27:58.113Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-04-04T12:27:58.113Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:299) [2025-04-04T12:27:58.113Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382) [2025-04-04T12:27:58.113Z] ... 11 more [2025-04-04T12:27:58.113Z] 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-04T12:27:58.113Z] at Distrust.testTM(Distrust.java:138) [2025-04-04T12:27:58.113Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-04-04T12:27:58.113Z] at Camerfirma.main(Camerfirma.java:73) [2025-04-04T12:27:58.113Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) [2025-04-04T12:27:58.113Z] at java.base/java.lang.reflect.Method.invoke(Method.java:565) [2025-04-04T12:27:58.113Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-04-04T12:27:58.113Z] at java.base/java.lang.Thread.run(Thread.java:1447) [2025-04-04T12:27:58.113Z] [2025-04-04T12:27:58.113Z] 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-04T12:27:58.113Z] JavaTest Message: shutting down test [2025-04-04T12:27:58.113Z] [2025-04-04T12:27:58.113Z] 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-04T12:27:58.113Z] rerun: [2025-04-04T12:27:58.113Z] cd /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/output_17437662091770/jdk_security3_0/work/scratch/0 && \ [2025-04-04T12:27:58.113Z] DISPLAY=:0 \ [2025-04-04T12:27:58.113Z] HOME=/home/jenkins \ [2025-04-04T12:27:58.113Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-04-04T12:27:58.113Z] XDG_CONFIG_DIRS=/etc/xdg \ [2025-04-04T12:27:58.113Z] XDG_DATA_DIRS=/usr/share \ [2025-04-04T12:27:58.113Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/output_17437662091770/jdk_security3_0/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/output_17437662091770/jdk_security3_0/work/classes/2/test/lib:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-04-04T12:27:58.113Z] /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/jdkbinary/j2sdk-image/bin/java \ [2025-04-04T12:27:58.113Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-04-04T12:27:58.113Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-04-04T12:27:58.113Z] -Dtest.compiler.opts= \ [2025-04-04T12:27:58.113Z] -Dtest.java.opts= \ [2025-04-04T12:27:58.113Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/jdkbinary/j2sdk-image \ [2025-04-04T12:27:58.113Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/jdkbinary/j2sdk-image \ [2025-04-04T12:27:58.113Z] -Dtest.timeout.factor=8.0 \ [2025-04-04T12:27:58.113Z] -Dtest.nativepath=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-04-04T12:27:58.113Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-04-04T12:27:58.113Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-04-04T12:27:58.113Z] -Dtest.verbose=Verbose[p=NONE,f=FULL,e=FULL,t=true,m=false] \ [2025-04-04T12:27:58.113Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-04-04T12:27:58.113Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-04-04T12:27:58.113Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-04-04T12:27:58.113Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/output_17437662091770/jdk_security3_0/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \ [2025-04-04T12:27:58.113Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/output_17437662091770/jdk_security3_0/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/output_17437662091770/jdk_security3_0/work/classes/2/test/lib \ [2025-04-04T12:27:58.113Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/output_17437662091770/jdk_security3_0/work/classes/2/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/output_17437662091770/jdk_security3_0/work/classes/2/test/lib \ [2025-04-04T12:27:58.113Z] -Dtest.modules=java.base/sun.security.validator \ [2025-04-04T12:27:58.113Z] --add-modules java.base \ [2025-04-04T12:27:58.113Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-04-04T12:27:58.113Z] -ea \ [2025-04-04T12:27:58.113Z] -esa \ [2025-04-04T12:27:58.113Z] -Xmx512m \ [2025-04-04T12:27:58.113Z] -XX:+UseCompressedOops \ [2025-04-04T12:27:58.113Z] -Djava.library.path=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-04-04T12:27:58.114Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/output_17437662091770/jdk_security3_0/work/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d/main.0.jta after policyOn invalid [2025-04-04T12:27:58.114Z] [2025-04-04T12:27:58.114Z] 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-04T12:27:58.114Z] -------------------------------------------------- [2025-04-04T12:51:53.912Z] Test results: passed: 954; 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-04T12:51:53.912Z] Report written to /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/output_17437662091770/jdk_security3_0/report/html/report.html [2025-04-04T12:51:53.913Z] Results written to /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_s390x_linux_rerun/aqa-tests/TKG/output_17437662091770/jdk_security3_0/work [2025-04-04T12:51:53.913Z] Error: Some tests failed or other problems occurred. [2025-04-04T12:51:53.913Z] ----------------------------------- [2025-04-04T12:51:53.913Z] jdk_security3_0_FAILED [2025-04-04T12:51:53.913Z] ----------------------------------- [2025-04-04T12:51:53.913Z] [2025-04-04T12:51:53.913Z] TEST TEARDOWN: [2025-04-04T12:51:53.913Z] Nothing to be done for teardown. [2025-04-04T12:51:53.913Z] jdk_security3_0 Finish Time: Fri Apr 4 12:51:49 2025 Epoch Time (ms): 1743771109304