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