No Possible Issues Found via Git Search
jdk_security3_1
[2025-02-21T03:51:53.045Z] Running test jdk_security3_1 ...
[2025-02-21T03:51:53.045Z] ===============================================
[2025-02-21T03:51:53.045Z] jdk_security3_1 Start Time: Fri Feb 21 03:51:52 2025 Epoch Time (ms): 1740109912139
[2025-02-21T03:51:53.045Z] variation: Mode650
[2025-02-21T03:51:53.045Z] JVM_OPTIONS: -XX:-UseCompressedOops
[2025-02-21T03:51:53.045Z] { \
[2025-02-21T03:51:53.045Z] echo ""; echo "TEST SETUP:"; \
[2025-02-21T03:51:53.045Z] echo "Nothing to be done for setup."; \
[2025-02-21T03:51:53.045Z] mkdir -p "/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../TKG/output_17401052816948/jdk_security3_1"; \
[2025-02-21T03:51:53.045Z] cd "/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../TKG/output_17401052816948/jdk_security3_1"; \
[2025-02-21T03:51:53.045Z] echo ""; echo "TESTING:"; \
[2025-02-21T03:51:53.045Z] "/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image/bin/java" -Xmx512m -jar "/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../../jvmtest/openjdk/jtreg/lib/jtreg.jar" \
[2025-02-21T03:51:53.045Z] -agentvm -a -ea -esa -v:fail,error,time,nopass -retain:fail,error,*.dmp,javacore.*,heapdump.*,*.trc -ignore:quiet -timeoutFactor:8 -xml:verify -concurrency:2 -nativepath:"/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native" -vmoptions:"-Xmx512m -XX:-UseCompressedOops " \
[2025-02-21T03:51:53.045Z] \
[2025-02-21T03:51:53.045Z] -w ""/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../TKG/output_17401052816948/jdk_security3_1"/work" \
[2025-02-21T03:51:53.045Z] -r ""/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../TKG/output_17401052816948/jdk_security3_1"/report" \
[2025-02-21T03:51:53.045Z] -jdk:"/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image" \
[2025-02-21T03:51:53.045Z] -exclude:"/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../openjdk/openjdk-jdk/test/jdk/ProblemList.txt" \
[2025-02-21T03:51:53.045Z] -exclude:"/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../../jvmtest/openjdk/excludes/ProblemList_openjdk25.txt" \
[2025-02-21T03:51:53.045Z] \
[2025-02-21T03:51:53.045Z] \
[2025-02-21T03:51:53.045Z] "/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../openjdk/openjdk-jdk/test/jdk:jdk_security3"; \
[2025-02-21T03:51:53.045Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_security3_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/..; else echo "-----------------------------------"; echo "jdk_security3_1""_FAILED"; echo "-----------------------------------"; fi; \
[2025-02-21T03:51:53.045Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-02-21T03:51:53.045Z] echo "Nothing to be done for teardown."; \
[2025-02-21T03:51:53.045Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../TKG/output_17401052816948/TestTargetResult";
[2025-02-21T03:51:53.045Z]
[2025-02-21T03:51:53.045Z] TEST SETUP:
[2025-02-21T03:51:53.045Z] Nothing to be done for setup.
[2025-02-21T03:51:53.045Z]
[2025-02-21T03:51:53.045Z] TESTING:
[2025-02-21T03:51:53.045Z] Directory "/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../TKG/output_17401052816948/jdk_security3_1/work" not found: creating
[2025-02-21T03:51:53.045Z] Directory "/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../TKG/output_17401052816948/jdk_security3_1/report" not found: creating
[2025-02-21T03:51:57.873Z] XML output with verification to /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work
[2025-02-21T04:24:15.940Z] --------------------------------------------------
[2025-02-21T04:24:15.940Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java
[2025-02-21T04:24:15.940Z] TEST JDK: /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image
[2025-02-21T04:24:15.940Z]
[2025-02-21T04:24:15.940Z] ACTION: build -- Passed. Build successful
[2025-02-21T04:24:15.940Z] REASON: Named class compiled on demand
[2025-02-21T04:24:15.940Z] TIME: 0.092 seconds
[2025-02-21T04:24:15.940Z] messages:
[2025-02-21T04:24:15.940Z] command: build Camerfirma
[2025-02-21T04:24:15.940Z] reason: Named class compiled on demand
[2025-02-21T04:24:15.940Z] started: Fri Feb 21 04:24:09 UTC 2025
[2025-02-21T04:24:15.940Z] Test directory:
[2025-02-21T04:24:15.940Z] compile: Camerfirma
[2025-02-21T04:24:15.940Z] finished: Fri Feb 21 04:24:09 UTC 2025
[2025-02-21T04:24:15.940Z] elapsed time (seconds): 0.092
[2025-02-21T04:24:15.940Z]
[2025-02-21T04:24:15.940Z] ACTION: compile -- Passed. Compilation successful
[2025-02-21T04:24:15.940Z] REASON: .class file out of date or does not exist
[2025-02-21T04:24:15.940Z] TIME: 0.091 seconds
[2025-02-21T04:24:15.940Z] messages:
[2025-02-21T04:24:15.940Z] command: compile /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java
[2025-02-21T04:24:15.940Z] reason: .class file out of date or does not exist
[2025-02-21T04:24:15.940Z] started: Fri Feb 21 04:24:09 UTC 2025
[2025-02-21T04:24:15.940Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED
[2025-02-21T04:24:15.940Z] Mode: agentvm
[2025-02-21T04:24:15.940Z] Agent id: 1
[2025-02-21T04:24:15.940Z] finished: Fri Feb 21 04:24:09 UTC 2025
[2025-02-21T04:24:15.940Z] elapsed time (seconds): 0.091
[2025-02-21T04:24:15.940Z] configuration:
[2025-02-21T04:24:15.940Z] Boot Layer (javac runtime environment)
[2025-02-21T04:24:15.940Z] class path: /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar
[2025-02-21T04:24:15.940Z] /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar
[2025-02-21T04:24:15.940Z] patch: java.base /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/patches/java.base
[2025-02-21T04:24:15.940Z]
[2025-02-21T04:24:15.940Z] javac compilation environment
[2025-02-21T04:24:15.940Z] add modules: java.base
[2025-02-21T04:24:15.940Z] add exports: java.base/sun.security.validator ALL-UNNAMED
[2025-02-21T04:24:15.940Z] source path: /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust
[2025-02-21T04:24:15.940Z] /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib
[2025-02-21T04:24:15.940Z] class path: /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust
[2025-02-21T04:24:15.940Z] /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d
[2025-02-21T04:24:15.940Z] /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/test/lib
[2025-02-21T04:24:15.940Z]
[2025-02-21T04:24:15.940Z] rerun:
[2025-02-21T04:24:15.940Z] cd /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/scratch/1 && \
[2025-02-21T04:24:15.940Z] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus \
[2025-02-21T04:24:15.940Z] DISPLAY=:0 \
[2025-02-21T04:24:15.940Z] HOME=/home/jenkins \
[2025-02-21T04:24:15.940Z] LANG=C.UTF-8 \
[2025-02-21T04:24:15.940Z] PATH=/bin:/usr/bin:/usr/sbin \
[2025-02-21T04:24:15.940Z] XDG_RUNTIME_DIR=/run/user/1001 \
[2025-02-21T04:24:15.940Z] XDG_SESSION_CLASS=user \
[2025-02-21T04:24:15.940Z] XDG_SESSION_ID=46176 \
[2025-02-21T04:24:15.940Z] XDG_SESSION_TYPE=tty \
[2025-02-21T04:24:15.940Z] /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image/bin/javac \
[2025-02-21T04:24:15.940Z] -J-ea \
[2025-02-21T04:24:15.940Z] -J-esa \
[2025-02-21T04:24:15.940Z] -J-Xmx512m \
[2025-02-21T04:24:15.940Z] -J-XX:-UseCompressedOops \
[2025-02-21T04:24:15.940Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \
[2025-02-21T04:24:15.940Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \
[2025-02-21T04:24:15.940Z] -J-Dtest.compiler.opts= \
[2025-02-21T04:24:15.940Z] -J-Dtest.java.opts= \
[2025-02-21T04:24:15.940Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image \
[2025-02-21T04:24:15.940Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image \
[2025-02-21T04:24:15.940Z] -J-Dtest.timeout.factor=8.0 \
[2025-02-21T04:24:15.940Z] -J-Dtest.nativepath=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \
[2025-02-21T04:24:15.940Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \
[2025-02-21T04:24:15.940Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \
[2025-02-21T04:24:15.940Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \
[2025-02-21T04:24:15.940Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \
[2025-02-21T04:24:15.940Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \
[2025-02-21T04:24:15.940Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \
[2025-02-21T04:24:15.940Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/test/lib \
[2025-02-21T04:24:15.940Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/test/lib \
[2025-02-21T04:24:15.941Z] -J-Dtest.modules=java.base/sun.security.validator \
[2025-02-21T04:24:15.941Z] --add-modules java.base \
[2025-02-21T04:24:15.941Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \
[2025-02-21T04:24:15.941Z] -d /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \
[2025-02-21T04:24:15.941Z] -sourcepath /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \
[2025-02-21T04:24:15.941Z] -classpath /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/test/lib /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java
[2025-02-21T04:24:15.941Z] direct:
[2025-02-21T04:24:15.941Z] Note: /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses or overrides a deprecated API.
[2025-02-21T04:24:15.941Z] Note: Recompile with -Xlint:deprecation for details.
[2025-02-21T04:24:15.941Z] Note: /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses unchecked or unsafe operations.
[2025-02-21T04:24:15.941Z] Note: Recompile with -Xlint:unchecked for details.
[2025-02-21T04:24:15.941Z]
[2025-02-21T04:24:15.941Z] 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-21T04:24:15.941Z] REASON: User specified action: run main/othervm Camerfirma after policyOn invalid
[2025-02-21T04:24:15.941Z] TIME: 0.375 seconds
[2025-02-21T04:24:15.941Z] messages:
[2025-02-21T04:24:15.941Z] command: main Camerfirma after policyOn invalid
[2025-02-21T04:24:15.941Z] reason: User specified action: run main/othervm Camerfirma after policyOn invalid
[2025-02-21T04:24:15.941Z] started: Fri Feb 21 04:24:09 UTC 2025
[2025-02-21T04:24:15.941Z] Mode: othervm [/othervm specified]
[2025-02-21T04:24:15.941Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED
[2025-02-21T04:24:15.941Z] finished: Fri Feb 21 04:24:10 UTC 2025
[2025-02-21T04:24:15.941Z] elapsed time (seconds): 0.375
[2025-02-21T04:24:15.941Z] configuration:
[2025-02-21T04:24:15.941Z] Boot Layer
[2025-02-21T04:24:15.941Z] add modules: java.base
[2025-02-21T04:24:15.941Z] add exports: java.base/sun.security.validator ALL-UNNAMED
[2025-02-21T04:24:15.941Z]
[2025-02-21T04:24:15.941Z] STDOUT:
[2025-02-21T04:24:15.941Z] STDERR:
[2025-02-21T04:24:15.941Z] Testing camerfirmachamberscommerceca
[2025-02-21T04:24:15.941Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[2025-02-21T04:24:15.941Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)
[2025-02-21T04:24:15.941Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:270)
[2025-02-21T04:24:15.941Z] at java.base/sun.security.validator.Validator.validate(Validator.java:256)
[2025-02-21T04:24:15.941Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:241)
[2025-02-21T04:24:15.941Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113)
[2025-02-21T04:24:15.941Z] at Distrust.testTM(Distrust.java:125)
[2025-02-21T04:24:15.941Z] at Distrust.testCertificateChain(Distrust.java:82)
[2025-02-21T04:24:15.941Z] at Camerfirma.main(Camerfirma.java:73)
[2025-02-21T04:24:15.941Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
[2025-02-21T04:24:15.941Z] at java.base/java.lang.reflect.Method.invoke(Method.java:565)
[2025-02-21T04:24:15.941Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
[2025-02-21T04:24:15.941Z] at java.base/java.lang.Thread.run(Thread.java:1447)
[2025-02-21T04:24:15.941Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[2025-02-21T04:24:15.941Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148)
[2025-02-21T04:24:15.941Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129)
[2025-02-21T04:24:15.941Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:299)
[2025-02-21T04:24:15.941Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
[2025-02-21T04:24:15.941Z] ... 11 more
[2025-02-21T04:24:15.941Z] 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-21T04:24:15.941Z] at Distrust.testTM(Distrust.java:138)
[2025-02-21T04:24:15.941Z] at Distrust.testCertificateChain(Distrust.java:82)
[2025-02-21T04:24:15.941Z] at Camerfirma.main(Camerfirma.java:73)
[2025-02-21T04:24:15.941Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
[2025-02-21T04:24:15.941Z] at java.base/java.lang.reflect.Method.invoke(Method.java:565)
[2025-02-21T04:24:15.941Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
[2025-02-21T04:24:15.941Z] at java.base/java.lang.Thread.run(Thread.java:1447)
[2025-02-21T04:24:15.941Z]
[2025-02-21T04:24:15.941Z] 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-21T04:24:15.941Z] JavaTest Message: shutting down test
[2025-02-21T04:24:15.941Z]
[2025-02-21T04:24:15.941Z] 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-21T04:24:15.941Z] rerun:
[2025-02-21T04:24:15.941Z] cd /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/scratch/1 && \
[2025-02-21T04:24:15.941Z] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus \
[2025-02-21T04:24:15.941Z] DISPLAY=:0 \
[2025-02-21T04:24:15.941Z] HOME=/home/jenkins \
[2025-02-21T04:24:15.941Z] LANG=C.UTF-8 \
[2025-02-21T04:24:15.941Z] PATH=/bin:/usr/bin:/usr/sbin \
[2025-02-21T04:24:15.941Z] XDG_RUNTIME_DIR=/run/user/1001 \
[2025-02-21T04:24:15.941Z] XDG_SESSION_CLASS=user \
[2025-02-21T04:24:15.941Z] XDG_SESSION_ID=46176 \
[2025-02-21T04:24:15.941Z] XDG_SESSION_TYPE=tty \
[2025-02-21T04:24:15.941Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/test/lib:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar \
[2025-02-21T04:24:15.941Z] /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image/bin/java \
[2025-02-21T04:24:15.941Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \
[2025-02-21T04:24:15.941Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \
[2025-02-21T04:24:15.941Z] -Dtest.compiler.opts= \
[2025-02-21T04:24:15.941Z] -Dtest.java.opts= \
[2025-02-21T04:24:15.941Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image \
[2025-02-21T04:24:15.941Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image \
[2025-02-21T04:24:15.941Z] -Dtest.timeout.factor=8.0 \
[2025-02-21T04:24:15.941Z] -Dtest.nativepath=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \
[2025-02-21T04:24:15.941Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \
[2025-02-21T04:24:15.941Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \
[2025-02-21T04:24:15.942Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \
[2025-02-21T04:24:15.942Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \
[2025-02-21T04:24:15.942Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \
[2025-02-21T04:24:15.942Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \
[2025-02-21T04:24:15.942Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/test/lib \
[2025-02-21T04:24:15.942Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/test/lib \
[2025-02-21T04:24:15.942Z] -Dtest.modules=java.base/sun.security.validator \
[2025-02-21T04:24:15.942Z] --add-modules java.base \
[2025-02-21T04:24:15.942Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \
[2025-02-21T04:24:15.942Z] -ea \
[2025-02-21T04:24:15.942Z] -esa \
[2025-02-21T04:24:15.942Z] -Xmx512m \
[2025-02-21T04:24:15.942Z] -XX:-UseCompressedOops \
[2025-02-21T04:24:15.942Z] -Djava.library.path=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \
[2025-02-21T04:24:15.942Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d/main.0.jta after policyOn invalid
[2025-02-21T04:24:15.942Z]
[2025-02-21T04:24:15.942Z] 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-21T04:24:15.942Z] --------------------------------------------------
[2025-02-21T04:24:15.942Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java
[2025-02-21T04:24:15.942Z] TEST JDK: /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image
[2025-02-21T04:24:15.942Z]
[2025-02-21T04:24:15.942Z] ACTION: build -- Passed. Build successful
[2025-02-21T04:24:15.942Z] REASON: Named class compiled on demand
[2025-02-21T04:24:15.942Z] TIME: 0.024 seconds
[2025-02-21T04:24:15.942Z] messages:
[2025-02-21T04:24:15.942Z] command: build Entrust
[2025-02-21T04:24:15.942Z] reason: Named class compiled on demand
[2025-02-21T04:24:15.942Z] started: Fri Feb 21 04:24:10 UTC 2025
[2025-02-21T04:24:15.942Z] Test directory:
[2025-02-21T04:24:15.942Z] compile: Entrust
[2025-02-21T04:24:15.942Z] finished: Fri Feb 21 04:24:10 UTC 2025
[2025-02-21T04:24:15.942Z] elapsed time (seconds): 0.024
[2025-02-21T04:24:15.942Z]
[2025-02-21T04:24:15.942Z] ACTION: compile -- Passed. Compilation successful
[2025-02-21T04:24:15.942Z] REASON: .class file out of date or does not exist
[2025-02-21T04:24:15.942Z] TIME: 0.024 seconds
[2025-02-21T04:24:15.942Z] messages:
[2025-02-21T04:24:15.942Z] command: compile /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java
[2025-02-21T04:24:15.942Z] reason: .class file out of date or does not exist
[2025-02-21T04:24:15.942Z] started: Fri Feb 21 04:24:10 UTC 2025
[2025-02-21T04:24:15.942Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED
[2025-02-21T04:24:15.942Z] Mode: agentvm
[2025-02-21T04:24:15.942Z] Agent id: 1
[2025-02-21T04:24:15.942Z] finished: Fri Feb 21 04:24:10 UTC 2025
[2025-02-21T04:24:15.942Z] elapsed time (seconds): 0.024
[2025-02-21T04:24:15.942Z] configuration:
[2025-02-21T04:24:15.942Z] Boot Layer (javac runtime environment)
[2025-02-21T04:24:15.942Z] class path: /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar
[2025-02-21T04:24:15.942Z] /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar
[2025-02-21T04:24:15.942Z] patch: java.base /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/patches/java.base
[2025-02-21T04:24:15.942Z]
[2025-02-21T04:24:15.942Z] javac compilation environment
[2025-02-21T04:24:15.942Z] add modules: java.base
[2025-02-21T04:24:15.942Z] add exports: java.base/sun.security.validator ALL-UNNAMED
[2025-02-21T04:24:15.942Z] source path: /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust
[2025-02-21T04:24:15.942Z] /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib
[2025-02-21T04:24:15.942Z] class path: /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust
[2025-02-21T04:24:15.942Z] /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d
[2025-02-21T04:24:15.942Z] /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/test/lib
[2025-02-21T04:24:15.942Z]
[2025-02-21T04:24:15.942Z] rerun:
[2025-02-21T04:24:15.942Z] cd /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/scratch/1 && \
[2025-02-21T04:24:15.942Z] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus \
[2025-02-21T04:24:15.942Z] DISPLAY=:0 \
[2025-02-21T04:24:15.942Z] HOME=/home/jenkins \
[2025-02-21T04:24:15.942Z] LANG=C.UTF-8 \
[2025-02-21T04:24:15.942Z] PATH=/bin:/usr/bin:/usr/sbin \
[2025-02-21T04:24:15.942Z] XDG_RUNTIME_DIR=/run/user/1001 \
[2025-02-21T04:24:15.942Z] XDG_SESSION_CLASS=user \
[2025-02-21T04:24:15.942Z] XDG_SESSION_ID=46176 \
[2025-02-21T04:24:15.942Z] XDG_SESSION_TYPE=tty \
[2025-02-21T04:24:15.942Z] /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image/bin/javac \
[2025-02-21T04:24:15.942Z] -J-ea \
[2025-02-21T04:24:15.942Z] -J-esa \
[2025-02-21T04:24:15.942Z] -J-Xmx512m \
[2025-02-21T04:24:15.942Z] -J-XX:-UseCompressedOops \
[2025-02-21T04:24:15.942Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \
[2025-02-21T04:24:15.942Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \
[2025-02-21T04:24:15.942Z] -J-Dtest.compiler.opts= \
[2025-02-21T04:24:15.942Z] -J-Dtest.java.opts= \
[2025-02-21T04:24:15.942Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image \
[2025-02-21T04:24:15.942Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image \
[2025-02-21T04:24:15.942Z] -J-Dtest.timeout.factor=8.0 \
[2025-02-21T04:24:15.942Z] -J-Dtest.nativepath=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \
[2025-02-21T04:24:15.942Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \
[2025-02-21T04:24:15.942Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \
[2025-02-21T04:24:15.942Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \
[2025-02-21T04:24:15.942Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \
[2025-02-21T04:24:15.943Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \
[2025-02-21T04:24:15.943Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d \
[2025-02-21T04:24:15.943Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/test/lib \
[2025-02-21T04:24:15.943Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/test/lib \
[2025-02-21T04:24:15.943Z] -J-Dtest.modules=java.base/sun.security.validator \
[2025-02-21T04:24:15.943Z] --add-modules java.base \
[2025-02-21T04:24:15.943Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \
[2025-02-21T04:24:15.943Z] -d /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d \
[2025-02-21T04:24:15.943Z] -sourcepath /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \
[2025-02-21T04:24:15.943Z] -classpath /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/test/lib /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java
[2025-02-21T04:24:15.943Z] direct:
[2025-02-21T04:24:15.943Z] Note: /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses or overrides a deprecated API.
[2025-02-21T04:24:15.943Z] Note: Recompile with -Xlint:deprecation for details.
[2025-02-21T04:24:15.943Z] Note: /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses unchecked or unsafe operations.
[2025-02-21T04:24:15.943Z] Note: Recompile with -Xlint:unchecked for details.
[2025-02-21T04:24:15.943Z]
[2025-02-21T04:24:15.943Z] 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-21T04:24:15.943Z] REASON: User specified action: run main/othervm Entrust after policyOn invalid
[2025-02-21T04:24:15.943Z] TIME: 0.496 seconds
[2025-02-21T04:24:15.943Z] messages:
[2025-02-21T04:24:15.943Z] command: main Entrust after policyOn invalid
[2025-02-21T04:24:15.943Z] reason: User specified action: run main/othervm Entrust after policyOn invalid
[2025-02-21T04:24:15.943Z] started: Fri Feb 21 04:24:10 UTC 2025
[2025-02-21T04:24:15.943Z] Mode: othervm [/othervm specified]
[2025-02-21T04:24:15.943Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED
[2025-02-21T04:24:15.943Z] finished: Fri Feb 21 04:24:10 UTC 2025
[2025-02-21T04:24:15.943Z] elapsed time (seconds): 0.496
[2025-02-21T04:24:15.943Z] configuration:
[2025-02-21T04:24:15.943Z] Boot Layer
[2025-02-21T04:24:15.943Z] add modules: java.base
[2025-02-21T04:24:15.943Z] add exports: java.base/sun.security.validator ALL-UNNAMED
[2025-02-21T04:24:15.943Z]
[2025-02-21T04:24:15.943Z] STDOUT:
[2025-02-21T04:24:15.943Z] STDERR:
[2025-02-21T04:24:15.943Z] Testing entrustevca
[2025-02-21T04:24:15.943Z] Testing entrustrootcaec1
[2025-02-21T04:24:15.943Z] Testing entrustrootcag2
[2025-02-21T04:24:15.943Z] Testing entrustrootcag4
[2025-02-21T04:24:15.943Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[2025-02-21T04:24:15.943Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)
[2025-02-21T04:24:15.943Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:270)
[2025-02-21T04:24:15.943Z] at java.base/sun.security.validator.Validator.validate(Validator.java:256)
[2025-02-21T04:24:15.943Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:241)
[2025-02-21T04:24:15.943Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113)
[2025-02-21T04:24:15.943Z] at Distrust.testTM(Distrust.java:125)
[2025-02-21T04:24:15.943Z] at Distrust.testCertificateChain(Distrust.java:82)
[2025-02-21T04:24:15.943Z] at Entrust.main(Entrust.java:66)
[2025-02-21T04:24:15.943Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
[2025-02-21T04:24:15.943Z] at java.base/java.lang.reflect.Method.invoke(Method.java:565)
[2025-02-21T04:24:15.943Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
[2025-02-21T04:24:15.943Z] at java.base/java.lang.Thread.run(Thread.java:1447)
[2025-02-21T04:24:15.943Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[2025-02-21T04:24:15.943Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148)
[2025-02-21T04:24:15.943Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129)
[2025-02-21T04:24:15.943Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:299)
[2025-02-21T04:24:15.943Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
[2025-02-21T04:24:15.943Z] ... 11 more
[2025-02-21T04:24:15.943Z] 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-21T04:24:15.943Z] at Distrust.testTM(Distrust.java:138)
[2025-02-21T04:24:15.943Z] at Distrust.testCertificateChain(Distrust.java:82)
[2025-02-21T04:24:15.943Z] at Entrust.main(Entrust.java:66)
[2025-02-21T04:24:15.943Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
[2025-02-21T04:24:15.943Z] at java.base/java.lang.reflect.Method.invoke(Method.java:565)
[2025-02-21T04:24:15.943Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
[2025-02-21T04:24:15.943Z] at java.base/java.lang.Thread.run(Thread.java:1447)
[2025-02-21T04:24:15.943Z]
[2025-02-21T04:24:15.943Z] 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-21T04:24:15.943Z] JavaTest Message: shutting down test
[2025-02-21T04:24:15.943Z]
[2025-02-21T04:24:15.943Z] 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-21T04:24:15.943Z] rerun:
[2025-02-21T04:24:15.943Z] cd /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/scratch/1 && \
[2025-02-21T04:24:15.943Z] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus \
[2025-02-21T04:24:15.943Z] DISPLAY=:0 \
[2025-02-21T04:24:15.943Z] HOME=/home/jenkins \
[2025-02-21T04:24:15.943Z] LANG=C.UTF-8 \
[2025-02-21T04:24:15.943Z] PATH=/bin:/usr/bin:/usr/sbin \
[2025-02-21T04:24:15.943Z] XDG_RUNTIME_DIR=/run/user/1001 \
[2025-02-21T04:24:15.943Z] XDG_SESSION_CLASS=user \
[2025-02-21T04:24:15.943Z] XDG_SESSION_ID=46176 \
[2025-02-21T04:24:15.943Z] XDG_SESSION_TYPE=tty \
[2025-02-21T04:24:15.943Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/test/lib:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar \
[2025-02-21T04:24:15.944Z] /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image/bin/java \
[2025-02-21T04:24:15.944Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \
[2025-02-21T04:24:15.944Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \
[2025-02-21T04:24:15.944Z] -Dtest.compiler.opts= \
[2025-02-21T04:24:15.944Z] -Dtest.java.opts= \
[2025-02-21T04:24:15.944Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image \
[2025-02-21T04:24:15.944Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image \
[2025-02-21T04:24:15.944Z] -Dtest.timeout.factor=8.0 \
[2025-02-21T04:24:15.944Z] -Dtest.nativepath=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \
[2025-02-21T04:24:15.944Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \
[2025-02-21T04:24:15.944Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \
[2025-02-21T04:24:15.944Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \
[2025-02-21T04:24:15.944Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \
[2025-02-21T04:24:15.944Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \
[2025-02-21T04:24:15.944Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d \
[2025-02-21T04:24:15.944Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/test/lib \
[2025-02-21T04:24:15.944Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/classes/0/test/lib \
[2025-02-21T04:24:15.944Z] -Dtest.modules=java.base/sun.security.validator \
[2025-02-21T04:24:15.944Z] --add-modules java.base \
[2025-02-21T04:24:15.944Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \
[2025-02-21T04:24:15.944Z] -ea \
[2025-02-21T04:24:15.944Z] -esa \
[2025-02-21T04:24:15.944Z] -Xmx512m \
[2025-02-21T04:24:15.944Z] -XX:-UseCompressedOops \
[2025-02-21T04:24:15.944Z] -Djava.library.path=/home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \
[2025-02-21T04:24:15.944Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d/main.0.jta after policyOn invalid
[2025-02-21T04:24:15.944Z]
[2025-02-21T04:24:15.944Z] 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-21T04:24:15.944Z] --------------------------------------------------
[2025-02-21T04:47:23.135Z] Test results: passed: 943; failed: 2
[2025-02-21T04:47:23.135Z] Report written to /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/report/html/report.html
[2025-02-21T04:47:23.135Z] Results written to /home/jenkins/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17401052816948/jdk_security3_1/work
[2025-02-21T04:47:23.135Z] Error: Some tests failed or other problems occurred.
[2025-02-21T04:47:23.135Z] -----------------------------------
[2025-02-21T04:47:23.135Z] jdk_security3_1_FAILED
[2025-02-21T04:47:23.135Z] -----------------------------------
[2025-02-21T04:47:23.135Z]
[2025-02-21T04:47:23.135Z] TEST TEARDOWN:
[2025-02-21T04:47:23.135Z] Nothing to be done for teardown.
[2025-02-21T04:47:23.135Z] jdk_security3_1 Finish Time: Fri Feb 21 04:47:17 2025 Epoch Time (ms): 1740113237919