No Possible Issues Found via Git Search

jdk_security3_0

[2025-02-20T22:28:16.301Z] Running test jdk_security3_0 ... [2025-02-20T22:28:16.301Z] =============================================== [2025-02-20T22:28:16.301Z] jdk_security3_0 Start Time: Thu Feb 20 22:28:16 2025 Epoch Time (ms): 1740090496032 [2025-02-20T22:28:16.301Z] variation: Mode150 [2025-02-20T22:28:16.301Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-02-20T22:28:16.301Z] { \ [2025-02-20T22:28:16.301Z] echo ""; echo "TEST SETUP:"; \ [2025-02-20T22:28:16.301Z] echo "Nothing to be done for setup."; \ [2025-02-20T22:28:16.301Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/../TKG/output_17400747997297/jdk_security3_0"; \ [2025-02-20T22:28:16.301Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/../TKG/output_17400747997297/jdk_security3_0"; \ [2025-02-20T22:28:16.301Z] echo ""; echo "TESTING:"; \ [2025-02-20T22:28:16.301Z] "/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jdkbinary/j2sdk-image/bin/java" -Xmx512m -jar "/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/../../jvmtest/openjdk/jtreg/lib/jtreg.jar" \ [2025-02-20T22:28:16.301Z] -agentvm -a -ea -esa -v:fail,error,time,nopass -retain:fail,error,*.dmp,javacore.*,heapdump.*,*.trc -ignore:quiet -timeoutFactor:8 -xml:verify -k:'!headful' -concurrency:3 -nativepath:"/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native" -vmoptions:"-Xmx512m -XX:+UseCompressedOops -Djava.awt.headless=true" \ [2025-02-20T22:28:16.301Z] \ [2025-02-20T22:28:16.301Z] -w ""/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/../TKG/output_17400747997297/jdk_security3_0"/work" \ [2025-02-20T22:28:16.301Z] -r ""/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/../TKG/output_17400747997297/jdk_security3_0"/report" \ [2025-02-20T22:28:16.301Z] -jdk:"/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jdkbinary/j2sdk-image" \ [2025-02-20T22:28:16.301Z] -exclude:"/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/../openjdk/openjdk-jdk/test/jdk/ProblemList.txt" \ [2025-02-20T22:28:16.301Z] -exclude:"/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/../../jvmtest/openjdk/excludes/ProblemList_openjdk21.txt" \ [2025-02-20T22:28:16.301Z] \ [2025-02-20T22:28:16.301Z] -exclude:"/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/../openjdk/excludes/vendors/eclipse/ProblemList_openjdk21.txt" \ [2025-02-20T22:28:16.301Z] "/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/../openjdk/openjdk-jdk/test/jdk:jdk_security3"; \ [2025-02-20T22:28:16.301Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_security3_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/..; else echo "-----------------------------------"; echo "jdk_security3_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-20T22:28:16.301Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-20T22:28:16.301Z] echo "Nothing to be done for teardown."; \ [2025-02-20T22:28:16.301Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/../TKG/output_17400747997297/TestTargetResult"; [2025-02-20T22:28:16.301Z] [2025-02-20T22:28:16.301Z] TEST SETUP: [2025-02-20T22:28:16.301Z] Nothing to be done for setup. [2025-02-20T22:28:16.301Z] [2025-02-20T22:28:16.301Z] TESTING: [2025-02-20T22:28:17.853Z] Directory "/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/../TKG/output_17400747997297/jdk_security3_0/work" not found: creating [2025-02-20T22:28:17.853Z] Directory "/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/../TKG/output_17400747997297/jdk_security3_0/report" not found: creating [2025-02-20T22:28:36.518Z] XML output with verification to /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work [2025-02-21T00:01:08.187Z] -------------------------------------------------- [2025-02-21T00:01:08.187Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-02-21T00:01:08.187Z] TEST JDK: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jdkbinary/j2sdk-image [2025-02-21T00:01:08.187Z] [2025-02-21T00:01:08.187Z] ACTION: build -- Passed. Build successful [2025-02-21T00:01:08.187Z] REASON: Named class compiled on demand [2025-02-21T00:01:08.187Z] TIME: 0.439 seconds [2025-02-21T00:01:08.188Z] messages: [2025-02-21T00:01:08.188Z] command: build Camerfirma [2025-02-21T00:01:08.188Z] reason: Named class compiled on demand [2025-02-21T00:01:08.188Z] started: Fri Feb 21 00:01:05 GMT 2025 [2025-02-21T00:01:08.188Z] Test directory: [2025-02-21T00:01:08.188Z] compile: Camerfirma [2025-02-21T00:01:08.188Z] finished: Fri Feb 21 00:01:05 GMT 2025 [2025-02-21T00:01:08.188Z] elapsed time (seconds): 0.439 [2025-02-21T00:01:08.188Z] [2025-02-21T00:01:08.188Z] ACTION: compile -- Passed. Compilation successful [2025-02-21T00:01:08.188Z] REASON: .class file out of date or does not exist [2025-02-21T00:01:08.188Z] TIME: 0.419 seconds [2025-02-21T00:01:08.188Z] messages: [2025-02-21T00:01:08.188Z] command: compile /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-02-21T00:01:08.188Z] reason: .class file out of date or does not exist [2025-02-21T00:01:08.188Z] started: Fri Feb 21 00:01:05 GMT 2025 [2025-02-21T00:01:08.188Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-21T00:01:08.188Z] Mode: agentvm [2025-02-21T00:01:08.188Z] Agent id: 1 [2025-02-21T00:01:08.188Z] finished: Fri Feb 21 00:01:05 GMT 2025 [2025-02-21T00:01:08.188Z] elapsed time (seconds): 0.419 [2025-02-21T00:01:08.188Z] configuration: [2025-02-21T00:01:08.188Z] Boot Layer (javac runtime environment) [2025-02-21T00:01:08.188Z] class path: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-02-21T00:01:08.188Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-02-21T00:01:08.188Z] patch: java.base /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/patches/java.base [2025-02-21T00:01:08.188Z] [2025-02-21T00:01:08.188Z] javac compilation environment [2025-02-21T00:01:08.188Z] add modules: java.base [2025-02-21T00:01:08.188Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-21T00:01:08.188Z] source path: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-02-21T00:01:08.188Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib [2025-02-21T00:01:08.188Z] class path: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-02-21T00:01:08.188Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d [2025-02-21T00:01:08.188Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/test/lib [2025-02-21T00:01:08.188Z] [2025-02-21T00:01:08.188Z] rerun: [2025-02-21T00:01:08.188Z] cd /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/scratch/2 && \ [2025-02-21T00:01:08.188Z] DISPLAY=:0 \ [2025-02-21T00:01:08.188Z] HOME=/home/jenkins \ [2025-02-21T00:01:08.188Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-21T00:01:08.188Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jdkbinary/j2sdk-image/bin/javac \ [2025-02-21T00:01:08.188Z] -J-ea \ [2025-02-21T00:01:08.188Z] -J-esa \ [2025-02-21T00:01:08.188Z] -J-Xmx512m \ [2025-02-21T00:01:08.188Z] -J-XX:+UseCompressedOops \ [2025-02-21T00:01:08.188Z] -J-Djava.awt.headless=true \ [2025-02-21T00:01:08.188Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops -Djava.awt.headless=true' \ [2025-02-21T00:01:08.188Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops -J-Djava.awt.headless=true' \ [2025-02-21T00:01:08.188Z] -J-Dtest.compiler.opts= \ [2025-02-21T00:01:08.188Z] -J-Dtest.java.opts= \ [2025-02-21T00:01:08.188Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jdkbinary/j2sdk-image \ [2025-02-21T00:01:08.188Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jdkbinary/j2sdk-image \ [2025-02-21T00:01:08.188Z] -J-Dtest.timeout.factor=8.0 \ [2025-02-21T00:01:08.188Z] -J-Dtest.nativepath=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-21T00:01:08.188Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-21T00:01:08.188Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-21T00:01:08.188Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-21T00:01:08.188Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-02-21T00:01:08.188Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-21T00:01:08.188Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \ [2025-02-21T00:01:08.188Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/test/lib \ [2025-02-21T00:01:08.188Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/test/lib \ [2025-02-21T00:01:08.188Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-21T00:01:08.188Z] --add-modules java.base \ [2025-02-21T00:01:08.188Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-21T00:01:08.188Z] -d /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \ [2025-02-21T00:01:08.188Z] -sourcepath /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-21T00:01:08.189Z] -classpath /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/test/lib /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-02-21T00:01:08.189Z] direct: [2025-02-21T00:01:08.189Z] Note: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses or overrides a deprecated API. [2025-02-21T00:01:08.189Z] Note: Recompile with -Xlint:deprecation for details. [2025-02-21T00:01:08.189Z] Note: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses unchecked or unsafe operations. [2025-02-21T00:01:08.189Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-21T00:01:08.189Z] [2025-02-21T00:01:08.189Z] 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-21T00:01:08.189Z] REASON: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-02-21T00:01:08.189Z] TIME: 2.197 seconds [2025-02-21T00:01:08.189Z] messages: [2025-02-21T00:01:08.189Z] command: main Camerfirma after policyOn invalid [2025-02-21T00:01:08.189Z] reason: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-02-21T00:01:08.189Z] started: Fri Feb 21 00:01:05 GMT 2025 [2025-02-21T00:01:08.189Z] Mode: othervm [/othervm specified] [2025-02-21T00:01:08.189Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-21T00:01:08.189Z] finished: Fri Feb 21 00:01:07 GMT 2025 [2025-02-21T00:01:08.189Z] elapsed time (seconds): 2.197 [2025-02-21T00:01:08.189Z] configuration: [2025-02-21T00:01:08.189Z] Boot Layer [2025-02-21T00:01:08.189Z] add modules: java.base [2025-02-21T00:01:08.189Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-21T00:01:08.189Z] [2025-02-21T00:01:08.189Z] STDOUT: [2025-02-21T00:01:08.189Z] STDERR: [2025-02-21T00:01:08.189Z] Testing camerfirmachamberscommerceca [2025-02-21T00:01:08.189Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-21T00:01:08.189Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:388) [2025-02-21T00:01:08.189Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:271) [2025-02-21T00:01:08.189Z] at java.base/sun.security.validator.Validator.validate(Validator.java:256) [2025-02-21T00:01:08.189Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:241) [2025-02-21T00:01:08.189Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113) [2025-02-21T00:01:08.189Z] at Distrust.testTM(Distrust.java:125) [2025-02-21T00:01:08.189Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-21T00:01:08.189Z] at Camerfirma.main(Camerfirma.java:73) [2025-02-21T00:01:08.189Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-21T00:01:08.189Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-21T00:01:08.189Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-21T00:01:08.189Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-21T00:01:08.189Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-21T00:01:08.189Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-02-21T00:01:08.189Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-02-21T00:01:08.189Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-02-21T00:01:08.189Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:383) [2025-02-21T00:01:08.189Z] ... 11 more [2025-02-21T00:01:08.189Z] 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-21T00:01:08.189Z] at Distrust.testTM(Distrust.java:138) [2025-02-21T00:01:08.189Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-21T00:01:08.189Z] at Camerfirma.main(Camerfirma.java:73) [2025-02-21T00:01:08.189Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-21T00:01:08.189Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-21T00:01:08.189Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-21T00:01:08.189Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-21T00:01:08.189Z] [2025-02-21T00:01:08.189Z] 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-21T00:01:08.189Z] JavaTest Message: shutting down test [2025-02-21T00:01:08.189Z] [2025-02-21T00:01:08.189Z] 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-21T00:01:08.189Z] rerun: [2025-02-21T00:01:08.189Z] cd /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/scratch/2 && \ [2025-02-21T00:01:08.189Z] DISPLAY=:0 \ [2025-02-21T00:01:08.189Z] HOME=/home/jenkins \ [2025-02-21T00:01:08.189Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-21T00:01:08.189Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/test/lib:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-02-21T00:01:08.189Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jdkbinary/j2sdk-image/bin/java \ [2025-02-21T00:01:08.189Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops -Djava.awt.headless=true' \ [2025-02-21T00:01:08.189Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops -J-Djava.awt.headless=true' \ [2025-02-21T00:01:08.189Z] -Dtest.compiler.opts= \ [2025-02-21T00:01:08.189Z] -Dtest.java.opts= \ [2025-02-21T00:01:08.189Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jdkbinary/j2sdk-image \ [2025-02-21T00:01:08.189Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jdkbinary/j2sdk-image \ [2025-02-21T00:01:08.190Z] -Dtest.timeout.factor=8.0 \ [2025-02-21T00:01:08.190Z] -Dtest.nativepath=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-21T00:01:08.190Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-21T00:01:08.190Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-21T00:01:08.190Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-21T00:01:08.190Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-02-21T00:01:08.190Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-21T00:01:08.190Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \ [2025-02-21T00:01:08.190Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/test/lib \ [2025-02-21T00:01:08.190Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/test/lib \ [2025-02-21T00:01:08.190Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-21T00:01:08.190Z] --add-modules java.base \ [2025-02-21T00:01:08.190Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-21T00:01:08.190Z] -ea \ [2025-02-21T00:01:08.190Z] -esa \ [2025-02-21T00:01:08.190Z] -Xmx512m \ [2025-02-21T00:01:08.190Z] -XX:+UseCompressedOops \ [2025-02-21T00:01:08.190Z] -Djava.awt.headless=true \ [2025-02-21T00:01:08.190Z] -Djava.library.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-21T00:01:08.190Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d/main.0.jta after policyOn invalid [2025-02-21T00:01:08.190Z] [2025-02-21T00:01:08.190Z] 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-21T00:01:08.190Z] -------------------------------------------------- [2025-02-21T00:01:12.770Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java [2025-02-21T00:01:12.770Z] TEST JDK: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jdkbinary/j2sdk-image [2025-02-21T00:01:12.770Z] [2025-02-21T00:01:12.770Z] ACTION: build -- Passed. Build successful [2025-02-21T00:01:12.770Z] REASON: Named class compiled on demand [2025-02-21T00:01:12.770Z] TIME: 0.23 seconds [2025-02-21T00:01:12.770Z] messages: [2025-02-21T00:01:12.770Z] command: build Entrust [2025-02-21T00:01:12.770Z] reason: Named class compiled on demand [2025-02-21T00:01:12.770Z] started: Fri Feb 21 00:01:07 GMT 2025 [2025-02-21T00:01:12.770Z] Test directory: [2025-02-21T00:01:12.770Z] compile: Entrust [2025-02-21T00:01:12.770Z] finished: Fri Feb 21 00:01:08 GMT 2025 [2025-02-21T00:01:12.770Z] elapsed time (seconds): 0.23 [2025-02-21T00:01:12.770Z] [2025-02-21T00:01:12.770Z] ACTION: compile -- Passed. Compilation successful [2025-02-21T00:01:12.770Z] REASON: .class file out of date or does not exist [2025-02-21T00:01:12.770Z] TIME: 0.216 seconds [2025-02-21T00:01:12.770Z] messages: [2025-02-21T00:01:12.770Z] command: compile /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java [2025-02-21T00:01:12.770Z] reason: .class file out of date or does not exist [2025-02-21T00:01:12.770Z] started: Fri Feb 21 00:01:07 GMT 2025 [2025-02-21T00:01:12.770Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-21T00:01:12.770Z] Mode: agentvm [2025-02-21T00:01:12.770Z] Agent id: 1 [2025-02-21T00:01:12.770Z] finished: Fri Feb 21 00:01:08 GMT 2025 [2025-02-21T00:01:12.770Z] elapsed time (seconds): 0.216 [2025-02-21T00:01:12.770Z] configuration: [2025-02-21T00:01:12.770Z] Boot Layer (javac runtime environment) [2025-02-21T00:01:12.770Z] class path: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-02-21T00:01:12.770Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-02-21T00:01:12.770Z] patch: java.base /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/patches/java.base [2025-02-21T00:01:12.770Z] [2025-02-21T00:01:12.770Z] javac compilation environment [2025-02-21T00:01:12.770Z] add modules: java.base [2025-02-21T00:01:12.770Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-21T00:01:12.770Z] source path: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-02-21T00:01:12.770Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib [2025-02-21T00:01:12.770Z] class path: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-02-21T00:01:12.770Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d [2025-02-21T00:01:12.770Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/test/lib [2025-02-21T00:01:12.770Z] [2025-02-21T00:01:12.770Z] rerun: [2025-02-21T00:01:12.770Z] cd /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/scratch/2 && \ [2025-02-21T00:01:12.770Z] DISPLAY=:0 \ [2025-02-21T00:01:12.770Z] HOME=/home/jenkins \ [2025-02-21T00:01:12.770Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-21T00:01:12.770Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jdkbinary/j2sdk-image/bin/javac \ [2025-02-21T00:01:12.770Z] -J-ea \ [2025-02-21T00:01:12.770Z] -J-esa \ [2025-02-21T00:01:12.770Z] -J-Xmx512m \ [2025-02-21T00:01:12.770Z] -J-XX:+UseCompressedOops \ [2025-02-21T00:01:12.770Z] -J-Djava.awt.headless=true \ [2025-02-21T00:01:12.770Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops -Djava.awt.headless=true' \ [2025-02-21T00:01:12.770Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops -J-Djava.awt.headless=true' \ [2025-02-21T00:01:12.770Z] -J-Dtest.compiler.opts= \ [2025-02-21T00:01:12.770Z] -J-Dtest.java.opts= \ [2025-02-21T00:01:12.770Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jdkbinary/j2sdk-image \ [2025-02-21T00:01:12.770Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jdkbinary/j2sdk-image \ [2025-02-21T00:01:12.770Z] -J-Dtest.timeout.factor=8.0 \ [2025-02-21T00:01:12.770Z] -J-Dtest.nativepath=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-21T00:01:12.770Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-21T00:01:12.770Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-21T00:01:12.771Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-21T00:01:12.771Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-02-21T00:01:12.771Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-21T00:01:12.771Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d \ [2025-02-21T00:01:12.771Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/test/lib \ [2025-02-21T00:01:12.771Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/test/lib \ [2025-02-21T00:01:12.771Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-21T00:01:12.771Z] --add-modules java.base \ [2025-02-21T00:01:12.771Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-21T00:01:12.771Z] -d /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d \ [2025-02-21T00:01:12.771Z] -sourcepath /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-21T00:01:12.771Z] -classpath /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/test/lib /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java [2025-02-21T00:01:12.771Z] direct: [2025-02-21T00:01:12.771Z] Note: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses or overrides a deprecated API. [2025-02-21T00:01:12.771Z] Note: Recompile with -Xlint:deprecation for details. [2025-02-21T00:01:12.771Z] Note: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses unchecked or unsafe operations. [2025-02-21T00:01:12.771Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-21T00:01:12.771Z] [2025-02-21T00:01:12.771Z] 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-21T00:01:12.771Z] REASON: User specified action: run main/othervm Entrust after policyOn invalid [2025-02-21T00:01:12.771Z] TIME: 3.524 seconds [2025-02-21T00:01:12.771Z] messages: [2025-02-21T00:01:12.771Z] command: main Entrust after policyOn invalid [2025-02-21T00:01:12.771Z] reason: User specified action: run main/othervm Entrust after policyOn invalid [2025-02-21T00:01:12.771Z] started: Fri Feb 21 00:01:08 GMT 2025 [2025-02-21T00:01:12.771Z] Mode: othervm [/othervm specified] [2025-02-21T00:01:12.771Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-21T00:01:12.771Z] finished: Fri Feb 21 00:01:11 GMT 2025 [2025-02-21T00:01:12.771Z] elapsed time (seconds): 3.524 [2025-02-21T00:01:12.771Z] configuration: [2025-02-21T00:01:12.771Z] Boot Layer [2025-02-21T00:01:12.771Z] add modules: java.base [2025-02-21T00:01:12.771Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-21T00:01:12.771Z] [2025-02-21T00:01:12.771Z] STDOUT: [2025-02-21T00:01:12.771Z] STDERR: [2025-02-21T00:01:12.771Z] Testing entrustevca [2025-02-21T00:01:12.771Z] Testing entrustrootcaec1 [2025-02-21T00:01:12.771Z] Testing entrustrootcag2 [2025-02-21T00:01:12.771Z] Testing entrustrootcag4 [2025-02-21T00:01:12.771Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-21T00:01:12.771Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:388) [2025-02-21T00:01:12.771Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:271) [2025-02-21T00:01:12.771Z] at java.base/sun.security.validator.Validator.validate(Validator.java:256) [2025-02-21T00:01:12.771Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:241) [2025-02-21T00:01:12.771Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113) [2025-02-21T00:01:12.771Z] at Distrust.testTM(Distrust.java:125) [2025-02-21T00:01:12.771Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-21T00:01:12.771Z] at Entrust.main(Entrust.java:66) [2025-02-21T00:01:12.771Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-21T00:01:12.771Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-21T00:01:12.771Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-21T00:01:12.771Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-21T00:01:12.771Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-21T00:01:12.771Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-02-21T00:01:12.771Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-02-21T00:01:12.771Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-02-21T00:01:12.771Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:383) [2025-02-21T00:01:12.771Z] ... 11 more [2025-02-21T00:01:12.771Z] 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-21T00:01:12.771Z] at Distrust.testTM(Distrust.java:138) [2025-02-21T00:01:12.771Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-21T00:01:12.771Z] at Entrust.main(Entrust.java:66) [2025-02-21T00:01:12.771Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-21T00:01:12.771Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-21T00:01:12.771Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-21T00:01:12.771Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-21T00:01:12.771Z] [2025-02-21T00:01:12.771Z] 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-21T00:01:12.771Z] JavaTest Message: shutting down test [2025-02-21T00:01:12.771Z] [2025-02-21T00:01:12.771Z] 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-21T00:01:12.771Z] rerun: [2025-02-21T00:01:12.771Z] cd /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/scratch/2 && \ [2025-02-21T00:01:12.771Z] DISPLAY=:0 \ [2025-02-21T00:01:12.771Z] HOME=/home/jenkins \ [2025-02-21T00:01:12.771Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-21T00:01:12.771Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/test/lib:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-02-21T00:01:12.771Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jdkbinary/j2sdk-image/bin/java \ [2025-02-21T00:01:12.771Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops -Djava.awt.headless=true' \ [2025-02-21T00:01:12.771Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops -J-Djava.awt.headless=true' \ [2025-02-21T00:01:12.771Z] -Dtest.compiler.opts= \ [2025-02-21T00:01:12.771Z] -Dtest.java.opts= \ [2025-02-21T00:01:12.772Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jdkbinary/j2sdk-image \ [2025-02-21T00:01:12.772Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jdkbinary/j2sdk-image \ [2025-02-21T00:01:12.772Z] -Dtest.timeout.factor=8.0 \ [2025-02-21T00:01:12.772Z] -Dtest.nativepath=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-21T00:01:12.772Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-21T00:01:12.772Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-21T00:01:12.772Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-21T00:01:12.772Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-02-21T00:01:12.772Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-21T00:01:12.772Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d \ [2025-02-21T00:01:12.772Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/test/lib \ [2025-02-21T00:01:12.772Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/classes/0/test/lib \ [2025-02-21T00:01:12.772Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-21T00:01:12.772Z] --add-modules java.base \ [2025-02-21T00:01:12.772Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-21T00:01:12.772Z] -ea \ [2025-02-21T00:01:12.772Z] -esa \ [2025-02-21T00:01:12.772Z] -Xmx512m \ [2025-02-21T00:01:12.772Z] -XX:+UseCompressedOops \ [2025-02-21T00:01:12.772Z] -Djava.awt.headless=true \ [2025-02-21T00:01:12.772Z] -Djava.library.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-21T00:01:12.772Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d/main.0.jta after policyOn invalid [2025-02-21T00:01:12.772Z] [2025-02-21T00:01:12.772Z] 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-21T00:01:12.772Z] -------------------------------------------------- [2025-02-21T01:24:57.565Z] Test results: passed: 941; failed: 2 [2025-02-21T01:25:27.293Z] Report written to /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/report/html/report.html [2025-02-21T01:25:27.293Z] Results written to /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_alpine-linux_rerun/aqa-tests/TKG/output_17400747997297/jdk_security3_0/work [2025-02-21T01:25:27.293Z] Error: Some tests failed or other problems occurred. [2025-02-21T01:25:27.293Z] ----------------------------------- [2025-02-21T01:25:27.293Z] jdk_security3_0_FAILED [2025-02-21T01:25:27.293Z] ----------------------------------- [2025-02-21T01:25:27.293Z] [2025-02-21T01:25:27.293Z] TEST TEARDOWN: [2025-02-21T01:25:27.293Z] Nothing to be done for teardown. [2025-02-21T01:25:27.293Z] jdk_security3_0 Finish Time: Fri Feb 21 01:25:23 2025 Epoch Time (ms): 1740101123263