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