jdk_security3_1

[2025-02-21T10:44:10.489Z] Running test jdk_security3_1 ... [2025-02-21T10:44:10.489Z] =============================================== [2025-02-21T10:44:10.806Z] jdk_security3_1 Start Time: Fri Feb 21 10:44:10 2025 Epoch Time (ms): 1740134650532 [2025-02-21T10:44:10.806Z] variation: Mode650 [2025-02-21T10:44:10.806Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-02-21T10:44:10.806Z] { \ [2025-02-21T10:44:10.806Z] echo ""; echo "TEST SETUP:"; \ [2025-02-21T10:44:10.806Z] echo "Nothing to be done for setup."; \ [2025-02-21T10:44:10.806Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun/aqa-tests/\\TKG\\output_17401319361890\\jdk_security3_1"; \ [2025-02-21T10:44:10.806Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun/aqa-tests/\\TKG\\output_17401319361890\\jdk_security3_1"; \ [2025-02-21T10:44:10.806Z] echo ""; echo "TESTING:"; \ [2025-02-21T10:44:10.806Z] "c:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun/jdkbinary/j2sdk-image\\bin\\java" -Xmx512m -jar "C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun/aqa-tests///..//jvmtest\\openjdk\\jtreg\\lib\\jtreg.jar" \ [2025-02-21T10:44:10.806Z] -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:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun/jdkbinary/openjdk-test-image\\jdk\\jtreg\\native" -vmoptions:"-Xmx512m -XX:-UseCompressedOops " \ [2025-02-21T10:44:10.806Z] \ [2025-02-21T10:44:10.806Z] -w ""C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun/aqa-tests/\\TKG\\output_17401319361890\\jdk_security3_1"\\work" \ [2025-02-21T10:44:10.806Z] -r ""C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun/aqa-tests/\\TKG\\output_17401319361890\\jdk_security3_1"\\report" \ [2025-02-21T10:44:10.806Z] -jdk:"c:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun/jdkbinary/j2sdk-image" \ [2025-02-21T10:44:10.806Z] -exclude:"C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun/aqa-tests/\\openjdk\\openjdk-jdk\\test\\jdk\\ProblemList.txt" \ [2025-02-21T10:44:10.806Z] -exclude:"C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun/aqa-tests///..//jvmtest\\openjdk\\excludes/ProblemList_openjdk11.txt" \ [2025-02-21T10:44:10.806Z] \ [2025-02-21T10:44:10.806Z] -exclude:"C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun/aqa-tests/\\openjdk\\excludes\\vendors\\eclipse\\ProblemList_openjdk11.txt" \ [2025-02-21T10:44:10.806Z] "C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun/aqa-tests/\\openjdk\\openjdk-jdk\\test\\jdk:jdk_security3"; \ [2025-02-21T10:44:10.806Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_security3_1""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun/aqa-tests/; else echo "-----------------------------------"; echo "jdk_security3_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-21T10:44:10.806Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-21T10:44:10.806Z] echo "Nothing to be done for teardown."; \ [2025-02-21T10:44:10.806Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun/aqa-tests/\\TKG\\output_17401319361890\\TestTargetResult"; [2025-02-21T10:44:11.138Z] [2025-02-21T10:44:11.138Z] TEST SETUP: [2025-02-21T10:44:11.138Z] Nothing to be done for setup. [2025-02-21T10:44:11.138Z] [2025-02-21T10:44:11.138Z] TESTING: [2025-02-21T10:44:11.473Z] Directory "C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work" not found: creating [2025-02-21T10:44:11.473Z] Directory "C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\report" not found: creating [2025-02-21T10:44:15.218Z] XML output with verification to C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work [2025-02-21T11:01:00.214Z] -------------------------------------------------- [2025-02-21T11:01:00.214Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-02-21T11:01:00.214Z] TEST JDK: c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jdkbinary\j2sdk-image [2025-02-21T11:01:00.214Z] [2025-02-21T11:01:00.214Z] ACTION: build -- Passed. Build successful [2025-02-21T11:01:00.214Z] REASON: Named class compiled on demand [2025-02-21T11:01:00.214Z] TIME: 0.076 seconds [2025-02-21T11:01:00.214Z] messages: [2025-02-21T11:01:00.214Z] command: build Camerfirma [2025-02-21T11:01:00.214Z] reason: Named class compiled on demand [2025-02-21T11:01:00.214Z] started: Fri Feb 21 11:00:51 GMT 2025 [2025-02-21T11:01:00.214Z] Test directory: [2025-02-21T11:01:00.214Z] compile: Camerfirma [2025-02-21T11:01:00.214Z] finished: Fri Feb 21 11:00:52 GMT 2025 [2025-02-21T11:01:00.214Z] elapsed time (seconds): 0.076 [2025-02-21T11:01:00.214Z] [2025-02-21T11:01:00.214Z] ACTION: compile -- Passed. Compilation successful [2025-02-21T11:01:00.214Z] REASON: .class file out of date or does not exist [2025-02-21T11:01:00.214Z] TIME: 0.073 seconds [2025-02-21T11:01:00.214Z] messages: [2025-02-21T11:01:00.214Z] command: compile C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.java [2025-02-21T11:01:00.214Z] reason: .class file out of date or does not exist [2025-02-21T11:01:00.214Z] started: Fri Feb 21 11:00:51 GMT 2025 [2025-02-21T11:01:00.214Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-21T11:01:00.214Z] Mode: agentvm [2025-02-21T11:01:00.214Z] Agent id: 3 [2025-02-21T11:01:00.214Z] finished: Fri Feb 21 11:00:52 GMT 2025 [2025-02-21T11:01:00.214Z] elapsed time (seconds): 0.073 [2025-02-21T11:01:00.214Z] configuration: [2025-02-21T11:01:00.214Z] Boot Layer (javac runtime environment) [2025-02-21T11:01:00.214Z] class path: C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jvmtest\openjdk\jtreg\lib\javatest.jar [2025-02-21T11:01:00.214Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jvmtest\openjdk\jtreg\lib\jtreg.jar [2025-02-21T11:01:00.214Z] patch: java.base C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\patches\java.base [2025-02-21T11:01:00.214Z] [2025-02-21T11:01:00.214Z] javac compilation environment [2025-02-21T11:01:00.215Z] add modules: java.base [2025-02-21T11:01:00.215Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-21T11:01:00.215Z] source path: C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust [2025-02-21T11:01:00.215Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\lib [2025-02-21T11:01:00.215Z] class path: C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust [2025-02-21T11:01:00.215Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d [2025-02-21T11:01:00.215Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\test\lib [2025-02-21T11:01:00.215Z] [2025-02-21T11:01:00.215Z] rerun: [2025-02-21T11:01:00.215Z] cd 'C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\scratch\0' && \ [2025-02-21T11:01:00.215Z] PATH='C:\Program Files\Java\jdk-17.0.8.1+1\bin;C:\cygwin64\bin;C:\Windows;C:\windows\system32;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;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:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files (x86)\IncrediBuild;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Users\adoptopenjdk\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Users\jenkins.test-azure-win2\AppData\Local\Microsoft\WindowsApps;C:\cygwin64\bin' \ [2025-02-21T11:01:00.215Z] SystemDrive=C: \ [2025-02-21T11:01:00.215Z] SystemRoot='C:\Windows' \ [2025-02-21T11:01:00.215Z] TEMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp\2' \ [2025-02-21T11:01:00.215Z] TMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp\2' \ [2025-02-21T11:01:00.215Z] windir='C:\Windows' \ [2025-02-21T11:01:00.215Z] 'c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jdkbinary\j2sdk-image\bin\javac' \ [2025-02-21T11:01:00.215Z] -J-ea \ [2025-02-21T11:01:00.215Z] -J-esa \ [2025-02-21T11:01:00.215Z] -J-Xmx512m \ [2025-02-21T11:01:00.215Z] -J-XX:-UseCompressedOops \ [2025-02-21T11:01:00.215Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-21T11:01:00.215Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-21T11:01:00.215Z] -J-Dtest.compiler.opts= \ [2025-02-21T11:01:00.215Z] -J-Dtest.java.opts= \ [2025-02-21T11:01:00.215Z] -J-Dtest.jdk='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jdkbinary\j2sdk-image' \ [2025-02-21T11:01:00.215Z] -J-Dcompile.jdk='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jdkbinary\j2sdk-image' \ [2025-02-21T11:01:00.215Z] -J-Dtest.timeout.factor=8.0 \ [2025-02-21T11:01:00.215Z] -J-Dtest.nativepath='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-21T11:01:00.215Z] -J-Dtest.root='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-02-21T11:01:00.215Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-21T11:01:00.215Z] -J-Dtest.file='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.java' \ [2025-02-21T11:01:00.215Z] -J-Dtest.src='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust' \ [2025-02-21T11:01:00.215Z] -J-Dtest.src.path='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-21T11:01:00.215Z] -J-Dtest.classes='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d' \ [2025-02-21T11:01:00.215Z] -J-Dtest.class.path='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\test\lib' \ [2025-02-21T11:01:00.215Z] -J-Dtest.class.path.prefix='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\test\lib' \ [2025-02-21T11:01:00.215Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-21T11:01:00.215Z] --add-modules java.base \ [2025-02-21T11:01:00.215Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-21T11:01:00.215Z] -d 'C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d' \ [2025-02-21T11:01:00.215Z] -sourcepath 'C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-21T11:01:00.215Z] -classpath 'C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\test\lib' 'C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.java' [2025-02-21T11:01:00.215Z] direct: [2025-02-21T11:01:00.215Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java:31: warning: Validator is internal proprietary API and may be removed in a future release [2025-02-21T11:01:00.215Z] import sun.security.validator.Validator; [2025-02-21T11:01:00.215Z] ^ [2025-02-21T11:01:00.216Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java:32: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-21T11:01:00.216Z] import sun.security.validator.ValidatorException; [2025-02-21T11:01:00.216Z] ^ [2025-02-21T11:01:00.216Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java:67: warning: Validator is internal proprietary API and may be removed in a future release [2025-02-21T11:01:00.216Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-21T11:01:00.216Z] ^ [2025-02-21T11:01:00.216Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java:67: warning: Validator is internal proprietary API and may be removed in a future release [2025-02-21T11:01:00.216Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-21T11:01:00.216Z] ^ [2025-02-21T11:01:00.216Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java:68: warning: Validator is internal proprietary API and may be removed in a future release [2025-02-21T11:01:00.216Z] Validator.VAR_CODE_SIGNING, [2025-02-21T11:01:00.216Z] ^ [2025-02-21T11:01:00.216Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java:67: warning: Validator is internal proprietary API and may be removed in a future release [2025-02-21T11:01:00.216Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-21T11:01:00.216Z] ^ [2025-02-21T11:01:00.216Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java:134: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-21T11:01:00.216Z] if (ce instanceof ValidatorException) { [2025-02-21T11:01:00.216Z] ^ [2025-02-21T11:01:00.216Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java:135: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-21T11:01:00.216Z] ValidatorException ve = (ValidatorException) ce; [2025-02-21T11:01:00.216Z] ^ [2025-02-21T11:01:00.216Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java:135: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-21T11:01:00.216Z] ValidatorException ve = (ValidatorException) ce; [2025-02-21T11:01:00.216Z] ^ [2025-02-21T11:01:00.216Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java:136: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-21T11:01:00.216Z] if (ve.getErrorType() != ValidatorException.T_UNTRUSTED_CERT) { [2025-02-21T11:01:00.216Z] ^ [2025-02-21T11:01:00.216Z] Note: C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java uses or overrides a deprecated API. [2025-02-21T11:01:00.216Z] Note: Recompile with -Xlint:deprecation for details. [2025-02-21T11:01:00.216Z] Note: C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java uses unchecked or unsafe operations. [2025-02-21T11:01:00.216Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-21T11:01:00.216Z] 10 warnings [2025-02-21T11:01:00.216Z] [2025-02-21T11:01:00.216Z] 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-21T11:01:00.216Z] REASON: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-02-21T11:01:00.216Z] TIME: 0.832 seconds [2025-02-21T11:01:00.216Z] messages: [2025-02-21T11:01:00.216Z] command: main Camerfirma after policyOn invalid [2025-02-21T11:01:00.216Z] reason: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-02-21T11:01:00.216Z] started: Fri Feb 21 11:00:52 GMT 2025 [2025-02-21T11:01:00.216Z] Mode: othervm [/othervm specified] [2025-02-21T11:01:00.216Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-21T11:01:00.216Z] finished: Fri Feb 21 11:00:52 GMT 2025 [2025-02-21T11:01:00.216Z] elapsed time (seconds): 0.832 [2025-02-21T11:01:00.216Z] configuration: [2025-02-21T11:01:00.216Z] Boot Layer [2025-02-21T11:01:00.216Z] add modules: java.base [2025-02-21T11:01:00.216Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-21T11:01:00.216Z] [2025-02-21T11:01:00.216Z] STDOUT: [2025-02-21T11:01:00.216Z] STDERR: [2025-02-21T11:01:00.216Z] Testing camerfirmachamberscommerceca [2025-02-21T11:01:00.216Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-21T11:01:00.216Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439) [2025-02-21T11:01:00.216Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306) [2025-02-21T11:01:00.216Z] at java.base/sun.security.validator.Validator.validate(Validator.java:264) [2025-02-21T11:01:00.216Z] at java.base/sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:313) [2025-02-21T11:01:00.216Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:233) [2025-02-21T11:01:00.216Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:110) [2025-02-21T11:01:00.216Z] at Distrust.testTM(Distrust.java:125) [2025-02-21T11:01:00.216Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-21T11:01:00.216Z] at Camerfirma.main(Camerfirma.java:73) [2025-02-21T11:01:00.216Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-02-21T11:01:00.216Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-02-21T11:01:00.216Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-02-21T11:01:00.216Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2025-02-21T11:01:00.216Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-21T11:01:00.216Z] at java.base/java.lang.Thread.run(Thread.java:829) [2025-02-21T11:01:00.216Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-21T11:01:00.216Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-02-21T11:01:00.216Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-02-21T11:01:00.216Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-02-21T11:01:00.216Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434) [2025-02-21T11:01:00.216Z] ... 14 more [2025-02-21T11:01:00.216Z] 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-21T11:01:00.216Z] at Distrust.testTM(Distrust.java:138) [2025-02-21T11:01:00.216Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-21T11:01:00.216Z] at Camerfirma.main(Camerfirma.java:73) [2025-02-21T11:01:00.216Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-02-21T11:01:00.216Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-02-21T11:01:00.216Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-02-21T11:01:00.216Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2025-02-21T11:01:00.216Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-21T11:01:00.216Z] at java.base/java.lang.Thread.run(Thread.java:829) [2025-02-21T11:01:00.216Z] [2025-02-21T11:01:00.216Z] 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-21T11:01:00.216Z] JavaTest Message: shutting down test [2025-02-21T11:01:00.216Z] [2025-02-21T11:01:00.217Z] 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-21T11:01:00.217Z] rerun: [2025-02-21T11:01:00.217Z] cd 'C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\scratch\0' && \ [2025-02-21T11:01:00.217Z] PATH='C:\Program Files\Java\jdk-17.0.8.1+1\bin;C:\cygwin64\bin;C:\Windows;C:\windows\system32;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;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:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files (x86)\IncrediBuild;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Users\adoptopenjdk\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Users\jenkins.test-azure-win2\AppData\Local\Microsoft\WindowsApps;C:\cygwin64\bin' \ [2025-02-21T11:01:00.217Z] SystemDrive=C: \ [2025-02-21T11:01:00.217Z] SystemRoot='C:\Windows' \ [2025-02-21T11:01:00.217Z] TEMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp\2' \ [2025-02-21T11:01:00.217Z] TMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp\2' \ [2025-02-21T11:01:00.217Z] windir='C:\Windows' \ [2025-02-21T11:01:00.217Z] CLASSPATH='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\test\lib;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\lib;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jvmtest\openjdk\jtreg\lib\javatest.jar;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jvmtest\openjdk\jtreg\lib\jtreg.jar' \ [2025-02-21T11:01:00.217Z] 'c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jdkbinary\j2sdk-image\bin\java' \ [2025-02-21T11:01:00.217Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-21T11:01:00.217Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-21T11:01:00.217Z] -Dtest.compiler.opts= \ [2025-02-21T11:01:00.217Z] -Dtest.java.opts= \ [2025-02-21T11:01:00.217Z] -Dtest.jdk='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jdkbinary\j2sdk-image' \ [2025-02-21T11:01:00.217Z] -Dcompile.jdk='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jdkbinary\j2sdk-image' \ [2025-02-21T11:01:00.217Z] -Dtest.timeout.factor=8.0 \ [2025-02-21T11:01:00.217Z] -Dtest.nativepath='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-21T11:01:00.217Z] -Dtest.root='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-02-21T11:01:00.217Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-21T11:01:00.217Z] -Dtest.file='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.java' \ [2025-02-21T11:01:00.217Z] -Dtest.src='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust' \ [2025-02-21T11:01:00.217Z] -Dtest.src.path='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-21T11:01:00.217Z] -Dtest.classes='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d' \ [2025-02-21T11:01:00.217Z] -Dtest.class.path='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\test\lib' \ [2025-02-21T11:01:00.217Z] -Dtest.class.path.prefix='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\test\lib' \ [2025-02-21T11:01:00.217Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-21T11:01:00.217Z] --add-modules java.base \ [2025-02-21T11:01:00.217Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-21T11:01:00.217Z] -ea \ [2025-02-21T11:01:00.217Z] -esa \ [2025-02-21T11:01:00.217Z] -Xmx512m \ [2025-02-21T11:01:00.217Z] -XX:-UseCompressedOops \ [2025-02-21T11:01:00.217Z] '-Djava.library.path=c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-21T11:01:00.217Z] com.sun.javatest.regtest.agent.MainWrapper 'C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d\main.0.jta' after policyOn invalid [2025-02-21T11:01:00.217Z] [2025-02-21T11:01:00.217Z] 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-21T11:01:00.217Z] -------------------------------------------------- [2025-02-21T11:01:00.217Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java [2025-02-21T11:01:00.217Z] TEST JDK: c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jdkbinary\j2sdk-image [2025-02-21T11:01:00.217Z] [2025-02-21T11:01:00.217Z] ACTION: build -- Passed. Build successful [2025-02-21T11:01:00.217Z] REASON: Named class compiled on demand [2025-02-21T11:01:00.217Z] TIME: 0.082 seconds [2025-02-21T11:01:00.217Z] messages: [2025-02-21T11:01:00.217Z] command: build Entrust [2025-02-21T11:01:00.217Z] reason: Named class compiled on demand [2025-02-21T11:01:00.217Z] started: Fri Feb 21 11:00:52 GMT 2025 [2025-02-21T11:01:00.217Z] Test directory: [2025-02-21T11:01:00.217Z] compile: Entrust [2025-02-21T11:01:00.217Z] finished: Fri Feb 21 11:00:52 GMT 2025 [2025-02-21T11:01:00.217Z] elapsed time (seconds): 0.082 [2025-02-21T11:01:00.217Z] [2025-02-21T11:01:00.217Z] ACTION: compile -- Passed. Compilation successful [2025-02-21T11:01:00.217Z] REASON: .class file out of date or does not exist [2025-02-21T11:01:00.217Z] TIME: 0.079 seconds [2025-02-21T11:01:00.217Z] messages: [2025-02-21T11:01:00.217Z] command: compile C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.java [2025-02-21T11:01:00.217Z] reason: .class file out of date or does not exist [2025-02-21T11:01:00.217Z] started: Fri Feb 21 11:00:52 GMT 2025 [2025-02-21T11:01:00.217Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-21T11:01:00.217Z] Mode: agentvm [2025-02-21T11:01:00.217Z] Agent id: 2 [2025-02-21T11:01:00.217Z] finished: Fri Feb 21 11:00:52 GMT 2025 [2025-02-21T11:01:00.217Z] elapsed time (seconds): 0.079 [2025-02-21T11:01:00.217Z] configuration: [2025-02-21T11:01:00.217Z] Boot Layer (javac runtime environment) [2025-02-21T11:01:00.217Z] class path: C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jvmtest\openjdk\jtreg\lib\javatest.jar [2025-02-21T11:01:00.217Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jvmtest\openjdk\jtreg\lib\jtreg.jar [2025-02-21T11:01:00.217Z] patch: java.base C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\patches\java.base [2025-02-21T11:01:00.217Z] [2025-02-21T11:01:00.217Z] javac compilation environment [2025-02-21T11:01:00.217Z] add modules: java.base [2025-02-21T11:01:00.217Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-21T11:01:00.217Z] source path: C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust [2025-02-21T11:01:00.217Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\lib [2025-02-21T11:01:00.217Z] class path: C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust [2025-02-21T11:01:00.217Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d [2025-02-21T11:01:00.217Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\2\test\lib [2025-02-21T11:01:00.217Z] [2025-02-21T11:01:00.217Z] rerun: [2025-02-21T11:01:00.217Z] cd 'C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\scratch\2' && \ [2025-02-21T11:01:00.217Z] PATH='C:\Program Files\Java\jdk-17.0.8.1+1\bin;C:\cygwin64\bin;C:\Windows;C:\windows\system32;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;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:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files (x86)\IncrediBuild;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Users\adoptopenjdk\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Users\jenkins.test-azure-win2\AppData\Local\Microsoft\WindowsApps;C:\cygwin64\bin' \ [2025-02-21T11:01:00.217Z] SystemDrive=C: \ [2025-02-21T11:01:00.217Z] SystemRoot='C:\Windows' \ [2025-02-21T11:01:00.217Z] TEMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp\2' \ [2025-02-21T11:01:00.217Z] TMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp\2' \ [2025-02-21T11:01:00.218Z] windir='C:\Windows' \ [2025-02-21T11:01:00.218Z] 'c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jdkbinary\j2sdk-image\bin\javac' \ [2025-02-21T11:01:00.218Z] -J-ea \ [2025-02-21T11:01:00.218Z] -J-esa \ [2025-02-21T11:01:00.218Z] -J-Xmx512m \ [2025-02-21T11:01:00.218Z] -J-XX:-UseCompressedOops \ [2025-02-21T11:01:00.218Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-21T11:01:00.218Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-21T11:01:00.218Z] -J-Dtest.compiler.opts= \ [2025-02-21T11:01:00.218Z] -J-Dtest.java.opts= \ [2025-02-21T11:01:00.218Z] -J-Dtest.jdk='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jdkbinary\j2sdk-image' \ [2025-02-21T11:01:00.218Z] -J-Dcompile.jdk='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jdkbinary\j2sdk-image' \ [2025-02-21T11:01:00.218Z] -J-Dtest.timeout.factor=8.0 \ [2025-02-21T11:01:00.218Z] -J-Dtest.nativepath='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-21T11:01:00.218Z] -J-Dtest.root='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-02-21T11:01:00.218Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-21T11:01:00.218Z] -J-Dtest.file='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.java' \ [2025-02-21T11:01:00.218Z] -J-Dtest.src='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust' \ [2025-02-21T11:01:00.218Z] -J-Dtest.src.path='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-21T11:01:00.218Z] -J-Dtest.classes='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d' \ [2025-02-21T11:01:00.218Z] -J-Dtest.class.path='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\2\test\lib' \ [2025-02-21T11:01:00.218Z] -J-Dtest.class.path.prefix='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\2\test\lib' \ [2025-02-21T11:01:00.218Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-21T11:01:00.218Z] --add-modules java.base \ [2025-02-21T11:01:00.218Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-21T11:01:00.218Z] -d 'C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d' \ [2025-02-21T11:01:00.218Z] -sourcepath 'C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-21T11:01:00.218Z] -classpath 'C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\2\test\lib' 'C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.java' [2025-02-21T11:01:00.218Z] direct: [2025-02-21T11:01:00.218Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java:31: warning: Validator is internal proprietary API and may be removed in a future release [2025-02-21T11:01:00.218Z] import sun.security.validator.Validator; [2025-02-21T11:01:00.218Z] ^ [2025-02-21T11:01:00.218Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java:32: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-21T11:01:00.218Z] import sun.security.validator.ValidatorException; [2025-02-21T11:01:00.218Z] ^ [2025-02-21T11:01:00.218Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java:67: warning: Validator is internal proprietary API and may be removed in a future release [2025-02-21T11:01:00.218Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-21T11:01:00.218Z] ^ [2025-02-21T11:01:00.218Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java:67: warning: Validator is internal proprietary API and may be removed in a future release [2025-02-21T11:01:00.218Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-21T11:01:00.218Z] ^ [2025-02-21T11:01:00.218Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java:68: warning: Validator is internal proprietary API and may be removed in a future release [2025-02-21T11:01:00.218Z] Validator.VAR_CODE_SIGNING, [2025-02-21T11:01:00.218Z] ^ [2025-02-21T11:01:00.218Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java:67: warning: Validator is internal proprietary API and may be removed in a future release [2025-02-21T11:01:00.218Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-21T11:01:00.218Z] ^ [2025-02-21T11:01:00.218Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java:134: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-21T11:01:00.218Z] if (ce instanceof ValidatorException) { [2025-02-21T11:01:00.218Z] ^ [2025-02-21T11:01:00.218Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java:135: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-21T11:01:00.218Z] ValidatorException ve = (ValidatorException) ce; [2025-02-21T11:01:00.218Z] ^ [2025-02-21T11:01:00.218Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java:135: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-21T11:01:00.218Z] ValidatorException ve = (ValidatorException) ce; [2025-02-21T11:01:00.218Z] ^ [2025-02-21T11:01:00.218Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java:136: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-21T11:01:00.218Z] if (ve.getErrorType() != ValidatorException.T_UNTRUSTED_CERT) { [2025-02-21T11:01:00.218Z] ^ [2025-02-21T11:01:00.218Z] Note: C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java uses or overrides a deprecated API. [2025-02-21T11:01:00.218Z] Note: Recompile with -Xlint:deprecation for details. [2025-02-21T11:01:00.218Z] Note: C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java uses unchecked or unsafe operations. [2025-02-21T11:01:00.218Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-21T11:01:00.218Z] 10 warnings [2025-02-21T11:01:00.218Z] [2025-02-21T11:01:00.218Z] 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-21T11:01:00.218Z] REASON: User specified action: run main/othervm Entrust after policyOn invalid [2025-02-21T11:01:00.218Z] TIME: 0.961 seconds [2025-02-21T11:01:00.218Z] messages: [2025-02-21T11:01:00.218Z] command: main Entrust after policyOn invalid [2025-02-21T11:01:00.218Z] reason: User specified action: run main/othervm Entrust after policyOn invalid [2025-02-21T11:01:00.218Z] started: Fri Feb 21 11:00:52 GMT 2025 [2025-02-21T11:01:00.218Z] Mode: othervm [/othervm specified] [2025-02-21T11:01:00.218Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-21T11:01:00.218Z] finished: Fri Feb 21 11:00:53 GMT 2025 [2025-02-21T11:01:00.218Z] elapsed time (seconds): 0.961 [2025-02-21T11:01:00.218Z] configuration: [2025-02-21T11:01:00.218Z] Boot Layer [2025-02-21T11:01:00.218Z] add modules: java.base [2025-02-21T11:01:00.218Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-21T11:01:00.218Z] [2025-02-21T11:01:00.218Z] STDOUT: [2025-02-21T11:01:00.218Z] STDERR: [2025-02-21T11:01:00.218Z] Testing entrustevca [2025-02-21T11:01:00.218Z] Testing entrustrootcaec1 [2025-02-21T11:01:00.218Z] Testing entrustrootcag2 [2025-02-21T11:01:00.218Z] Testing entrustrootcag4 [2025-02-21T11:01:00.218Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-21T11:01:00.219Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439) [2025-02-21T11:01:00.219Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306) [2025-02-21T11:01:00.219Z] at java.base/sun.security.validator.Validator.validate(Validator.java:264) [2025-02-21T11:01:00.219Z] at java.base/sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:313) [2025-02-21T11:01:00.219Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:233) [2025-02-21T11:01:00.219Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:110) [2025-02-21T11:01:00.219Z] at Distrust.testTM(Distrust.java:125) [2025-02-21T11:01:00.219Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-21T11:01:00.219Z] at Entrust.main(Entrust.java:66) [2025-02-21T11:01:00.219Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-02-21T11:01:00.219Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-02-21T11:01:00.219Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-02-21T11:01:00.219Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2025-02-21T11:01:00.219Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-21T11:01:00.219Z] at java.base/java.lang.Thread.run(Thread.java:829) [2025-02-21T11:01:00.219Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-21T11:01:00.219Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-02-21T11:01:00.219Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-02-21T11:01:00.219Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-02-21T11:01:00.219Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434) [2025-02-21T11:01:00.219Z] ... 14 more [2025-02-21T11:01:00.219Z] 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-21T11:01:00.219Z] at Distrust.testTM(Distrust.java:138) [2025-02-21T11:01:00.219Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-21T11:01:00.219Z] at Entrust.main(Entrust.java:66) [2025-02-21T11:01:00.219Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-02-21T11:01:00.219Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-02-21T11:01:00.219Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-02-21T11:01:00.219Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2025-02-21T11:01:00.219Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-21T11:01:00.219Z] at java.base/java.lang.Thread.run(Thread.java:829) [2025-02-21T11:01:00.219Z] [2025-02-21T11:01:00.219Z] 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-21T11:01:00.219Z] JavaTest Message: shutting down test [2025-02-21T11:01:00.219Z] [2025-02-21T11:01:00.219Z] 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-21T11:01:00.219Z] rerun: [2025-02-21T11:01:00.219Z] cd 'C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\scratch\2' && \ [2025-02-21T11:01:00.219Z] PATH='C:\Program Files\Java\jdk-17.0.8.1+1\bin;C:\cygwin64\bin;C:\Windows;C:\windows\system32;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;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:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files (x86)\IncrediBuild;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Users\adoptopenjdk\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Users\jenkins.test-azure-win2\AppData\Local\Microsoft\WindowsApps;C:\cygwin64\bin' \ [2025-02-21T11:01:00.219Z] SystemDrive=C: \ [2025-02-21T11:01:00.219Z] SystemRoot='C:\Windows' \ [2025-02-21T11:01:00.219Z] TEMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp\2' \ [2025-02-21T11:01:00.219Z] TMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp\2' \ [2025-02-21T11:01:00.219Z] windir='C:\Windows' \ [2025-02-21T11:01:00.219Z] CLASSPATH='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\2\test\lib;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\lib;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jvmtest\openjdk\jtreg\lib\javatest.jar;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jvmtest\openjdk\jtreg\lib\jtreg.jar' \ [2025-02-21T11:01:00.219Z] 'c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jdkbinary\j2sdk-image\bin\java' \ [2025-02-21T11:01:00.219Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-21T11:01:00.219Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-21T11:01:00.219Z] -Dtest.compiler.opts= \ [2025-02-21T11:01:00.219Z] -Dtest.java.opts= \ [2025-02-21T11:01:00.219Z] -Dtest.jdk='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jdkbinary\j2sdk-image' \ [2025-02-21T11:01:00.219Z] -Dcompile.jdk='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jdkbinary\j2sdk-image' \ [2025-02-21T11:01:00.219Z] -Dtest.timeout.factor=8.0 \ [2025-02-21T11:01:00.219Z] -Dtest.nativepath='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-21T11:01:00.219Z] -Dtest.root='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-02-21T11:01:00.219Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-21T11:01:00.219Z] -Dtest.file='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.java' \ [2025-02-21T11:01:00.219Z] -Dtest.src='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust' \ [2025-02-21T11:01:00.219Z] -Dtest.src.path='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-21T11:01:00.219Z] -Dtest.classes='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d' \ [2025-02-21T11:01:00.219Z] -Dtest.class.path='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\2\test\lib' \ [2025-02-21T11:01:00.219Z] -Dtest.class.path.prefix='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\2\test\lib' \ [2025-02-21T11:01:00.219Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-21T11:01:00.219Z] --add-modules java.base \ [2025-02-21T11:01:00.219Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-21T11:01:00.219Z] -ea \ [2025-02-21T11:01:00.219Z] -esa \ [2025-02-21T11:01:00.219Z] -Xmx512m \ [2025-02-21T11:01:00.219Z] -XX:-UseCompressedOops \ [2025-02-21T11:01:00.219Z] '-Djava.library.path=c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-21T11:01:00.219Z] com.sun.javatest.regtest.agent.MainWrapper 'C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d\main.0.jta' after policyOn invalid [2025-02-21T11:01:00.219Z] [2025-02-21T11:01:00.219Z] 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-21T11:01:00.219Z] -------------------------------------------------- [2025-02-21T11:01:00.219Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java [2025-02-21T11:01:00.219Z] TEST JDK: c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jdkbinary\j2sdk-image [2025-02-21T11:01:00.219Z] [2025-02-21T11:01:00.219Z] ACTION: build -- Passed. Build successful [2025-02-21T11:01:00.219Z] REASON: Named class compiled on demand [2025-02-21T11:01:00.219Z] TIME: 0.071 seconds [2025-02-21T11:01:00.219Z] messages: [2025-02-21T11:01:00.219Z] command: build Symantec [2025-02-21T11:01:00.219Z] reason: Named class compiled on demand [2025-02-21T11:01:00.219Z] started: Fri Feb 21 11:00:52 GMT 2025 [2025-02-21T11:01:00.219Z] Test directory: [2025-02-21T11:01:00.219Z] compile: Symantec [2025-02-21T11:01:00.220Z] finished: Fri Feb 21 11:00:52 GMT 2025 [2025-02-21T11:01:00.220Z] elapsed time (seconds): 0.071 [2025-02-21T11:01:00.220Z] [2025-02-21T11:01:00.220Z] ACTION: compile -- Passed. Compilation successful [2025-02-21T11:01:00.220Z] REASON: .class file out of date or does not exist [2025-02-21T11:01:00.220Z] TIME: 0.071 seconds [2025-02-21T11:01:00.220Z] messages: [2025-02-21T11:01:00.220Z] command: compile C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Symantec.java [2025-02-21T11:01:00.220Z] reason: .class file out of date or does not exist [2025-02-21T11:01:00.220Z] started: Fri Feb 21 11:00:52 GMT 2025 [2025-02-21T11:01:00.220Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-21T11:01:00.220Z] Mode: agentvm [2025-02-21T11:01:00.220Z] Agent id: 3 [2025-02-21T11:01:00.220Z] finished: Fri Feb 21 11:00:52 GMT 2025 [2025-02-21T11:01:00.220Z] elapsed time (seconds): 0.071 [2025-02-21T11:01:00.220Z] configuration: [2025-02-21T11:01:00.220Z] Boot Layer (javac runtime environment) [2025-02-21T11:01:00.220Z] class path: C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jvmtest\openjdk\jtreg\lib\javatest.jar [2025-02-21T11:01:00.220Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jvmtest\openjdk\jtreg\lib\jtreg.jar [2025-02-21T11:01:00.220Z] patch: java.base C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\patches\java.base [2025-02-21T11:01:00.220Z] [2025-02-21T11:01:00.220Z] javac compilation environment [2025-02-21T11:01:00.220Z] add modules: java.base [2025-02-21T11:01:00.220Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-21T11:01:00.220Z] source path: C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust [2025-02-21T11:01:00.220Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\lib [2025-02-21T11:01:00.220Z] class path: C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust [2025-02-21T11:01:00.220Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Symantec.d [2025-02-21T11:01:00.220Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\test\lib [2025-02-21T11:01:00.220Z] [2025-02-21T11:01:00.220Z] rerun: [2025-02-21T11:01:00.220Z] cd 'C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\scratch\0' && \ [2025-02-21T11:01:00.220Z] PATH='C:\Program Files\Java\jdk-17.0.8.1+1\bin;C:\cygwin64\bin;C:\Windows;C:\windows\system32;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;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:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files (x86)\IncrediBuild;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Users\adoptopenjdk\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Users\jenkins.test-azure-win2\AppData\Local\Microsoft\WindowsApps;C:\cygwin64\bin' \ [2025-02-21T11:01:00.220Z] SystemDrive=C: \ [2025-02-21T11:01:00.220Z] SystemRoot='C:\Windows' \ [2025-02-21T11:01:00.220Z] TEMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp\2' \ [2025-02-21T11:01:00.220Z] TMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp\2' \ [2025-02-21T11:01:00.220Z] windir='C:\Windows' \ [2025-02-21T11:01:00.220Z] 'c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jdkbinary\j2sdk-image\bin\javac' \ [2025-02-21T11:01:00.220Z] -J-ea \ [2025-02-21T11:01:00.220Z] -J-esa \ [2025-02-21T11:01:00.220Z] -J-Xmx512m \ [2025-02-21T11:01:00.220Z] -J-XX:-UseCompressedOops \ [2025-02-21T11:01:00.220Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-21T11:01:00.220Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-21T11:01:00.220Z] -J-Dtest.compiler.opts= \ [2025-02-21T11:01:00.220Z] -J-Dtest.java.opts= \ [2025-02-21T11:01:00.220Z] -J-Dtest.jdk='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jdkbinary\j2sdk-image' \ [2025-02-21T11:01:00.220Z] -J-Dcompile.jdk='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jdkbinary\j2sdk-image' \ [2025-02-21T11:01:00.220Z] -J-Dtest.timeout.factor=8.0 \ [2025-02-21T11:01:00.220Z] -J-Dtest.nativepath='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-21T11:01:00.220Z] -J-Dtest.root='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-02-21T11:01:00.220Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java \ [2025-02-21T11:01:00.220Z] -J-Dtest.file='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Symantec.java' \ [2025-02-21T11:01:00.220Z] -J-Dtest.src='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust' \ [2025-02-21T11:01:00.220Z] -J-Dtest.src.path='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-21T11:01:00.220Z] -J-Dtest.classes='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Symantec.d' \ [2025-02-21T11:01:00.220Z] -J-Dtest.class.path='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Symantec.d;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\test\lib' \ [2025-02-21T11:01:00.220Z] -J-Dtest.class.path.prefix='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Symantec.d;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\test\lib' \ [2025-02-21T11:01:00.222Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-21T11:01:00.222Z] --add-modules java.base \ [2025-02-21T11:01:00.222Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-21T11:01:00.222Z] -d 'C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Symantec.d' \ [2025-02-21T11:01:00.222Z] -sourcepath 'C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-21T11:01:00.222Z] -classpath 'C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Symantec.d;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\test\lib' 'C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Symantec.java' [2025-02-21T11:01:00.222Z] direct: [2025-02-21T11:01:00.222Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java:31: warning: Validator is internal proprietary API and may be removed in a future release [2025-02-21T11:01:00.222Z] import sun.security.validator.Validator; [2025-02-21T11:01:00.222Z] ^ [2025-02-21T11:01:00.222Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java:32: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-21T11:01:00.222Z] import sun.security.validator.ValidatorException; [2025-02-21T11:01:00.222Z] ^ [2025-02-21T11:01:00.222Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java:67: warning: Validator is internal proprietary API and may be removed in a future release [2025-02-21T11:01:00.222Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-21T11:01:00.222Z] ^ [2025-02-21T11:01:00.222Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java:67: warning: Validator is internal proprietary API and may be removed in a future release [2025-02-21T11:01:00.222Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-21T11:01:00.222Z] ^ [2025-02-21T11:01:00.222Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java:68: warning: Validator is internal proprietary API and may be removed in a future release [2025-02-21T11:01:00.222Z] Validator.VAR_CODE_SIGNING, [2025-02-21T11:01:00.222Z] ^ [2025-02-21T11:01:00.222Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java:67: warning: Validator is internal proprietary API and may be removed in a future release [2025-02-21T11:01:00.222Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-21T11:01:00.222Z] ^ [2025-02-21T11:01:00.222Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java:134: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-21T11:01:00.222Z] if (ce instanceof ValidatorException) { [2025-02-21T11:01:00.222Z] ^ [2025-02-21T11:01:00.222Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java:135: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-21T11:01:00.222Z] ValidatorException ve = (ValidatorException) ce; [2025-02-21T11:01:00.222Z] ^ [2025-02-21T11:01:00.222Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java:135: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-21T11:01:00.222Z] ValidatorException ve = (ValidatorException) ce; [2025-02-21T11:01:00.222Z] ^ [2025-02-21T11:01:00.222Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java:136: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-21T11:01:00.222Z] if (ve.getErrorType() != ValidatorException.T_UNTRUSTED_CERT) { [2025-02-21T11:01:00.222Z] ^ [2025-02-21T11:01:00.222Z] Note: C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java uses or overrides a deprecated API. [2025-02-21T11:01:00.222Z] Note: Recompile with -Xlint:deprecation for details. [2025-02-21T11:01:00.222Z] Note: C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java uses unchecked or unsafe operations. [2025-02-21T11:01:00.222Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-21T11:01:00.222Z] 10 warnings [2025-02-21T11:01:00.222Z] [2025-02-21T11:01:00.222Z] 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-21T11:01:00.222Z] REASON: User specified action: run main/othervm Symantec after policyOn invalid [2025-02-21T11:01:00.222Z] TIME: 0.793 seconds [2025-02-21T11:01:00.222Z] messages: [2025-02-21T11:01:00.222Z] command: main Symantec after policyOn invalid [2025-02-21T11:01:00.222Z] reason: User specified action: run main/othervm Symantec after policyOn invalid [2025-02-21T11:01:00.222Z] started: Fri Feb 21 11:00:52 GMT 2025 [2025-02-21T11:01:00.222Z] Mode: othervm [/othervm specified] [2025-02-21T11:01:00.222Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-21T11:01:00.222Z] finished: Fri Feb 21 11:00:53 GMT 2025 [2025-02-21T11:01:00.222Z] elapsed time (seconds): 0.793 [2025-02-21T11:01:00.222Z] configuration: [2025-02-21T11:01:00.222Z] Boot Layer [2025-02-21T11:01:00.222Z] add modules: java.base [2025-02-21T11:01:00.222Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-21T11:01:00.222Z] [2025-02-21T11:01:00.222Z] STDOUT: [2025-02-21T11:01:00.222Z] STDERR: [2025-02-21T11:01:00.222Z] Testing geotrustprimarycag2 [2025-02-21T11:01:00.222Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-21T11:01:00.222Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439) [2025-02-21T11:01:00.222Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306) [2025-02-21T11:01:00.222Z] at java.base/sun.security.validator.Validator.validate(Validator.java:264) [2025-02-21T11:01:00.222Z] at java.base/sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:313) [2025-02-21T11:01:00.222Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:233) [2025-02-21T11:01:00.222Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:110) [2025-02-21T11:01:00.222Z] at Distrust.testTM(Distrust.java:125) [2025-02-21T11:01:00.222Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-21T11:01:00.222Z] at Symantec.main(Symantec.java:77) [2025-02-21T11:01:00.222Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-02-21T11:01:00.222Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-02-21T11:01:00.223Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-02-21T11:01:00.223Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2025-02-21T11:01:00.223Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-21T11:01:00.223Z] at java.base/java.lang.Thread.run(Thread.java:829) [2025-02-21T11:01:00.223Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-21T11:01:00.223Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-02-21T11:01:00.223Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-02-21T11:01:00.223Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-02-21T11:01:00.223Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434) [2025-02-21T11:01:00.223Z] ... 14 more [2025-02-21T11:01:00.223Z] 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-21T11:01:00.223Z] at Distrust.testTM(Distrust.java:138) [2025-02-21T11:01:00.223Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-21T11:01:00.223Z] at Symantec.main(Symantec.java:77) [2025-02-21T11:01:00.223Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-02-21T11:01:00.223Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-02-21T11:01:00.223Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-02-21T11:01:00.223Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2025-02-21T11:01:00.223Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-21T11:01:00.223Z] at java.base/java.lang.Thread.run(Thread.java:829) [2025-02-21T11:01:00.223Z] [2025-02-21T11:01:00.223Z] 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-21T11:01:00.223Z] JavaTest Message: shutting down test [2025-02-21T11:01:00.223Z] [2025-02-21T11:01:00.223Z] 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-21T11:01:00.223Z] rerun: [2025-02-21T11:01:00.223Z] cd 'C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\scratch\0' && \ [2025-02-21T11:01:00.223Z] PATH='C:\Program Files\Java\jdk-17.0.8.1+1\bin;C:\cygwin64\bin;C:\Windows;C:\windows\system32;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;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:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files (x86)\IncrediBuild;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Users\adoptopenjdk\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Users\jenkins.test-azure-win2\AppData\Local\Microsoft\WindowsApps;C:\cygwin64\bin' \ [2025-02-21T11:01:00.223Z] SystemDrive=C: \ [2025-02-21T11:01:00.223Z] SystemRoot='C:\Windows' \ [2025-02-21T11:01:00.223Z] TEMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp\2' \ [2025-02-21T11:01:00.223Z] TMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp\2' \ [2025-02-21T11:01:00.223Z] windir='C:\Windows' \ [2025-02-21T11:01:00.223Z] CLASSPATH='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Symantec.d;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\test\lib;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\lib;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jvmtest\openjdk\jtreg\lib\javatest.jar;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jvmtest\openjdk\jtreg\lib\jtreg.jar' \ [2025-02-21T11:01:00.223Z] 'c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jdkbinary\j2sdk-image\bin\java' \ [2025-02-21T11:01:00.223Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-21T11:01:00.223Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-21T11:01:00.223Z] -Dtest.compiler.opts= \ [2025-02-21T11:01:00.223Z] -Dtest.java.opts= \ [2025-02-21T11:01:00.223Z] -Dtest.jdk='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jdkbinary\j2sdk-image' \ [2025-02-21T11:01:00.223Z] -Dcompile.jdk='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jdkbinary\j2sdk-image' \ [2025-02-21T11:01:00.223Z] -Dtest.timeout.factor=8.0 \ [2025-02-21T11:01:00.223Z] -Dtest.nativepath='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-21T11:01:00.223Z] -Dtest.root='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-02-21T11:01:00.223Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java \ [2025-02-21T11:01:00.223Z] -Dtest.file='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Symantec.java' \ [2025-02-21T11:01:00.223Z] -Dtest.src='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust' \ [2025-02-21T11:01:00.223Z] -Dtest.src.path='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-21T11:01:00.224Z] -Dtest.classes='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Symantec.d' \ [2025-02-21T11:01:00.224Z] -Dtest.class.path='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Symantec.d;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\test\lib' \ [2025-02-21T11:01:00.224Z] -Dtest.class.path.prefix='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Symantec.d;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\classes\1\test\lib' \ [2025-02-21T11:01:00.224Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-21T11:01:00.224Z] --add-modules java.base \ [2025-02-21T11:01:00.224Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-21T11:01:00.224Z] -ea \ [2025-02-21T11:01:00.224Z] -esa \ [2025-02-21T11:01:00.224Z] -Xmx512m \ [2025-02-21T11:01:00.224Z] -XX:-UseCompressedOops \ [2025-02-21T11:01:00.224Z] '-Djava.library.path=c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-21T11:01:00.224Z] com.sun.javatest.regtest.agent.MainWrapper 'C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work\sun\security\ssl\X509TrustManagerImpl\distrust\Symantec.d\main.0.jta' after policyOn invalid [2025-02-21T11:01:00.224Z] [2025-02-21T11:01:00.224Z] 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-21T11:01:00.224Z] -------------------------------------------------- [2025-02-21T11:17:47.755Z] Test results: passed: 799; failed: 3 [2025-02-21T11:17:47.755Z] Report written to C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\report\html\report.html [2025-02-21T11:17:47.755Z] Results written to C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_rerun\aqa-tests\TKG\output_17401319361890\jdk_security3_1\work [2025-02-21T11:17:47.755Z] Error: Some tests failed or other problems occurred. [2025-02-21T11:17:47.755Z] ----------------------------------- [2025-02-21T11:17:47.755Z] jdk_security3_1_FAILED [2025-02-21T11:17:47.755Z] ----------------------------------- [2025-02-21T11:17:47.755Z] [2025-02-21T11:17:47.755Z] TEST TEARDOWN: [2025-02-21T11:17:47.755Z] Nothing to be done for teardown. [2025-02-21T11:17:47.755Z] jdk_security3_1 Finish Time: Fri Feb 21 11:17:47 2025 Epoch Time (ms): 1740136667500