No Possible Issues Found via Git Search

jdk_security3_1

[2025-02-27T03:02:32.125Z] Running test jdk_security3_1 ... [2025-02-27T03:02:32.422Z] =============================================== [2025-02-27T03:02:32.728Z] jdk_security3_1 Start Time: Thu Feb 27 03:02:32 2025 Epoch Time (ms): 1740625352460 [2025-02-27T03:02:32.728Z] variation: Mode650 [2025-02-27T03:02:33.027Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-02-27T03:02:33.027Z] { \ [2025-02-27T03:02:33.027Z] echo ""; echo "TEST SETUP:"; \ [2025-02-27T03:02:33.027Z] echo "Nothing to be done for setup."; \ [2025-02-27T03:02:33.027Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17406168316365\\jdk_security3_1"; \ [2025-02-27T03:02:33.027Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17406168316365\\jdk_security3_1"; \ [2025-02-27T03:02:33.027Z] echo ""; echo "TESTING:"; \ [2025-02-27T03:02:33.027Z] "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-27T03:02:33.027Z] -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-27T03:02:33.027Z] \ [2025-02-27T03:02:33.027Z] -w ""C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17406168316365\\jdk_security3_1"\\work" \ [2025-02-27T03:02:33.027Z] -r ""C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17406168316365\\jdk_security3_1"\\report" \ [2025-02-27T03:02:33.027Z] -jdk:"C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1/jdkbinary/j2sdk-image" \ [2025-02-27T03:02:33.027Z] -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-27T03:02:33.027Z] -exclude:"C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\openjdk\\excludes/ProblemList_openjdk21.txt" \ [2025-02-27T03:02:33.027Z] \ [2025-02-27T03:02:33.027Z] -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-27T03:02:33.027Z] "C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1/aqa-tests/\\openjdk\\openjdk-jdk\\test\\jdk:jdk_security3"; \ [2025-02-27T03:02:33.027Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_security3_1""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1/aqa-tests/; else echo "-----------------------------------"; echo "jdk_security3_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-27T03:02:33.027Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-27T03:02:33.027Z] echo "Nothing to be done for teardown."; \ [2025-02-27T03:02:33.027Z] } 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-27T03:02:33.027Z] [2025-02-27T03:02:33.027Z] TEST SETUP: [2025-02-27T03:02:33.027Z] Nothing to be done for setup. [2025-02-27T03:02:33.027Z] [2025-02-27T03:02:33.027Z] TESTING: [2025-02-27T03:02:33.673Z] Directory "C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_1\work" not found: creating [2025-02-27T03:02:33.673Z] Directory "C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_1\report" not found: creating [2025-02-27T03:02:40.648Z] 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_1\work [2025-02-27T03:26:38.138Z] -------------------------------------------------- [2025-02-27T03:26:38.138Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-02-27T03:26:38.138Z] TEST JDK: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\j2sdk-image [2025-02-27T03:26:38.138Z] [2025-02-27T03:26:38.138Z] ACTION: build -- Passed. Build successful [2025-02-27T03:26:38.138Z] REASON: Named class compiled on demand [2025-02-27T03:26:38.138Z] TIME: 0.124 seconds [2025-02-27T03:26:38.138Z] messages: [2025-02-27T03:26:38.138Z] command: build Camerfirma [2025-02-27T03:26:38.138Z] reason: Named class compiled on demand [2025-02-27T03:26:38.138Z] started: Thu Feb 27 03:26:24 UTC 2025 [2025-02-27T03:26:38.138Z] Test directory: [2025-02-27T03:26:38.138Z] compile: Camerfirma [2025-02-27T03:26:38.138Z] finished: Thu Feb 27 03:26:25 UTC 2025 [2025-02-27T03:26:38.138Z] elapsed time (seconds): 0.124 [2025-02-27T03:26:38.138Z] [2025-02-27T03:26:38.138Z] ACTION: compile -- Passed. Compilation successful [2025-02-27T03:26:38.138Z] REASON: .class file out of date or does not exist [2025-02-27T03:26:38.138Z] TIME: 0.122 seconds [2025-02-27T03:26:38.138Z] messages: [2025-02-27T03:26:38.138Z] 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-27T03:26:38.138Z] reason: .class file out of date or does not exist [2025-02-27T03:26:38.138Z] started: Thu Feb 27 03:26:24 UTC 2025 [2025-02-27T03:26:38.138Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-27T03:26:38.138Z] Mode: agentvm [2025-02-27T03:26:38.138Z] Agent id: 2 [2025-02-27T03:26:38.138Z] finished: Thu Feb 27 03:26:25 UTC 2025 [2025-02-27T03:26:38.138Z] elapsed time (seconds): 0.122 [2025-02-27T03:26:38.138Z] configuration: [2025-02-27T03:26:38.138Z] Boot Layer (javac runtime environment) [2025-02-27T03:26:38.138Z] class path: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jvmtest\openjdk\jtreg\lib\javatest.jar [2025-02-27T03:26:38.138Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jvmtest\openjdk\jtreg\lib\jtreg.jar [2025-02-27T03:26:38.138Z] patch: java.base C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_1\work\patches\java.base [2025-02-27T03:26:38.138Z] [2025-02-27T03:26:38.138Z] javac compilation environment [2025-02-27T03:26:38.138Z] add modules: java.base [2025-02-27T03:26:38.138Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-27T03:26:38.138Z] 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-27T03:26:38.138Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\lib [2025-02-27T03:26:38.138Z] 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-27T03:26:38.138Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d [2025-02-27T03:26:38.138Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_1\work\classes\2\test\lib [2025-02-27T03:26:38.138Z] [2025-02-27T03:26:38.138Z] rerun: [2025-02-27T03:26:38.138Z] cd 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_1\work\scratch\0' && \ [2025-02-27T03:26:38.138Z] 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-27T03:26:38.138Z] SystemDrive=C: \ [2025-02-27T03:26:38.138Z] SystemRoot='C:\Windows' \ [2025-02-27T03:26:38.138Z] TEMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-27T03:26:38.138Z] TMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-27T03:26:38.138Z] windir='C:\Windows' \ [2025-02-27T03:26:38.138Z] 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\j2sdk-image\bin\javac' \ [2025-02-27T03:26:38.138Z] -J-ea \ [2025-02-27T03:26:38.138Z] -J-esa \ [2025-02-27T03:26:38.138Z] -J-Xmx512m \ [2025-02-27T03:26:38.138Z] -J-XX:-UseCompressedOops \ [2025-02-27T03:26:38.138Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-27T03:26:38.138Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-27T03:26:38.138Z] -J-Dtest.compiler.opts= \ [2025-02-27T03:26:38.138Z] -J-Dtest.java.opts= \ [2025-02-27T03:26:38.138Z] -J-Dtest.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\j2sdk-image' \ [2025-02-27T03:26:38.138Z] -J-Dcompile.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\j2sdk-image' \ [2025-02-27T03:26:38.138Z] -J-Dtest.timeout.factor=8.0 \ [2025-02-27T03:26:38.138Z] -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-27T03:26:38.138Z] -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-27T03:26:38.138Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-27T03:26:38.138Z] -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-27T03:26:38.138Z] -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-27T03:26:38.138Z] -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-27T03:26:38.138Z] -J-Dtest.classes='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d' \ [2025-02-27T03:26:38.139Z] -J-Dtest.class.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_1\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_1\work\classes\2\test\lib' \ [2025-02-27T03:26:38.139Z] -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_1\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_1\work\classes\2\test\lib' \ [2025-02-27T03:26:38.139Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-27T03:26:38.139Z] --add-modules java.base \ [2025-02-27T03:26:38.139Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-27T03:26:38.139Z] -d 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d' \ [2025-02-27T03:26:38.139Z] -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-27T03:26:38.139Z] -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_1\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_1\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-27T03:26:38.139Z] direct: [2025-02-27T03:26:38.139Z] 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-27T03:26:38.139Z] Note: Recompile with -Xlint:deprecation for details. [2025-02-27T03:26:38.139Z] 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-27T03:26:38.139Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-27T03:26:38.139Z] [2025-02-27T03:26:38.139Z] 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-27T03:26:38.139Z] REASON: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-02-27T03:26:38.139Z] TIME: 0.891 seconds [2025-02-27T03:26:38.139Z] messages: [2025-02-27T03:26:38.139Z] command: main Camerfirma after policyOn invalid [2025-02-27T03:26:38.139Z] reason: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-02-27T03:26:38.139Z] started: Thu Feb 27 03:26:25 UTC 2025 [2025-02-27T03:26:38.139Z] Mode: othervm [/othervm specified] [2025-02-27T03:26:38.139Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-27T03:26:38.139Z] finished: Thu Feb 27 03:26:25 UTC 2025 [2025-02-27T03:26:38.139Z] elapsed time (seconds): 0.891 [2025-02-27T03:26:38.139Z] configuration: [2025-02-27T03:26:38.139Z] Boot Layer [2025-02-27T03:26:38.139Z] add modules: java.base [2025-02-27T03:26:38.139Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-27T03:26:38.139Z] [2025-02-27T03:26:38.139Z] STDOUT: [2025-02-27T03:26:38.139Z] STDERR: [2025-02-27T03:26:38.139Z] Testing camerfirmachamberscommerceca [2025-02-27T03:26:38.139Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T03:26:38.139Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:388) [2025-02-27T03:26:38.139Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:271) [2025-02-27T03:26:38.139Z] at java.base/sun.security.validator.Validator.validate(Validator.java:256) [2025-02-27T03:26:38.139Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:241) [2025-02-27T03:26:38.139Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113) [2025-02-27T03:26:38.139Z] at Distrust.testTM(Distrust.java:125) [2025-02-27T03:26:38.139Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-27T03:26:38.139Z] at Camerfirma.main(Camerfirma.java:73) [2025-02-27T03:26:38.139Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-27T03:26:38.139Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-27T03:26:38.139Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-27T03:26:38.139Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-27T03:26:38.139Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T03:26:38.139Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-02-27T03:26:38.139Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-02-27T03:26:38.139Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-02-27T03:26:38.139Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:383) [2025-02-27T03:26:38.139Z] ... 11 more [2025-02-27T03:26:38.139Z] 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-27T03:26:38.139Z] at Distrust.testTM(Distrust.java:138) [2025-02-27T03:26:38.139Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-27T03:26:38.139Z] at Camerfirma.main(Camerfirma.java:73) [2025-02-27T03:26:38.139Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-27T03:26:38.139Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-27T03:26:38.139Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-27T03:26:38.139Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-27T03:26:38.139Z] [2025-02-27T03:26:38.139Z] 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-27T03:26:38.139Z] JavaTest Message: shutting down test [2025-02-27T03:26:38.139Z] [2025-02-27T03:26:38.139Z] 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-27T03:26:38.139Z] rerun: [2025-02-27T03:26:38.139Z] cd 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_1\work\scratch\0' && \ [2025-02-27T03:26:38.139Z] 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-27T03:26:38.139Z] SystemDrive=C: \ [2025-02-27T03:26:38.139Z] SystemRoot='C:\Windows' \ [2025-02-27T03:26:38.139Z] TEMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-27T03:26:38.139Z] TMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-27T03:26:38.139Z] windir='C:\Windows' \ [2025-02-27T03:26:38.140Z] CLASSPATH='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_1\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_1\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-27T03:26:38.140Z] 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\j2sdk-image\bin\java' \ [2025-02-27T03:26:38.140Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-27T03:26:38.140Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-27T03:26:38.140Z] -Dtest.compiler.opts= \ [2025-02-27T03:26:38.140Z] -Dtest.java.opts= \ [2025-02-27T03:26:38.140Z] -Dtest.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\j2sdk-image' \ [2025-02-27T03:26:38.140Z] -Dcompile.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\j2sdk-image' \ [2025-02-27T03:26:38.140Z] -Dtest.timeout.factor=8.0 \ [2025-02-27T03:26:38.140Z] -Dtest.nativepath='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-27T03:26:38.140Z] -Dtest.root='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-02-27T03:26:38.140Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-27T03:26:38.140Z] -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-27T03:26:38.140Z] -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-27T03:26:38.140Z] -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-27T03:26:38.140Z] -Dtest.classes='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d' \ [2025-02-27T03:26:38.140Z] -Dtest.class.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_1\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_1\work\classes\2\test\lib' \ [2025-02-27T03:26:38.140Z] -Dtest.class.path.prefix='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_1\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_1\work\classes\2\test\lib' \ [2025-02-27T03:26:38.140Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-27T03:26:38.140Z] --add-modules java.base \ [2025-02-27T03:26:38.140Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-27T03:26:38.140Z] -ea \ [2025-02-27T03:26:38.140Z] -esa \ [2025-02-27T03:26:38.140Z] -Xmx512m \ [2025-02-27T03:26:38.140Z] -XX:-UseCompressedOops \ [2025-02-27T03:26:38.140Z] '-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-27T03:26:38.140Z] 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_1\work\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d\main.0.jta' after policyOn invalid [2025-02-27T03:26:38.140Z] [2025-02-27T03:26:38.140Z] 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-27T03:26:38.140Z] -------------------------------------------------- [2025-02-27T03:26:38.140Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java [2025-02-27T03:26:38.140Z] TEST JDK: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\j2sdk-image [2025-02-27T03:26:38.140Z] [2025-02-27T03:26:38.140Z] ACTION: build -- Passed. Build successful [2025-02-27T03:26:38.140Z] REASON: Named class compiled on demand [2025-02-27T03:26:38.140Z] TIME: 0.093 seconds [2025-02-27T03:26:38.140Z] messages: [2025-02-27T03:26:38.140Z] command: build Entrust [2025-02-27T03:26:38.140Z] reason: Named class compiled on demand [2025-02-27T03:26:38.140Z] started: Thu Feb 27 03:26:25 UTC 2025 [2025-02-27T03:26:38.140Z] Test directory: [2025-02-27T03:26:38.140Z] compile: Entrust [2025-02-27T03:26:38.140Z] finished: Thu Feb 27 03:26:25 UTC 2025 [2025-02-27T03:26:38.140Z] elapsed time (seconds): 0.093 [2025-02-27T03:26:38.140Z] [2025-02-27T03:26:38.140Z] ACTION: compile -- Passed. Compilation successful [2025-02-27T03:26:38.140Z] REASON: .class file out of date or does not exist [2025-02-27T03:26:38.140Z] TIME: 0.09 seconds [2025-02-27T03:26:38.140Z] messages: [2025-02-27T03:26:38.140Z] 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-27T03:26:38.140Z] reason: .class file out of date or does not exist [2025-02-27T03:26:38.140Z] started: Thu Feb 27 03:26:25 UTC 2025 [2025-02-27T03:26:38.140Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-27T03:26:38.140Z] Mode: agentvm [2025-02-27T03:26:38.140Z] Agent id: 3 [2025-02-27T03:26:38.140Z] finished: Thu Feb 27 03:26:25 UTC 2025 [2025-02-27T03:26:38.140Z] elapsed time (seconds): 0.09 [2025-02-27T03:26:38.140Z] configuration: [2025-02-27T03:26:38.140Z] Boot Layer (javac runtime environment) [2025-02-27T03:26:38.140Z] class path: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jvmtest\openjdk\jtreg\lib\javatest.jar [2025-02-27T03:26:38.140Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jvmtest\openjdk\jtreg\lib\jtreg.jar [2025-02-27T03:26:38.140Z] patch: java.base C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_1\work\patches\java.base [2025-02-27T03:26:38.140Z] [2025-02-27T03:26:38.140Z] javac compilation environment [2025-02-27T03:26:38.140Z] add modules: java.base [2025-02-27T03:26:38.140Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-27T03:26:38.140Z] 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-27T03:26:38.140Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\lib [2025-02-27T03:26:38.140Z] 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-27T03:26:38.140Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d [2025-02-27T03:26:38.140Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_1\work\classes\1\test\lib [2025-02-27T03:26:38.140Z] [2025-02-27T03:26:38.140Z] rerun: [2025-02-27T03:26:38.140Z] cd 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_1\work\scratch\2' && \ [2025-02-27T03:26:38.140Z] 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-27T03:26:38.140Z] SystemDrive=C: \ [2025-02-27T03:26:38.140Z] SystemRoot='C:\Windows' \ [2025-02-27T03:26:38.141Z] TEMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-27T03:26:38.141Z] TMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-27T03:26:38.141Z] windir='C:\Windows' \ [2025-02-27T03:26:38.141Z] 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\j2sdk-image\bin\javac' \ [2025-02-27T03:26:38.141Z] -J-ea \ [2025-02-27T03:26:38.141Z] -J-esa \ [2025-02-27T03:26:38.141Z] -J-Xmx512m \ [2025-02-27T03:26:38.141Z] -J-XX:-UseCompressedOops \ [2025-02-27T03:26:38.141Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-27T03:26:38.141Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-27T03:26:38.141Z] -J-Dtest.compiler.opts= \ [2025-02-27T03:26:38.141Z] -J-Dtest.java.opts= \ [2025-02-27T03:26:38.141Z] -J-Dtest.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\j2sdk-image' \ [2025-02-27T03:26:38.141Z] -J-Dcompile.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\j2sdk-image' \ [2025-02-27T03:26:38.141Z] -J-Dtest.timeout.factor=8.0 \ [2025-02-27T03:26:38.141Z] -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-27T03:26:38.141Z] -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-27T03:26:38.141Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-27T03:26:38.141Z] -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-27T03:26:38.141Z] -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-27T03:26:38.141Z] -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-27T03:26:38.141Z] -J-Dtest.classes='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d' \ [2025-02-27T03:26:38.141Z] -J-Dtest.class.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_1\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_1\work\classes\1\test\lib' \ [2025-02-27T03:26:38.141Z] -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_1\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_1\work\classes\1\test\lib' \ [2025-02-27T03:26:38.141Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-27T03:26:38.141Z] --add-modules java.base \ [2025-02-27T03:26:38.141Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-27T03:26:38.141Z] -d 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d' \ [2025-02-27T03:26:38.141Z] -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-27T03:26:38.141Z] -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_1\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_1\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-27T03:26:38.141Z] direct: [2025-02-27T03:26:38.141Z] 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-27T03:26:38.141Z] Note: Recompile with -Xlint:deprecation for details. [2025-02-27T03:26:38.141Z] 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-27T03:26:38.141Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-27T03:26:38.141Z] [2025-02-27T03:26:38.141Z] 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-27T03:26:38.141Z] REASON: User specified action: run main/othervm Entrust after policyOn invalid [2025-02-27T03:26:38.141Z] TIME: 0.89 seconds [2025-02-27T03:26:38.141Z] messages: [2025-02-27T03:26:38.141Z] command: main Entrust after policyOn invalid [2025-02-27T03:26:38.141Z] reason: User specified action: run main/othervm Entrust after policyOn invalid [2025-02-27T03:26:38.141Z] started: Thu Feb 27 03:26:25 UTC 2025 [2025-02-27T03:26:38.141Z] Mode: othervm [/othervm specified] [2025-02-27T03:26:38.141Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-27T03:26:38.141Z] finished: Thu Feb 27 03:26:26 UTC 2025 [2025-02-27T03:26:38.141Z] elapsed time (seconds): 0.89 [2025-02-27T03:26:38.141Z] configuration: [2025-02-27T03:26:38.141Z] Boot Layer [2025-02-27T03:26:38.141Z] add modules: java.base [2025-02-27T03:26:38.141Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-27T03:26:38.141Z] [2025-02-27T03:26:38.141Z] STDOUT: [2025-02-27T03:26:38.141Z] STDERR: [2025-02-27T03:26:38.141Z] Testing entrustevca [2025-02-27T03:26:38.141Z] Testing entrustrootcaec1 [2025-02-27T03:26:38.141Z] Testing entrustrootcag2 [2025-02-27T03:26:38.141Z] Testing entrustrootcag4 [2025-02-27T03:26:38.141Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T03:26:38.141Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:388) [2025-02-27T03:26:38.141Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:271) [2025-02-27T03:26:38.141Z] at java.base/sun.security.validator.Validator.validate(Validator.java:256) [2025-02-27T03:26:38.141Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:241) [2025-02-27T03:26:38.141Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113) [2025-02-27T03:26:38.141Z] at Distrust.testTM(Distrust.java:125) [2025-02-27T03:26:38.141Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-27T03:26:38.141Z] at Entrust.main(Entrust.java:66) [2025-02-27T03:26:38.141Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-27T03:26:38.141Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-27T03:26:38.141Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-27T03:26:38.141Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-27T03:26:38.141Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T03:26:38.141Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-02-27T03:26:38.141Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-02-27T03:26:38.142Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-02-27T03:26:38.142Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:383) [2025-02-27T03:26:38.142Z] ... 11 more [2025-02-27T03:26:38.142Z] 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-27T03:26:38.142Z] at Distrust.testTM(Distrust.java:138) [2025-02-27T03:26:38.142Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-27T03:26:38.142Z] at Entrust.main(Entrust.java:66) [2025-02-27T03:26:38.142Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-27T03:26:38.142Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-27T03:26:38.142Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-27T03:26:38.142Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-27T03:26:38.142Z] [2025-02-27T03:26:38.142Z] 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-27T03:26:38.142Z] JavaTest Message: shutting down test [2025-02-27T03:26:38.142Z] [2025-02-27T03:26:38.142Z] 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-27T03:26:38.142Z] rerun: [2025-02-27T03:26:38.142Z] cd 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_1\work\scratch\2' && \ [2025-02-27T03:26:38.142Z] 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-27T03:26:38.142Z] SystemDrive=C: \ [2025-02-27T03:26:38.142Z] SystemRoot='C:\Windows' \ [2025-02-27T03:26:38.142Z] TEMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-27T03:26:38.142Z] TMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-27T03:26:38.142Z] windir='C:\Windows' \ [2025-02-27T03:26:38.142Z] CLASSPATH='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_1\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_1\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-27T03:26:38.142Z] 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\j2sdk-image\bin\java' \ [2025-02-27T03:26:38.142Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-27T03:26:38.142Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-27T03:26:38.142Z] -Dtest.compiler.opts= \ [2025-02-27T03:26:38.142Z] -Dtest.java.opts= \ [2025-02-27T03:26:38.142Z] -Dtest.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\j2sdk-image' \ [2025-02-27T03:26:38.142Z] -Dcompile.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\j2sdk-image' \ [2025-02-27T03:26:38.142Z] -Dtest.timeout.factor=8.0 \ [2025-02-27T03:26:38.142Z] -Dtest.nativepath='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-27T03:26:38.142Z] -Dtest.root='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-02-27T03:26:38.142Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-27T03:26:38.142Z] -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-27T03:26:38.142Z] -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-27T03:26:38.142Z] -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-27T03:26:38.142Z] -Dtest.classes='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d' \ [2025-02-27T03:26:38.143Z] -Dtest.class.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_1\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_1\work\classes\1\test\lib' \ [2025-02-27T03:26:38.143Z] -Dtest.class.path.prefix='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_1\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_1\work\classes\1\test\lib' \ [2025-02-27T03:26:38.143Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-27T03:26:38.143Z] --add-modules java.base \ [2025-02-27T03:26:38.143Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-27T03:26:38.143Z] -ea \ [2025-02-27T03:26:38.143Z] -esa \ [2025-02-27T03:26:38.143Z] -Xmx512m \ [2025-02-27T03:26:38.143Z] -XX:-UseCompressedOops \ [2025-02-27T03:26:38.143Z] '-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-27T03:26:38.143Z] 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_1\work\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d\main.0.jta' after policyOn invalid [2025-02-27T03:26:38.143Z] [2025-02-27T03:26:38.143Z] 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-27T03:26:38.143Z] -------------------------------------------------- [2025-02-27T03:44:34.944Z] Test results: passed: 966; failed: 2 [2025-02-27T03:44:47.666Z] Report written to C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_1\report\html\report.html [2025-02-27T03:44:47.666Z] Results written to C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_testList_1\aqa-tests\TKG\output_17406168316365\jdk_security3_1\work [2025-02-27T03:44:47.666Z] Error: Some tests failed or other problems occurred. [2025-02-27T03:44:47.666Z] ----------------------------------- [2025-02-27T03:44:47.666Z] jdk_security3_1_FAILED [2025-02-27T03:44:47.666Z] ----------------------------------- [2025-02-27T03:44:47.666Z] [2025-02-27T03:44:47.666Z] TEST TEARDOWN: [2025-02-27T03:44:47.666Z] Nothing to be done for teardown. [2025-02-27T03:44:47.666Z] jdk_security3_1 Finish Time: Thu Feb 27 03:44:47 2025 Epoch Time (ms): 1740627887567