jdk_security3_2

[2025-03-06T13:04:14.887Z] Running test jdk_security3_2 ... [2025-03-06T13:04:14.887Z] =============================================== [2025-03-06T13:04:14.887Z] jdk_security3_2 Start Time: Thu Mar 6 13:04:14 2025 Epoch Time (ms): 1741266254740 [2025-03-06T13:04:14.887Z] variation: Mode1000 [2025-03-06T13:04:15.227Z] JVM_OPTIONS: [2025-03-06T13:04:15.227Z] { \ [2025-03-06T13:04:15.227Z] echo ""; echo "TEST SETUP:"; \ [2025-03-06T13:04:15.227Z] echo "Nothing to be done for setup."; \ [2025-03-06T13:04:15.227Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-32_windows/aqa-tests/\\TKG\\output_17412425263275\\jdk_security3_2"; \ [2025-03-06T13:04:15.227Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-32_windows/aqa-tests/\\TKG\\output_17412425263275\\jdk_security3_2"; \ [2025-03-06T13:04:15.227Z] echo ""; echo "TESTING:"; \ [2025-03-06T13:04:15.227Z] "c:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-32_windows/jdkbinary/j2sdk-image\\bin\\java" -Xmx512m -jar "C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-32_windows/aqa-tests///..//jvmtest\\openjdk\\jtreg\\lib\\jtreg.jar" \ [2025-03-06T13:04:15.227Z] -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-32_windows/jdkbinary/openjdk-test-image\\jdk\\jtreg\\native" -vmoptions:"-Xmx512m " \ [2025-03-06T13:04:15.227Z] \ [2025-03-06T13:04:15.227Z] -w ""C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-32_windows/aqa-tests/\\TKG\\output_17412425263275\\jdk_security3_2"\\work" \ [2025-03-06T13:04:15.227Z] -r ""C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-32_windows/aqa-tests/\\TKG\\output_17412425263275\\jdk_security3_2"\\report" \ [2025-03-06T13:04:15.227Z] -jdk:"c:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-32_windows/jdkbinary/j2sdk-image" \ [2025-03-06T13:04:15.227Z] -exclude:"C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-32_windows/aqa-tests/\\openjdk\\openjdk-jdk\\test\\jdk\\ProblemList.txt" \ [2025-03-06T13:04:15.227Z] -exclude:"C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-32_windows/aqa-tests///..//jvmtest\\openjdk\\excludes/ProblemList_openjdk11.txt" \ [2025-03-06T13:04:15.227Z] \ [2025-03-06T13:04:15.227Z] -exclude:"C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-32_windows/aqa-tests/\\openjdk\\excludes\\vendors\\eclipse\\ProblemList_openjdk11.txt" \ [2025-03-06T13:04:15.227Z] "C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-32_windows/aqa-tests/\\openjdk\\openjdk-jdk\\test\\jdk:jdk_security3"; \ [2025-03-06T13:04:15.228Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_security3_2""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-32_windows/aqa-tests/; else echo "-----------------------------------"; echo "jdk_security3_2""_FAILED"; echo "-----------------------------------"; fi; \ [2025-03-06T13:04:15.228Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-03-06T13:04:15.228Z] echo "Nothing to be done for teardown."; \ [2025-03-06T13:04:15.228Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-32_windows/aqa-tests/\\TKG\\output_17412425263275\\TestTargetResult"; [2025-03-06T13:04:15.228Z] [2025-03-06T13:04:15.228Z] TEST SETUP: [2025-03-06T13:04:15.228Z] Nothing to be done for setup. [2025-03-06T13:04:15.228Z] [2025-03-06T13:04:15.228Z] TESTING: [2025-03-06T13:04:15.938Z] Directory "C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work" not found: creating [2025-03-06T13:04:15.938Z] Directory "C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\report" not found: creating [2025-03-06T13:04:19.684Z] XML output with verification to C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work [2025-03-06T13:49:56.469Z] -------------------------------------------------- [2025-03-06T13:49:56.469Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-03-06T13:49:56.469Z] TEST JDK: c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jdkbinary\j2sdk-image [2025-03-06T13:49:56.469Z] [2025-03-06T13:49:56.469Z] ACTION: build -- Passed. Build successful [2025-03-06T13:49:56.469Z] REASON: Named class compiled on demand [2025-03-06T13:49:56.469Z] TIME: 0.16 seconds [2025-03-06T13:49:56.469Z] messages: [2025-03-06T13:49:56.469Z] command: build Camerfirma [2025-03-06T13:49:56.469Z] reason: Named class compiled on demand [2025-03-06T13:49:56.469Z] started: Thu Mar 06 13:49:48 GMT 2025 [2025-03-06T13:49:56.469Z] Test directory: [2025-03-06T13:49:56.469Z] compile: Camerfirma [2025-03-06T13:49:56.469Z] finished: Thu Mar 06 13:49:48 GMT 2025 [2025-03-06T13:49:56.469Z] elapsed time (seconds): 0.16 [2025-03-06T13:49:56.469Z] [2025-03-06T13:49:56.469Z] ACTION: compile -- Passed. Compilation successful [2025-03-06T13:49:56.469Z] REASON: .class file out of date or does not exist [2025-03-06T13:49:56.469Z] TIME: 0.158 seconds [2025-03-06T13:49:56.469Z] messages: [2025-03-06T13:49:56.469Z] command: compile C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.java [2025-03-06T13:49:56.469Z] reason: .class file out of date or does not exist [2025-03-06T13:49:56.469Z] started: Thu Mar 06 13:49:48 GMT 2025 [2025-03-06T13:49:56.469Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-03-06T13:49:56.469Z] Mode: agentvm [2025-03-06T13:49:56.469Z] Agent id: 2 [2025-03-06T13:49:56.469Z] finished: Thu Mar 06 13:49:48 GMT 2025 [2025-03-06T13:49:56.469Z] elapsed time (seconds): 0.158 [2025-03-06T13:49:56.469Z] configuration: [2025-03-06T13:49:56.469Z] Boot Layer (javac runtime environment) [2025-03-06T13:49:56.469Z] class path: C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jvmtest\openjdk\jtreg\lib\javatest.jar [2025-03-06T13:49:56.469Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jvmtest\openjdk\jtreg\lib\jtreg.jar [2025-03-06T13:49:56.469Z] patch: java.base C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\patches\java.base [2025-03-06T13:49:56.469Z] [2025-03-06T13:49:56.469Z] javac compilation environment [2025-03-06T13:49:56.469Z] add modules: java.base [2025-03-06T13:49:56.469Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-03-06T13:49:56.469Z] source path: C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust [2025-03-06T13:49:56.469Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\lib [2025-03-06T13:49:56.469Z] class path: C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust [2025-03-06T13:49:56.469Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d [2025-03-06T13:49:56.469Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\test\lib [2025-03-06T13:49:56.469Z] [2025-03-06T13:49:56.469Z] rerun: [2025-03-06T13:49:56.469Z] cd 'C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\scratch\2' && \ [2025-03-06T13:49:56.469Z] PATH='C:\cygwin64\bin;C:\Windows\system32;C:\Windows;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 (x86)\IncrediBuild;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Users\jenkins\AppData\Local\Microsoft\WindowsApps' \ [2025-03-06T13:49:56.469Z] SystemDrive=C: \ [2025-03-06T13:49:56.469Z] SystemRoot='C:\Windows' \ [2025-03-06T13:49:56.469Z] TEMP='C:\Users\jenkins\AppData\Local\Temp\2' \ [2025-03-06T13:49:56.469Z] TMP='C:\Users\jenkins\AppData\Local\Temp\2' \ [2025-03-06T13:49:56.469Z] windir='C:\Windows' \ [2025-03-06T13:49:56.469Z] 'c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jdkbinary\j2sdk-image\bin\javac' \ [2025-03-06T13:49:56.469Z] -J-ea \ [2025-03-06T13:49:56.469Z] -J-esa \ [2025-03-06T13:49:56.469Z] -J-Xmx512m \ [2025-03-06T13:49:56.469Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m' \ [2025-03-06T13:49:56.469Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \ [2025-03-06T13:49:56.469Z] -J-Dtest.compiler.opts= \ [2025-03-06T13:49:56.469Z] -J-Dtest.java.opts= \ [2025-03-06T13:49:56.469Z] -J-Dtest.jdk='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jdkbinary\j2sdk-image' \ [2025-03-06T13:49:56.469Z] -J-Dcompile.jdk='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jdkbinary\j2sdk-image' \ [2025-03-06T13:49:56.469Z] -J-Dtest.timeout.factor=8.0 \ [2025-03-06T13:49:56.469Z] -J-Dtest.nativepath='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-03-06T13:49:56.469Z] -J-Dtest.root='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-03-06T13:49:56.469Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-03-06T13:49:56.469Z] -J-Dtest.file='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.java' \ [2025-03-06T13:49:56.469Z] -J-Dtest.src='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust' \ [2025-03-06T13:49:56.469Z] -J-Dtest.src.path='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-03-06T13:49:56.469Z] -J-Dtest.classes='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d' \ [2025-03-06T13:49:56.469Z] -J-Dtest.class.path='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\test\lib' \ [2025-03-06T13:49:56.469Z] -J-Dtest.class.path.prefix='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\test\lib' \ [2025-03-06T13:49:56.469Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-03-06T13:49:56.469Z] --add-modules java.base \ [2025-03-06T13:49:56.469Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-03-06T13:49:56.469Z] -d 'C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d' \ [2025-03-06T13:49:56.469Z] -sourcepath 'C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-03-06T13:49:56.469Z] -classpath 'C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\test\lib' 'C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.java' [2025-03-06T13:49:56.469Z] direct: [2025-03-06T13:49:56.469Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\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-03-06T13:49:56.469Z] import sun.security.validator.Validator; [2025-03-06T13:49:56.469Z] ^ [2025-03-06T13:49:56.469Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\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-03-06T13:49:56.469Z] import sun.security.validator.ValidatorException; [2025-03-06T13:49:56.469Z] ^ [2025-03-06T13:49:56.469Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\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-03-06T13:49:56.469Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-03-06T13:49:56.469Z] ^ [2025-03-06T13:49:56.469Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\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-03-06T13:49:56.469Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-03-06T13:49:56.469Z] ^ [2025-03-06T13:49:56.469Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\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-03-06T13:49:56.469Z] Validator.VAR_CODE_SIGNING, [2025-03-06T13:49:56.469Z] ^ [2025-03-06T13:49:56.469Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\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-03-06T13:49:56.469Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-03-06T13:49:56.469Z] ^ [2025-03-06T13:49:56.469Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\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-03-06T13:49:56.469Z] if (ce instanceof ValidatorException) { [2025-03-06T13:49:56.469Z] ^ [2025-03-06T13:49:56.469Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\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-03-06T13:49:56.469Z] ValidatorException ve = (ValidatorException) ce; [2025-03-06T13:49:56.469Z] ^ [2025-03-06T13:49:56.469Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\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-03-06T13:49:56.469Z] ValidatorException ve = (ValidatorException) ce; [2025-03-06T13:49:56.469Z] ^ [2025-03-06T13:49:56.469Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\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-03-06T13:49:56.469Z] if (ve.getErrorType() != ValidatorException.T_UNTRUSTED_CERT) { [2025-03-06T13:49:56.469Z] ^ [2025-03-06T13:49:56.469Z] Note: C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java uses or overrides a deprecated API. [2025-03-06T13:49:56.469Z] Note: Recompile with -Xlint:deprecation for details. [2025-03-06T13:49:56.469Z] Note: C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java uses unchecked or unsafe operations. [2025-03-06T13:49:56.469Z] Note: Recompile with -Xlint:unchecked for details. [2025-03-06T13:49:56.469Z] 10 warnings [2025-03-06T13:49:56.469Z] [2025-03-06T13:49:56.470Z] 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-03-06T13:49:56.470Z] REASON: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-03-06T13:49:56.470Z] TIME: 0.575 seconds [2025-03-06T13:49:56.470Z] messages: [2025-03-06T13:49:56.470Z] command: main Camerfirma after policyOn invalid [2025-03-06T13:49:56.470Z] reason: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-03-06T13:49:56.470Z] started: Thu Mar 06 13:49:48 GMT 2025 [2025-03-06T13:49:56.470Z] Mode: othervm [/othervm specified] [2025-03-06T13:49:56.470Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-03-06T13:49:56.470Z] finished: Thu Mar 06 13:49:48 GMT 2025 [2025-03-06T13:49:56.470Z] elapsed time (seconds): 0.575 [2025-03-06T13:49:56.470Z] configuration: [2025-03-06T13:49:56.470Z] Boot Layer [2025-03-06T13:49:56.470Z] add modules: java.base [2025-03-06T13:49:56.470Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-03-06T13:49:56.470Z] [2025-03-06T13:49:56.470Z] STDOUT: [2025-03-06T13:49:56.470Z] STDERR: [2025-03-06T13:49:56.470Z] Testing camerfirmachamberscommerceca [2025-03-06T13:49:56.470Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-03-06T13:49:56.470Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439) [2025-03-06T13:49:56.470Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306) [2025-03-06T13:49:56.470Z] at java.base/sun.security.validator.Validator.validate(Validator.java:264) [2025-03-06T13:49:56.470Z] at java.base/sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:313) [2025-03-06T13:49:56.470Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:233) [2025-03-06T13:49:56.470Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:110) [2025-03-06T13:49:56.470Z] at Distrust.testTM(Distrust.java:125) [2025-03-06T13:49:56.470Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-03-06T13:49:56.470Z] at Camerfirma.main(Camerfirma.java:73) [2025-03-06T13:49:56.470Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-03-06T13:49:56.470Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-03-06T13:49:56.470Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-03-06T13:49:56.470Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2025-03-06T13:49:56.470Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-03-06T13:49:56.470Z] at java.base/java.lang.Thread.run(Thread.java:829) [2025-03-06T13:49:56.470Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-03-06T13:49:56.470Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-03-06T13:49:56.470Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-03-06T13:49:56.470Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-03-06T13:49:56.470Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434) [2025-03-06T13:49:56.470Z] ... 14 more [2025-03-06T13:49:56.470Z] 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-03-06T13:49:56.470Z] at Distrust.testTM(Distrust.java:138) [2025-03-06T13:49:56.470Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-03-06T13:49:56.470Z] at Camerfirma.main(Camerfirma.java:73) [2025-03-06T13:49:56.470Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-03-06T13:49:56.470Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-03-06T13:49:56.470Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-03-06T13:49:56.470Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2025-03-06T13:49:56.470Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-03-06T13:49:56.470Z] at java.base/java.lang.Thread.run(Thread.java:829) [2025-03-06T13:49:56.470Z] [2025-03-06T13:49:56.470Z] 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-03-06T13:49:56.470Z] JavaTest Message: shutting down test [2025-03-06T13:49:56.470Z] [2025-03-06T13:49:56.470Z] 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-03-06T13:49:56.470Z] rerun: [2025-03-06T13:49:56.470Z] cd 'C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\scratch\2' && \ [2025-03-06T13:49:56.470Z] PATH='C:\cygwin64\bin;C:\Windows\system32;C:\Windows;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 (x86)\IncrediBuild;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Users\jenkins\AppData\Local\Microsoft\WindowsApps' \ [2025-03-06T13:49:56.470Z] SystemDrive=C: \ [2025-03-06T13:49:56.470Z] SystemRoot='C:\Windows' \ [2025-03-06T13:49:56.470Z] TEMP='C:\Users\jenkins\AppData\Local\Temp\2' \ [2025-03-06T13:49:56.470Z] TMP='C:\Users\jenkins\AppData\Local\Temp\2' \ [2025-03-06T13:49:56.470Z] windir='C:\Windows' \ [2025-03-06T13:49:56.470Z] CLASSPATH='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\test\lib;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\lib;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jvmtest\openjdk\jtreg\lib\javatest.jar;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jvmtest\openjdk\jtreg\lib\jtreg.jar' \ [2025-03-06T13:49:56.470Z] 'c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jdkbinary\j2sdk-image\bin\java' \ [2025-03-06T13:49:56.470Z] -Dtest.vm.opts='-ea -esa -Xmx512m' \ [2025-03-06T13:49:56.470Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \ [2025-03-06T13:49:56.470Z] -Dtest.compiler.opts= \ [2025-03-06T13:49:56.470Z] -Dtest.java.opts= \ [2025-03-06T13:49:56.470Z] -Dtest.jdk='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jdkbinary\j2sdk-image' \ [2025-03-06T13:49:56.470Z] -Dcompile.jdk='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jdkbinary\j2sdk-image' \ [2025-03-06T13:49:56.470Z] -Dtest.timeout.factor=8.0 \ [2025-03-06T13:49:56.470Z] -Dtest.nativepath='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-03-06T13:49:56.470Z] -Dtest.root='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-03-06T13:49:56.470Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-03-06T13:49:56.470Z] -Dtest.file='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.java' \ [2025-03-06T13:49:56.470Z] -Dtest.src='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust' \ [2025-03-06T13:49:56.470Z] -Dtest.src.path='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-03-06T13:49:56.470Z] -Dtest.classes='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d' \ [2025-03-06T13:49:56.470Z] -Dtest.class.path='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\test\lib' \ [2025-03-06T13:49:56.470Z] -Dtest.class.path.prefix='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\test\lib' \ [2025-03-06T13:49:56.470Z] -Dtest.modules=java.base/sun.security.validator \ [2025-03-06T13:49:56.470Z] --add-modules java.base \ [2025-03-06T13:49:56.470Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-03-06T13:49:56.470Z] -ea \ [2025-03-06T13:49:56.470Z] -esa \ [2025-03-06T13:49:56.470Z] -Xmx512m \ [2025-03-06T13:49:56.470Z] '-Djava.library.path=c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-03-06T13:49:56.470Z] com.sun.javatest.regtest.agent.MainWrapper 'C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d\main.0.jta' after policyOn invalid [2025-03-06T13:49:56.470Z] [2025-03-06T13:49:56.470Z] 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-03-06T13:49:56.470Z] -------------------------------------------------- [2025-03-06T13:49:56.470Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java [2025-03-06T13:49:56.470Z] TEST JDK: c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jdkbinary\j2sdk-image [2025-03-06T13:49:56.470Z] [2025-03-06T13:49:56.470Z] ACTION: build -- Passed. Build successful [2025-03-06T13:49:56.470Z] REASON: Named class compiled on demand [2025-03-06T13:49:56.470Z] TIME: 0.122 seconds [2025-03-06T13:49:56.470Z] messages: [2025-03-06T13:49:56.470Z] command: build Entrust [2025-03-06T13:49:56.470Z] reason: Named class compiled on demand [2025-03-06T13:49:56.470Z] started: Thu Mar 06 13:49:48 GMT 2025 [2025-03-06T13:49:56.470Z] Test directory: [2025-03-06T13:49:56.470Z] compile: Entrust [2025-03-06T13:49:56.470Z] finished: Thu Mar 06 13:49:48 GMT 2025 [2025-03-06T13:49:56.470Z] elapsed time (seconds): 0.122 [2025-03-06T13:49:56.470Z] [2025-03-06T13:49:56.470Z] ACTION: compile -- Passed. Compilation successful [2025-03-06T13:49:56.470Z] REASON: .class file out of date or does not exist [2025-03-06T13:49:56.470Z] TIME: 0.121 seconds [2025-03-06T13:49:56.470Z] messages: [2025-03-06T13:49:56.470Z] command: compile C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.java [2025-03-06T13:49:56.470Z] reason: .class file out of date or does not exist [2025-03-06T13:49:56.470Z] started: Thu Mar 06 13:49:48 GMT 2025 [2025-03-06T13:49:56.470Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-03-06T13:49:56.470Z] Mode: agentvm [2025-03-06T13:49:56.470Z] Agent id: 2 [2025-03-06T13:49:56.470Z] finished: Thu Mar 06 13:49:48 GMT 2025 [2025-03-06T13:49:56.470Z] elapsed time (seconds): 0.121 [2025-03-06T13:49:56.470Z] configuration: [2025-03-06T13:49:56.470Z] Boot Layer (javac runtime environment) [2025-03-06T13:49:56.470Z] class path: C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jvmtest\openjdk\jtreg\lib\javatest.jar [2025-03-06T13:49:56.470Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jvmtest\openjdk\jtreg\lib\jtreg.jar [2025-03-06T13:49:56.470Z] patch: java.base C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\patches\java.base [2025-03-06T13:49:56.470Z] [2025-03-06T13:49:56.470Z] javac compilation environment [2025-03-06T13:49:56.470Z] add modules: java.base [2025-03-06T13:49:56.470Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-03-06T13:49:56.470Z] source path: C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust [2025-03-06T13:49:56.470Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\lib [2025-03-06T13:49:56.470Z] class path: C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust [2025-03-06T13:49:56.470Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d [2025-03-06T13:49:56.470Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\test\lib [2025-03-06T13:49:56.470Z] [2025-03-06T13:49:56.470Z] rerun: [2025-03-06T13:49:56.470Z] cd 'C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\scratch\2' && \ [2025-03-06T13:49:56.470Z] PATH='C:\cygwin64\bin;C:\Windows\system32;C:\Windows;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 (x86)\IncrediBuild;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Users\jenkins\AppData\Local\Microsoft\WindowsApps' \ [2025-03-06T13:49:56.470Z] SystemDrive=C: \ [2025-03-06T13:49:56.470Z] SystemRoot='C:\Windows' \ [2025-03-06T13:49:56.470Z] TEMP='C:\Users\jenkins\AppData\Local\Temp\2' \ [2025-03-06T13:49:56.470Z] TMP='C:\Users\jenkins\AppData\Local\Temp\2' \ [2025-03-06T13:49:56.470Z] windir='C:\Windows' \ [2025-03-06T13:49:56.470Z] 'c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jdkbinary\j2sdk-image\bin\javac' \ [2025-03-06T13:49:56.470Z] -J-ea \ [2025-03-06T13:49:56.470Z] -J-esa \ [2025-03-06T13:49:56.470Z] -J-Xmx512m \ [2025-03-06T13:49:56.470Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m' \ [2025-03-06T13:49:56.470Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \ [2025-03-06T13:49:56.470Z] -J-Dtest.compiler.opts= \ [2025-03-06T13:49:56.470Z] -J-Dtest.java.opts= \ [2025-03-06T13:49:56.470Z] -J-Dtest.jdk='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jdkbinary\j2sdk-image' \ [2025-03-06T13:49:56.470Z] -J-Dcompile.jdk='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jdkbinary\j2sdk-image' \ [2025-03-06T13:49:56.470Z] -J-Dtest.timeout.factor=8.0 \ [2025-03-06T13:49:56.470Z] -J-Dtest.nativepath='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-03-06T13:49:56.470Z] -J-Dtest.root='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-03-06T13:49:56.470Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-03-06T13:49:56.470Z] -J-Dtest.file='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.java' \ [2025-03-06T13:49:56.470Z] -J-Dtest.src='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust' \ [2025-03-06T13:49:56.470Z] -J-Dtest.src.path='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-03-06T13:49:56.470Z] -J-Dtest.classes='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d' \ [2025-03-06T13:49:56.471Z] -J-Dtest.class.path='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\test\lib' \ [2025-03-06T13:49:56.471Z] -J-Dtest.class.path.prefix='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\test\lib' \ [2025-03-06T13:49:56.471Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-03-06T13:49:56.471Z] --add-modules java.base \ [2025-03-06T13:49:56.471Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-03-06T13:49:56.471Z] -d 'C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d' \ [2025-03-06T13:49:56.471Z] -sourcepath 'C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-03-06T13:49:56.471Z] -classpath 'C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\test\lib' 'C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.java' [2025-03-06T13:49:56.471Z] direct: [2025-03-06T13:49:56.471Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\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-03-06T13:49:56.471Z] import sun.security.validator.Validator; [2025-03-06T13:49:56.471Z] ^ [2025-03-06T13:49:56.471Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\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-03-06T13:49:56.471Z] import sun.security.validator.ValidatorException; [2025-03-06T13:49:56.471Z] ^ [2025-03-06T13:49:56.471Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\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-03-06T13:49:56.471Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-03-06T13:49:56.471Z] ^ [2025-03-06T13:49:56.471Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\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-03-06T13:49:56.471Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-03-06T13:49:56.471Z] ^ [2025-03-06T13:49:56.471Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\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-03-06T13:49:56.471Z] Validator.VAR_CODE_SIGNING, [2025-03-06T13:49:56.471Z] ^ [2025-03-06T13:49:56.471Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\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-03-06T13:49:56.471Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-03-06T13:49:56.471Z] ^ [2025-03-06T13:49:56.471Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\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-03-06T13:49:56.471Z] if (ce instanceof ValidatorException) { [2025-03-06T13:49:56.471Z] ^ [2025-03-06T13:49:56.471Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\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-03-06T13:49:56.471Z] ValidatorException ve = (ValidatorException) ce; [2025-03-06T13:49:56.471Z] ^ [2025-03-06T13:49:56.471Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\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-03-06T13:49:56.471Z] ValidatorException ve = (ValidatorException) ce; [2025-03-06T13:49:56.471Z] ^ [2025-03-06T13:49:56.471Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\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-03-06T13:49:56.471Z] if (ve.getErrorType() != ValidatorException.T_UNTRUSTED_CERT) { [2025-03-06T13:49:56.471Z] ^ [2025-03-06T13:49:56.471Z] Note: C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java uses or overrides a deprecated API. [2025-03-06T13:49:56.471Z] Note: Recompile with -Xlint:deprecation for details. [2025-03-06T13:49:56.471Z] Note: C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java uses unchecked or unsafe operations. [2025-03-06T13:49:56.471Z] Note: Recompile with -Xlint:unchecked for details. [2025-03-06T13:49:56.471Z] 10 warnings [2025-03-06T13:49:56.471Z] [2025-03-06T13:49:56.471Z] 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-03-06T13:49:56.471Z] REASON: User specified action: run main/othervm Entrust after policyOn invalid [2025-03-06T13:49:56.471Z] TIME: 0.845 seconds [2025-03-06T13:49:56.471Z] messages: [2025-03-06T13:49:56.471Z] command: main Entrust after policyOn invalid [2025-03-06T13:49:56.471Z] reason: User specified action: run main/othervm Entrust after policyOn invalid [2025-03-06T13:49:56.471Z] started: Thu Mar 06 13:49:48 GMT 2025 [2025-03-06T13:49:56.471Z] Mode: othervm [/othervm specified] [2025-03-06T13:49:56.471Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-03-06T13:49:56.471Z] finished: Thu Mar 06 13:49:49 GMT 2025 [2025-03-06T13:49:56.471Z] elapsed time (seconds): 0.845 [2025-03-06T13:49:56.471Z] configuration: [2025-03-06T13:49:56.471Z] Boot Layer [2025-03-06T13:49:56.471Z] add modules: java.base [2025-03-06T13:49:56.471Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-03-06T13:49:56.471Z] [2025-03-06T13:49:56.471Z] STDOUT: [2025-03-06T13:49:56.471Z] STDERR: [2025-03-06T13:49:56.471Z] Testing entrustevca [2025-03-06T13:49:56.471Z] Testing entrustrootcaec1 [2025-03-06T13:49:56.471Z] Testing entrustrootcag2 [2025-03-06T13:49:56.471Z] Testing entrustrootcag4 [2025-03-06T13:49:56.471Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-03-06T13:49:56.471Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439) [2025-03-06T13:49:56.471Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306) [2025-03-06T13:49:56.471Z] at java.base/sun.security.validator.Validator.validate(Validator.java:264) [2025-03-06T13:49:56.471Z] at java.base/sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:313) [2025-03-06T13:49:56.471Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:233) [2025-03-06T13:49:56.471Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:110) [2025-03-06T13:49:56.471Z] at Distrust.testTM(Distrust.java:125) [2025-03-06T13:49:56.471Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-03-06T13:49:56.471Z] at Entrust.main(Entrust.java:66) [2025-03-06T13:49:56.471Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-03-06T13:49:56.471Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-03-06T13:49:56.471Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-03-06T13:49:56.471Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2025-03-06T13:49:56.471Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-03-06T13:49:56.471Z] at java.base/java.lang.Thread.run(Thread.java:829) [2025-03-06T13:49:56.471Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-03-06T13:49:56.471Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-03-06T13:49:56.471Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-03-06T13:49:56.471Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-03-06T13:49:56.471Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434) [2025-03-06T13:49:56.471Z] ... 14 more [2025-03-06T13:49:56.471Z] 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-03-06T13:49:56.471Z] at Distrust.testTM(Distrust.java:138) [2025-03-06T13:49:56.471Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-03-06T13:49:56.471Z] at Entrust.main(Entrust.java:66) [2025-03-06T13:49:56.471Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-03-06T13:49:56.471Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-03-06T13:49:56.471Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-03-06T13:49:56.471Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2025-03-06T13:49:56.471Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-03-06T13:49:56.471Z] at java.base/java.lang.Thread.run(Thread.java:829) [2025-03-06T13:49:56.471Z] [2025-03-06T13:49:56.471Z] 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-03-06T13:49:56.471Z] JavaTest Message: shutting down test [2025-03-06T13:49:56.471Z] [2025-03-06T13:49:56.471Z] 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-03-06T13:49:56.471Z] rerun: [2025-03-06T13:49:56.471Z] cd 'C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\scratch\2' && \ [2025-03-06T13:49:56.471Z] PATH='C:\cygwin64\bin;C:\Windows\system32;C:\Windows;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 (x86)\IncrediBuild;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Users\jenkins\AppData\Local\Microsoft\WindowsApps' \ [2025-03-06T13:49:56.471Z] SystemDrive=C: \ [2025-03-06T13:49:56.471Z] SystemRoot='C:\Windows' \ [2025-03-06T13:49:56.471Z] TEMP='C:\Users\jenkins\AppData\Local\Temp\2' \ [2025-03-06T13:49:56.471Z] TMP='C:\Users\jenkins\AppData\Local\Temp\2' \ [2025-03-06T13:49:56.471Z] windir='C:\Windows' \ [2025-03-06T13:49:56.471Z] CLASSPATH='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\test\lib;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\lib;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jvmtest\openjdk\jtreg\lib\javatest.jar;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jvmtest\openjdk\jtreg\lib\jtreg.jar' \ [2025-03-06T13:49:56.471Z] 'c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jdkbinary\j2sdk-image\bin\java' \ [2025-03-06T13:49:56.471Z] -Dtest.vm.opts='-ea -esa -Xmx512m' \ [2025-03-06T13:49:56.471Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \ [2025-03-06T13:49:56.471Z] -Dtest.compiler.opts= \ [2025-03-06T13:49:56.471Z] -Dtest.java.opts= \ [2025-03-06T13:49:56.471Z] -Dtest.jdk='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jdkbinary\j2sdk-image' \ [2025-03-06T13:49:56.471Z] -Dcompile.jdk='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jdkbinary\j2sdk-image' \ [2025-03-06T13:49:56.471Z] -Dtest.timeout.factor=8.0 \ [2025-03-06T13:49:56.471Z] -Dtest.nativepath='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-03-06T13:49:56.471Z] -Dtest.root='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-03-06T13:49:56.471Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-03-06T13:49:56.471Z] -Dtest.file='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.java' \ [2025-03-06T13:49:56.471Z] -Dtest.src='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust' \ [2025-03-06T13:49:56.471Z] -Dtest.src.path='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-03-06T13:49:56.471Z] -Dtest.classes='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d' \ [2025-03-06T13:49:56.471Z] -Dtest.class.path='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\test\lib' \ [2025-03-06T13:49:56.471Z] -Dtest.class.path.prefix='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\test\lib' \ [2025-03-06T13:49:56.471Z] -Dtest.modules=java.base/sun.security.validator \ [2025-03-06T13:49:56.471Z] --add-modules java.base \ [2025-03-06T13:49:56.471Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-03-06T13:49:56.471Z] -ea \ [2025-03-06T13:49:56.471Z] -esa \ [2025-03-06T13:49:56.471Z] -Xmx512m \ [2025-03-06T13:49:56.471Z] '-Djava.library.path=c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-03-06T13:49:56.471Z] com.sun.javatest.regtest.agent.MainWrapper 'C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d\main.0.jta' after policyOn invalid [2025-03-06T13:49:56.471Z] [2025-03-06T13:49:56.471Z] 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-03-06T13:49:56.471Z] -------------------------------------------------- [2025-03-06T13:49:56.471Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java [2025-03-06T13:49:56.471Z] TEST JDK: c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jdkbinary\j2sdk-image [2025-03-06T13:49:56.471Z] [2025-03-06T13:49:56.471Z] ACTION: build -- Passed. Build successful [2025-03-06T13:49:56.471Z] REASON: Named class compiled on demand [2025-03-06T13:49:56.471Z] TIME: 0.134 seconds [2025-03-06T13:49:56.471Z] messages: [2025-03-06T13:49:56.471Z] command: build Symantec [2025-03-06T13:49:56.471Z] reason: Named class compiled on demand [2025-03-06T13:49:56.472Z] started: Thu Mar 06 13:49:49 GMT 2025 [2025-03-06T13:49:56.472Z] Test directory: [2025-03-06T13:49:56.472Z] compile: Symantec [2025-03-06T13:49:56.472Z] finished: Thu Mar 06 13:49:49 GMT 2025 [2025-03-06T13:49:56.472Z] elapsed time (seconds): 0.134 [2025-03-06T13:49:56.472Z] [2025-03-06T13:49:56.472Z] ACTION: compile -- Passed. Compilation successful [2025-03-06T13:49:56.472Z] REASON: .class file out of date or does not exist [2025-03-06T13:49:56.472Z] TIME: 0.133 seconds [2025-03-06T13:49:56.472Z] messages: [2025-03-06T13:49:56.472Z] command: compile C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Symantec.java [2025-03-06T13:49:56.472Z] reason: .class file out of date or does not exist [2025-03-06T13:49:56.472Z] started: Thu Mar 06 13:49:49 GMT 2025 [2025-03-06T13:49:56.472Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-03-06T13:49:56.472Z] Mode: agentvm [2025-03-06T13:49:56.472Z] Agent id: 2 [2025-03-06T13:49:56.472Z] finished: Thu Mar 06 13:49:49 GMT 2025 [2025-03-06T13:49:56.472Z] elapsed time (seconds): 0.133 [2025-03-06T13:49:56.472Z] configuration: [2025-03-06T13:49:56.472Z] Boot Layer (javac runtime environment) [2025-03-06T13:49:56.472Z] class path: C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jvmtest\openjdk\jtreg\lib\javatest.jar [2025-03-06T13:49:56.472Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jvmtest\openjdk\jtreg\lib\jtreg.jar [2025-03-06T13:49:56.472Z] patch: java.base C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\patches\java.base [2025-03-06T13:49:56.472Z] [2025-03-06T13:49:56.472Z] javac compilation environment [2025-03-06T13:49:56.472Z] add modules: java.base [2025-03-06T13:49:56.472Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-03-06T13:49:56.472Z] source path: C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust [2025-03-06T13:49:56.472Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\lib [2025-03-06T13:49:56.472Z] class path: C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust [2025-03-06T13:49:56.472Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Symantec.d [2025-03-06T13:49:56.472Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\test\lib [2025-03-06T13:49:56.472Z] [2025-03-06T13:49:56.472Z] rerun: [2025-03-06T13:49:56.472Z] cd 'C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\scratch\2' && \ [2025-03-06T13:49:56.472Z] PATH='C:\cygwin64\bin;C:\Windows\system32;C:\Windows;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 (x86)\IncrediBuild;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Users\jenkins\AppData\Local\Microsoft\WindowsApps' \ [2025-03-06T13:49:56.472Z] SystemDrive=C: \ [2025-03-06T13:49:56.472Z] SystemRoot='C:\Windows' \ [2025-03-06T13:49:56.472Z] TEMP='C:\Users\jenkins\AppData\Local\Temp\2' \ [2025-03-06T13:49:56.472Z] TMP='C:\Users\jenkins\AppData\Local\Temp\2' \ [2025-03-06T13:49:56.472Z] windir='C:\Windows' \ [2025-03-06T13:49:56.472Z] 'c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jdkbinary\j2sdk-image\bin\javac' \ [2025-03-06T13:49:56.472Z] -J-ea \ [2025-03-06T13:49:56.472Z] -J-esa \ [2025-03-06T13:49:56.472Z] -J-Xmx512m \ [2025-03-06T13:49:56.472Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m' \ [2025-03-06T13:49:56.472Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \ [2025-03-06T13:49:56.472Z] -J-Dtest.compiler.opts= \ [2025-03-06T13:49:56.472Z] -J-Dtest.java.opts= \ [2025-03-06T13:49:56.472Z] -J-Dtest.jdk='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jdkbinary\j2sdk-image' \ [2025-03-06T13:49:56.472Z] -J-Dcompile.jdk='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jdkbinary\j2sdk-image' \ [2025-03-06T13:49:56.472Z] -J-Dtest.timeout.factor=8.0 \ [2025-03-06T13:49:56.472Z] -J-Dtest.nativepath='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-03-06T13:49:56.472Z] -J-Dtest.root='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-03-06T13:49:56.472Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java \ [2025-03-06T13:49:56.472Z] -J-Dtest.file='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Symantec.java' \ [2025-03-06T13:49:56.472Z] -J-Dtest.src='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust' \ [2025-03-06T13:49:56.472Z] -J-Dtest.src.path='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-03-06T13:49:56.472Z] -J-Dtest.classes='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Symantec.d' \ [2025-03-06T13:49:56.472Z] -J-Dtest.class.path='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Symantec.d;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\test\lib' \ [2025-03-06T13:49:56.472Z] -J-Dtest.class.path.prefix='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Symantec.d;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\test\lib' \ [2025-03-06T13:49:56.472Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-03-06T13:49:56.472Z] --add-modules java.base \ [2025-03-06T13:49:56.472Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-03-06T13:49:56.472Z] -d 'C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Symantec.d' \ [2025-03-06T13:49:56.472Z] -sourcepath 'C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-03-06T13:49:56.472Z] -classpath 'C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Symantec.d;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\test\lib' 'C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Symantec.java' [2025-03-06T13:49:56.472Z] direct: [2025-03-06T13:49:56.472Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\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-03-06T13:49:56.472Z] import sun.security.validator.Validator; [2025-03-06T13:49:56.472Z] ^ [2025-03-06T13:49:56.472Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\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-03-06T13:49:56.474Z] import sun.security.validator.ValidatorException; [2025-03-06T13:49:56.474Z] ^ [2025-03-06T13:49:56.474Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\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-03-06T13:49:56.474Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-03-06T13:49:56.474Z] ^ [2025-03-06T13:49:56.474Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\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-03-06T13:49:56.474Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-03-06T13:49:56.474Z] ^ [2025-03-06T13:49:56.474Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\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-03-06T13:49:56.474Z] Validator.VAR_CODE_SIGNING, [2025-03-06T13:49:56.474Z] ^ [2025-03-06T13:49:56.474Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\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-03-06T13:49:56.474Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-03-06T13:49:56.474Z] ^ [2025-03-06T13:49:56.474Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\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-03-06T13:49:56.474Z] if (ce instanceof ValidatorException) { [2025-03-06T13:49:56.474Z] ^ [2025-03-06T13:49:56.474Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\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-03-06T13:49:56.474Z] ValidatorException ve = (ValidatorException) ce; [2025-03-06T13:49:56.474Z] ^ [2025-03-06T13:49:56.474Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\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-03-06T13:49:56.474Z] ValidatorException ve = (ValidatorException) ce; [2025-03-06T13:49:56.474Z] ^ [2025-03-06T13:49:56.474Z] C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\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-03-06T13:49:56.474Z] if (ve.getErrorType() != ValidatorException.T_UNTRUSTED_CERT) { [2025-03-06T13:49:56.474Z] ^ [2025-03-06T13:49:56.474Z] Note: C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java uses or overrides a deprecated API. [2025-03-06T13:49:56.474Z] Note: Recompile with -Xlint:deprecation for details. [2025-03-06T13:49:56.474Z] Note: C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java uses unchecked or unsafe operations. [2025-03-06T13:49:56.474Z] Note: Recompile with -Xlint:unchecked for details. [2025-03-06T13:49:56.474Z] 10 warnings [2025-03-06T13:49:56.474Z] [2025-03-06T13:49:56.474Z] 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-03-06T13:49:56.474Z] REASON: User specified action: run main/othervm Symantec after policyOn invalid [2025-03-06T13:49:56.474Z] TIME: 0.591 seconds [2025-03-06T13:49:56.474Z] messages: [2025-03-06T13:49:56.474Z] command: main Symantec after policyOn invalid [2025-03-06T13:49:56.474Z] reason: User specified action: run main/othervm Symantec after policyOn invalid [2025-03-06T13:49:56.474Z] started: Thu Mar 06 13:49:49 GMT 2025 [2025-03-06T13:49:56.474Z] Mode: othervm [/othervm specified] [2025-03-06T13:49:56.474Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-03-06T13:49:56.474Z] finished: Thu Mar 06 13:49:50 GMT 2025 [2025-03-06T13:49:56.474Z] elapsed time (seconds): 0.591 [2025-03-06T13:49:56.474Z] configuration: [2025-03-06T13:49:56.474Z] Boot Layer [2025-03-06T13:49:56.474Z] add modules: java.base [2025-03-06T13:49:56.474Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-03-06T13:49:56.474Z] [2025-03-06T13:49:56.474Z] STDOUT: [2025-03-06T13:49:56.474Z] STDERR: [2025-03-06T13:49:56.474Z] Testing geotrustprimarycag2 [2025-03-06T13:49:56.474Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-03-06T13:49:56.474Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439) [2025-03-06T13:49:56.474Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306) [2025-03-06T13:49:56.474Z] at java.base/sun.security.validator.Validator.validate(Validator.java:264) [2025-03-06T13:49:56.474Z] at java.base/sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:313) [2025-03-06T13:49:56.474Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:233) [2025-03-06T13:49:56.474Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:110) [2025-03-06T13:49:56.474Z] at Distrust.testTM(Distrust.java:125) [2025-03-06T13:49:56.474Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-03-06T13:49:56.474Z] at Symantec.main(Symantec.java:77) [2025-03-06T13:49:56.474Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-03-06T13:49:56.474Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-03-06T13:49:56.474Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-03-06T13:49:56.474Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2025-03-06T13:49:56.474Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-03-06T13:49:56.474Z] at java.base/java.lang.Thread.run(Thread.java:829) [2025-03-06T13:49:56.474Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-03-06T13:49:56.474Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-03-06T13:49:56.474Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-03-06T13:49:56.474Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-03-06T13:49:56.474Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434) [2025-03-06T13:49:56.474Z] ... 14 more [2025-03-06T13:49:56.474Z] 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-03-06T13:49:56.474Z] at Distrust.testTM(Distrust.java:138) [2025-03-06T13:49:56.474Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-03-06T13:49:56.474Z] at Symantec.main(Symantec.java:77) [2025-03-06T13:49:56.474Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-03-06T13:49:56.474Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-03-06T13:49:56.474Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-03-06T13:49:56.474Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2025-03-06T13:49:56.474Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-03-06T13:49:56.474Z] at java.base/java.lang.Thread.run(Thread.java:829) [2025-03-06T13:49:56.474Z] [2025-03-06T13:49:56.474Z] 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-03-06T13:49:56.474Z] JavaTest Message: shutting down test [2025-03-06T13:49:56.474Z] [2025-03-06T13:49:56.474Z] 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-03-06T13:49:56.474Z] rerun: [2025-03-06T13:49:56.474Z] cd 'C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\scratch\2' && \ [2025-03-06T13:49:56.475Z] PATH='C:\cygwin64\bin;C:\Windows\system32;C:\Windows;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 (x86)\IncrediBuild;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Users\jenkins\AppData\Local\Microsoft\WindowsApps' \ [2025-03-06T13:49:56.475Z] SystemDrive=C: \ [2025-03-06T13:49:56.475Z] SystemRoot='C:\Windows' \ [2025-03-06T13:49:56.475Z] TEMP='C:\Users\jenkins\AppData\Local\Temp\2' \ [2025-03-06T13:49:56.475Z] TMP='C:\Users\jenkins\AppData\Local\Temp\2' \ [2025-03-06T13:49:56.475Z] windir='C:\Windows' \ [2025-03-06T13:49:56.475Z] CLASSPATH='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Symantec.d;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\test\lib;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\lib;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jvmtest\openjdk\jtreg\lib\javatest.jar;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jvmtest\openjdk\jtreg\lib\jtreg.jar' \ [2025-03-06T13:49:56.475Z] 'c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jdkbinary\j2sdk-image\bin\java' \ [2025-03-06T13:49:56.475Z] -Dtest.vm.opts='-ea -esa -Xmx512m' \ [2025-03-06T13:49:56.475Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \ [2025-03-06T13:49:56.475Z] -Dtest.compiler.opts= \ [2025-03-06T13:49:56.475Z] -Dtest.java.opts= \ [2025-03-06T13:49:56.475Z] -Dtest.jdk='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jdkbinary\j2sdk-image' \ [2025-03-06T13:49:56.475Z] -Dcompile.jdk='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jdkbinary\j2sdk-image' \ [2025-03-06T13:49:56.475Z] -Dtest.timeout.factor=8.0 \ [2025-03-06T13:49:56.475Z] -Dtest.nativepath='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-03-06T13:49:56.475Z] -Dtest.root='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-03-06T13:49:56.475Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java \ [2025-03-06T13:49:56.475Z] -Dtest.file='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Symantec.java' \ [2025-03-06T13:49:56.475Z] -Dtest.src='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust' \ [2025-03-06T13:49:56.475Z] -Dtest.src.path='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-03-06T13:49:56.475Z] -Dtest.classes='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Symantec.d' \ [2025-03-06T13:49:56.475Z] -Dtest.class.path='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Symantec.d;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\test\lib' \ [2025-03-06T13:49:56.475Z] -Dtest.class.path.prefix='C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Symantec.d;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\classes\1\test\lib' \ [2025-03-06T13:49:56.475Z] -Dtest.modules=java.base/sun.security.validator \ [2025-03-06T13:49:56.475Z] --add-modules java.base \ [2025-03-06T13:49:56.475Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-03-06T13:49:56.475Z] -ea \ [2025-03-06T13:49:56.475Z] -esa \ [2025-03-06T13:49:56.475Z] -Xmx512m \ [2025-03-06T13:49:56.475Z] '-Djava.library.path=c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-03-06T13:49:56.475Z] com.sun.javatest.regtest.agent.MainWrapper 'C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work\sun\security\ssl\X509TrustManagerImpl\distrust\Symantec.d\main.0.jta' after policyOn invalid [2025-03-06T13:49:56.475Z] [2025-03-06T13:49:56.475Z] 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-03-06T13:49:56.475Z] -------------------------------------------------- [2025-03-06T14:08:11.827Z] Test results: passed: 798; failed: 3 [2025-03-06T14:08:17.692Z] Report written to C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\report\html\report.html [2025-03-06T14:08:17.692Z] Results written to C:\Jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-32_windows\aqa-tests\TKG\output_17412425263275\jdk_security3_2\work [2025-03-06T14:08:17.692Z] Error: Some tests failed or other problems occurred. [2025-03-06T14:08:17.692Z] ----------------------------------- [2025-03-06T14:08:17.692Z] jdk_security3_2_FAILED [2025-03-06T14:08:17.692Z] ----------------------------------- [2025-03-06T14:08:17.692Z] [2025-03-06T14:08:17.692Z] TEST TEARDOWN: [2025-03-06T14:08:17.692Z] Nothing to be done for teardown. [2025-03-06T14:08:17.692Z] jdk_security3_2 Finish Time: Thu Mar 6 14:08:16 2025 Epoch Time (ms): 1741270096898