jdk_security3_0

[2025-02-07T02:06:24.272Z] Running test jdk_security3_0 ... [2025-02-07T02:06:24.272Z] =============================================== [2025-02-07T02:06:24.272Z] jdk_security3_0 Start Time: Thu Feb 6 21:06:13 2025 Epoch Time (ms): 1738893973676 [2025-02-07T02:06:24.272Z] variation: Mode150 [2025-02-07T02:06:24.272Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-02-07T02:06:24.272Z] { \ [2025-02-07T02:06:24.272Z] echo ""; echo "TEST SETUP:"; \ [2025-02-07T02:06:24.272Z] echo "Nothing to be done for setup."; \ [2025-02-07T02:06:24.272Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/../TKG/output_17388916461041/jdk_security3_0"; \ [2025-02-07T02:06:24.272Z] cd "/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/../TKG/output_17388916461041/jdk_security3_0"; \ [2025-02-07T02:06:24.272Z] echo ""; echo "TESTING:"; \ [2025-02-07T02:06:24.272Z] "/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java" -Xmx512m -jar "/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/../../jvmtest/openjdk/jtreg/lib/jtreg.jar" \ [2025-02-07T02:06:24.272Z] -agentvm -a -ea -esa -v:fail,error,time,nopass -retain:fail,error,*.dmp,javacore.*,heapdump.*,*.trc -ignore:quiet -timeoutFactor:8 -xml:verify -concurrency:2 -nativepath:"/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native" -vmoptions:"-Xmx512m -XX:+UseCompressedOops " \ [2025-02-07T02:06:24.272Z] \ [2025-02-07T02:06:24.272Z] -w ""/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/../TKG/output_17388916461041/jdk_security3_0"/work" \ [2025-02-07T02:06:24.272Z] -r ""/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/../TKG/output_17388916461041/jdk_security3_0"/report" \ [2025-02-07T02:06:24.272Z] -jdk:"/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/../" \ [2025-02-07T02:06:24.272Z] -exclude:"/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/../openjdk/openjdk-jdk/test/jdk/ProblemList.txt" \ [2025-02-07T02:06:24.272Z] -exclude:"/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/../../jvmtest/openjdk/excludes/ProblemList_openjdk25.txt" \ [2025-02-07T02:06:24.272Z] \ [2025-02-07T02:06:24.272Z] \ [2025-02-07T02:06:24.272Z] "/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/../openjdk/openjdk-jdk/test/jdk:jdk_security3"; \ [2025-02-07T02:06:24.272Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_security3_0""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/..; else echo "-----------------------------------"; echo "jdk_security3_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-07T02:06:24.272Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-07T02:06:24.272Z] echo "Nothing to be done for teardown."; \ [2025-02-07T02:06:24.272Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/../TKG/output_17388916461041/TestTargetResult"; [2025-02-07T02:06:24.272Z] [2025-02-07T02:06:24.272Z] TEST SETUP: [2025-02-07T02:06:24.272Z] Nothing to be done for setup. [2025-02-07T02:06:24.272Z] [2025-02-07T02:06:24.272Z] TESTING: [2025-02-07T02:06:24.272Z] Directory "/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/../TKG/output_17388916461041/jdk_security3_0/work" not found: creating [2025-02-07T02:06:24.272Z] Directory "/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/../TKG/output_17388916461041/jdk_security3_0/report" not found: creating [2025-02-07T02:06:24.272Z] XML output with verification to /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work [2025-02-07T02:18:25.214Z] -------------------------------------------------- [2025-02-07T02:18:25.214Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-02-07T02:18:25.214Z] TEST JDK: /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/.. [2025-02-07T02:18:25.214Z] [2025-02-07T02:18:25.214Z] ACTION: build -- Passed. Build successful [2025-02-07T02:18:25.214Z] REASON: Named class compiled on demand [2025-02-07T02:18:25.214Z] TIME: 0.018 seconds [2025-02-07T02:18:25.214Z] messages: [2025-02-07T02:18:25.214Z] command: build Camerfirma [2025-02-07T02:18:25.214Z] reason: Named class compiled on demand [2025-02-07T02:18:25.214Z] started: Thu Feb 06 21:18:23 EST 2025 [2025-02-07T02:18:25.214Z] Test directory: [2025-02-07T02:18:25.214Z] compile: Camerfirma [2025-02-07T02:18:25.214Z] finished: Thu Feb 06 21:18:23 EST 2025 [2025-02-07T02:18:25.214Z] elapsed time (seconds): 0.018 [2025-02-07T02:18:25.214Z] [2025-02-07T02:18:25.214Z] ACTION: compile -- Passed. Compilation successful [2025-02-07T02:18:25.214Z] REASON: .class file out of date or does not exist [2025-02-07T02:18:25.214Z] TIME: 0.018 seconds [2025-02-07T02:18:25.214Z] messages: [2025-02-07T02:18:25.214Z] command: compile /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-02-07T02:18:25.214Z] reason: .class file out of date or does not exist [2025-02-07T02:18:25.214Z] started: Thu Feb 06 21:18:23 EST 2025 [2025-02-07T02:18:25.214Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-07T02:18:25.214Z] Mode: agentvm [2025-02-07T02:18:25.214Z] Agent id: 2 [2025-02-07T02:18:25.214Z] finished: Thu Feb 06 21:18:23 EST 2025 [2025-02-07T02:18:25.214Z] elapsed time (seconds): 0.018 [2025-02-07T02:18:25.214Z] configuration: [2025-02-07T02:18:25.214Z] Boot Layer (javac runtime environment) [2025-02-07T02:18:25.214Z] class path: /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-02-07T02:18:25.214Z] /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-02-07T02:18:25.214Z] patch: java.base /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/patches/java.base [2025-02-07T02:18:25.214Z] [2025-02-07T02:18:25.214Z] javac compilation environment [2025-02-07T02:18:25.214Z] add modules: java.base [2025-02-07T02:18:25.214Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-07T02:18:25.214Z] source path: /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-02-07T02:18:25.214Z] /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib [2025-02-07T02:18:25.214Z] class path: /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-02-07T02:18:25.214Z] /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d [2025-02-07T02:18:25.214Z] /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/test/lib [2025-02-07T02:18:25.214Z] [2025-02-07T02:18:25.214Z] rerun: [2025-02-07T02:18:25.214Z] cd /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/scratch/1 && \ [2025-02-07T02:18:25.214Z] HOME=/Users/admin \ [2025-02-07T02:18:25.214Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-07T02:18:25.214Z] /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/../bin/javac \ [2025-02-07T02:18:25.214Z] -J-ea \ [2025-02-07T02:18:25.214Z] -J-esa \ [2025-02-07T02:18:25.214Z] -J-Xmx512m \ [2025-02-07T02:18:25.214Z] -J-XX:+UseCompressedOops \ [2025-02-07T02:18:25.214Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-02-07T02:18:25.214Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-02-07T02:18:25.214Z] -J-Dtest.compiler.opts= \ [2025-02-07T02:18:25.214Z] -J-Dtest.java.opts= \ [2025-02-07T02:18:25.214Z] -J-Dtest.jdk=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/.. \ [2025-02-07T02:18:25.214Z] -J-Dcompile.jdk=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/.. \ [2025-02-07T02:18:25.214Z] -J-Dtest.timeout.factor=8.0 \ [2025-02-07T02:18:25.214Z] -J-Dtest.nativepath=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-07T02:18:25.214Z] -J-Dtest.root=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-07T02:18:25.214Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-07T02:18:25.214Z] -J-Dtest.file=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-07T02:18:25.214Z] -J-Dtest.src=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-02-07T02:18:25.214Z] -J-Dtest.src.path=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-07T02:18:25.214Z] -J-Dtest.classes=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \ [2025-02-07T02:18:25.214Z] -J-Dtest.class.path=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/test/lib \ [2025-02-07T02:18:25.214Z] -J-Dtest.class.path.prefix=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/test/lib \ [2025-02-07T02:18:25.214Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-07T02:18:25.214Z] --add-modules java.base \ [2025-02-07T02:18:25.214Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-07T02:18:25.214Z] -d /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \ [2025-02-07T02:18:25.214Z] -sourcepath /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-07T02:18:25.214Z] -classpath /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/test/lib /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-02-07T02:18:25.214Z] direct: [2025-02-07T02:18:25.214Z] Note: /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses or overrides a deprecated API. [2025-02-07T02:18:25.214Z] Note: Recompile with -Xlint:deprecation for details. [2025-02-07T02:18:25.214Z] Note: /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses unchecked or unsafe operations. [2025-02-07T02:18:25.214Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-07T02:18:25.214Z] [2025-02-07T02:18:25.214Z] 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-07T02:18:25.214Z] REASON: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-02-07T02:18:25.214Z] TIME: 0.155 seconds [2025-02-07T02:18:25.214Z] messages: [2025-02-07T02:18:25.214Z] command: main Camerfirma after policyOn invalid [2025-02-07T02:18:25.214Z] reason: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-02-07T02:18:25.214Z] started: Thu Feb 06 21:18:23 EST 2025 [2025-02-07T02:18:25.214Z] Mode: othervm [/othervm specified] [2025-02-07T02:18:25.214Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-07T02:18:25.214Z] finished: Thu Feb 06 21:18:23 EST 2025 [2025-02-07T02:18:25.214Z] elapsed time (seconds): 0.155 [2025-02-07T02:18:25.214Z] configuration: [2025-02-07T02:18:25.214Z] Boot Layer [2025-02-07T02:18:25.214Z] add modules: java.base [2025-02-07T02:18:25.214Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-07T02:18:25.214Z] [2025-02-07T02:18:25.214Z] STDOUT: [2025-02-07T02:18:25.214Z] STDERR: [2025-02-07T02:18:25.214Z] Testing camerfirmachamberscommerceca [2025-02-07T02:18:25.214Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-07T02:18:25.214Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387) [2025-02-07T02:18:25.214Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:270) [2025-02-07T02:18:25.214Z] at java.base/sun.security.validator.Validator.validate(Validator.java:256) [2025-02-07T02:18:25.214Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:241) [2025-02-07T02:18:25.214Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113) [2025-02-07T02:18:25.214Z] at Distrust.testTM(Distrust.java:125) [2025-02-07T02:18:25.214Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-07T02:18:25.214Z] at Camerfirma.main(Camerfirma.java:73) [2025-02-07T02:18:25.214Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) [2025-02-07T02:18:25.214Z] at java.base/java.lang.reflect.Method.invoke(Method.java:565) [2025-02-07T02:18:25.214Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-07T02:18:25.214Z] at java.base/java.lang.Thread.run(Thread.java:1447) [2025-02-07T02:18:25.214Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-07T02:18:25.214Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-02-07T02:18:25.214Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-02-07T02:18:25.214Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:299) [2025-02-07T02:18:25.214Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382) [2025-02-07T02:18:25.214Z] ... 11 more [2025-02-07T02:18:25.214Z] 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-07T02:18:25.214Z] at Distrust.testTM(Distrust.java:138) [2025-02-07T02:18:25.214Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-07T02:18:25.214Z] at Camerfirma.main(Camerfirma.java:73) [2025-02-07T02:18:25.214Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) [2025-02-07T02:18:25.214Z] at java.base/java.lang.reflect.Method.invoke(Method.java:565) [2025-02-07T02:18:25.214Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-07T02:18:25.214Z] at java.base/java.lang.Thread.run(Thread.java:1447) [2025-02-07T02:18:25.214Z] [2025-02-07T02:18:25.214Z] 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-07T02:18:25.214Z] JavaTest Message: shutting down test [2025-02-07T02:18:25.214Z] [2025-02-07T02:18:25.214Z] 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-07T02:18:25.214Z] rerun: [2025-02-07T02:18:25.214Z] cd /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/scratch/1 && \ [2025-02-07T02:18:25.214Z] HOME=/Users/admin \ [2025-02-07T02:18:25.214Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-07T02:18:25.214Z] CLASSPATH=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/test/lib:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-02-07T02:18:25.214Z] /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/../bin/java \ [2025-02-07T02:18:25.214Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-02-07T02:18:25.214Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-02-07T02:18:25.214Z] -Dtest.compiler.opts= \ [2025-02-07T02:18:25.214Z] -Dtest.java.opts= \ [2025-02-07T02:18:25.214Z] -Dtest.jdk=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/.. \ [2025-02-07T02:18:25.214Z] -Dcompile.jdk=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/.. \ [2025-02-07T02:18:25.214Z] -Dtest.timeout.factor=8.0 \ [2025-02-07T02:18:25.214Z] -Dtest.nativepath=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-07T02:18:25.214Z] -Dtest.root=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-07T02:18:25.214Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-07T02:18:25.214Z] -Dtest.file=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-07T02:18:25.214Z] -Dtest.src=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-02-07T02:18:25.214Z] -Dtest.src.path=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-07T02:18:25.215Z] -Dtest.classes=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \ [2025-02-07T02:18:25.215Z] -Dtest.class.path=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/test/lib \ [2025-02-07T02:18:25.215Z] -Dtest.class.path.prefix=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/test/lib \ [2025-02-07T02:18:25.215Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-07T02:18:25.215Z] --add-modules java.base \ [2025-02-07T02:18:25.215Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-07T02:18:25.215Z] -ea \ [2025-02-07T02:18:25.215Z] -esa \ [2025-02-07T02:18:25.215Z] -Xmx512m \ [2025-02-07T02:18:25.215Z] -XX:+UseCompressedOops \ [2025-02-07T02:18:25.215Z] -Djava.library.path=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-07T02:18:25.215Z] com.sun.javatest.regtest.agent.MainWrapper /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d/main.0.jta after policyOn invalid [2025-02-07T02:18:25.215Z] [2025-02-07T02:18:25.215Z] 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-07T02:18:25.215Z] -------------------------------------------------- [2025-02-07T02:18:25.215Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java [2025-02-07T02:18:25.215Z] TEST JDK: /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/.. [2025-02-07T02:18:25.215Z] [2025-02-07T02:18:25.215Z] ACTION: build -- Passed. Build successful [2025-02-07T02:18:25.215Z] REASON: Named class compiled on demand [2025-02-07T02:18:25.215Z] TIME: 0.014 seconds [2025-02-07T02:18:25.215Z] messages: [2025-02-07T02:18:25.215Z] command: build Entrust [2025-02-07T02:18:25.215Z] reason: Named class compiled on demand [2025-02-07T02:18:25.215Z] started: Thu Feb 06 21:18:23 EST 2025 [2025-02-07T02:18:25.215Z] Test directory: [2025-02-07T02:18:25.215Z] compile: Entrust [2025-02-07T02:18:25.215Z] finished: Thu Feb 06 21:18:23 EST 2025 [2025-02-07T02:18:25.215Z] elapsed time (seconds): 0.014 [2025-02-07T02:18:25.215Z] [2025-02-07T02:18:25.215Z] ACTION: compile -- Passed. Compilation successful [2025-02-07T02:18:25.215Z] REASON: .class file out of date or does not exist [2025-02-07T02:18:25.215Z] TIME: 0.014 seconds [2025-02-07T02:18:25.215Z] messages: [2025-02-07T02:18:25.215Z] command: compile /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java [2025-02-07T02:18:25.215Z] reason: .class file out of date or does not exist [2025-02-07T02:18:25.215Z] started: Thu Feb 06 21:18:23 EST 2025 [2025-02-07T02:18:25.215Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-07T02:18:25.215Z] Mode: agentvm [2025-02-07T02:18:25.215Z] Agent id: 2 [2025-02-07T02:18:25.215Z] finished: Thu Feb 06 21:18:23 EST 2025 [2025-02-07T02:18:25.215Z] elapsed time (seconds): 0.014 [2025-02-07T02:18:25.215Z] configuration: [2025-02-07T02:18:25.215Z] Boot Layer (javac runtime environment) [2025-02-07T02:18:25.215Z] class path: /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-02-07T02:18:25.215Z] /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-02-07T02:18:25.215Z] patch: java.base /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/patches/java.base [2025-02-07T02:18:25.215Z] [2025-02-07T02:18:25.215Z] javac compilation environment [2025-02-07T02:18:25.215Z] add modules: java.base [2025-02-07T02:18:25.215Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-07T02:18:25.215Z] source path: /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-02-07T02:18:25.215Z] /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib [2025-02-07T02:18:25.215Z] class path: /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-02-07T02:18:25.215Z] /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d [2025-02-07T02:18:25.215Z] /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/test/lib [2025-02-07T02:18:25.215Z] [2025-02-07T02:18:25.215Z] rerun: [2025-02-07T02:18:25.215Z] cd /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/scratch/1 && \ [2025-02-07T02:18:25.215Z] HOME=/Users/admin \ [2025-02-07T02:18:25.215Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-07T02:18:25.215Z] /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/../bin/javac \ [2025-02-07T02:18:25.215Z] -J-ea \ [2025-02-07T02:18:25.215Z] -J-esa \ [2025-02-07T02:18:25.215Z] -J-Xmx512m \ [2025-02-07T02:18:25.215Z] -J-XX:+UseCompressedOops \ [2025-02-07T02:18:25.215Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-02-07T02:18:25.215Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-02-07T02:18:25.215Z] -J-Dtest.compiler.opts= \ [2025-02-07T02:18:25.215Z] -J-Dtest.java.opts= \ [2025-02-07T02:18:25.215Z] -J-Dtest.jdk=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/.. \ [2025-02-07T02:18:25.215Z] -J-Dcompile.jdk=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/.. \ [2025-02-07T02:18:25.215Z] -J-Dtest.timeout.factor=8.0 \ [2025-02-07T02:18:25.215Z] -J-Dtest.nativepath=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-07T02:18:25.215Z] -J-Dtest.root=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-07T02:18:25.215Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-07T02:18:25.215Z] -J-Dtest.file=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-07T02:18:25.215Z] -J-Dtest.src=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-02-07T02:18:25.215Z] -J-Dtest.src.path=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-07T02:18:25.215Z] -J-Dtest.classes=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d \ [2025-02-07T02:18:25.215Z] -J-Dtest.class.path=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/test/lib \ [2025-02-07T02:18:25.215Z] -J-Dtest.class.path.prefix=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/test/lib \ [2025-02-07T02:18:25.215Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-07T02:18:25.215Z] --add-modules java.base \ [2025-02-07T02:18:25.215Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-07T02:18:25.215Z] -d /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d \ [2025-02-07T02:18:25.215Z] -sourcepath /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-07T02:18:25.215Z] -classpath /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/test/lib /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java [2025-02-07T02:18:25.215Z] direct: [2025-02-07T02:18:25.215Z] Note: /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses or overrides a deprecated API. [2025-02-07T02:18:25.215Z] Note: Recompile with -Xlint:deprecation for details. [2025-02-07T02:18:25.215Z] Note: /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses unchecked or unsafe operations. [2025-02-07T02:18:25.215Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-07T02:18:25.215Z] [2025-02-07T02:18:25.215Z] 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-07T02:18:25.215Z] REASON: User specified action: run main/othervm Entrust after policyOn invalid [2025-02-07T02:18:25.215Z] TIME: 0.2 seconds [2025-02-07T02:18:25.215Z] messages: [2025-02-07T02:18:25.215Z] command: main Entrust after policyOn invalid [2025-02-07T02:18:25.215Z] reason: User specified action: run main/othervm Entrust after policyOn invalid [2025-02-07T02:18:25.215Z] started: Thu Feb 06 21:18:23 EST 2025 [2025-02-07T02:18:25.215Z] Mode: othervm [/othervm specified] [2025-02-07T02:18:25.215Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-07T02:18:25.215Z] finished: Thu Feb 06 21:18:23 EST 2025 [2025-02-07T02:18:25.215Z] elapsed time (seconds): 0.2 [2025-02-07T02:18:25.215Z] configuration: [2025-02-07T02:18:25.215Z] Boot Layer [2025-02-07T02:18:25.215Z] add modules: java.base [2025-02-07T02:18:25.215Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-07T02:18:25.215Z] [2025-02-07T02:18:25.215Z] STDOUT: [2025-02-07T02:18:25.215Z] STDERR: [2025-02-07T02:18:25.215Z] Testing entrustevca [2025-02-07T02:18:25.215Z] Testing entrustrootcaec1 [2025-02-07T02:18:25.215Z] Testing entrustrootcag2 [2025-02-07T02:18:25.215Z] Testing entrustrootcag4 [2025-02-07T02:18:25.215Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-07T02:18:25.215Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387) [2025-02-07T02:18:25.215Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:270) [2025-02-07T02:18:25.215Z] at java.base/sun.security.validator.Validator.validate(Validator.java:256) [2025-02-07T02:18:25.215Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:241) [2025-02-07T02:18:25.215Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113) [2025-02-07T02:18:25.215Z] at Distrust.testTM(Distrust.java:125) [2025-02-07T02:18:25.215Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-07T02:18:25.215Z] at Entrust.main(Entrust.java:66) [2025-02-07T02:18:25.215Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) [2025-02-07T02:18:25.215Z] at java.base/java.lang.reflect.Method.invoke(Method.java:565) [2025-02-07T02:18:25.215Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-07T02:18:25.215Z] at java.base/java.lang.Thread.run(Thread.java:1447) [2025-02-07T02:18:25.215Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-07T02:18:25.215Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-02-07T02:18:25.215Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-02-07T02:18:25.215Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:299) [2025-02-07T02:18:25.215Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382) [2025-02-07T02:18:25.215Z] ... 11 more [2025-02-07T02:18:25.215Z] 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-07T02:18:25.215Z] at Distrust.testTM(Distrust.java:138) [2025-02-07T02:18:25.215Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-07T02:18:25.215Z] at Entrust.main(Entrust.java:66) [2025-02-07T02:18:25.215Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) [2025-02-07T02:18:25.215Z] at java.base/java.lang.reflect.Method.invoke(Method.java:565) [2025-02-07T02:18:25.215Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-07T02:18:25.215Z] at java.base/java.lang.Thread.run(Thread.java:1447) [2025-02-07T02:18:25.215Z] [2025-02-07T02:18:25.215Z] 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-07T02:18:25.215Z] JavaTest Message: shutting down test [2025-02-07T02:18:25.215Z] [2025-02-07T02:18:25.215Z] 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-07T02:18:25.215Z] rerun: [2025-02-07T02:18:25.215Z] cd /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/scratch/1 && \ [2025-02-07T02:18:25.215Z] HOME=/Users/admin \ [2025-02-07T02:18:25.215Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-07T02:18:25.215Z] CLASSPATH=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/test/lib:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-02-07T02:18:25.215Z] /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/../bin/java \ [2025-02-07T02:18:25.215Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-02-07T02:18:25.215Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-02-07T02:18:25.215Z] -Dtest.compiler.opts= \ [2025-02-07T02:18:25.215Z] -Dtest.java.opts= \ [2025-02-07T02:18:25.215Z] -Dtest.jdk=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/.. \ [2025-02-07T02:18:25.215Z] -Dcompile.jdk=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/.. \ [2025-02-07T02:18:25.215Z] -Dtest.timeout.factor=8.0 \ [2025-02-07T02:18:25.215Z] -Dtest.nativepath=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-07T02:18:25.215Z] -Dtest.root=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-07T02:18:25.215Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-07T02:18:25.215Z] -Dtest.file=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-07T02:18:25.215Z] -Dtest.src=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-02-07T02:18:25.215Z] -Dtest.src.path=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-07T02:18:25.215Z] -Dtest.classes=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d \ [2025-02-07T02:18:25.215Z] -Dtest.class.path=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/test/lib \ [2025-02-07T02:18:25.215Z] -Dtest.class.path.prefix=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/classes/0/test/lib \ [2025-02-07T02:18:25.215Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-07T02:18:25.215Z] --add-modules java.base \ [2025-02-07T02:18:25.215Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-07T02:18:25.215Z] -ea \ [2025-02-07T02:18:25.215Z] -esa \ [2025-02-07T02:18:25.215Z] -Xmx512m \ [2025-02-07T02:18:25.215Z] -XX:+UseCompressedOops \ [2025-02-07T02:18:25.215Z] -Djava.library.path=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-07T02:18:25.215Z] com.sun.javatest.regtest.agent.MainWrapper /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d/main.0.jta after policyOn invalid [2025-02-07T02:18:25.215Z] [2025-02-07T02:18:25.215Z] 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-07T02:18:25.215Z] -------------------------------------------------- [2025-02-07T02:25:53.673Z] Test results: passed: 943; failed: 2 [2025-02-07T02:25:53.673Z] Report written to /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/report/html/report.html [2025-02-07T02:25:53.673Z] Results written to /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17388916461041/jdk_security3_0/work [2025-02-07T02:25:53.673Z] Error: Some tests failed or other problems occurred. [2025-02-07T02:25:53.673Z] ----------------------------------- [2025-02-07T02:25:53.673Z] jdk_security3_0_FAILED [2025-02-07T02:25:53.673Z] ----------------------------------- [2025-02-07T02:25:53.673Z] [2025-02-07T02:25:53.673Z] TEST TEARDOWN: [2025-02-07T02:25:53.673Z] Nothing to be done for teardown. [2025-02-07T02:25:53.673Z] jdk_security3_0 Finish Time: Thu Feb 6 21:25:44 2025 Epoch Time (ms): 1738895144855