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