No Possible Issues Found via Git Search

jdk_security3_1

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