No Possible Issues Found via Git Search
jdk_security3_0
[2025-04-04T02:02:28.113Z] Running test jdk_security3_0 ...
[2025-04-04T02:02:28.113Z] ===============================================
[2025-04-04T02:02:28.113Z] jdk_security3_0 Start Time: Thu Apr 3 22:02:20 2025 Epoch Time (ms): 1743732140734
[2025-04-04T02:02:28.113Z] variation: Mode150
[2025-04-04T02:02:28.113Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2025-04-04T02:02:28.113Z] { \
[2025-04-04T02:02:28.113Z] echo ""; echo "TEST SETUP:"; \
[2025-04-04T02:02:28.113Z] echo "Nothing to be done for setup."; \
[2025-04-04T02:02:28.113Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/../TKG/output_1743729779594/jdk_security3_0"; \
[2025-04-04T02:02:28.113Z] cd "/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/../TKG/output_1743729779594/jdk_security3_0"; \
[2025-04-04T02:02:28.113Z] echo ""; echo "TESTING:"; \
[2025-04-04T02:02:28.113Z] "/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-04-04T02:02:28.113Z] -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-04-04T02:02:28.113Z] \
[2025-04-04T02:02:28.113Z] -w ""/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/../TKG/output_1743729779594/jdk_security3_0"/work" \
[2025-04-04T02:02:28.113Z] -r ""/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/../TKG/output_1743729779594/jdk_security3_0"/report" \
[2025-04-04T02:02:28.113Z] -jdk:"/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/../" \
[2025-04-04T02:02:28.113Z] -exclude:"/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/../openjdk/openjdk-jdk/test/jdk/ProblemList.txt" \
[2025-04-04T02:02:28.113Z] -exclude:"/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/../../jvmtest/openjdk/excludes/ProblemList_openjdk25.txt" \
[2025-04-04T02:02:28.113Z] \
[2025-04-04T02:02:28.113Z] \
[2025-04-04T02:02:28.113Z] "/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/../openjdk/openjdk-jdk/test/jdk:jdk_security3"; \
[2025-04-04T02:02:28.113Z] 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-04-04T02:02:28.113Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-04-04T02:02:28.113Z] echo "Nothing to be done for teardown."; \
[2025-04-04T02:02:28.113Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/../TKG/output_1743729779594/TestTargetResult";
[2025-04-04T02:02:28.113Z]
[2025-04-04T02:02:28.113Z] TEST SETUP:
[2025-04-04T02:02:28.113Z] Nothing to be done for setup.
[2025-04-04T02:02:28.113Z]
[2025-04-04T02:02:28.113Z] TESTING:
[2025-04-04T02:02:28.113Z] Directory "/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/../TKG/output_1743729779594/jdk_security3_0/work" not found: creating
[2025-04-04T02:02:28.113Z] Directory "/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/../TKG/output_1743729779594/jdk_security3_0/report" not found: creating
[2025-04-04T02:02:28.113Z] XML output with verification to /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_1743729779594/jdk_security3_0/work
[2025-04-04T02:14:29.307Z] --------------------------------------------------
[2025-04-04T02:14:29.307Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java
[2025-04-04T02:14:29.307Z] TEST JDK: /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/..
[2025-04-04T02:14:29.307Z]
[2025-04-04T02:14:29.307Z] ACTION: build -- Passed. Build successful
[2025-04-04T02:14:29.307Z] REASON: Named class compiled on demand
[2025-04-04T02:14:29.307Z] TIME: 0.016 seconds
[2025-04-04T02:14:29.307Z] messages:
[2025-04-04T02:14:29.307Z] command: build Camerfirma
[2025-04-04T02:14:29.307Z] reason: Named class compiled on demand
[2025-04-04T02:14:29.307Z] started: Thu Apr 03 22:14:28 EDT 2025
[2025-04-04T02:14:29.307Z] Test directory:
[2025-04-04T02:14:29.307Z] compile: Camerfirma
[2025-04-04T02:14:29.307Z] finished: Thu Apr 03 22:14:28 EDT 2025
[2025-04-04T02:14:29.307Z] elapsed time (seconds): 0.016
[2025-04-04T02:14:29.307Z]
[2025-04-04T02:14:29.307Z] ACTION: compile -- Passed. Compilation successful
[2025-04-04T02:14:29.307Z] REASON: .class file out of date or does not exist
[2025-04-04T02:14:29.307Z] TIME: 0.016 seconds
[2025-04-04T02:14:29.307Z] messages:
[2025-04-04T02:14:29.307Z] 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-04-04T02:14:29.307Z] reason: .class file out of date or does not exist
[2025-04-04T02:14:29.307Z] started: Thu Apr 03 22:14:28 EDT 2025
[2025-04-04T02:14:29.307Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED
[2025-04-04T02:14:29.307Z] Mode: agentvm
[2025-04-04T02:14:29.307Z] Agent id: 2
[2025-04-04T02:14:29.307Z] Process id: 10063
[2025-04-04T02:14:29.307Z] finished: Thu Apr 03 22:14:28 EDT 2025
[2025-04-04T02:14:29.307Z] elapsed time (seconds): 0.016
[2025-04-04T02:14:29.307Z] configuration:
[2025-04-04T02:14:29.307Z] Boot Layer (javac runtime environment)
[2025-04-04T02:14:29.307Z] class path: /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar
[2025-04-04T02:14:29.307Z] /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar
[2025-04-04T02:14:29.307Z] patch: java.base /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_1743729779594/jdk_security3_0/work/patches/java.base
[2025-04-04T02:14:29.307Z]
[2025-04-04T02:14:29.307Z] javac compilation environment
[2025-04-04T02:14:29.307Z] add modules: java.base
[2025-04-04T02:14:29.307Z] add exports: java.base/sun.security.validator ALL-UNNAMED
[2025-04-04T02:14:29.308Z] 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-04-04T02:14:29.308Z] /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib
[2025-04-04T02:14:29.308Z] 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-04-04T02:14:29.308Z] /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_1743729779594/jdk_security3_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d
[2025-04-04T02:14:29.308Z] /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_1743729779594/jdk_security3_0/work/classes/1/test/lib
[2025-04-04T02:14:29.308Z]
[2025-04-04T02:14:29.308Z] rerun:
[2025-04-04T02:14:29.308Z] cd /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_1743729779594/jdk_security3_0/work/scratch/0 && \
[2025-04-04T02:14:29.308Z] HOME=/Users/admin \
[2025-04-04T02:14:29.308Z] PATH=/bin:/usr/bin:/usr/sbin \
[2025-04-04T02:14:29.308Z] /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/../bin/javac \
[2025-04-04T02:14:29.308Z] -J-ea \
[2025-04-04T02:14:29.308Z] -J-esa \
[2025-04-04T02:14:29.308Z] -J-Xmx512m \
[2025-04-04T02:14:29.308Z] -J-XX:+UseCompressedOops \
[2025-04-04T02:14:29.308Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \
[2025-04-04T02:14:29.308Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \
[2025-04-04T02:14:29.308Z] -J-Dtest.compiler.opts= \
[2025-04-04T02:14:29.308Z] -J-Dtest.java.opts= \
[2025-04-04T02:14:29.308Z] -J-Dtest.jdk=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/.. \
[2025-04-04T02:14:29.308Z] -J-Dcompile.jdk=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/.. \
[2025-04-04T02:14:29.308Z] -J-Dtest.timeout.factor=8.0 \
[2025-04-04T02:14:29.308Z] -J-Dtest.nativepath=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \
[2025-04-04T02:14:29.308Z] -J-Dtest.root=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \
[2025-04-04T02:14:29.308Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \
[2025-04-04T02:14:29.308Z] -J-Dtest.verbose=Verbose[p=NONE,f=FULL,e=FULL,t=true,m=false] \
[2025-04-04T02:14:29.308Z] -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-04-04T02:14:29.308Z] -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-04-04T02:14:29.308Z] -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-04-04T02:14:29.308Z] -J-Dtest.classes=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_1743729779594/jdk_security3_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \
[2025-04-04T02:14:29.308Z] -J-Dtest.class.path=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_1743729779594/jdk_security3_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_1743729779594/jdk_security3_0/work/classes/1/test/lib \
[2025-04-04T02:14:29.308Z] -J-Dtest.class.path.prefix=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_1743729779594/jdk_security3_0/work/classes/1/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_1743729779594/jdk_security3_0/work/classes/1/test/lib \
[2025-04-04T02:14:29.308Z] -J-Dtest.modules=java.base/sun.security.validator \
[2025-04-04T02:14:29.308Z] --add-modules java.base \
[2025-04-04T02:14:29.308Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \
[2025-04-04T02:14:29.308Z] -d /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_1743729779594/jdk_security3_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \
[2025-04-04T02:14:29.308Z] -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-04-04T02:14:29.308Z] -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_1743729779594/jdk_security3_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_1743729779594/jdk_security3_0/work/classes/1/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-04-04T02:14:29.308Z] direct:
[2025-04-04T02:14:29.308Z] 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-04-04T02:14:29.308Z] Note: Recompile with -Xlint:deprecation for details.
[2025-04-04T02:14:29.308Z] 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-04-04T02:14:29.308Z] Note: Recompile with -Xlint:unchecked for details.
[2025-04-04T02:14:29.308Z]
[2025-04-04T02:14:29.308Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[2025-04-04T02:14:29.308Z] REASON: User specified action: run main/othervm Camerfirma after policyOn invalid
[2025-04-04T02:14:29.308Z] TIME: 0.149 seconds
[2025-04-04T02:14:29.308Z] messages:
[2025-04-04T02:14:29.308Z] command: main Camerfirma after policyOn invalid
[2025-04-04T02:14:29.308Z] reason: User specified action: run main/othervm Camerfirma after policyOn invalid
[2025-04-04T02:14:29.308Z] started: Thu Apr 03 22:14:28 EDT 2025
[2025-04-04T02:14:29.308Z] Mode: othervm [/othervm specified]
[2025-04-04T02:14:29.308Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED
[2025-04-04T02:14:29.308Z] Process id: 11903
[2025-04-04T02:14:29.308Z] finished: Thu Apr 03 22:14:29 EDT 2025
[2025-04-04T02:14:29.308Z] elapsed time (seconds): 0.149
[2025-04-04T02:14:29.308Z] configuration:
[2025-04-04T02:14:29.308Z] Boot Layer
[2025-04-04T02:14:29.308Z] add modules: java.base
[2025-04-04T02:14:29.308Z] add exports: java.base/sun.security.validator ALL-UNNAMED
[2025-04-04T02:14:29.308Z]
[2025-04-04T02:14:29.308Z] STDOUT:
[2025-04-04T02:14:29.308Z] STDERR:
[2025-04-04T02:14:29.308Z] Testing camerfirmachamberscommerceca
[2025-04-04T02:14:29.308Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[2025-04-04T02:14:29.308Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)
[2025-04-04T02:14:29.308Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:270)
[2025-04-04T02:14:29.308Z] at java.base/sun.security.validator.Validator.validate(Validator.java:256)
[2025-04-04T02:14:29.308Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:241)
[2025-04-04T02:14:29.308Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113)
[2025-04-04T02:14:29.308Z] at Distrust.testTM(Distrust.java:125)
[2025-04-04T02:14:29.308Z] at Distrust.testCertificateChain(Distrust.java:82)
[2025-04-04T02:14:29.308Z] at Camerfirma.main(Camerfirma.java:73)
[2025-04-04T02:14:29.308Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
[2025-04-04T02:14:29.308Z] at java.base/java.lang.reflect.Method.invoke(Method.java:565)
[2025-04-04T02:14:29.308Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
[2025-04-04T02:14:29.308Z] at java.base/java.lang.Thread.run(Thread.java:1447)
[2025-04-04T02:14:29.308Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[2025-04-04T02:14:29.308Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148)
[2025-04-04T02:14:29.309Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129)
[2025-04-04T02:14:29.309Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:299)
[2025-04-04T02:14:29.309Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
[2025-04-04T02:14:29.309Z] ... 11 more
[2025-04-04T02:14:29.309Z] java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[2025-04-04T02:14:29.309Z] at Distrust.testTM(Distrust.java:138)
[2025-04-04T02:14:29.309Z] at Distrust.testCertificateChain(Distrust.java:82)
[2025-04-04T02:14:29.309Z] at Camerfirma.main(Camerfirma.java:73)
[2025-04-04T02:14:29.309Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
[2025-04-04T02:14:29.309Z] at java.base/java.lang.reflect.Method.invoke(Method.java:565)
[2025-04-04T02:14:29.309Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
[2025-04-04T02:14:29.309Z] at java.base/java.lang.Thread.run(Thread.java:1447)
[2025-04-04T02:14:29.309Z]
[2025-04-04T02:14:29.309Z] JavaTest Message: Test threw exception: java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[2025-04-04T02:14:29.309Z] JavaTest Message: shutting down test
[2025-04-04T02:14:29.309Z]
[2025-04-04T02:14:29.309Z] STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[2025-04-04T02:14:29.309Z] rerun:
[2025-04-04T02:14:29.309Z] cd /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_1743729779594/jdk_security3_0/work/scratch/0 && \
[2025-04-04T02:14:29.309Z] HOME=/Users/admin \
[2025-04-04T02:14:29.309Z] PATH=/bin:/usr/bin:/usr/sbin \
[2025-04-04T02:14:29.309Z] CLASSPATH=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_1743729779594/jdk_security3_0/work/classes/1/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_1743729779594/jdk_security3_0/work/classes/1/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-04-04T02:14:29.309Z] /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/../bin/java \
[2025-04-04T02:14:29.309Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \
[2025-04-04T02:14:29.309Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \
[2025-04-04T02:14:29.309Z] -Dtest.compiler.opts= \
[2025-04-04T02:14:29.309Z] -Dtest.java.opts= \
[2025-04-04T02:14:29.309Z] -Dtest.jdk=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/.. \
[2025-04-04T02:14:29.309Z] -Dcompile.jdk=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/.. \
[2025-04-04T02:14:29.309Z] -Dtest.timeout.factor=8.0 \
[2025-04-04T02:14:29.309Z] -Dtest.nativepath=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \
[2025-04-04T02:14:29.309Z] -Dtest.root=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \
[2025-04-04T02:14:29.309Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \
[2025-04-04T02:14:29.309Z] -Dtest.verbose=Verbose[p=NONE,f=FULL,e=FULL,t=true,m=false] \
[2025-04-04T02:14:29.309Z] -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-04-04T02:14:29.309Z] -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-04-04T02:14:29.309Z] -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-04-04T02:14:29.309Z] -Dtest.classes=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_1743729779594/jdk_security3_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \
[2025-04-04T02:14:29.309Z] -Dtest.class.path=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_1743729779594/jdk_security3_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_1743729779594/jdk_security3_0/work/classes/1/test/lib \
[2025-04-04T02:14:29.309Z] -Dtest.class.path.prefix=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_1743729779594/jdk_security3_0/work/classes/1/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_1743729779594/jdk_security3_0/work/classes/1/test/lib \
[2025-04-04T02:14:29.309Z] -Dtest.modules=java.base/sun.security.validator \
[2025-04-04T02:14:29.309Z] --add-modules java.base \
[2025-04-04T02:14:29.309Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \
[2025-04-04T02:14:29.309Z] -ea \
[2025-04-04T02:14:29.309Z] -esa \
[2025-04-04T02:14:29.309Z] -Xmx512m \
[2025-04-04T02:14:29.309Z] -XX:+UseCompressedOops \
[2025-04-04T02:14:29.309Z] -Djava.library.path=/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \
[2025-04-04T02:14:29.309Z] com.sun.javatest.regtest.agent.MainWrapper /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_1743729779594/jdk_security3_0/work/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d/main.0.jta after policyOn invalid
[2025-04-04T02:14:29.309Z]
[2025-04-04T02:14:29.309Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[2025-04-04T02:14:29.309Z] --------------------------------------------------
[2025-04-04T02:21:57.799Z] Test results: passed: 955; failed: 1; skipped: 105; excluded: 14; did not match keywords: 13; did not meet module requirements: 3; did not meet platform requirements: 25
[2025-04-04T02:21:59.730Z] Report written to /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_1743729779594/jdk_security3_0/report/html/report.html
[2025-04-04T02:21:59.730Z] Results written to /Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_1743729779594/jdk_security3_0/work
[2025-04-04T02:21:59.730Z] Error: Some tests failed or other problems occurred.
[2025-04-04T02:21:59.730Z] -----------------------------------
[2025-04-04T02:21:59.730Z] jdk_security3_0_FAILED
[2025-04-04T02:21:59.730Z] -----------------------------------
[2025-04-04T02:21:59.730Z]
[2025-04-04T02:21:59.730Z] TEST TEARDOWN:
[2025-04-04T02:21:59.730Z] Nothing to be done for teardown.
[2025-04-04T02:21:59.730Z] jdk_security3_0 Finish Time: Thu Apr 3 22:21:59 2025 Epoch Time (ms): 1743733319270