No Possible Issues Found via Git Search

jdk_security3_0

[2025-02-20T05:11:34.989Z] Running test jdk_security3_0 ... [2025-02-20T05:11:34.989Z] =============================================== [2025-02-20T05:11:34.989Z] jdk_security3_0 Start Time: Thu Feb 20 05:11:34 2025 Epoch Time (ms): 1740028294458 [2025-02-20T05:11:34.989Z] variation: Mode150 [2025-02-20T05:11:34.989Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-02-20T05:11:34.989Z] { \ [2025-02-20T05:11:34.989Z] echo ""; echo "TEST SETUP:"; \ [2025-02-20T05:11:34.989Z] echo "Nothing to be done for setup."; \ [2025-02-20T05:11:34.989Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/../TKG/output_17400282934086/jdk_security3_0"; \ [2025-02-20T05:11:34.989Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/../TKG/output_17400282934086/jdk_security3_0"; \ [2025-02-20T05:11:34.989Z] echo ""; echo "TESTING:"; \ [2025-02-20T05:11:34.989Z] "/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-20T05:11:34.989Z] -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-20T05:11:34.989Z] \ [2025-02-20T05:11:34.989Z] -w ""/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/../TKG/output_17400282934086/jdk_security3_0"/work" \ [2025-02-20T05:11:34.989Z] -r ""/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/../TKG/output_17400282934086/jdk_security3_0"/report" \ [2025-02-20T05:11:34.989Z] -jdk:"/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/jdkbinary/j2sdk-image" \ [2025-02-20T05:11:34.989Z] -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-20T05:11:34.989Z] -exclude:"/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/../../jvmtest/openjdk/excludes/ProblemList_openjdk21.txt" \ [2025-02-20T05:11:34.989Z] \ [2025-02-20T05:11:34.989Z] -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-20T05:11:34.989Z] "/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/../openjdk/openjdk-jdk/test/jdk:jdk_security3"; \ [2025-02-20T05:11:34.989Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_security3_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/..; else echo "-----------------------------------"; echo "jdk_security3_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-20T05:11:34.989Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-20T05:11:34.989Z] echo "Nothing to be done for teardown."; \ [2025-02-20T05:11:34.989Z] } 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-20T05:11:34.989Z] [2025-02-20T05:11:34.989Z] TEST SETUP: [2025-02-20T05:11:34.989Z] Nothing to be done for setup. [2025-02-20T05:11:34.989Z] [2025-02-20T05:11:34.989Z] TESTING: [2025-02-20T05:11:36.328Z] Directory "/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/../TKG/output_17400282934086/jdk_security3_0/work" not found: creating [2025-02-20T05:11:36.328Z] Directory "/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/../TKG/output_17400282934086/jdk_security3_0/report" not found: creating [2025-02-20T05:12:04.616Z] XML output with verification to /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/output_17400282934086/jdk_security3_0/work [2025-02-20T06:50:04.494Z] -------------------------------------------------- [2025-02-20T06:50:04.494Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-02-20T06:50:04.494Z] TEST JDK: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/jdkbinary/j2sdk-image [2025-02-20T06:50:04.494Z] [2025-02-20T06:50:04.494Z] ACTION: build -- Passed. Build successful [2025-02-20T06:50:04.494Z] REASON: Named class compiled on demand [2025-02-20T06:50:04.494Z] TIME: 0.581 seconds [2025-02-20T06:50:04.494Z] messages: [2025-02-20T06:50:04.494Z] command: build Camerfirma [2025-02-20T06:50:04.494Z] reason: Named class compiled on demand [2025-02-20T06:50:04.494Z] started: Thu Feb 20 06:49:49 UTC 2025 [2025-02-20T06:50:04.494Z] Test directory: [2025-02-20T06:50:04.494Z] compile: Camerfirma [2025-02-20T06:50:04.494Z] finished: Thu Feb 20 06:49:50 UTC 2025 [2025-02-20T06:50:04.494Z] elapsed time (seconds): 0.581 [2025-02-20T06:50:04.494Z] [2025-02-20T06:50:04.494Z] ACTION: compile -- Passed. Compilation successful [2025-02-20T06:50:04.494Z] REASON: .class file out of date or does not exist [2025-02-20T06:50:04.494Z] TIME: 0.579 seconds [2025-02-20T06:50:04.494Z] messages: [2025-02-20T06:50:04.494Z] 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-20T06:50:04.494Z] reason: .class file out of date or does not exist [2025-02-20T06:50:04.494Z] started: Thu Feb 20 06:49:50 UTC 2025 [2025-02-20T06:50:04.494Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-20T06:50:04.494Z] Mode: agentvm [2025-02-20T06:50:04.494Z] Agent id: 3 [2025-02-20T06:50:04.494Z] finished: Thu Feb 20 06:49:50 UTC 2025 [2025-02-20T06:50:04.494Z] elapsed time (seconds): 0.579 [2025-02-20T06:50:04.494Z] configuration: [2025-02-20T06:50:04.494Z] Boot Layer (javac runtime environment) [2025-02-20T06:50:04.494Z] class path: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-02-20T06:50:04.494Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-02-20T06:50:04.494Z] patch: java.base /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/output_17400282934086/jdk_security3_0/work/patches/java.base [2025-02-20T06:50:04.494Z] [2025-02-20T06:50:04.494Z] javac compilation environment [2025-02-20T06:50:04.494Z] add modules: java.base [2025-02-20T06:50:04.494Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-20T06:50:04.494Z] 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-20T06:50:04.494Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/openjdk/openjdk-jdk/test/lib [2025-02-20T06:50:04.494Z] 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-20T06:50:04.494Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/output_17400282934086/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d [2025-02-20T06:50:04.494Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/output_17400282934086/jdk_security3_0/work/classes/0/test/lib [2025-02-20T06:50:04.494Z] [2025-02-20T06:50:04.494Z] rerun: [2025-02-20T06:50:04.494Z] cd /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/output_17400282934086/jdk_security3_0/work/scratch/0 && \ [2025-02-20T06:50:04.494Z] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus \ [2025-02-20T06:50:04.494Z] DISPLAY=:0 \ [2025-02-20T06:50:04.494Z] HOME=/home/jenkins \ [2025-02-20T06:50:04.494Z] LANG=en_US.UTF-8 \ [2025-02-20T06:50:04.494Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-20T06:50:04.494Z] XDG_RUNTIME_DIR=/run/user/1001 \ [2025-02-20T06:50:04.494Z] XDG_SESSION_CLASS=user \ [2025-02-20T06:50:04.494Z] XDG_SESSION_ID=983 \ [2025-02-20T06:50:04.494Z] XDG_SESSION_TYPE=tty \ [2025-02-20T06:50:04.494Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/jdkbinary/j2sdk-image/bin/javac \ [2025-02-20T06:50:04.494Z] -J-ea \ [2025-02-20T06:50:04.494Z] -J-esa \ [2025-02-20T06:50:04.494Z] -J-Xmx512m \ [2025-02-20T06:50:04.494Z] -J-XX:+UseCompressedOops \ [2025-02-20T06:50:04.494Z] -J-Djava.awt.headless=true \ [2025-02-20T06:50:04.494Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops -Djava.awt.headless=true' \ [2025-02-20T06:50:04.494Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops -J-Djava.awt.headless=true' \ [2025-02-20T06:50:04.494Z] -J-Dtest.compiler.opts= \ [2025-02-20T06:50:04.494Z] -J-Dtest.java.opts= \ [2025-02-20T06:50:04.494Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/jdkbinary/j2sdk-image \ [2025-02-20T06:50:04.494Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/jdkbinary/j2sdk-image \ [2025-02-20T06:50:04.494Z] -J-Dtest.timeout.factor=16.0 \ [2025-02-20T06:50:04.494Z] -J-Dtest.nativepath=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-20T06:50:04.494Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-20T06:50:04.494Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-20T06:50:04.494Z] -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-20T06:50:04.494Z] -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-20T06:50:04.494Z] -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-20T06:50:04.494Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/output_17400282934086/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \ [2025-02-20T06:50:04.494Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/output_17400282934086/jdk_security3_0/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_0/work/classes/0/test/lib \ [2025-02-20T06:50:04.494Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/output_17400282934086/jdk_security3_0/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_0/work/classes/0/test/lib \ [2025-02-20T06:50:04.494Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-20T06:50:04.494Z] --add-modules java.base \ [2025-02-20T06:50:04.494Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-20T06:50:04.494Z] -d /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/output_17400282934086/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \ [2025-02-20T06:50:04.494Z] -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-20T06:50:04.495Z] -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_0/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_0/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-20T06:50:04.495Z] direct: [2025-02-20T06:50:04.495Z] 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-20T06:50:04.495Z] Note: Recompile with -Xlint:deprecation for details. [2025-02-20T06:50:04.495Z] 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-20T06:50:04.495Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-20T06:50:04.495Z] [2025-02-20T06:50:04.495Z] 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-20T06:50:04.495Z] REASON: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-02-20T06:50:04.495Z] TIME: 3.739 seconds [2025-02-20T06:50:04.495Z] messages: [2025-02-20T06:50:04.495Z] command: main Camerfirma after policyOn invalid [2025-02-20T06:50:04.495Z] reason: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-02-20T06:50:04.495Z] started: Thu Feb 20 06:49:50 UTC 2025 [2025-02-20T06:50:04.495Z] Mode: othervm [/othervm specified] [2025-02-20T06:50:04.495Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-20T06:50:04.495Z] finished: Thu Feb 20 06:49:54 UTC 2025 [2025-02-20T06:50:04.495Z] elapsed time (seconds): 3.739 [2025-02-20T06:50:04.495Z] configuration: [2025-02-20T06:50:04.495Z] Boot Layer [2025-02-20T06:50:04.495Z] add modules: java.base [2025-02-20T06:50:04.495Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-20T06:50:04.495Z] [2025-02-20T06:50:04.495Z] STDOUT: [2025-02-20T06:50:04.495Z] STDERR: [2025-02-20T06:50:04.495Z] Testing camerfirmachamberscommerceca [2025-02-20T06:50:04.495Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-20T06:50:04.495Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:388) [2025-02-20T06:50:04.495Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:271) [2025-02-20T06:50:04.495Z] at java.base/sun.security.validator.Validator.validate(Validator.java:256) [2025-02-20T06:50:04.495Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:241) [2025-02-20T06:50:04.495Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113) [2025-02-20T06:50:04.495Z] at Distrust.testTM(Distrust.java:125) [2025-02-20T06:50:04.495Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-20T06:50:04.495Z] at Camerfirma.main(Camerfirma.java:73) [2025-02-20T06:50:04.495Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-20T06:50:04.495Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-20T06:50:04.495Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-20T06:50:04.495Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-20T06:50:04.495Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-20T06:50:04.495Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-02-20T06:50:04.495Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-02-20T06:50:04.495Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-02-20T06:50:04.495Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:383) [2025-02-20T06:50:04.495Z] ... 11 more [2025-02-20T06:50:04.495Z] 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-20T06:50:04.495Z] at Distrust.testTM(Distrust.java:138) [2025-02-20T06:50:04.495Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-20T06:50:04.495Z] at Camerfirma.main(Camerfirma.java:73) [2025-02-20T06:50:04.495Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-20T06:50:04.495Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-20T06:50:04.495Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-20T06:50:04.495Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-20T06:50:04.495Z] [2025-02-20T06:50:04.495Z] 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-20T06:50:04.495Z] JavaTest Message: shutting down test [2025-02-20T06:50:04.495Z] [2025-02-20T06:50:04.495Z] 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-20T06:50:04.495Z] rerun: [2025-02-20T06:50:04.495Z] cd /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/output_17400282934086/jdk_security3_0/work/scratch/0 && \ [2025-02-20T06:50:04.495Z] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus \ [2025-02-20T06:50:04.495Z] DISPLAY=:0 \ [2025-02-20T06:50:04.495Z] HOME=/home/jenkins \ [2025-02-20T06:50:04.495Z] LANG=en_US.UTF-8 \ [2025-02-20T06:50:04.495Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-20T06:50:04.495Z] XDG_RUNTIME_DIR=/run/user/1001 \ [2025-02-20T06:50:04.495Z] XDG_SESSION_CLASS=user \ [2025-02-20T06:50:04.495Z] XDG_SESSION_ID=983 \ [2025-02-20T06:50:04.495Z] XDG_SESSION_TYPE=tty \ [2025-02-20T06:50:04.495Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/output_17400282934086/jdk_security3_0/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_0/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-20T06:50:04.495Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/jdkbinary/j2sdk-image/bin/java \ [2025-02-20T06:50:04.495Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops -Djava.awt.headless=true' \ [2025-02-20T06:50:04.495Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops -J-Djava.awt.headless=true' \ [2025-02-20T06:50:04.495Z] -Dtest.compiler.opts= \ [2025-02-20T06:50:04.495Z] -Dtest.java.opts= \ [2025-02-20T06:50:04.495Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/jdkbinary/j2sdk-image \ [2025-02-20T06:50:04.495Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/jdkbinary/j2sdk-image \ [2025-02-20T06:50:04.495Z] -Dtest.timeout.factor=16.0 \ [2025-02-20T06:50:04.495Z] -Dtest.nativepath=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-20T06:50:04.495Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-20T06:50:04.495Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-20T06:50:04.495Z] -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-20T06:50:04.495Z] -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-20T06:50:04.495Z] -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-20T06:50:04.495Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/output_17400282934086/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d \ [2025-02-20T06:50:04.495Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/output_17400282934086/jdk_security3_0/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_0/work/classes/0/test/lib \ [2025-02-20T06:50:04.496Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/output_17400282934086/jdk_security3_0/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_0/work/classes/0/test/lib \ [2025-02-20T06:50:04.496Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-20T06:50:04.496Z] --add-modules java.base \ [2025-02-20T06:50:04.496Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-20T06:50:04.496Z] -ea \ [2025-02-20T06:50:04.496Z] -esa \ [2025-02-20T06:50:04.496Z] -Xmx512m \ [2025-02-20T06:50:04.496Z] -XX:+UseCompressedOops \ [2025-02-20T06:50:04.496Z] -Djava.awt.headless=true \ [2025-02-20T06:50:04.496Z] -Djava.library.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-20T06:50:04.496Z] 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_0/work/sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.d/main.0.jta after policyOn invalid [2025-02-20T06:50:04.496Z] [2025-02-20T06:50:04.496Z] 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-20T06:50:04.496Z] -------------------------------------------------- [2025-02-20T06:50:04.496Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java [2025-02-20T06:50:04.496Z] TEST JDK: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/jdkbinary/j2sdk-image [2025-02-20T06:50:04.496Z] [2025-02-20T06:50:04.496Z] ACTION: build -- Passed. Build successful [2025-02-20T06:50:04.496Z] REASON: Named class compiled on demand [2025-02-20T06:50:04.496Z] TIME: 0.524 seconds [2025-02-20T06:50:04.496Z] messages: [2025-02-20T06:50:04.496Z] command: build Entrust [2025-02-20T06:50:04.496Z] reason: Named class compiled on demand [2025-02-20T06:50:04.496Z] started: Thu Feb 20 06:49:50 UTC 2025 [2025-02-20T06:50:04.496Z] Test directory: [2025-02-20T06:50:04.496Z] compile: Entrust [2025-02-20T06:50:04.496Z] finished: Thu Feb 20 06:49:50 UTC 2025 [2025-02-20T06:50:04.496Z] elapsed time (seconds): 0.524 [2025-02-20T06:50:04.496Z] [2025-02-20T06:50:04.496Z] ACTION: compile -- Passed. Compilation successful [2025-02-20T06:50:04.496Z] REASON: .class file out of date or does not exist [2025-02-20T06:50:04.496Z] TIME: 0.517 seconds [2025-02-20T06:50:04.496Z] messages: [2025-02-20T06:50:04.496Z] 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-20T06:50:04.496Z] reason: .class file out of date or does not exist [2025-02-20T06:50:04.496Z] started: Thu Feb 20 06:49:50 UTC 2025 [2025-02-20T06:50:04.496Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-20T06:50:04.496Z] Mode: agentvm [2025-02-20T06:50:04.496Z] Agent id: 2 [2025-02-20T06:50:04.496Z] finished: Thu Feb 20 06:49:50 UTC 2025 [2025-02-20T06:50:04.496Z] elapsed time (seconds): 0.517 [2025-02-20T06:50:04.496Z] configuration: [2025-02-20T06:50:04.496Z] Boot Layer (javac runtime environment) [2025-02-20T06:50:04.496Z] class path: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-02-20T06:50:04.496Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-02-20T06:50:04.496Z] patch: java.base /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/output_17400282934086/jdk_security3_0/work/patches/java.base [2025-02-20T06:50:04.496Z] [2025-02-20T06:50:04.496Z] javac compilation environment [2025-02-20T06:50:04.496Z] add modules: java.base [2025-02-20T06:50:04.496Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-20T06:50:04.496Z] 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-20T06:50:04.496Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/openjdk/openjdk-jdk/test/lib [2025-02-20T06:50:04.496Z] 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-20T06:50:04.496Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/output_17400282934086/jdk_security3_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d [2025-02-20T06:50:04.496Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/output_17400282934086/jdk_security3_0/work/classes/1/test/lib [2025-02-20T06:50:04.496Z] [2025-02-20T06:50:04.496Z] rerun: [2025-02-20T06:50:04.496Z] cd /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/output_17400282934086/jdk_security3_0/work/scratch/2 && \ [2025-02-20T06:50:04.496Z] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus \ [2025-02-20T06:50:04.496Z] DISPLAY=:0 \ [2025-02-20T06:50:04.496Z] HOME=/home/jenkins \ [2025-02-20T06:50:04.496Z] LANG=en_US.UTF-8 \ [2025-02-20T06:50:04.496Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-20T06:50:04.496Z] XDG_RUNTIME_DIR=/run/user/1001 \ [2025-02-20T06:50:04.496Z] XDG_SESSION_CLASS=user \ [2025-02-20T06:50:04.496Z] XDG_SESSION_ID=983 \ [2025-02-20T06:50:04.496Z] XDG_SESSION_TYPE=tty \ [2025-02-20T06:50:04.496Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/jdkbinary/j2sdk-image/bin/javac \ [2025-02-20T06:50:04.496Z] -J-ea \ [2025-02-20T06:50:04.496Z] -J-esa \ [2025-02-20T06:50:04.496Z] -J-Xmx512m \ [2025-02-20T06:50:04.496Z] -J-XX:+UseCompressedOops \ [2025-02-20T06:50:04.496Z] -J-Djava.awt.headless=true \ [2025-02-20T06:50:04.496Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops -Djava.awt.headless=true' \ [2025-02-20T06:50:04.496Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops -J-Djava.awt.headless=true' \ [2025-02-20T06:50:04.496Z] -J-Dtest.compiler.opts= \ [2025-02-20T06:50:04.496Z] -J-Dtest.java.opts= \ [2025-02-20T06:50:04.496Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/jdkbinary/j2sdk-image \ [2025-02-20T06:50:04.496Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/jdkbinary/j2sdk-image \ [2025-02-20T06:50:04.496Z] -J-Dtest.timeout.factor=16.0 \ [2025-02-20T06:50:04.496Z] -J-Dtest.nativepath=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-20T06:50:04.496Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-20T06:50:04.496Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-20T06:50:04.496Z] -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-20T06:50:04.496Z] -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-20T06:50:04.496Z] -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-20T06:50:04.496Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/output_17400282934086/jdk_security3_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d \ [2025-02-20T06:50:04.496Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/output_17400282934086/jdk_security3_0/work/classes/1/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_0/work/classes/1/test/lib \ [2025-02-20T06:50:04.496Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/output_17400282934086/jdk_security3_0/work/classes/1/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_0/work/classes/1/test/lib \ [2025-02-20T06:50:04.496Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-20T06:50:04.496Z] --add-modules java.base \ [2025-02-20T06:50:04.496Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-20T06:50:04.496Z] -d /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/output_17400282934086/jdk_security3_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d \ [2025-02-20T06:50:04.496Z] -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-20T06:50:04.496Z] -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_0/work/classes/1/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_0/work/classes/1/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-20T06:50:04.496Z] direct: [2025-02-20T06:50:04.496Z] 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-20T06:50:04.497Z] Note: Recompile with -Xlint:deprecation for details. [2025-02-20T06:50:04.497Z] 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-20T06:50:04.497Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-20T06:50:04.497Z] [2025-02-20T06:50:04.497Z] 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-20T06:50:04.497Z] REASON: User specified action: run main/othervm Entrust after policyOn invalid [2025-02-20T06:50:04.497Z] TIME: 4.954 seconds [2025-02-20T06:50:04.497Z] messages: [2025-02-20T06:50:04.497Z] command: main Entrust after policyOn invalid [2025-02-20T06:50:04.497Z] reason: User specified action: run main/othervm Entrust after policyOn invalid [2025-02-20T06:50:04.497Z] started: Thu Feb 20 06:49:50 UTC 2025 [2025-02-20T06:50:04.497Z] Mode: othervm [/othervm specified] [2025-02-20T06:50:04.497Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-20T06:50:04.497Z] finished: Thu Feb 20 06:49:55 UTC 2025 [2025-02-20T06:50:04.497Z] elapsed time (seconds): 4.954 [2025-02-20T06:50:04.497Z] configuration: [2025-02-20T06:50:04.497Z] Boot Layer [2025-02-20T06:50:04.497Z] add modules: java.base [2025-02-20T06:50:04.497Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-20T06:50:04.497Z] [2025-02-20T06:50:04.497Z] STDOUT: [2025-02-20T06:50:04.497Z] STDERR: [2025-02-20T06:50:04.497Z] Testing entrustevca [2025-02-20T06:50:04.497Z] Testing entrustrootcaec1 [2025-02-20T06:50:04.497Z] Testing entrustrootcag2 [2025-02-20T06:50:04.497Z] Testing entrustrootcag4 [2025-02-20T06:50:04.497Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-20T06:50:04.497Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:388) [2025-02-20T06:50:04.497Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:271) [2025-02-20T06:50:04.497Z] at java.base/sun.security.validator.Validator.validate(Validator.java:256) [2025-02-20T06:50:04.497Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:241) [2025-02-20T06:50:04.497Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113) [2025-02-20T06:50:04.497Z] at Distrust.testTM(Distrust.java:125) [2025-02-20T06:50:04.497Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-20T06:50:04.497Z] at Entrust.main(Entrust.java:66) [2025-02-20T06:50:04.497Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-20T06:50:04.497Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-20T06:50:04.497Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-20T06:50:04.497Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-20T06:50:04.497Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-20T06:50:04.497Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-02-20T06:50:04.497Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-02-20T06:50:04.497Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-02-20T06:50:04.497Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:383) [2025-02-20T06:50:04.497Z] ... 11 more [2025-02-20T06:50:04.497Z] 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-20T06:50:04.497Z] at Distrust.testTM(Distrust.java:138) [2025-02-20T06:50:04.497Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-20T06:50:04.497Z] at Entrust.main(Entrust.java:66) [2025-02-20T06:50:04.497Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-20T06:50:04.497Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-20T06:50:04.497Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-20T06:50:04.497Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-20T06:50:04.497Z] [2025-02-20T06:50:04.497Z] 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-20T06:50:04.497Z] JavaTest Message: shutting down test [2025-02-20T06:50:04.497Z] [2025-02-20T06:50:04.497Z] 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-20T06:50:04.497Z] rerun: [2025-02-20T06:50:04.497Z] cd /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/output_17400282934086/jdk_security3_0/work/scratch/2 && \ [2025-02-20T06:50:04.497Z] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus \ [2025-02-20T06:50:04.497Z] DISPLAY=:0 \ [2025-02-20T06:50:04.497Z] HOME=/home/jenkins \ [2025-02-20T06:50:04.497Z] LANG=en_US.UTF-8 \ [2025-02-20T06:50:04.497Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-20T06:50:04.497Z] XDG_RUNTIME_DIR=/run/user/1001 \ [2025-02-20T06:50:04.497Z] XDG_SESSION_CLASS=user \ [2025-02-20T06:50:04.497Z] XDG_SESSION_ID=983 \ [2025-02-20T06:50:04.497Z] XDG_SESSION_TYPE=tty \ [2025-02-20T06:50:04.497Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/output_17400282934086/jdk_security3_0/work/classes/1/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_0/work/classes/1/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-20T06:50:04.497Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/jdkbinary/j2sdk-image/bin/java \ [2025-02-20T06:50:04.497Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops -Djava.awt.headless=true' \ [2025-02-20T06:50:04.497Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops -J-Djava.awt.headless=true' \ [2025-02-20T06:50:04.497Z] -Dtest.compiler.opts= \ [2025-02-20T06:50:04.497Z] -Dtest.java.opts= \ [2025-02-20T06:50:04.497Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/jdkbinary/j2sdk-image \ [2025-02-20T06:50:04.497Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/jdkbinary/j2sdk-image \ [2025-02-20T06:50:04.497Z] -Dtest.timeout.factor=16.0 \ [2025-02-20T06:50:04.497Z] -Dtest.nativepath=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-20T06:50:04.497Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-20T06:50:04.497Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-20T06:50:04.497Z] -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-20T06:50:04.497Z] -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-20T06:50:04.498Z] -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-20T06:50:04.498Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/output_17400282934086/jdk_security3_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d \ [2025-02-20T06:50:04.498Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/output_17400282934086/jdk_security3_0/work/classes/1/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_0/work/classes/1/test/lib \ [2025-02-20T06:50:04.498Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/output_17400282934086/jdk_security3_0/work/classes/1/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_0/work/classes/1/test/lib \ [2025-02-20T06:50:04.498Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-20T06:50:04.498Z] --add-modules java.base \ [2025-02-20T06:50:04.498Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-20T06:50:04.498Z] -ea \ [2025-02-20T06:50:04.498Z] -esa \ [2025-02-20T06:50:04.498Z] -Xmx512m \ [2025-02-20T06:50:04.498Z] -XX:+UseCompressedOops \ [2025-02-20T06:50:04.498Z] -Djava.awt.headless=true \ [2025-02-20T06:50:04.498Z] -Djava.library.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-20T06:50:04.498Z] 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_0/work/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d/main.0.jta after policyOn invalid [2025-02-20T06:50:04.498Z] [2025-02-20T06:50:04.498Z] 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-20T06:50:04.498Z] -------------------------------------------------- [2025-02-20T08:07:58.433Z] Test results: passed: 941; failed: 2 [2025-02-20T08:08:52.107Z] Report written to /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/output_17400282934086/jdk_security3_0/report/html/report.html [2025-02-20T08:08:52.108Z] Results written to /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_3/aqa-tests/TKG/output_17400282934086/jdk_security3_0/work [2025-02-20T08:08:52.108Z] Error: Some tests failed or other problems occurred. [2025-02-20T08:08:52.108Z] ----------------------------------- [2025-02-20T08:08:52.108Z] jdk_security3_0_FAILED [2025-02-20T08:08:52.108Z] ----------------------------------- [2025-02-20T08:08:52.108Z] [2025-02-20T08:08:52.108Z] TEST TEARDOWN: [2025-02-20T08:08:52.108Z] Nothing to be done for teardown. [2025-02-20T08:08:52.108Z] jdk_security3_0 Finish Time: Thu Feb 20 08:08:45 2025 Epoch Time (ms): 1740038925436