No Possible Issues Found via Git Search

jdk_security3_0

[2025-02-27T02:20:01.723Z] Running test jdk_security3_0 ... [2025-02-27T02:20:02.025Z] =============================================== [2025-02-27T02:20:02.672Z] jdk_security3_0 Start Time: Thu Feb 27 02:20:01 2025 Epoch Time (ms): 1740622802558 [2025-02-27T02:20:02.972Z] variation: Mode150 [2025-02-27T02:20:02.972Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-02-27T02:20:02.972Z] { \ [2025-02-27T02:20:02.972Z] echo ""; echo "TEST SETUP:"; \ [2025-02-27T02:20:02.972Z] echo "Nothing to be done for setup."; \ [2025-02-27T02:20:02.972Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17406168316365\\jdk_security3_0"; \ [2025-02-27T02:20:02.972Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17406168316365\\jdk_security3_0"; \ [2025-02-27T02:20:02.972Z] echo ""; echo "TESTING:"; \ [2025-02-27T02:20:02.972Z] "C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1/jdkbinary/j2sdk-image\\bin\\java" -Xmx512m -jar "C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\openjdk\\jtreg\\lib\\jtreg.jar" \ [2025-02-27T02:20:02.972Z] -agentvm -a -ea -esa -v:fail,error,time,nopass -retain:fail,error,*.dmp,javacore.*,heapdump.*,*.trc -ignore:quiet -timeoutFactor:8 -xml:verify -concurrency:3 -nativepath:"C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1/jdkbinary/openjdk-test-image\\jdk\\jtreg\\native" -vmoptions:"-Xmx512m -XX:+UseCompressedOops " \ [2025-02-27T02:20:02.972Z] \ [2025-02-27T02:20:02.972Z] -w ""C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17406168316365\\jdk_security3_0"\\work" \ [2025-02-27T02:20:02.972Z] -r ""C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17406168316365\\jdk_security3_0"\\report" \ [2025-02-27T02:20:02.972Z] -jdk:"C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1/jdkbinary/j2sdk-image" \ [2025-02-27T02:20:02.972Z] -exclude:"C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1/aqa-tests/\\openjdk\\openjdk-jdk\\test\\jdk\\ProblemList.txt" \ [2025-02-27T02:20:02.972Z] -exclude:"C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\openjdk\\excludes/ProblemList_openjdk21.txt" \ [2025-02-27T02:20:02.972Z] \ [2025-02-27T02:20:02.972Z] -exclude:"C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1/aqa-tests/\\openjdk\\excludes\\vendors\\eclipse\\ProblemList_openjdk21.txt" \ [2025-02-27T02:20:02.972Z] "C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1/aqa-tests/\\openjdk\\openjdk-jdk\\test\\jdk:jdk_security3"; \ [2025-02-27T02:20:02.972Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_security3_0""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1/aqa-tests/; else echo "-----------------------------------"; echo "jdk_security3_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-27T02:20:02.972Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-27T02:20:02.972Z] echo "Nothing to be done for teardown."; \ [2025-02-27T02:20:02.972Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17406168316365\\TestTargetResult"; [2025-02-27T02:20:03.277Z] [2025-02-27T02:20:03.277Z] TEST SETUP: [2025-02-27T02:20:03.277Z] Nothing to be done for setup. [2025-02-27T02:20:03.277Z] [2025-02-27T02:20:03.277Z] TESTING: [2025-02-27T02:20:04.327Z] Directory "C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work" not found: creating [2025-02-27T02:20:04.327Z] Directory "C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\report" not found: creating [2025-02-27T02:20:11.303Z] XML output with verification to C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work [2025-02-27T02:44:23.735Z] -------------------------------------------------- [2025-02-27T02:44:23.735Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-02-27T02:44:23.735Z] TEST JDK: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\j2sdk-image [2025-02-27T02:44:23.735Z] [2025-02-27T02:44:23.735Z] ACTION: build -- Passed. Build successful [2025-02-27T02:44:23.735Z] REASON: Named class compiled on demand [2025-02-27T02:44:23.735Z] TIME: 0.103 seconds [2025-02-27T02:44:23.735Z] messages: [2025-02-27T02:44:23.735Z] command: build Camerfirma [2025-02-27T02:44:23.736Z] reason: Named class compiled on demand [2025-02-27T02:44:23.736Z] started: Thu Feb 27 02:44:10 UTC 2025 [2025-02-27T02:44:23.736Z] Test directory: [2025-02-27T02:44:23.736Z] compile: Camerfirma [2025-02-27T02:44:23.736Z] finished: Thu Feb 27 02:44:10 UTC 2025 [2025-02-27T02:44:23.736Z] elapsed time (seconds): 0.103 [2025-02-27T02:44:23.736Z] [2025-02-27T02:44:23.736Z] ACTION: compile -- Passed. Compilation successful [2025-02-27T02:44:23.736Z] REASON: .class file out of date or does not exist [2025-02-27T02:44:23.736Z] TIME: 0.1 seconds [2025-02-27T02:44:23.736Z] messages: [2025-02-27T02:44:23.736Z] command: compile C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.java [2025-02-27T02:44:23.736Z] reason: .class file out of date or does not exist [2025-02-27T02:44:23.736Z] started: Thu Feb 27 02:44:10 UTC 2025 [2025-02-27T02:44:23.736Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-27T02:44:23.736Z] Mode: agentvm [2025-02-27T02:44:23.736Z] Agent id: 3 [2025-02-27T02:44:23.736Z] finished: Thu Feb 27 02:44:10 UTC 2025 [2025-02-27T02:44:23.736Z] elapsed time (seconds): 0.1 [2025-02-27T02:44:23.736Z] configuration: [2025-02-27T02:44:23.736Z] Boot Layer (javac runtime environment) [2025-02-27T02:44:23.736Z] class path: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jvmtest\openjdk\jtreg\lib\javatest.jar [2025-02-27T02:44:23.736Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jvmtest\openjdk\jtreg\lib\jtreg.jar [2025-02-27T02:44:23.736Z] patch: java.base C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\patches\java.base [2025-02-27T02:44:23.736Z] [2025-02-27T02:44:23.736Z] javac compilation environment [2025-02-27T02:44:23.736Z] add modules: java.base [2025-02-27T02:44:23.736Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-27T02:44:23.736Z] source path: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust [2025-02-27T02:44:23.736Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\lib [2025-02-27T02:44:23.736Z] class path: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust [2025-02-27T02:44:23.736Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d [2025-02-27T02:44:23.736Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\2\test\lib [2025-02-27T02:44:23.736Z] [2025-02-27T02:44:23.736Z] rerun: [2025-02-27T02:44:23.736Z] cd 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\scratch\1' && \ [2025-02-27T02:44:23.736Z] PATH='D:\Program Files (Arm)\Microsoft\jdk-17.0.6.10-hotspot\bin;C:\cygwin64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Users\adoptopenjdk\AppData\Local\Microsoft\WindowsApps;C:\Strawberry\perl\bin;C:\Program Files\Git\cmd;C:\openjdk\jdk-8\bin;C:\apache-ant\apache-ant-1.10.15\bin;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\Incredibuild;C:\cygwin64\bin;C:\Users\jenkins\AppData\Local\Microsoft\WindowsApps' \ [2025-02-27T02:44:23.736Z] SystemDrive=C: \ [2025-02-27T02:44:23.736Z] SystemRoot='C:\Windows' \ [2025-02-27T02:44:23.736Z] TEMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-27T02:44:23.736Z] TMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-27T02:44:23.736Z] windir='C:\Windows' \ [2025-02-27T02:44:23.736Z] 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\j2sdk-image\bin\javac' \ [2025-02-27T02:44:23.736Z] -J-ea \ [2025-02-27T02:44:23.736Z] -J-esa \ [2025-02-27T02:44:23.736Z] -J-Xmx512m \ [2025-02-27T02:44:23.736Z] -J-XX:+UseCompressedOops \ [2025-02-27T02:44:23.736Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-02-27T02:44:23.736Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-02-27T02:44:23.736Z] -J-Dtest.compiler.opts= \ [2025-02-27T02:44:23.736Z] -J-Dtest.java.opts= \ [2025-02-27T02:44:23.736Z] -J-Dtest.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\j2sdk-image' \ [2025-02-27T02:44:23.736Z] -J-Dcompile.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\j2sdk-image' \ [2025-02-27T02:44:23.736Z] -J-Dtest.timeout.factor=8.0 \ [2025-02-27T02:44:23.736Z] -J-Dtest.nativepath='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-27T02:44:23.736Z] -J-Dtest.root='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-02-27T02:44:23.736Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-27T02:44:23.736Z] -J-Dtest.file='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.java' \ [2025-02-27T02:44:23.736Z] -J-Dtest.src='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust' \ [2025-02-27T02:44:23.736Z] -J-Dtest.src.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-27T02:44:23.736Z] -J-Dtest.classes='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d' \ [2025-02-27T02:44:23.736Z] -J-Dtest.class.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\2\test\lib' \ [2025-02-27T02:44:23.736Z] -J-Dtest.class.path.prefix='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\2\test\lib' \ [2025-02-27T02:44:23.736Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-27T02:44:23.736Z] --add-modules java.base \ [2025-02-27T02:44:23.736Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-27T02:44:23.736Z] -d 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d' \ [2025-02-27T02:44:23.736Z] -sourcepath 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-27T02:44:23.736Z] -classpath 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\2\test\lib' 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.java' [2025-02-27T02:44:23.736Z] direct: [2025-02-27T02:44:23.736Z] Note: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java uses or overrides a deprecated API. [2025-02-27T02:44:23.736Z] Note: Recompile with -Xlint:deprecation for details. [2025-02-27T02:44:23.736Z] Note: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java uses unchecked or unsafe operations. [2025-02-27T02:44:23.736Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-27T02:44:23.736Z] [2025-02-27T02:44:23.736Z] 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-27T02:44:23.736Z] REASON: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-02-27T02:44:23.736Z] TIME: 0.852 seconds [2025-02-27T02:44:23.736Z] messages: [2025-02-27T02:44:23.736Z] command: main Camerfirma after policyOn invalid [2025-02-27T02:44:23.736Z] reason: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-02-27T02:44:23.736Z] started: Thu Feb 27 02:44:10 UTC 2025 [2025-02-27T02:44:23.736Z] Mode: othervm [/othervm specified] [2025-02-27T02:44:23.736Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-27T02:44:23.736Z] finished: Thu Feb 27 02:44:11 UTC 2025 [2025-02-27T02:44:23.736Z] elapsed time (seconds): 0.852 [2025-02-27T02:44:23.736Z] configuration: [2025-02-27T02:44:23.736Z] Boot Layer [2025-02-27T02:44:23.736Z] add modules: java.base [2025-02-27T02:44:23.736Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-27T02:44:23.736Z] [2025-02-27T02:44:23.736Z] STDOUT: [2025-02-27T02:44:23.736Z] STDERR: [2025-02-27T02:44:23.736Z] Testing camerfirmachamberscommerceca [2025-02-27T02:44:23.737Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T02:44:23.737Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:388) [2025-02-27T02:44:23.737Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:271) [2025-02-27T02:44:23.737Z] at java.base/sun.security.validator.Validator.validate(Validator.java:256) [2025-02-27T02:44:23.737Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:241) [2025-02-27T02:44:23.737Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113) [2025-02-27T02:44:23.737Z] at Distrust.testTM(Distrust.java:125) [2025-02-27T02:44:23.737Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-27T02:44:23.737Z] at Camerfirma.main(Camerfirma.java:73) [2025-02-27T02:44:23.737Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-27T02:44:23.737Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-27T02:44:23.737Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-27T02:44:23.737Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-27T02:44:23.737Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T02:44:23.737Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-02-27T02:44:23.737Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-02-27T02:44:23.737Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-02-27T02:44:23.737Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:383) [2025-02-27T02:44:23.737Z] ... 11 more [2025-02-27T02:44:23.737Z] 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-27T02:44:23.737Z] at Distrust.testTM(Distrust.java:138) [2025-02-27T02:44:23.737Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-27T02:44:23.737Z] at Camerfirma.main(Camerfirma.java:73) [2025-02-27T02:44:23.737Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-27T02:44:23.737Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-27T02:44:23.737Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-27T02:44:23.737Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-27T02:44:23.737Z] [2025-02-27T02:44:23.737Z] 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-27T02:44:23.737Z] JavaTest Message: shutting down test [2025-02-27T02:44:23.737Z] [2025-02-27T02:44:23.737Z] 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-27T02:44:23.737Z] rerun: [2025-02-27T02:44:23.737Z] cd 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\scratch\1' && \ [2025-02-27T02:44:23.737Z] PATH='D:\Program Files (Arm)\Microsoft\jdk-17.0.6.10-hotspot\bin;C:\cygwin64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Users\adoptopenjdk\AppData\Local\Microsoft\WindowsApps;C:\Strawberry\perl\bin;C:\Program Files\Git\cmd;C:\openjdk\jdk-8\bin;C:\apache-ant\apache-ant-1.10.15\bin;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\Incredibuild;C:\cygwin64\bin;C:\Users\jenkins\AppData\Local\Microsoft\WindowsApps' \ [2025-02-27T02:44:23.737Z] SystemDrive=C: \ [2025-02-27T02:44:23.737Z] SystemRoot='C:\Windows' \ [2025-02-27T02:44:23.737Z] TEMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-27T02:44:23.737Z] TMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-27T02:44:23.737Z] windir='C:\Windows' \ [2025-02-27T02:44:23.737Z] CLASSPATH='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\2\test\lib;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\lib;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jvmtest\openjdk\jtreg\lib\javatest.jar;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jvmtest\openjdk\jtreg\lib\jtreg.jar' \ [2025-02-27T02:44:23.737Z] 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\j2sdk-image\bin\java' \ [2025-02-27T02:44:23.737Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-02-27T02:44:23.737Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-02-27T02:44:23.737Z] -Dtest.compiler.opts= \ [2025-02-27T02:44:23.737Z] -Dtest.java.opts= \ [2025-02-27T02:44:23.737Z] -Dtest.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\j2sdk-image' \ [2025-02-27T02:44:23.737Z] -Dcompile.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\j2sdk-image' \ [2025-02-27T02:44:23.737Z] -Dtest.timeout.factor=8.0 \ [2025-02-27T02:44:23.737Z] -Dtest.nativepath='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-27T02:44:23.737Z] -Dtest.root='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-02-27T02:44:23.737Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-27T02:44:23.737Z] -Dtest.file='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.java' \ [2025-02-27T02:44:23.737Z] -Dtest.src='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust' \ [2025-02-27T02:44:23.737Z] -Dtest.src.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-27T02:44:23.737Z] -Dtest.classes='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d' \ [2025-02-27T02:44:23.737Z] -Dtest.class.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\2\test\lib' \ [2025-02-27T02:44:23.737Z] -Dtest.class.path.prefix='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\2\test\lib' \ [2025-02-27T02:44:23.737Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-27T02:44:23.737Z] --add-modules java.base \ [2025-02-27T02:44:23.737Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-27T02:44:23.737Z] -ea \ [2025-02-27T02:44:23.737Z] -esa \ [2025-02-27T02:44:23.737Z] -Xmx512m \ [2025-02-27T02:44:23.737Z] -XX:+UseCompressedOops \ [2025-02-27T02:44:23.737Z] '-Djava.library.path=C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-27T02:44:23.737Z] com.sun.javatest.regtest.agent.MainWrapper 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d\main.0.jta' after policyOn invalid [2025-02-27T02:44:23.737Z] [2025-02-27T02:44:23.737Z] 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-27T02:44:23.737Z] -------------------------------------------------- [2025-02-27T02:44:23.737Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java [2025-02-27T02:44:23.737Z] TEST JDK: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\j2sdk-image [2025-02-27T02:44:23.737Z] [2025-02-27T02:44:23.737Z] ACTION: build -- Passed. Build successful [2025-02-27T02:44:23.737Z] REASON: Named class compiled on demand [2025-02-27T02:44:23.737Z] TIME: 0.103 seconds [2025-02-27T02:44:23.737Z] messages: [2025-02-27T02:44:23.737Z] command: build Entrust [2025-02-27T02:44:23.737Z] reason: Named class compiled on demand [2025-02-27T02:44:23.737Z] started: Thu Feb 27 02:44:11 UTC 2025 [2025-02-27T02:44:23.737Z] Test directory: [2025-02-27T02:44:23.737Z] compile: Entrust [2025-02-27T02:44:23.737Z] finished: Thu Feb 27 02:44:11 UTC 2025 [2025-02-27T02:44:23.737Z] elapsed time (seconds): 0.103 [2025-02-27T02:44:23.737Z] [2025-02-27T02:44:23.737Z] ACTION: compile -- Passed. Compilation successful [2025-02-27T02:44:23.737Z] REASON: .class file out of date or does not exist [2025-02-27T02:44:23.737Z] TIME: 0.099 seconds [2025-02-27T02:44:23.737Z] messages: [2025-02-27T02:44:23.737Z] command: compile C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.java [2025-02-27T02:44:23.737Z] reason: .class file out of date or does not exist [2025-02-27T02:44:23.737Z] started: Thu Feb 27 02:44:11 UTC 2025 [2025-02-27T02:44:23.737Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-27T02:44:23.737Z] Mode: agentvm [2025-02-27T02:44:23.737Z] Agent id: 2 [2025-02-27T02:44:23.737Z] finished: Thu Feb 27 02:44:11 UTC 2025 [2025-02-27T02:44:23.737Z] elapsed time (seconds): 0.099 [2025-02-27T02:44:23.737Z] configuration: [2025-02-27T02:44:23.737Z] Boot Layer (javac runtime environment) [2025-02-27T02:44:23.737Z] class path: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jvmtest\openjdk\jtreg\lib\javatest.jar [2025-02-27T02:44:23.737Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jvmtest\openjdk\jtreg\lib\jtreg.jar [2025-02-27T02:44:23.737Z] patch: java.base C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\patches\java.base [2025-02-27T02:44:23.737Z] [2025-02-27T02:44:23.737Z] javac compilation environment [2025-02-27T02:44:23.738Z] add modules: java.base [2025-02-27T02:44:23.738Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-27T02:44:23.738Z] source path: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust [2025-02-27T02:44:23.738Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\lib [2025-02-27T02:44:23.738Z] class path: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust [2025-02-27T02:44:23.738Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d [2025-02-27T02:44:23.738Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\1\test\lib [2025-02-27T02:44:23.738Z] [2025-02-27T02:44:23.738Z] rerun: [2025-02-27T02:44:23.738Z] cd 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\scratch\2' && \ [2025-02-27T02:44:23.738Z] PATH='D:\Program Files (Arm)\Microsoft\jdk-17.0.6.10-hotspot\bin;C:\cygwin64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Users\adoptopenjdk\AppData\Local\Microsoft\WindowsApps;C:\Strawberry\perl\bin;C:\Program Files\Git\cmd;C:\openjdk\jdk-8\bin;C:\apache-ant\apache-ant-1.10.15\bin;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\Incredibuild;C:\cygwin64\bin;C:\Users\jenkins\AppData\Local\Microsoft\WindowsApps' \ [2025-02-27T02:44:23.738Z] SystemDrive=C: \ [2025-02-27T02:44:23.738Z] SystemRoot='C:\Windows' \ [2025-02-27T02:44:23.738Z] TEMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-27T02:44:23.738Z] TMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-27T02:44:23.738Z] windir='C:\Windows' \ [2025-02-27T02:44:23.738Z] 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\j2sdk-image\bin\javac' \ [2025-02-27T02:44:23.738Z] -J-ea \ [2025-02-27T02:44:23.738Z] -J-esa \ [2025-02-27T02:44:23.738Z] -J-Xmx512m \ [2025-02-27T02:44:23.738Z] -J-XX:+UseCompressedOops \ [2025-02-27T02:44:23.738Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-02-27T02:44:23.738Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-02-27T02:44:23.738Z] -J-Dtest.compiler.opts= \ [2025-02-27T02:44:23.738Z] -J-Dtest.java.opts= \ [2025-02-27T02:44:23.738Z] -J-Dtest.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\j2sdk-image' \ [2025-02-27T02:44:23.738Z] -J-Dcompile.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\j2sdk-image' \ [2025-02-27T02:44:23.738Z] -J-Dtest.timeout.factor=8.0 \ [2025-02-27T02:44:23.738Z] -J-Dtest.nativepath='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-27T02:44:23.738Z] -J-Dtest.root='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-02-27T02:44:23.738Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-27T02:44:23.738Z] -J-Dtest.file='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.java' \ [2025-02-27T02:44:23.738Z] -J-Dtest.src='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust' \ [2025-02-27T02:44:23.738Z] -J-Dtest.src.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-27T02:44:23.738Z] -J-Dtest.classes='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d' \ [2025-02-27T02:44:23.738Z] -J-Dtest.class.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\1\test\lib' \ [2025-02-27T02:44:23.738Z] -J-Dtest.class.path.prefix='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\1\test\lib' \ [2025-02-27T02:44:23.738Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-27T02:44:23.738Z] --add-modules java.base \ [2025-02-27T02:44:23.738Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-27T02:44:23.738Z] -d 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d' \ [2025-02-27T02:44:23.738Z] -sourcepath 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-27T02:44:23.738Z] -classpath 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\1\test\lib' 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.java' [2025-02-27T02:44:23.738Z] direct: [2025-02-27T02:44:23.738Z] Note: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java uses or overrides a deprecated API. [2025-02-27T02:44:23.738Z] Note: Recompile with -Xlint:deprecation for details. [2025-02-27T02:44:23.738Z] Note: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java uses unchecked or unsafe operations. [2025-02-27T02:44:23.738Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-27T02:44:23.738Z] [2025-02-27T02:44:23.738Z] 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-27T02:44:23.738Z] REASON: User specified action: run main/othervm Entrust after policyOn invalid [2025-02-27T02:44:23.738Z] TIME: 0.946 seconds [2025-02-27T02:44:23.738Z] messages: [2025-02-27T02:44:23.738Z] command: main Entrust after policyOn invalid [2025-02-27T02:44:23.738Z] reason: User specified action: run main/othervm Entrust after policyOn invalid [2025-02-27T02:44:23.738Z] started: Thu Feb 27 02:44:11 UTC 2025 [2025-02-27T02:44:23.738Z] Mode: othervm [/othervm specified] [2025-02-27T02:44:23.738Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-27T02:44:23.738Z] finished: Thu Feb 27 02:44:12 UTC 2025 [2025-02-27T02:44:23.738Z] elapsed time (seconds): 0.946 [2025-02-27T02:44:23.738Z] configuration: [2025-02-27T02:44:23.738Z] Boot Layer [2025-02-27T02:44:23.738Z] add modules: java.base [2025-02-27T02:44:23.738Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-27T02:44:23.738Z] [2025-02-27T02:44:23.738Z] STDOUT: [2025-02-27T02:44:23.738Z] STDERR: [2025-02-27T02:44:23.738Z] Testing entrustevca [2025-02-27T02:44:23.738Z] Testing entrustrootcaec1 [2025-02-27T02:44:23.738Z] Testing entrustrootcag2 [2025-02-27T02:44:23.738Z] Testing entrustrootcag4 [2025-02-27T02:44:23.738Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T02:44:23.738Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:388) [2025-02-27T02:44:23.738Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:271) [2025-02-27T02:44:23.738Z] at java.base/sun.security.validator.Validator.validate(Validator.java:256) [2025-02-27T02:44:23.738Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:241) [2025-02-27T02:44:23.738Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113) [2025-02-27T02:44:23.738Z] at Distrust.testTM(Distrust.java:125) [2025-02-27T02:44:23.738Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-27T02:44:23.738Z] at Entrust.main(Entrust.java:66) [2025-02-27T02:44:23.738Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-27T02:44:23.738Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-27T02:44:23.738Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-27T02:44:23.738Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-27T02:44:23.738Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T02:44:23.738Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-02-27T02:44:23.738Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-02-27T02:44:23.738Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-02-27T02:44:23.738Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:383) [2025-02-27T02:44:23.738Z] ... 11 more [2025-02-27T02:44:23.738Z] 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-27T02:44:23.738Z] at Distrust.testTM(Distrust.java:138) [2025-02-27T02:44:23.738Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-27T02:44:23.738Z] at Entrust.main(Entrust.java:66) [2025-02-27T02:44:23.738Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-27T02:44:23.738Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-27T02:44:23.738Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-27T02:44:23.738Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-27T02:44:23.738Z] [2025-02-27T02:44:23.738Z] 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-27T02:44:23.738Z] JavaTest Message: shutting down test [2025-02-27T02:44:23.738Z] [2025-02-27T02:44:23.739Z] 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-27T02:44:23.739Z] rerun: [2025-02-27T02:44:23.739Z] cd 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\scratch\2' && \ [2025-02-27T02:44:23.739Z] PATH='D:\Program Files (Arm)\Microsoft\jdk-17.0.6.10-hotspot\bin;C:\cygwin64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Users\adoptopenjdk\AppData\Local\Microsoft\WindowsApps;C:\Strawberry\perl\bin;C:\Program Files\Git\cmd;C:\openjdk\jdk-8\bin;C:\apache-ant\apache-ant-1.10.15\bin;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\Incredibuild;C:\cygwin64\bin;C:\Users\jenkins\AppData\Local\Microsoft\WindowsApps' \ [2025-02-27T02:44:23.739Z] SystemDrive=C: \ [2025-02-27T02:44:23.739Z] SystemRoot='C:\Windows' \ [2025-02-27T02:44:23.739Z] TEMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-27T02:44:23.739Z] TMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-27T02:44:23.739Z] windir='C:\Windows' \ [2025-02-27T02:44:23.739Z] CLASSPATH='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\1\test\lib;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\lib;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jvmtest\openjdk\jtreg\lib\javatest.jar;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jvmtest\openjdk\jtreg\lib\jtreg.jar' \ [2025-02-27T02:44:23.739Z] 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\j2sdk-image\bin\java' \ [2025-02-27T02:44:23.739Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-02-27T02:44:23.739Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-02-27T02:44:23.739Z] -Dtest.compiler.opts= \ [2025-02-27T02:44:23.739Z] -Dtest.java.opts= \ [2025-02-27T02:44:23.739Z] -Dtest.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\j2sdk-image' \ [2025-02-27T02:44:23.739Z] -Dcompile.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\j2sdk-image' \ [2025-02-27T02:44:23.739Z] -Dtest.timeout.factor=8.0 \ [2025-02-27T02:44:23.739Z] -Dtest.nativepath='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-27T02:44:23.739Z] -Dtest.root='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-02-27T02:44:23.739Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-27T02:44:23.739Z] -Dtest.file='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.java' \ [2025-02-27T02:44:23.739Z] -Dtest.src='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust' \ [2025-02-27T02:44:23.739Z] -Dtest.src.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-27T02:44:23.739Z] -Dtest.classes='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d' \ [2025-02-27T02:44:23.739Z] -Dtest.class.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\1\test\lib' \ [2025-02-27T02:44:23.740Z] -Dtest.class.path.prefix='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\classes\1\test\lib' \ [2025-02-27T02:44:23.740Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-27T02:44:23.740Z] --add-modules java.base \ [2025-02-27T02:44:23.740Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-27T02:44:23.740Z] -ea \ [2025-02-27T02:44:23.740Z] -esa \ [2025-02-27T02:44:23.740Z] -Xmx512m \ [2025-02-27T02:44:23.740Z] -XX:+UseCompressedOops \ [2025-02-27T02:44:23.740Z] '-Djava.library.path=C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-27T02:44:23.740Z] com.sun.javatest.regtest.agent.MainWrapper 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d\main.0.jta' after policyOn invalid [2025-02-27T02:44:23.740Z] [2025-02-27T02:44:23.740Z] 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-27T02:44:23.740Z] -------------------------------------------------- [2025-02-27T03:02:20.754Z] Test results: passed: 966; failed: 2 [2025-02-27T03:02:31.214Z] Report written to C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\report\html\report.html [2025-02-27T03:02:31.214Z] Results written to C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_0\work [2025-02-27T03:02:31.214Z] Error: Some tests failed or other problems occurred. [2025-02-27T03:02:31.512Z] ----------------------------------- [2025-02-27T03:02:31.512Z] jdk_security3_0_FAILED [2025-02-27T03:02:31.512Z] ----------------------------------- [2025-02-27T03:02:31.512Z] [2025-02-27T03:02:31.512Z] TEST TEARDOWN: [2025-02-27T03:02:31.512Z] Nothing to be done for teardown. [2025-02-27T03:02:31.822Z] jdk_security3_0 Finish Time: Thu Feb 27 03:02:31 2025 Epoch Time (ms): 1740625351543