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