jdk_security3_1

[2025-02-20T05:30:59.205Z] Running test jdk_security3_1 ... [2025-02-20T05:30:59.205Z] =============================================== [2025-02-20T05:30:59.523Z] jdk_security3_1 Start Time: Thu Feb 20 05:30:59 2025 Epoch Time (ms): 1740029459236 [2025-02-20T05:30:59.523Z] variation: Mode650 [2025-02-20T05:30:59.858Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-02-20T05:30:59.858Z] { \ [2025-02-20T05:30:59.858Z] echo ""; echo "TEST SETUP:"; \ [2025-02-20T05:30:59.858Z] echo "Nothing to be done for setup."; \ [2025-02-20T05:30:59.858Z] mkdir -p "C:/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2/aqa-tests/\\TKG\\output_17400207188414\\jdk_security3_1"; \ [2025-02-20T05:30:59.858Z] cd "C:/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2/aqa-tests/\\TKG\\output_17400207188414\\jdk_security3_1"; \ [2025-02-20T05:30:59.858Z] echo ""; echo "TESTING:"; \ [2025-02-20T05:30:59.858Z] "c:/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2/jdkbinary/j2sdk-image\\bin\\java" -Xmx512m -jar "C:/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2/aqa-tests///..//jvmtest\\openjdk\\jtreg\\lib\\jtreg.jar" \ [2025-02-20T05:30:59.858Z] -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_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2/jdkbinary/openjdk-test-image\\jdk\\jtreg\\native" -vmoptions:"-Xmx512m -XX:-UseCompressedOops " \ [2025-02-20T05:30:59.858Z] \ [2025-02-20T05:30:59.858Z] -w ""C:/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2/aqa-tests/\\TKG\\output_17400207188414\\jdk_security3_1"\\work" \ [2025-02-20T05:30:59.858Z] -r ""C:/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2/aqa-tests/\\TKG\\output_17400207188414\\jdk_security3_1"\\report" \ [2025-02-20T05:30:59.858Z] -jdk:"c:/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2/jdkbinary/j2sdk-image" \ [2025-02-20T05:30:59.858Z] -exclude:"C:/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2/aqa-tests/\\openjdk\\openjdk-jdk\\test\\jdk\\ProblemList.txt" \ [2025-02-20T05:30:59.858Z] -exclude:"C:/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2/aqa-tests///..//jvmtest\\openjdk\\excludes/ProblemList_openjdk21.txt" \ [2025-02-20T05:30:59.858Z] \ [2025-02-20T05:30:59.858Z] -exclude:"C:/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2/aqa-tests/\\openjdk\\excludes\\vendors\\eclipse\\ProblemList_openjdk21.txt" \ [2025-02-20T05:30:59.858Z] "C:/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2/aqa-tests/\\openjdk\\openjdk-jdk\\test\\jdk:jdk_security3"; \ [2025-02-20T05:30:59.858Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_security3_1""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2/aqa-tests/; else echo "-----------------------------------"; echo "jdk_security3_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-20T05:30:59.858Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-20T05:30:59.858Z] echo "Nothing to be done for teardown."; \ [2025-02-20T05:30:59.858Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2/aqa-tests/\\TKG\\output_17400207188414\\TestTargetResult"; [2025-02-20T05:30:59.858Z] [2025-02-20T05:30:59.858Z] TEST SETUP: [2025-02-20T05:30:59.858Z] Nothing to be done for setup. [2025-02-20T05:30:59.858Z] [2025-02-20T05:30:59.858Z] TESTING: [2025-02-20T05:31:00.566Z] Directory "C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work" not found: creating [2025-02-20T05:31:00.566Z] Directory "C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\report" not found: creating [2025-02-20T05:31:06.447Z] XML output with verification to C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work [2025-02-20T06:05:29.214Z] -------------------------------------------------- [2025-02-20T06:05:29.214Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-02-20T06:05:29.214Z] TEST JDK: c:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\jdkbinary\j2sdk-image [2025-02-20T06:05:29.214Z] [2025-02-20T06:05:29.214Z] ACTION: build -- Passed. Build successful [2025-02-20T06:05:29.214Z] REASON: Named class compiled on demand [2025-02-20T06:05:29.214Z] TIME: 0.182 seconds [2025-02-20T06:05:29.214Z] messages: [2025-02-20T06:05:29.214Z] command: build Camerfirma [2025-02-20T06:05:29.214Z] reason: Named class compiled on demand [2025-02-20T06:05:29.214Z] started: Thu Feb 20 06:05:24 UTC 2025 [2025-02-20T06:05:29.214Z] Test directory: [2025-02-20T06:05:29.214Z] compile: Camerfirma [2025-02-20T06:05:29.214Z] finished: Thu Feb 20 06:05:24 UTC 2025 [2025-02-20T06:05:29.214Z] elapsed time (seconds): 0.182 [2025-02-20T06:05:29.214Z] [2025-02-20T06:05:29.214Z] ACTION: compile -- Passed. Compilation successful [2025-02-20T06:05:29.214Z] REASON: .class file out of date or does not exist [2025-02-20T06:05:29.214Z] TIME: 0.178 seconds [2025-02-20T06:05:29.214Z] messages: [2025-02-20T06:05:29.214Z] command: compile C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.java [2025-02-20T06:05:29.214Z] reason: .class file out of date or does not exist [2025-02-20T06:05:29.214Z] started: Thu Feb 20 06:05:24 UTC 2025 [2025-02-20T06:05:29.214Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-20T06:05:29.214Z] Mode: agentvm [2025-02-20T06:05:29.214Z] Agent id: 2 [2025-02-20T06:05:29.214Z] finished: Thu Feb 20 06:05:24 UTC 2025 [2025-02-20T06:05:29.214Z] elapsed time (seconds): 0.178 [2025-02-20T06:05:29.214Z] configuration: [2025-02-20T06:05:29.214Z] Boot Layer (javac runtime environment) [2025-02-20T06:05:29.214Z] class path: C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\jvmtest\openjdk\jtreg\lib\javatest.jar [2025-02-20T06:05:29.214Z] C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\jvmtest\openjdk\jtreg\lib\jtreg.jar [2025-02-20T06:05:29.214Z] patch: java.base C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\patches\java.base [2025-02-20T06:05:29.214Z] [2025-02-20T06:05:29.214Z] javac compilation environment [2025-02-20T06:05:29.214Z] add modules: java.base [2025-02-20T06:05:29.214Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-20T06:05:29.214Z] source path: C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust [2025-02-20T06:05:29.214Z] C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\lib [2025-02-20T06:05:29.214Z] class path: C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust [2025-02-20T06:05:29.214Z] C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\0\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d [2025-02-20T06:05:29.214Z] C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\0\test\lib [2025-02-20T06:05:29.214Z] [2025-02-20T06:05:29.214Z] rerun: [2025-02-20T06:05:29.214Z] cd 'C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\scratch\0' && \ [2025-02-20T06:05:29.214Z] PATH='C:\openjdk\jdk-17\bin;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\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files (x86)\IncrediBuild;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Users\jenkins.test-azure-win2\AppData\Local\Microsoft\WindowsApps' \ [2025-02-20T06:05:29.214Z] SystemDrive=C: \ [2025-02-20T06:05:29.214Z] SystemRoot='C:\Windows' \ [2025-02-20T06:05:29.214Z] TEMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp\2' \ [2025-02-20T06:05:29.214Z] TMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp\2' \ [2025-02-20T06:05:29.214Z] windir='C:\Windows' \ [2025-02-20T06:05:29.214Z] 'c:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\jdkbinary\j2sdk-image\bin\javac' \ [2025-02-20T06:05:29.214Z] -J-ea \ [2025-02-20T06:05:29.214Z] -J-esa \ [2025-02-20T06:05:29.214Z] -J-Xmx512m \ [2025-02-20T06:05:29.214Z] -J-XX:-UseCompressedOops \ [2025-02-20T06:05:29.214Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-20T06:05:29.214Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-20T06:05:29.214Z] -J-Dtest.compiler.opts= \ [2025-02-20T06:05:29.214Z] -J-Dtest.java.opts= \ [2025-02-20T06:05:29.214Z] -J-Dtest.jdk='c:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\jdkbinary\j2sdk-image' \ [2025-02-20T06:05:29.214Z] -J-Dcompile.jdk='c:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\jdkbinary\j2sdk-image' \ [2025-02-20T06:05:29.214Z] -J-Dtest.timeout.factor=8.0 \ [2025-02-20T06:05:29.214Z] -J-Dtest.nativepath='c:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-20T06:05:29.214Z] -J-Dtest.root='C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-02-20T06:05:29.214Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-20T06:05:29.214Z] -J-Dtest.file='C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.java' \ [2025-02-20T06:05:29.214Z] -J-Dtest.src='C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust' \ [2025-02-20T06:05:29.214Z] -J-Dtest.src.path='C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-20T06:05:29.214Z] -J-Dtest.classes='C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\0\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d' \ [2025-02-20T06:05:29.214Z] -J-Dtest.class.path='C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\0\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\0\test\lib' \ [2025-02-20T06:05:29.214Z] -J-Dtest.class.path.prefix='C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\0\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\0\test\lib' \ [2025-02-20T06:05:29.214Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-20T06:05:29.214Z] --add-modules java.base \ [2025-02-20T06:05:29.214Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-20T06:05:29.214Z] -d 'C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\0\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d' \ [2025-02-20T06:05:29.214Z] -sourcepath 'C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-20T06:05:29.214Z] -classpath 'C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\0\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\0\test\lib' 'C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.java' [2025-02-20T06:05:29.214Z] direct: [2025-02-20T06:05:29.214Z] Note: C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java uses or overrides a deprecated API. [2025-02-20T06:05:29.214Z] Note: Recompile with -Xlint:deprecation for details. [2025-02-20T06:05:29.214Z] Note: C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java uses unchecked or unsafe operations. [2025-02-20T06:05:29.214Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-20T06:05:29.214Z] [2025-02-20T06:05:29.214Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-20T06:05:29.214Z] REASON: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-02-20T06:05:29.214Z] TIME: 0.941 seconds [2025-02-20T06:05:29.214Z] messages: [2025-02-20T06:05:29.214Z] command: main Camerfirma after policyOn invalid [2025-02-20T06:05:29.214Z] reason: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-02-20T06:05:29.214Z] started: Thu Feb 20 06:05:24 UTC 2025 [2025-02-20T06:05:29.214Z] Mode: othervm [/othervm specified] [2025-02-20T06:05:29.214Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-20T06:05:29.214Z] finished: Thu Feb 20 06:05:25 UTC 2025 [2025-02-20T06:05:29.214Z] elapsed time (seconds): 0.941 [2025-02-20T06:05:29.214Z] configuration: [2025-02-20T06:05:29.214Z] Boot Layer [2025-02-20T06:05:29.214Z] add modules: java.base [2025-02-20T06:05:29.214Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-20T06:05:29.214Z] [2025-02-20T06:05:29.214Z] STDOUT: [2025-02-20T06:05:29.214Z] STDERR: [2025-02-20T06:05:29.214Z] Testing camerfirmachamberscommerceca [2025-02-20T06:05:29.214Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-20T06:05:29.214Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:388) [2025-02-20T06:05:29.214Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:271) [2025-02-20T06:05:29.214Z] at java.base/sun.security.validator.Validator.validate(Validator.java:256) [2025-02-20T06:05:29.214Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:241) [2025-02-20T06:05:29.214Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113) [2025-02-20T06:05:29.214Z] at Distrust.testTM(Distrust.java:125) [2025-02-20T06:05:29.214Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-20T06:05:29.214Z] at Camerfirma.main(Camerfirma.java:73) [2025-02-20T06:05:29.214Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-20T06:05:29.214Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-20T06:05:29.214Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-20T06:05:29.214Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-20T06:05:29.214Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-20T06:05:29.215Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-02-20T06:05:29.215Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-02-20T06:05:29.215Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-02-20T06:05:29.215Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:383) [2025-02-20T06:05:29.215Z] ... 11 more [2025-02-20T06:05:29.215Z] java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-20T06:05:29.215Z] at Distrust.testTM(Distrust.java:138) [2025-02-20T06:05:29.215Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-20T06:05:29.215Z] at Camerfirma.main(Camerfirma.java:73) [2025-02-20T06:05:29.215Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-20T06:05:29.215Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-20T06:05:29.215Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-20T06:05:29.215Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-20T06:05:29.215Z] [2025-02-20T06:05:29.215Z] JavaTest Message: Test threw exception: java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-20T06:05:29.215Z] JavaTest Message: shutting down test [2025-02-20T06:05:29.215Z] [2025-02-20T06:05:29.215Z] STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-20T06:05:29.215Z] rerun: [2025-02-20T06:05:29.215Z] cd 'C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\scratch\0' && \ [2025-02-20T06:05:29.215Z] PATH='C:\openjdk\jdk-17\bin;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\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files (x86)\IncrediBuild;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Users\jenkins.test-azure-win2\AppData\Local\Microsoft\WindowsApps' \ [2025-02-20T06:05:29.215Z] SystemDrive=C: \ [2025-02-20T06:05:29.215Z] SystemRoot='C:\Windows' \ [2025-02-20T06:05:29.215Z] TEMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp\2' \ [2025-02-20T06:05:29.215Z] TMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp\2' \ [2025-02-20T06:05:29.215Z] windir='C:\Windows' \ [2025-02-20T06:05:29.215Z] CLASSPATH='C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\0\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\0\test\lib;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\lib;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\jvmtest\openjdk\jtreg\lib\javatest.jar;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\jvmtest\openjdk\jtreg\lib\jtreg.jar' \ [2025-02-20T06:05:29.215Z] 'c:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\jdkbinary\j2sdk-image\bin\java' \ [2025-02-20T06:05:29.215Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-20T06:05:29.215Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-20T06:05:29.215Z] -Dtest.compiler.opts= \ [2025-02-20T06:05:29.215Z] -Dtest.java.opts= \ [2025-02-20T06:05:29.215Z] -Dtest.jdk='c:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\jdkbinary\j2sdk-image' \ [2025-02-20T06:05:29.215Z] -Dcompile.jdk='c:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\jdkbinary\j2sdk-image' \ [2025-02-20T06:05:29.215Z] -Dtest.timeout.factor=8.0 \ [2025-02-20T06:05:29.215Z] -Dtest.nativepath='c:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-20T06:05:29.215Z] -Dtest.root='C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-02-20T06:05:29.215Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-20T06:05:29.215Z] -Dtest.file='C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.java' \ [2025-02-20T06:05:29.215Z] -Dtest.src='C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust' \ [2025-02-20T06:05:29.215Z] -Dtest.src.path='C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-20T06:05:29.215Z] -Dtest.classes='C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\0\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d' \ [2025-02-20T06:05:29.215Z] -Dtest.class.path='C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\0\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\0\test\lib' \ [2025-02-20T06:05:29.215Z] -Dtest.class.path.prefix='C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\0\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\0\test\lib' \ [2025-02-20T06:05:29.215Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-20T06:05:29.215Z] --add-modules java.base \ [2025-02-20T06:05:29.215Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-20T06:05:29.215Z] -ea \ [2025-02-20T06:05:29.215Z] -esa \ [2025-02-20T06:05:29.215Z] -Xmx512m \ [2025-02-20T06:05:29.215Z] -XX:-UseCompressedOops \ [2025-02-20T06:05:29.215Z] '-Djava.library.path=c:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-20T06:05:29.215Z] com.sun.javatest.regtest.agent.MainWrapper 'C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d\main.0.jta' after policyOn invalid [2025-02-20T06:05:29.215Z] [2025-02-20T06:05:29.215Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-20T06:05:29.215Z] -------------------------------------------------- [2025-02-20T06:05:29.215Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java [2025-02-20T06:05:29.215Z] TEST JDK: c:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\jdkbinary\j2sdk-image [2025-02-20T06:05:29.215Z] [2025-02-20T06:05:29.215Z] ACTION: build -- Passed. Build successful [2025-02-20T06:05:29.215Z] REASON: Named class compiled on demand [2025-02-20T06:05:29.215Z] TIME: 0.149 seconds [2025-02-20T06:05:29.215Z] messages: [2025-02-20T06:05:29.215Z] command: build Entrust [2025-02-20T06:05:29.215Z] reason: Named class compiled on demand [2025-02-20T06:05:29.215Z] started: Thu Feb 20 06:05:25 UTC 2025 [2025-02-20T06:05:29.215Z] Test directory: [2025-02-20T06:05:29.215Z] compile: Entrust [2025-02-20T06:05:29.215Z] finished: Thu Feb 20 06:05:25 UTC 2025 [2025-02-20T06:05:29.215Z] elapsed time (seconds): 0.149 [2025-02-20T06:05:29.215Z] [2025-02-20T06:05:29.215Z] ACTION: compile -- Passed. Compilation successful [2025-02-20T06:05:29.215Z] REASON: .class file out of date or does not exist [2025-02-20T06:05:29.215Z] TIME: 0.147 seconds [2025-02-20T06:05:29.215Z] messages: [2025-02-20T06:05:29.215Z] command: compile C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.java [2025-02-20T06:05:29.215Z] reason: .class file out of date or does not exist [2025-02-20T06:05:29.215Z] started: Thu Feb 20 06:05:25 UTC 2025 [2025-02-20T06:05:29.215Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-20T06:05:29.215Z] Mode: agentvm [2025-02-20T06:05:29.215Z] Agent id: 3 [2025-02-20T06:05:29.215Z] finished: Thu Feb 20 06:05:25 UTC 2025 [2025-02-20T06:05:29.215Z] elapsed time (seconds): 0.147 [2025-02-20T06:05:29.215Z] configuration: [2025-02-20T06:05:29.215Z] Boot Layer (javac runtime environment) [2025-02-20T06:05:29.215Z] class path: C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\jvmtest\openjdk\jtreg\lib\javatest.jar [2025-02-20T06:05:29.215Z] C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\jvmtest\openjdk\jtreg\lib\jtreg.jar [2025-02-20T06:05:29.215Z] patch: java.base C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\patches\java.base [2025-02-20T06:05:29.215Z] [2025-02-20T06:05:29.215Z] javac compilation environment [2025-02-20T06:05:29.215Z] add modules: java.base [2025-02-20T06:05:29.215Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-20T06:05:29.215Z] source path: C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust [2025-02-20T06:05:29.215Z] C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\lib [2025-02-20T06:05:29.215Z] class path: C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust [2025-02-20T06:05:29.215Z] C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d [2025-02-20T06:05:29.215Z] C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\2\test\lib [2025-02-20T06:05:29.215Z] [2025-02-20T06:05:29.215Z] rerun: [2025-02-20T06:05:29.215Z] cd 'C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\scratch\1' && \ [2025-02-20T06:05:29.215Z] PATH='C:\openjdk\jdk-17\bin;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\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files (x86)\IncrediBuild;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Users\jenkins.test-azure-win2\AppData\Local\Microsoft\WindowsApps' \ [2025-02-20T06:05:29.215Z] SystemDrive=C: \ [2025-02-20T06:05:29.215Z] SystemRoot='C:\Windows' \ [2025-02-20T06:05:29.215Z] TEMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp\2' \ [2025-02-20T06:05:29.215Z] TMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp\2' \ [2025-02-20T06:05:29.215Z] windir='C:\Windows' \ [2025-02-20T06:05:29.215Z] 'c:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\jdkbinary\j2sdk-image\bin\javac' \ [2025-02-20T06:05:29.215Z] -J-ea \ [2025-02-20T06:05:29.215Z] -J-esa \ [2025-02-20T06:05:29.215Z] -J-Xmx512m \ [2025-02-20T06:05:29.215Z] -J-XX:-UseCompressedOops \ [2025-02-20T06:05:29.215Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-20T06:05:29.215Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-20T06:05:29.215Z] -J-Dtest.compiler.opts= \ [2025-02-20T06:05:29.215Z] -J-Dtest.java.opts= \ [2025-02-20T06:05:29.215Z] -J-Dtest.jdk='c:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\jdkbinary\j2sdk-image' \ [2025-02-20T06:05:29.215Z] -J-Dcompile.jdk='c:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\jdkbinary\j2sdk-image' \ [2025-02-20T06:05:29.215Z] -J-Dtest.timeout.factor=8.0 \ [2025-02-20T06:05:29.215Z] -J-Dtest.nativepath='c:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-20T06:05:29.215Z] -J-Dtest.root='C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-02-20T06:05:29.215Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-20T06:05:29.215Z] -J-Dtest.file='C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.java' \ [2025-02-20T06:05:29.215Z] -J-Dtest.src='C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust' \ [2025-02-20T06:05:29.215Z] -J-Dtest.src.path='C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-20T06:05:29.215Z] -J-Dtest.classes='C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d' \ [2025-02-20T06:05:29.215Z] -J-Dtest.class.path='C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\2\test\lib' \ [2025-02-20T06:05:29.215Z] -J-Dtest.class.path.prefix='C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\2\test\lib' \ [2025-02-20T06:05:29.215Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-20T06:05:29.215Z] --add-modules java.base \ [2025-02-20T06:05:29.215Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-20T06:05:29.215Z] -d 'C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d' \ [2025-02-20T06:05:29.215Z] -sourcepath 'C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-20T06:05:29.215Z] -classpath 'C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\2\test\lib' 'C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.java' [2025-02-20T06:05:29.215Z] direct: [2025-02-20T06:05:29.215Z] Note: C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java uses or overrides a deprecated API. [2025-02-20T06:05:29.215Z] Note: Recompile with -Xlint:deprecation for details. [2025-02-20T06:05:29.215Z] Note: C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java uses unchecked or unsafe operations. [2025-02-20T06:05:29.215Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-20T06:05:29.215Z] [2025-02-20T06:05:29.215Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-20T06:05:29.215Z] REASON: User specified action: run main/othervm Entrust after policyOn invalid [2025-02-20T06:05:29.215Z] TIME: 0.958 seconds [2025-02-20T06:05:29.215Z] messages: [2025-02-20T06:05:29.215Z] command: main Entrust after policyOn invalid [2025-02-20T06:05:29.215Z] reason: User specified action: run main/othervm Entrust after policyOn invalid [2025-02-20T06:05:29.215Z] started: Thu Feb 20 06:05:25 UTC 2025 [2025-02-20T06:05:29.215Z] Mode: othervm [/othervm specified] [2025-02-20T06:05:29.215Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-20T06:05:29.216Z] finished: Thu Feb 20 06:05:26 UTC 2025 [2025-02-20T06:05:29.216Z] elapsed time (seconds): 0.958 [2025-02-20T06:05:29.216Z] configuration: [2025-02-20T06:05:29.216Z] Boot Layer [2025-02-20T06:05:29.216Z] add modules: java.base [2025-02-20T06:05:29.216Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-20T06:05:29.216Z] [2025-02-20T06:05:29.216Z] STDOUT: [2025-02-20T06:05:29.216Z] STDERR: [2025-02-20T06:05:29.216Z] Testing entrustevca [2025-02-20T06:05:29.216Z] Testing entrustrootcaec1 [2025-02-20T06:05:29.216Z] Testing entrustrootcag2 [2025-02-20T06:05:29.216Z] Testing entrustrootcag4 [2025-02-20T06:05:29.216Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-20T06:05:29.216Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:388) [2025-02-20T06:05:29.216Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:271) [2025-02-20T06:05:29.216Z] at java.base/sun.security.validator.Validator.validate(Validator.java:256) [2025-02-20T06:05:29.216Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:241) [2025-02-20T06:05:29.216Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113) [2025-02-20T06:05:29.216Z] at Distrust.testTM(Distrust.java:125) [2025-02-20T06:05:29.216Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-20T06:05:29.216Z] at Entrust.main(Entrust.java:66) [2025-02-20T06:05:29.216Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-20T06:05:29.216Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-20T06:05:29.216Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-20T06:05:29.216Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-20T06:05:29.216Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-20T06:05:29.216Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-02-20T06:05:29.216Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-02-20T06:05:29.216Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-02-20T06:05:29.216Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:383) [2025-02-20T06:05:29.216Z] ... 11 more [2025-02-20T06:05:29.216Z] java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-20T06:05:29.216Z] at Distrust.testTM(Distrust.java:138) [2025-02-20T06:05:29.216Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-20T06:05:29.216Z] at Entrust.main(Entrust.java:66) [2025-02-20T06:05:29.216Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-20T06:05:29.216Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-20T06:05:29.216Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-20T06:05:29.216Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-20T06:05:29.216Z] [2025-02-20T06:05:29.216Z] JavaTest Message: Test threw exception: java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-20T06:05:29.216Z] JavaTest Message: shutting down test [2025-02-20T06:05:29.216Z] [2025-02-20T06:05:29.216Z] STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-20T06:05:29.216Z] rerun: [2025-02-20T06:05:29.216Z] cd 'C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\scratch\1' && \ [2025-02-20T06:05:29.216Z] PATH='C:\openjdk\jdk-17\bin;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\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files (x86)\IncrediBuild;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Users\jenkins.test-azure-win2\AppData\Local\Microsoft\WindowsApps' \ [2025-02-20T06:05:29.216Z] SystemDrive=C: \ [2025-02-20T06:05:29.216Z] SystemRoot='C:\Windows' \ [2025-02-20T06:05:29.216Z] TEMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp\2' \ [2025-02-20T06:05:29.216Z] TMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp\2' \ [2025-02-20T06:05:29.216Z] windir='C:\Windows' \ [2025-02-20T06:05:29.216Z] CLASSPATH='C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\2\test\lib;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\lib;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\jvmtest\openjdk\jtreg\lib\javatest.jar;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\jvmtest\openjdk\jtreg\lib\jtreg.jar' \ [2025-02-20T06:05:29.216Z] 'c:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\jdkbinary\j2sdk-image\bin\java' \ [2025-02-20T06:05:29.216Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-20T06:05:29.216Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-20T06:05:29.216Z] -Dtest.compiler.opts= \ [2025-02-20T06:05:29.216Z] -Dtest.java.opts= \ [2025-02-20T06:05:29.216Z] -Dtest.jdk='c:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\jdkbinary\j2sdk-image' \ [2025-02-20T06:05:29.216Z] -Dcompile.jdk='c:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\jdkbinary\j2sdk-image' \ [2025-02-20T06:05:29.216Z] -Dtest.timeout.factor=8.0 \ [2025-02-20T06:05:29.216Z] -Dtest.nativepath='c:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-20T06:05:29.216Z] -Dtest.root='C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-02-20T06:05:29.216Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-20T06:05:29.216Z] -Dtest.file='C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.java' \ [2025-02-20T06:05:29.216Z] -Dtest.src='C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust' \ [2025-02-20T06:05:29.216Z] -Dtest.src.path='C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-20T06:05:29.216Z] -Dtest.classes='C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d' \ [2025-02-20T06:05:29.216Z] -Dtest.class.path='C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\2\test\lib' \ [2025-02-20T06:05:29.217Z] -Dtest.class.path.prefix='C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\classes\2\test\lib' \ [2025-02-20T06:05:29.217Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-20T06:05:29.217Z] --add-modules java.base \ [2025-02-20T06:05:29.217Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-20T06:05:29.217Z] -ea \ [2025-02-20T06:05:29.217Z] -esa \ [2025-02-20T06:05:29.217Z] -Xmx512m \ [2025-02-20T06:05:29.217Z] -XX:-UseCompressedOops \ [2025-02-20T06:05:29.217Z] '-Djava.library.path=c:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-20T06:05:29.217Z] com.sun.javatest.regtest.agent.MainWrapper 'C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d\main.0.jta' after policyOn invalid [2025-02-20T06:05:29.217Z] [2025-02-20T06:05:29.217Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-20T06:05:29.217Z] -------------------------------------------------- [2025-02-20T06:29:51.407Z] Test results: passed: 966; failed: 2 [2025-02-20T06:33:59.977Z] Report written to C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\report\html\report.html [2025-02-20T06:33:59.977Z] Results written to C:\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_17400207188414\jdk_security3_1\work [2025-02-20T06:33:59.977Z] Error: Some tests failed or other problems occurred. [2025-02-20T06:33:59.977Z] ----------------------------------- [2025-02-20T06:33:59.977Z] jdk_security3_1_FAILED [2025-02-20T06:33:59.977Z] ----------------------------------- [2025-02-20T06:33:59.977Z] [2025-02-20T06:33:59.977Z] TEST TEARDOWN: [2025-02-20T06:33:59.977Z] Nothing to be done for teardown. [2025-02-20T06:33:59.977Z] jdk_security3_1 Finish Time: Thu Feb 20 06:33:58 2025 Epoch Time (ms): 1740033238750