jdk_security3_0

[2025-02-07T07:04:18.786Z] Running test jdk_security3_0 ... [2025-02-07T07:04:18.786Z] =============================================== [2025-02-07T07:04:18.786Z] jdk_security3_0 Start Time: Fri Feb 7 07:04:16 2025 Epoch Time (ms): 1738911856967 [2025-02-07T07:04:18.786Z] variation: Mode150 [2025-02-07T07:04:18.786Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-02-07T07:04:18.786Z] { \ [2025-02-07T07:04:18.786Z] echo ""; echo "TEST SETUP:"; \ [2025-02-07T07:04:18.786Z] echo "Nothing to be done for setup."; \ [2025-02-07T07:04:18.786Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2/aqa-tests/\\TKG\\output_1738909028706\\jdk_security3_0"; \ [2025-02-07T07:04:18.786Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2/aqa-tests/\\TKG\\output_1738909028706\\jdk_security3_0"; \ [2025-02-07T07:04:18.786Z] echo ""; echo "TESTING:"; \ [2025-02-07T07:04:18.786Z] "c:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2/jdkbinary/j2sdk-image\\bin\\java" -Xmx512m -jar "C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2/aqa-tests///..//jvmtest\\openjdk\\jtreg\\lib\\jtreg.jar" \ [2025-02-07T07:04:18.786Z] -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_testList_2/jdkbinary/openjdk-test-image\\jdk\\jtreg\\native" -vmoptions:"-Xmx512m -XX:+UseCompressedOops " \ [2025-02-07T07:04:18.786Z] \ [2025-02-07T07:04:18.786Z] -w ""C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2/aqa-tests/\\TKG\\output_1738909028706\\jdk_security3_0"\\work" \ [2025-02-07T07:04:18.786Z] -r ""C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2/aqa-tests/\\TKG\\output_1738909028706\\jdk_security3_0"\\report" \ [2025-02-07T07:04:18.786Z] -jdk:"c:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2/jdkbinary/j2sdk-image" \ [2025-02-07T07:04:18.786Z] -exclude:"C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2/aqa-tests/\\openjdk\\openjdk-jdk\\test\\jdk\\ProblemList.txt" \ [2025-02-07T07:04:18.786Z] -exclude:"C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2/aqa-tests///..//jvmtest\\openjdk\\excludes/ProblemList_openjdk11.txt" \ [2025-02-07T07:04:18.786Z] \ [2025-02-07T07:04:18.786Z] -exclude:"C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2/aqa-tests/\\openjdk\\excludes\\vendors\\eclipse\\ProblemList_openjdk11.txt" \ [2025-02-07T07:04:18.786Z] "C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2/aqa-tests/\\openjdk\\openjdk-jdk\\test\\jdk:jdk_security3"; \ [2025-02-07T07:04:18.786Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_security3_0""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2/aqa-tests/; else echo "-----------------------------------"; echo "jdk_security3_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-07T07:04:18.786Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-07T07:04:18.786Z] echo "Nothing to be done for teardown."; \ [2025-02-07T07:04:18.786Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2/aqa-tests/\\TKG\\output_1738909028706\\TestTargetResult"; [2025-02-07T07:04:18.786Z] [2025-02-07T07:04:18.786Z] TEST SETUP: [2025-02-07T07:04:18.786Z] Nothing to be done for setup. [2025-02-07T07:04:18.786Z] [2025-02-07T07:04:18.786Z] TESTING: [2025-02-07T07:04:18.786Z] Directory "C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_1738909028706\jdk_security3_0\work" not found: creating [2025-02-07T07:04:18.786Z] Directory "C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_1738909028706\jdk_security3_0\report" not found: creating [2025-02-07T07:04:21.664Z] XML output with verification to C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_1738909028706\jdk_security3_0\work [2025-02-07T07:21:34.972Z] -------------------------------------------------- [2025-02-07T07:21:34.972Z] TEST: sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.java [2025-02-07T07:21:34.972Z] TEST JDK: c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\jdkbinary\j2sdk-image [2025-02-07T07:21:34.972Z] [2025-02-07T07:21:34.972Z] ACTION: build -- Passed. Build successful [2025-02-07T07:21:34.972Z] REASON: Named class compiled on demand [2025-02-07T07:21:34.972Z] TIME: 0.093 seconds [2025-02-07T07:21:34.972Z] messages: [2025-02-07T07:21:34.972Z] command: build Distrust [2025-02-07T07:21:34.972Z] reason: Named class compiled on demand [2025-02-07T07:21:34.972Z] started: Fri Feb 07 07:21:27 GMT 2025 [2025-02-07T07:21:34.972Z] Test directory: [2025-02-07T07:21:34.972Z] compile: Distrust [2025-02-07T07:21:34.972Z] finished: Fri Feb 07 07:21:27 GMT 2025 [2025-02-07T07:21:34.972Z] elapsed time (seconds): 0.093 [2025-02-07T07:21:34.972Z] [2025-02-07T07:21:34.972Z] ACTION: compile -- Passed. Compilation successful [2025-02-07T07:21:34.972Z] REASON: .class file out of date or does not exist [2025-02-07T07:21:34.972Z] TIME: 0.065 seconds [2025-02-07T07:21:34.972Z] messages: [2025-02-07T07:21:34.972Z] command: compile C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\Entrust\Distrust.java [2025-02-07T07:21:34.972Z] reason: .class file out of date or does not exist [2025-02-07T07:21:34.972Z] started: Fri Feb 07 07:21:27 GMT 2025 [2025-02-07T07:21:34.972Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-07T07:21:34.972Z] Mode: agentvm [2025-02-07T07:21:34.972Z] Agent id: 1 [2025-02-07T07:21:34.972Z] finished: Fri Feb 07 07:21:27 GMT 2025 [2025-02-07T07:21:34.972Z] elapsed time (seconds): 0.065 [2025-02-07T07:21:34.972Z] configuration: [2025-02-07T07:21:34.972Z] Boot Layer (javac runtime environment) [2025-02-07T07:21:34.972Z] class path: C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\jvmtest\openjdk\jtreg\lib\javatest.jar [2025-02-07T07:21:34.972Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\jvmtest\openjdk\jtreg\lib\jtreg.jar [2025-02-07T07:21:34.972Z] patch: java.base C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_1738909028706\jdk_security3_0\work\patches\java.base [2025-02-07T07:21:34.972Z] [2025-02-07T07:21:34.972Z] javac compilation environment [2025-02-07T07:21:34.972Z] add modules: java.base [2025-02-07T07:21:34.972Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-07T07:21:34.972Z] source path: C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\Entrust [2025-02-07T07:21:34.972Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\lib [2025-02-07T07:21:34.972Z] class path: C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\Entrust [2025-02-07T07:21:34.972Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_1738909028706\jdk_security3_0\work\classes\2\sun\security\ssl\X509TrustManagerImpl\Entrust\Distrust.d [2025-02-07T07:21:34.972Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_1738909028706\jdk_security3_0\work\classes\2\test\lib [2025-02-07T07:21:34.972Z] [2025-02-07T07:21:34.972Z] rerun: [2025-02-07T07:21:34.972Z] cd 'C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_1738909028706\jdk_security3_0\work\scratch\1' && \ [2025-02-07T07:21:34.972Z] 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-07T07:21:34.972Z] SystemDrive=C: \ [2025-02-07T07:21:34.972Z] SystemRoot='C:\Windows' \ [2025-02-07T07:21:34.972Z] TEMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp\2' \ [2025-02-07T07:21:34.972Z] TMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp\2' \ [2025-02-07T07:21:34.972Z] windir='C:\Windows' \ [2025-02-07T07:21:34.972Z] 'c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\jdkbinary\j2sdk-image\bin\javac' \ [2025-02-07T07:21:34.972Z] -J-ea \ [2025-02-07T07:21:34.972Z] -J-esa \ [2025-02-07T07:21:34.972Z] -J-Xmx512m \ [2025-02-07T07:21:34.972Z] -J-XX:+UseCompressedOops \ [2025-02-07T07:21:34.972Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-02-07T07:21:34.972Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-02-07T07:21:34.972Z] -J-Dtest.compiler.opts= \ [2025-02-07T07:21:34.972Z] -J-Dtest.java.opts= \ [2025-02-07T07:21:34.972Z] -J-Dtest.jdk='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\jdkbinary\j2sdk-image' \ [2025-02-07T07:21:34.972Z] -J-Dcompile.jdk='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\jdkbinary\j2sdk-image' \ [2025-02-07T07:21:34.972Z] -J-Dtest.timeout.factor=8.0 \ [2025-02-07T07:21:34.972Z] -J-Dtest.nativepath='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-07T07:21:34.972Z] -J-Dtest.root='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-02-07T07:21:34.972Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.java \ [2025-02-07T07:21:34.972Z] -J-Dtest.file='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\Entrust\Distrust.java' \ [2025-02-07T07:21:34.972Z] -J-Dtest.src='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\Entrust' \ [2025-02-07T07:21:34.972Z] -J-Dtest.src.path='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\Entrust;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-07T07:21:34.972Z] -J-Dtest.classes='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_1738909028706\jdk_security3_0\work\classes\2\sun\security\ssl\X509TrustManagerImpl\Entrust\Distrust.d' \ [2025-02-07T07:21:34.972Z] -J-Dtest.class.path='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_1738909028706\jdk_security3_0\work\classes\2\sun\security\ssl\X509TrustManagerImpl\Entrust\Distrust.d;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_1738909028706\jdk_security3_0\work\classes\2\test\lib' \ [2025-02-07T07:21:34.972Z] -J-Dtest.class.path.prefix='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_1738909028706\jdk_security3_0\work\classes\2\sun\security\ssl\X509TrustManagerImpl\Entrust\Distrust.d;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\Entrust;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_1738909028706\jdk_security3_0\work\classes\2\test\lib' \ [2025-02-07T07:21:34.972Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-07T07:21:34.972Z] --add-modules java.base \ [2025-02-07T07:21:34.972Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-07T07:21:34.972Z] -d 'C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_1738909028706\jdk_security3_0\work\classes\2\sun\security\ssl\X509TrustManagerImpl\Entrust\Distrust.d' \ [2025-02-07T07:21:34.972Z] -sourcepath 'C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\Entrust;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-07T07:21:34.972Z] -classpath 'C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\Entrust;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_1738909028706\jdk_security3_0\work\classes\2\sun\security\ssl\X509TrustManagerImpl\Entrust\Distrust.d;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_1738909028706\jdk_security3_0\work\classes\2\test\lib' 'C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\Entrust\Distrust.java' [2025-02-07T07:21:34.972Z] direct: [2025-02-07T07:21:34.972Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\Entrust\Distrust.java:31: warning: Validator is internal proprietary API and may be removed in a future release [2025-02-07T07:21:34.972Z] import sun.security.validator.Validator; [2025-02-07T07:21:34.972Z] ^ [2025-02-07T07:21:34.972Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\Entrust\Distrust.java:32: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-07T07:21:34.972Z] import sun.security.validator.ValidatorException; [2025-02-07T07:21:34.972Z] ^ [2025-02-07T07:21:34.972Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\Entrust\Distrust.java:148: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-07T07:21:34.972Z] if (ce instanceof ValidatorException) { [2025-02-07T07:21:34.972Z] ^ [2025-02-07T07:21:34.972Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\Entrust\Distrust.java:149: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-07T07:21:34.972Z] ValidatorException ve = (ValidatorException)ce; [2025-02-07T07:21:34.972Z] ^ [2025-02-07T07:21:34.972Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\Entrust\Distrust.java:149: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-07T07:21:34.972Z] ValidatorException ve = (ValidatorException)ce; [2025-02-07T07:21:34.972Z] ^ [2025-02-07T07:21:34.972Z] C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\Entrust\Distrust.java:150: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-07T07:21:34.972Z] if (ve.getErrorType() != ValidatorException.T_UNTRUSTED_CERT) { [2025-02-07T07:21:34.972Z] ^ [2025-02-07T07:21:34.972Z] Note: C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\Entrust\Distrust.java uses unchecked or unsafe operations. [2025-02-07T07:21:34.972Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-07T07:21:34.972Z] 6 warnings [2025-02-07T07:21:34.972Z] [2025-02-07T07:21:34.972Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.Exception: Unexpected exception: sun.security.validator.ValidatorException: No trusted certificate found [2025-02-07T07:21:34.972Z] REASON: User specified action: run main/othervm Distrust after policyOn invalid [2025-02-07T07:21:34.972Z] TIME: 0.825 seconds [2025-02-07T07:21:34.972Z] messages: [2025-02-07T07:21:34.972Z] command: main Distrust after policyOn invalid [2025-02-07T07:21:34.972Z] reason: User specified action: run main/othervm Distrust after policyOn invalid [2025-02-07T07:21:34.972Z] started: Fri Feb 07 07:21:27 GMT 2025 [2025-02-07T07:21:34.972Z] Mode: othervm [/othervm specified] [2025-02-07T07:21:34.972Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-07T07:21:34.972Z] finished: Fri Feb 07 07:21:28 GMT 2025 [2025-02-07T07:21:34.972Z] elapsed time (seconds): 0.825 [2025-02-07T07:21:34.972Z] configuration: [2025-02-07T07:21:34.972Z] Boot Layer [2025-02-07T07:21:34.972Z] add modules: java.base [2025-02-07T07:21:34.972Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-07T07:21:34.972Z] [2025-02-07T07:21:34.972Z] STDOUT: [2025-02-07T07:21:34.972Z] STDERR: [2025-02-07T07:21:34.972Z] Testing entrustevca [2025-02-07T07:21:34.972Z] Testing entrustrootcaec1 [2025-02-07T07:21:34.972Z] Testing entrustrootcag2 [2025-02-07T07:21:34.972Z] Testing entrustrootcag4 [2025-02-07T07:21:34.972Z] sun.security.validator.ValidatorException: No trusted certificate found [2025-02-07T07:21:34.972Z] at java.base/sun.security.validator.SimpleValidator.buildTrustedChain(SimpleValidator.java:416) [2025-02-07T07:21:34.972Z] at java.base/sun.security.validator.SimpleValidator.engineValidate(SimpleValidator.java:140) [2025-02-07T07:21:34.972Z] at java.base/sun.security.validator.Validator.validate(Validator.java:264) [2025-02-07T07:21:34.972Z] at java.base/sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:313) [2025-02-07T07:21:34.972Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:233) [2025-02-07T07:21:34.972Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:110) [2025-02-07T07:21:34.972Z] at Distrust.testTM(Distrust.java:134) [2025-02-07T07:21:34.972Z] at Distrust.main(Distrust.java:95) [2025-02-07T07:21:34.972Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-02-07T07:21:34.972Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-02-07T07:21:34.972Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-02-07T07:21:34.972Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2025-02-07T07:21:34.972Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-07T07:21:34.972Z] at java.base/java.lang.Thread.run(Thread.java:829) [2025-02-07T07:21:34.972Z] java.lang.Exception: Unexpected exception: sun.security.validator.ValidatorException: No trusted certificate found [2025-02-07T07:21:34.972Z] at Distrust.testTM(Distrust.java:152) [2025-02-07T07:21:34.972Z] at Distrust.main(Distrust.java:95) [2025-02-07T07:21:34.972Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-02-07T07:21:34.972Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-02-07T07:21:34.972Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-02-07T07:21:34.972Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2025-02-07T07:21:34.972Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-07T07:21:34.972Z] at java.base/java.lang.Thread.run(Thread.java:829) [2025-02-07T07:21:34.972Z] [2025-02-07T07:21:34.972Z] JavaTest Message: Test threw exception: java.lang.Exception: Unexpected exception: sun.security.validator.ValidatorException: No trusted certificate found [2025-02-07T07:21:34.972Z] JavaTest Message: shutting down test [2025-02-07T07:21:34.972Z] [2025-02-07T07:21:34.972Z] STATUS:Failed.`main' threw exception: java.lang.Exception: Unexpected exception: sun.security.validator.ValidatorException: No trusted certificate found [2025-02-07T07:21:34.972Z] rerun: [2025-02-07T07:21:34.972Z] cd 'C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_1738909028706\jdk_security3_0\work\scratch\1' && \ [2025-02-07T07:21:34.972Z] 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-07T07:21:34.972Z] SystemDrive=C: \ [2025-02-07T07:21:34.972Z] SystemRoot='C:\Windows' \ [2025-02-07T07:21:34.972Z] TEMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp\2' \ [2025-02-07T07:21:34.972Z] TMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp\2' \ [2025-02-07T07:21:34.972Z] windir='C:\Windows' \ [2025-02-07T07:21:34.973Z] CLASSPATH='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_1738909028706\jdk_security3_0\work\classes\2\sun\security\ssl\X509TrustManagerImpl\Entrust\Distrust.d;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\Entrust;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_1738909028706\jdk_security3_0\work\classes\2\test\lib;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\lib;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\jvmtest\openjdk\jtreg\lib\javatest.jar;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\jvmtest\openjdk\jtreg\lib\jtreg.jar' \ [2025-02-07T07:21:34.973Z] 'c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\jdkbinary\j2sdk-image\bin\java' \ [2025-02-07T07:21:34.973Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-02-07T07:21:34.973Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-02-07T07:21:34.973Z] -Dtest.compiler.opts= \ [2025-02-07T07:21:34.973Z] -Dtest.java.opts= \ [2025-02-07T07:21:34.973Z] -Dtest.jdk='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\jdkbinary\j2sdk-image' \ [2025-02-07T07:21:34.973Z] -Dcompile.jdk='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\jdkbinary\j2sdk-image' \ [2025-02-07T07:21:34.973Z] -Dtest.timeout.factor=8.0 \ [2025-02-07T07:21:34.973Z] -Dtest.nativepath='c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-07T07:21:34.973Z] -Dtest.root='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-02-07T07:21:34.973Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.java \ [2025-02-07T07:21:34.973Z] -Dtest.file='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\Entrust\Distrust.java' \ [2025-02-07T07:21:34.973Z] -Dtest.src='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\Entrust' \ [2025-02-07T07:21:34.973Z] -Dtest.src.path='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\Entrust;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-07T07:21:34.973Z] -Dtest.classes='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_1738909028706\jdk_security3_0\work\classes\2\sun\security\ssl\X509TrustManagerImpl\Entrust\Distrust.d' \ [2025-02-07T07:21:34.973Z] -Dtest.class.path='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_1738909028706\jdk_security3_0\work\classes\2\sun\security\ssl\X509TrustManagerImpl\Entrust\Distrust.d;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_1738909028706\jdk_security3_0\work\classes\2\test\lib' \ [2025-02-07T07:21:34.973Z] -Dtest.class.path.prefix='C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_1738909028706\jdk_security3_0\work\classes\2\sun\security\ssl\X509TrustManagerImpl\Entrust\Distrust.d;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\Entrust;C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_1738909028706\jdk_security3_0\work\classes\2\test\lib' \ [2025-02-07T07:21:34.973Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-07T07:21:34.973Z] --add-modules java.base \ [2025-02-07T07:21:34.973Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-07T07:21:34.973Z] -ea \ [2025-02-07T07:21:34.973Z] -esa \ [2025-02-07T07:21:34.973Z] -Xmx512m \ [2025-02-07T07:21:34.973Z] -XX:+UseCompressedOops \ [2025-02-07T07:21:34.973Z] '-Djava.library.path=c:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-07T07:21:34.973Z] com.sun.javatest.regtest.agent.MainWrapper 'C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_1738909028706\jdk_security3_0\work\sun\security\ssl\X509TrustManagerImpl\Entrust\Distrust.d\main.0.jta' after policyOn invalid [2025-02-07T07:21:34.973Z] [2025-02-07T07:21:34.973Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.Exception: Unexpected exception: sun.security.validator.ValidatorException: No trusted certificate found [2025-02-07T07:21:34.973Z] -------------------------------------------------- [2025-02-07T07:38:34.866Z] Test results: passed: 799; failed: 1 [2025-02-07T07:41:42.920Z] Report written to C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_1738909028706\jdk_security3_0\report\html\report.html [2025-02-07T07:41:42.920Z] Results written to C:\jenkins\workspace\Test_openjdk11_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_1738909028706\jdk_security3_0\work [2025-02-07T07:41:42.920Z] Error: Some tests failed or other problems occurred. [2025-02-07T07:41:42.920Z] ----------------------------------- [2025-02-07T07:41:42.921Z] jdk_security3_0_FAILED [2025-02-07T07:41:42.921Z] ----------------------------------- [2025-02-07T07:41:42.921Z] [2025-02-07T07:41:42.921Z] TEST TEARDOWN: [2025-02-07T07:41:42.921Z] Nothing to be done for teardown. [2025-02-07T07:41:42.921Z] jdk_security3_0 Finish Time: Fri Feb 7 07:41:39 2025 Epoch Time (ms): 1738914099360