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