No Possible Issues Found via Git Search
jdk_custom_0
[2025-02-20T02:42:56.134Z] Running test jdk_custom_0 ...
[2025-02-20T02:42:56.134Z] ===============================================
[2025-02-20T02:42:56.134Z] jdk_custom_0 Start Time: Thu Feb 20 02:42:55 2025 Epoch Time (ms): 1740019375924
[2025-02-20T02:42:56.134Z] variation: NoOptions
[2025-02-20T02:42:56.134Z] JVM_OPTIONS:
[2025-02-20T02:42:56.134Z] { \
[2025-02-20T02:42:56.134Z] echo ""; echo "TEST SETUP:"; \
[2025-02-20T02:42:56.134Z] echo "Nothing to be done for setup."; \
[2025-02-20T02:42:56.134Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../TKG/output_17400193748855/jdk_custom_0"; \
[2025-02-20T02:42:56.134Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../TKG/output_17400193748855/jdk_custom_0"; \
[2025-02-20T02:42:56.134Z] echo ""; echo "TESTING:"; \
[2025-02-20T02:42:56.134Z] "/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image/bin/java" -Xmx512m -jar "/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../../jvmtest/openjdk/jtreg/lib/jtreg.jar" \
[2025-02-20T02:42:56.134Z] -agentvm -a -ea -esa -v:fail,error,time,nopass -retain:fail,error,*.dmp,javacore.*,heapdump.*,*.trc -ignore:quiet -timeoutFactor:8 -xml:verify -concurrency:3 -nativepath:"/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native" -vmoptions:"-Xmx512m " \
[2025-02-20T02:42:56.134Z] \
[2025-02-20T02:42:56.134Z] -w ""/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../TKG/output_17400193748855/jdk_custom_0"/work" \
[2025-02-20T02:42:56.134Z] -r ""/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../TKG/output_17400193748855/jdk_custom_0"/report" \
[2025-02-20T02:42:56.134Z] -jdk:"/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image" \
[2025-02-20T02:42:56.135Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java; \
[2025-02-20T02:42:56.135Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_custom_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/..; else echo "-----------------------------------"; echo "jdk_custom_0""_FAILED"; echo "-----------------------------------"; fi; \
[2025-02-20T02:42:56.135Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-02-20T02:42:56.135Z] echo "Nothing to be done for teardown."; \
[2025-02-20T02:42:56.135Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../TKG/output_17400193748855/TestTargetResult";
[2025-02-20T02:42:56.135Z]
[2025-02-20T02:42:56.135Z] TEST SETUP:
[2025-02-20T02:42:56.135Z] Nothing to be done for setup.
[2025-02-20T02:42:56.135Z]
[2025-02-20T02:42:56.135Z] TESTING:
[2025-02-20T02:42:59.638Z] Directory "/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../TKG/output_17400193748855/jdk_custom_0/work" not found: creating
[2025-02-20T02:42:59.638Z] Directory "/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../TKG/output_17400193748855/jdk_custom_0/report" not found: creating
[2025-02-20T02:43:25.557Z] XML output with verification to /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work
[2025-02-20T02:43:52.014Z] --------------------------------------------------
[2025-02-20T02:43:52.014Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java
[2025-02-20T02:43:52.014Z] TEST JDK: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image
[2025-02-20T02:43:52.014Z]
[2025-02-20T02:43:52.014Z] ACTION: build -- Passed. Build successful
[2025-02-20T02:43:52.014Z] REASON: Named class compiled on demand
[2025-02-20T02:43:52.014Z] TIME: 15.246 seconds
[2025-02-20T02:43:52.014Z] messages:
[2025-02-20T02:43:52.014Z] command: build Entrust
[2025-02-20T02:43:52.014Z] reason: Named class compiled on demand
[2025-02-20T02:43:52.014Z] started: Thu Feb 20 02:43:27 UTC 2025
[2025-02-20T02:43:52.014Z] Test directory:
[2025-02-20T02:43:52.014Z] compile: Entrust
[2025-02-20T02:43:52.014Z] finished: Thu Feb 20 02:43:42 UTC 2025
[2025-02-20T02:43:52.014Z] elapsed time (seconds): 15.246
[2025-02-20T02:43:52.014Z]
[2025-02-20T02:43:52.014Z] ACTION: compile -- Passed. Compilation successful
[2025-02-20T02:43:52.014Z] REASON: .class file out of date or does not exist
[2025-02-20T02:43:52.014Z] TIME: 15.225 seconds
[2025-02-20T02:43:52.014Z] messages:
[2025-02-20T02:43:52.014Z] command: compile /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java
[2025-02-20T02:43:52.014Z] reason: .class file out of date or does not exist
[2025-02-20T02:43:52.014Z] started: Thu Feb 20 02:43:27 UTC 2025
[2025-02-20T02:43:52.014Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED
[2025-02-20T02:43:52.014Z] Mode: agentvm
[2025-02-20T02:43:52.014Z] Agent id: 1
[2025-02-20T02:43:52.014Z] finished: Thu Feb 20 02:43:42 UTC 2025
[2025-02-20T02:43:52.014Z] elapsed time (seconds): 15.225
[2025-02-20T02:43:52.014Z] configuration:
[2025-02-20T02:43:52.014Z] Boot Layer (javac runtime environment)
[2025-02-20T02:43:52.014Z] class path: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar
[2025-02-20T02:43:52.014Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar
[2025-02-20T02:43:52.014Z] patch: java.base /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/patches/java.base
[2025-02-20T02:43:52.014Z]
[2025-02-20T02:43:52.014Z] javac compilation environment
[2025-02-20T02:43:52.014Z] add modules: java.base
[2025-02-20T02:43:52.014Z] add exports: java.base/sun.security.validator ALL-UNNAMED
[2025-02-20T02:43:52.014Z] source path: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust
[2025-02-20T02:43:52.014Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib
[2025-02-20T02:43:52.014Z] class path: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust
[2025-02-20T02:43:52.014Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d
[2025-02-20T02:43:52.014Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/1/test/lib
[2025-02-20T02:43:52.014Z]
[2025-02-20T02:43:52.014Z] rerun:
[2025-02-20T02:43:52.014Z] cd /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/scratch/1 && \
[2025-02-20T02:43:52.014Z] DISPLAY=:0 \
[2025-02-20T02:43:52.014Z] HOME=/home/jenkins \
[2025-02-20T02:43:52.014Z] LANG=C.utf8 \
[2025-02-20T02:43:52.014Z] PATH=/bin:/usr/bin:/usr/sbin \
[2025-02-20T02:43:52.014Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image/bin/javac \
[2025-02-20T02:43:52.014Z] -J-ea \
[2025-02-20T02:43:52.014Z] -J-esa \
[2025-02-20T02:43:52.014Z] -J-Xmx512m \
[2025-02-20T02:43:52.014Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m' \
[2025-02-20T02:43:52.014Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \
[2025-02-20T02:43:52.014Z] -J-Dtest.compiler.opts= \
[2025-02-20T02:43:52.014Z] -J-Dtest.java.opts= \
[2025-02-20T02:43:52.014Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image \
[2025-02-20T02:43:52.014Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image \
[2025-02-20T02:43:52.014Z] -J-Dtest.timeout.factor=8.0 \
[2025-02-20T02:43:52.014Z] -J-Dtest.nativepath=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \
[2025-02-20T02:43:52.014Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \
[2025-02-20T02:43:52.014Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \
[2025-02-20T02:43:52.014Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \
[2025-02-20T02:43:52.014Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \
[2025-02-20T02:43:52.014Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \
[2025-02-20T02:43:52.014Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d \
[2025-02-20T02:43:52.014Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/1/test/lib \
[2025-02-20T02:43:52.014Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/1/test/lib \
[2025-02-20T02:43:52.014Z] -J-Dtest.modules=java.base/sun.security.validator \
[2025-02-20T02:43:52.014Z] --add-modules java.base \
[2025-02-20T02:43:52.015Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \
[2025-02-20T02:43:52.015Z] -d /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d \
[2025-02-20T02:43:52.015Z] -sourcepath /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \
[2025-02-20T02:43:52.015Z] -classpath /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/1/test/lib /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java
[2025-02-20T02:43:52.015Z] direct:
[2025-02-20T02:43:52.015Z] Note: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses or overrides a deprecated API.
[2025-02-20T02:43:52.015Z] Note: Recompile with -Xlint:deprecation for details.
[2025-02-20T02:43:52.015Z] Note: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses unchecked or unsafe operations.
[2025-02-20T02:43:52.015Z] Note: Recompile with -Xlint:unchecked for details.
[2025-02-20T02:43:52.015Z]
[2025-02-20T02:43:52.015Z] 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-20T02:43:52.015Z] REASON: User specified action: run main/othervm Entrust after policyOn invalid
[2025-02-20T02:43:52.015Z] TIME: 6.182 seconds
[2025-02-20T02:43:52.015Z] messages:
[2025-02-20T02:43:52.015Z] command: main Entrust after policyOn invalid
[2025-02-20T02:43:52.015Z] reason: User specified action: run main/othervm Entrust after policyOn invalid
[2025-02-20T02:43:52.015Z] started: Thu Feb 20 02:43:42 UTC 2025
[2025-02-20T02:43:52.015Z] Mode: othervm [/othervm specified]
[2025-02-20T02:43:52.015Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED
[2025-02-20T02:43:52.015Z] finished: Thu Feb 20 02:43:49 UTC 2025
[2025-02-20T02:43:52.015Z] elapsed time (seconds): 6.182
[2025-02-20T02:43:52.015Z] configuration:
[2025-02-20T02:43:52.015Z] Boot Layer
[2025-02-20T02:43:52.015Z] add modules: java.base
[2025-02-20T02:43:52.015Z] add exports: java.base/sun.security.validator ALL-UNNAMED
[2025-02-20T02:43:52.015Z]
[2025-02-20T02:43:52.015Z] STDOUT:
[2025-02-20T02:43:52.015Z] STDERR:
[2025-02-20T02:43:52.015Z] Testing entrustevca
[2025-02-20T02:43:52.015Z] Testing entrustrootcaec1
[2025-02-20T02:43:52.015Z] Testing entrustrootcag2
[2025-02-20T02:43:52.015Z] Testing entrustrootcag4
[2025-02-20T02:43:52.015Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[2025-02-20T02:43:52.015Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:388)
[2025-02-20T02:43:52.015Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:271)
[2025-02-20T02:43:52.015Z] at java.base/sun.security.validator.Validator.validate(Validator.java:256)
[2025-02-20T02:43:52.015Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:241)
[2025-02-20T02:43:52.015Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113)
[2025-02-20T02:43:52.015Z] at Distrust.testTM(Distrust.java:125)
[2025-02-20T02:43:52.015Z] at Distrust.testCertificateChain(Distrust.java:82)
[2025-02-20T02:43:52.015Z] at Entrust.main(Entrust.java:66)
[2025-02-20T02:43:52.015Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
[2025-02-20T02:43:52.015Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[2025-02-20T02:43:52.015Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
[2025-02-20T02:43:52.015Z] at java.base/java.lang.Thread.run(Thread.java:1583)
[2025-02-20T02:43:52.015Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[2025-02-20T02:43:52.015Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148)
[2025-02-20T02:43:52.015Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129)
[2025-02-20T02:43:52.015Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297)
[2025-02-20T02:43:52.015Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:383)
[2025-02-20T02:43:52.015Z] ... 11 more
[2025-02-20T02:43:52.015Z] 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-20T02:43:52.015Z] at Distrust.testTM(Distrust.java:138)
[2025-02-20T02:43:52.015Z] at Distrust.testCertificateChain(Distrust.java:82)
[2025-02-20T02:43:52.015Z] at Entrust.main(Entrust.java:66)
[2025-02-20T02:43:52.015Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
[2025-02-20T02:43:52.015Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[2025-02-20T02:43:52.015Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
[2025-02-20T02:43:52.015Z] at java.base/java.lang.Thread.run(Thread.java:1583)
[2025-02-20T02:43:52.015Z]
[2025-02-20T02:43:52.015Z] 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-20T02:43:52.015Z] JavaTest Message: shutting down test
[2025-02-20T02:43:52.015Z]
[2025-02-20T02:43:52.015Z] 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-20T02:43:52.015Z] rerun:
[2025-02-20T02:43:52.015Z] cd /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/scratch/1 && \
[2025-02-20T02:43:52.015Z] DISPLAY=:0 \
[2025-02-20T02:43:52.015Z] HOME=/home/jenkins \
[2025-02-20T02:43:52.015Z] LANG=C.utf8 \
[2025-02-20T02:43:52.015Z] PATH=/bin:/usr/bin:/usr/sbin \
[2025-02-20T02:43:52.015Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/1/test/lib:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar \
[2025-02-20T02:43:52.015Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image/bin/java \
[2025-02-20T02:43:52.015Z] -Dtest.vm.opts='-ea -esa -Xmx512m' \
[2025-02-20T02:43:52.015Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \
[2025-02-20T02:43:52.015Z] -Dtest.compiler.opts= \
[2025-02-20T02:43:52.015Z] -Dtest.java.opts= \
[2025-02-20T02:43:52.015Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image \
[2025-02-20T02:43:52.015Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image \
[2025-02-20T02:43:52.015Z] -Dtest.timeout.factor=8.0 \
[2025-02-20T02:43:52.015Z] -Dtest.nativepath=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \
[2025-02-20T02:43:52.015Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \
[2025-02-20T02:43:52.015Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \
[2025-02-20T02:43:52.015Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \
[2025-02-20T02:43:52.015Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \
[2025-02-20T02:43:52.015Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \
[2025-02-20T02:43:52.016Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d \
[2025-02-20T02:43:52.016Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/1/test/lib \
[2025-02-20T02:43:52.016Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/1/test/lib \
[2025-02-20T02:43:52.016Z] -Dtest.modules=java.base/sun.security.validator \
[2025-02-20T02:43:52.016Z] --add-modules java.base \
[2025-02-20T02:43:52.016Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \
[2025-02-20T02:43:52.016Z] -ea \
[2025-02-20T02:43:52.016Z] -esa \
[2025-02-20T02:43:52.016Z] -Xmx512m \
[2025-02-20T02:43:52.016Z] -Djava.library.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \
[2025-02-20T02:43:52.016Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d/main.0.jta after policyOn invalid
[2025-02-20T02:43:52.016Z]
[2025-02-20T02:43:52.016Z] 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-20T02:43:52.016Z] --------------------------------------------------
[2025-02-20T02:43:52.016Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java
[2025-02-20T02:43:52.016Z] TEST JDK: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image
[2025-02-20T02:43:52.016Z]
[2025-02-20T02:43:52.016Z] ACTION: build -- Passed. Build successful
[2025-02-20T02:43:52.016Z] REASON: Named class compiled on demand
[2025-02-20T02:43:52.016Z] TIME: 19.186 seconds
[2025-02-20T02:43:52.016Z] messages:
[2025-02-20T02:43:52.016Z] command: build Camerfirma
[2025-02-20T02:43:52.016Z] reason: Named class compiled on demand
[2025-02-20T02:43:52.016Z] started: Thu Feb 20 02:43:27 UTC 2025
[2025-02-20T02:43:52.016Z] Test directory:
[2025-02-20T02:43:52.016Z] compile: Camerfirma
[2025-02-20T02:43:52.016Z] finished: Thu Feb 20 02:43:46 UTC 2025
[2025-02-20T02:43:52.016Z] elapsed time (seconds): 19.186
[2025-02-20T02:43:52.016Z]
[2025-02-20T02:43:52.016Z] ACTION: compile -- Passed. Compilation successful
[2025-02-20T02:43:52.016Z] REASON: .class file out of date or does not exist
[2025-02-20T02:43:52.016Z] TIME: 19.158 seconds
[2025-02-20T02:43:52.016Z] messages:
[2025-02-20T02:43:52.016Z] command: compile /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java
[2025-02-20T02:43:52.016Z] reason: .class file out of date or does not exist
[2025-02-20T02:43:52.016Z] started: Thu Feb 20 02:43:27 UTC 2025
[2025-02-20T02:43:52.016Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED
[2025-02-20T02:43:52.016Z] Mode: agentvm
[2025-02-20T02:43:52.016Z] Agent id: 2
[2025-02-20T02:43:52.016Z] finished: Thu Feb 20 02:43:46 UTC 2025
[2025-02-20T02:43:52.016Z] elapsed time (seconds): 19.158
[2025-02-20T02:43:52.016Z] configuration:
[2025-02-20T02:43:52.016Z] Boot Layer (javac runtime environment)
[2025-02-20T02:43:52.016Z] class path: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar
[2025-02-20T02:43:52.016Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar
[2025-02-20T02:43:52.016Z] patch: java.base /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/patches/java.base
[2025-02-20T02:43:52.016Z]
[2025-02-20T02:43:52.016Z] javac compilation environment
[2025-02-20T02:43:52.016Z] add modules: java.base
[2025-02-20T02:43:52.016Z] add exports: java.base/sun.security.validator ALL-UNNAMED
[2025-02-20T02:43:52.016Z] source path: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust
[2025-02-20T02:43:52.016Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib
[2025-02-20T02:43:52.016Z] class path: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust
[2025-02-20T02:43:52.016Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d
[2025-02-20T02:43:52.016Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/0/test/lib
[2025-02-20T02:43:52.016Z]
[2025-02-20T02:43:52.016Z] rerun:
[2025-02-20T02:43:52.016Z] cd /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/scratch/0 && \
[2025-02-20T02:43:52.016Z] DISPLAY=:0 \
[2025-02-20T02:43:52.016Z] HOME=/home/jenkins \
[2025-02-20T02:43:52.016Z] LANG=C.utf8 \
[2025-02-20T02:43:52.016Z] PATH=/bin:/usr/bin:/usr/sbin \
[2025-02-20T02:43:52.016Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image/bin/javac \
[2025-02-20T02:43:52.016Z] -J-ea \
[2025-02-20T02:43:52.016Z] -J-esa \
[2025-02-20T02:43:52.016Z] -J-Xmx512m \
[2025-02-20T02:43:52.016Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m' \
[2025-02-20T02:43:52.016Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \
[2025-02-20T02:43:52.016Z] -J-Dtest.compiler.opts= \
[2025-02-20T02:43:52.016Z] -J-Dtest.java.opts= \
[2025-02-20T02:43:52.016Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image \
[2025-02-20T02:43:52.016Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image \
[2025-02-20T02:43:52.017Z] -J-Dtest.timeout.factor=8.0 \
[2025-02-20T02:43:52.017Z] -J-Dtest.nativepath=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \
[2025-02-20T02:43:52.017Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \
[2025-02-20T02:43:52.017Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \
[2025-02-20T02:43:52.017Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \
[2025-02-20T02:43:52.017Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \
[2025-02-20T02:43:52.017Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \
[2025-02-20T02:43:52.017Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \
[2025-02-20T02:43:52.017Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/0/test/lib \
[2025-02-20T02:43:52.017Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/0/test/lib \
[2025-02-20T02:43:52.017Z] -J-Dtest.modules=java.base/sun.security.validator \
[2025-02-20T02:43:52.017Z] --add-modules java.base \
[2025-02-20T02:43:52.017Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \
[2025-02-20T02:43:52.017Z] -d /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \
[2025-02-20T02:43:52.017Z] -sourcepath /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \
[2025-02-20T02:43:52.017Z] -classpath /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/0/test/lib /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java
[2025-02-20T02:43:52.017Z] direct:
[2025-02-20T02:43:52.017Z] Note: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses or overrides a deprecated API.
[2025-02-20T02:43:52.017Z] Note: Recompile with -Xlint:deprecation for details.
[2025-02-20T02:43:52.017Z] Note: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses unchecked or unsafe operations.
[2025-02-20T02:43:52.017Z] Note: Recompile with -Xlint:unchecked for details.
[2025-02-20T02:43:52.017Z]
[2025-02-20T02:43:52.017Z] 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-20T02:43:52.017Z] REASON: User specified action: run main/othervm Camerfirma after policyOn invalid
[2025-02-20T02:43:52.017Z] TIME: 3.903 seconds
[2025-02-20T02:43:52.017Z] messages:
[2025-02-20T02:43:52.017Z] command: main Camerfirma after policyOn invalid
[2025-02-20T02:43:52.017Z] reason: User specified action: run main/othervm Camerfirma after policyOn invalid
[2025-02-20T02:43:52.017Z] started: Thu Feb 20 02:43:46 UTC 2025
[2025-02-20T02:43:52.017Z] Mode: othervm [/othervm specified]
[2025-02-20T02:43:52.017Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED
[2025-02-20T02:43:52.017Z] finished: Thu Feb 20 02:43:50 UTC 2025
[2025-02-20T02:43:52.017Z] elapsed time (seconds): 3.903
[2025-02-20T02:43:52.017Z] configuration:
[2025-02-20T02:43:52.017Z] Boot Layer
[2025-02-20T02:43:52.017Z] add modules: java.base
[2025-02-20T02:43:52.017Z] add exports: java.base/sun.security.validator ALL-UNNAMED
[2025-02-20T02:43:52.017Z]
[2025-02-20T02:43:52.017Z] STDOUT:
[2025-02-20T02:43:52.017Z] STDERR:
[2025-02-20T02:43:52.017Z] Testing camerfirmachamberscommerceca
[2025-02-20T02:43:52.017Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[2025-02-20T02:43:52.017Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:388)
[2025-02-20T02:43:52.017Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:271)
[2025-02-20T02:43:52.017Z] at java.base/sun.security.validator.Validator.validate(Validator.java:256)
[2025-02-20T02:43:52.017Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:241)
[2025-02-20T02:43:52.017Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113)
[2025-02-20T02:43:52.017Z] at Distrust.testTM(Distrust.java:125)
[2025-02-20T02:43:52.017Z] at Distrust.testCertificateChain(Distrust.java:82)
[2025-02-20T02:43:52.017Z] at Camerfirma.main(Camerfirma.java:73)
[2025-02-20T02:43:52.017Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
[2025-02-20T02:43:52.017Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[2025-02-20T02:43:52.017Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
[2025-02-20T02:43:52.017Z] at java.base/java.lang.Thread.run(Thread.java:1583)
[2025-02-20T02:43:52.017Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[2025-02-20T02:43:52.017Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148)
[2025-02-20T02:43:52.017Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129)
[2025-02-20T02:43:52.017Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297)
[2025-02-20T02:43:52.017Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:383)
[2025-02-20T02:43:52.017Z] ... 11 more
[2025-02-20T02:43:52.017Z] 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-20T02:43:52.017Z] at Distrust.testTM(Distrust.java:138)
[2025-02-20T02:43:52.017Z] at Distrust.testCertificateChain(Distrust.java:82)
[2025-02-20T02:43:52.017Z] at Camerfirma.main(Camerfirma.java:73)
[2025-02-20T02:43:52.017Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
[2025-02-20T02:43:52.017Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[2025-02-20T02:43:52.017Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
[2025-02-20T02:43:52.017Z] at java.base/java.lang.Thread.run(Thread.java:1583)
[2025-02-20T02:43:52.017Z]
[2025-02-20T02:43:52.017Z] 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-20T02:43:52.017Z] JavaTest Message: shutting down test
[2025-02-20T02:43:52.017Z]
[2025-02-20T02:43:52.017Z] 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-20T02:43:52.017Z] rerun:
[2025-02-20T02:43:52.017Z] cd /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/scratch/0 && \
[2025-02-20T02:43:52.017Z] DISPLAY=:0 \
[2025-02-20T02:43:52.017Z] HOME=/home/jenkins \
[2025-02-20T02:43:52.017Z] LANG=C.utf8 \
[2025-02-20T02:43:52.017Z] PATH=/bin:/usr/bin:/usr/sbin \
[2025-02-20T02:43:52.017Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/0/test/lib:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar \
[2025-02-20T02:43:52.017Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image/bin/java \
[2025-02-20T02:43:52.017Z] -Dtest.vm.opts='-ea -esa -Xmx512m' \
[2025-02-20T02:43:52.017Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \
[2025-02-20T02:43:52.017Z] -Dtest.compiler.opts= \
[2025-02-20T02:43:52.017Z] -Dtest.java.opts= \
[2025-02-20T02:43:52.017Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image \
[2025-02-20T02:43:52.017Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image \
[2025-02-20T02:43:52.017Z] -Dtest.timeout.factor=8.0 \
[2025-02-20T02:43:52.017Z] -Dtest.nativepath=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \
[2025-02-20T02:43:52.017Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \
[2025-02-20T02:43:52.017Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \
[2025-02-20T02:43:52.017Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \
[2025-02-20T02:43:52.018Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \
[2025-02-20T02:43:52.018Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \
[2025-02-20T02:43:52.018Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \
[2025-02-20T02:43:52.018Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/0/test/lib \
[2025-02-20T02:43:52.018Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/classes/0/test/lib \
[2025-02-20T02:43:52.018Z] -Dtest.modules=java.base/sun.security.validator \
[2025-02-20T02:43:52.018Z] --add-modules java.base \
[2025-02-20T02:43:52.018Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \
[2025-02-20T02:43:52.018Z] -ea \
[2025-02-20T02:43:52.018Z] -esa \
[2025-02-20T02:43:52.018Z] -Xmx512m \
[2025-02-20T02:43:52.018Z] -Djava.library.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \
[2025-02-20T02:43:52.018Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d/main.0.jta after policyOn invalid
[2025-02-20T02:43:52.018Z]
[2025-02-20T02:43:52.018Z] 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-20T02:43:52.018Z] --------------------------------------------------
[2025-02-20T02:43:52.018Z] Test results: failed: 2
[2025-02-20T02:44:49.237Z] Report written to /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/report/html/report.html
[2025-02-20T02:44:49.237Z] Results written to /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17400193748855/jdk_custom_0/work
[2025-02-20T02:44:49.237Z] Error: Some tests failed or other problems occurred.
[2025-02-20T02:44:49.237Z] -----------------------------------
[2025-02-20T02:44:49.237Z] jdk_custom_0_FAILED
[2025-02-20T02:44:49.237Z] -----------------------------------
[2025-02-20T02:44:49.237Z]
[2025-02-20T02:44:49.237Z] TEST TEARDOWN:
[2025-02-20T02:44:49.237Z] Nothing to be done for teardown.
[2025-02-20T02:44:49.237Z] jdk_custom_0 Finish Time: Thu Feb 20 02:44:41 2025 Epoch Time (ms): 1740019481404