No Possible Issues Found via Git Search

jdk_security3_1

[2025-02-20T08:16:47.804Z] Running test jdk_security3_1 ... [2025-02-20T08:16:47.804Z] =============================================== [2025-02-20T08:16:47.804Z] jdk_security3_1 Start Time: Thu Feb 20 08:16:47 2025 Epoch Time (ms): 1740039407076 [2025-02-20T08:16:47.804Z] variation: Mode650 [2025-02-20T08:16:47.804Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-02-20T08:16:47.804Z] { \ [2025-02-20T08:16:47.804Z] echo ""; echo "TEST SETUP:"; \ [2025-02-20T08:16:47.804Z] echo "Nothing to be done for setup."; \ [2025-02-20T08:16:47.804Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows/aqa-tests/\\TKG\\output_17400157369710\\jdk_security3_1"; \ [2025-02-20T08:16:47.804Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows/aqa-tests/\\TKG\\output_17400157369710\\jdk_security3_1"; \ [2025-02-20T08:16:47.804Z] echo ""; echo "TESTING:"; \ [2025-02-20T08:16:47.804Z] "C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows/jdkbinary/j2sdk-image\\bin\\java" -Xmx512m -jar "C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows/aqa-tests///..//jvmtest\\openjdk\\jtreg\\lib\\jtreg.jar" \ [2025-02-20T08:16:47.804Z] -agentvm -a -ea -esa -v:fail,error,time,nopass -retain:fail,error,*.dmp,javacore.*,heapdump.*,*.trc -ignore:quiet -timeoutFactor:8 -xml:verify -concurrency:3 -nativepath:"C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows/jdkbinary/openjdk-test-image\\jdk\\jtreg\\native" -vmoptions:"-Xmx512m -XX:-UseCompressedOops " \ [2025-02-20T08:16:47.804Z] \ [2025-02-20T08:16:47.804Z] -w ""C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows/aqa-tests/\\TKG\\output_17400157369710\\jdk_security3_1"\\work" \ [2025-02-20T08:16:47.804Z] -r ""C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows/aqa-tests/\\TKG\\output_17400157369710\\jdk_security3_1"\\report" \ [2025-02-20T08:16:47.804Z] -jdk:"C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows/jdkbinary/j2sdk-image" \ [2025-02-20T08:16:47.804Z] -exclude:"C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows/aqa-tests/\\openjdk\\openjdk-jdk\\test\\jdk\\ProblemList.txt" \ [2025-02-20T08:16:47.804Z] -exclude:"C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows/aqa-tests///..//jvmtest\\openjdk\\excludes/ProblemList_openjdk21.txt" \ [2025-02-20T08:16:47.804Z] \ [2025-02-20T08:16:47.804Z] -exclude:"C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows/aqa-tests/\\openjdk\\excludes\\vendors\\eclipse\\ProblemList_openjdk21.txt" \ [2025-02-20T08:16:47.804Z] "C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows/aqa-tests/\\openjdk\\openjdk-jdk\\test\\jdk:jdk_security3"; \ [2025-02-20T08:16:47.804Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_security3_1""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows/aqa-tests/; else echo "-----------------------------------"; echo "jdk_security3_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-20T08:16:47.804Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-20T08:16:47.804Z] echo "Nothing to be done for teardown."; \ [2025-02-20T08:16:47.804Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows/aqa-tests/\\TKG\\output_17400157369710\\TestTargetResult"; [2025-02-20T08:16:47.804Z] [2025-02-20T08:16:47.804Z] TEST SETUP: [2025-02-20T08:16:47.804Z] Nothing to be done for setup. [2025-02-20T08:16:47.804Z] [2025-02-20T08:16:47.804Z] TESTING: [2025-02-20T08:16:48.457Z] Directory "C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work" not found: creating [2025-02-20T08:16:48.757Z] Directory "C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\report" not found: creating [2025-02-20T08:16:54.428Z] XML output with verification to C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work [2025-02-20T08:44:09.752Z] -------------------------------------------------- [2025-02-20T08:44:09.752Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-02-20T08:44:09.752Z] TEST JDK: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\j2sdk-image [2025-02-20T08:44:09.752Z] [2025-02-20T08:44:09.752Z] ACTION: build -- Passed. Build successful [2025-02-20T08:44:09.752Z] REASON: Named class compiled on demand [2025-02-20T08:44:09.752Z] TIME: 0.141 seconds [2025-02-20T08:44:09.752Z] messages: [2025-02-20T08:44:09.752Z] command: build Camerfirma [2025-02-20T08:44:09.752Z] reason: Named class compiled on demand [2025-02-20T08:44:09.752Z] started: Thu Feb 20 08:44:04 UTC 2025 [2025-02-20T08:44:09.752Z] Test directory: [2025-02-20T08:44:09.752Z] compile: Camerfirma [2025-02-20T08:44:09.752Z] finished: Thu Feb 20 08:44:05 UTC 2025 [2025-02-20T08:44:09.752Z] elapsed time (seconds): 0.141 [2025-02-20T08:44:09.752Z] [2025-02-20T08:44:09.752Z] ACTION: compile -- Passed. Compilation successful [2025-02-20T08:44:09.752Z] REASON: .class file out of date or does not exist [2025-02-20T08:44:09.752Z] TIME: 0.141 seconds [2025-02-20T08:44:09.752Z] messages: [2025-02-20T08:44:09.752Z] command: compile C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.java [2025-02-20T08:44:09.752Z] reason: .class file out of date or does not exist [2025-02-20T08:44:09.752Z] started: Thu Feb 20 08:44:04 UTC 2025 [2025-02-20T08:44:09.752Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-20T08:44:09.752Z] Mode: agentvm [2025-02-20T08:44:09.752Z] Agent id: 2 [2025-02-20T08:44:09.752Z] finished: Thu Feb 20 08:44:05 UTC 2025 [2025-02-20T08:44:09.752Z] elapsed time (seconds): 0.141 [2025-02-20T08:44:09.752Z] configuration: [2025-02-20T08:44:09.752Z] Boot Layer (javac runtime environment) [2025-02-20T08:44:09.752Z] class path: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jvmtest\openjdk\jtreg\lib\javatest.jar [2025-02-20T08:44:09.752Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jvmtest\openjdk\jtreg\lib\jtreg.jar [2025-02-20T08:44:09.752Z] patch: java.base C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\patches\java.base [2025-02-20T08:44:09.752Z] [2025-02-20T08:44:09.752Z] javac compilation environment [2025-02-20T08:44:09.752Z] add modules: java.base [2025-02-20T08:44:09.752Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-20T08:44:09.752Z] source path: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust [2025-02-20T08:44:09.752Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\lib [2025-02-20T08:44:09.752Z] class path: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust [2025-02-20T08:44:09.752Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d [2025-02-20T08:44:09.752Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\2\test\lib [2025-02-20T08:44:09.752Z] [2025-02-20T08:44:09.752Z] rerun: [2025-02-20T08:44:09.752Z] cd 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\scratch\2' && \ [2025-02-20T08:44:09.752Z] PATH='D:\Program Files (Arm)\Microsoft\jdk-17.0.6.10-hotspot\bin;C:\cygwin64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Users\adoptopenjdk\AppData\Local\Microsoft\WindowsApps;C:\Strawberry\perl\bin;C:\Program Files\Git\cmd;C:\openjdk\jdk-8\bin;C:\apache-ant\apache-ant-1.10.15\bin;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\Incredibuild;C:\cygwin64\bin;C:\Users\jenkins\AppData\Local\Microsoft\WindowsApps' \ [2025-02-20T08:44:09.752Z] SystemDrive=C: \ [2025-02-20T08:44:09.752Z] SystemRoot='C:\Windows' \ [2025-02-20T08:44:09.752Z] TEMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-20T08:44:09.752Z] TMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-20T08:44:09.752Z] windir='C:\Windows' \ [2025-02-20T08:44:09.752Z] 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\j2sdk-image\bin\javac' \ [2025-02-20T08:44:09.752Z] -J-ea \ [2025-02-20T08:44:09.753Z] -J-esa \ [2025-02-20T08:44:09.753Z] -J-Xmx512m \ [2025-02-20T08:44:09.753Z] -J-XX:-UseCompressedOops \ [2025-02-20T08:44:09.753Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-20T08:44:09.753Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-20T08:44:09.753Z] -J-Dtest.compiler.opts= \ [2025-02-20T08:44:09.753Z] -J-Dtest.java.opts= \ [2025-02-20T08:44:09.753Z] -J-Dtest.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\j2sdk-image' \ [2025-02-20T08:44:09.753Z] -J-Dcompile.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\j2sdk-image' \ [2025-02-20T08:44:09.753Z] -J-Dtest.timeout.factor=8.0 \ [2025-02-20T08:44:09.753Z] -J-Dtest.nativepath='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-20T08:44:09.753Z] -J-Dtest.root='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-02-20T08:44:09.753Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-20T08:44:09.753Z] -J-Dtest.file='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.java' \ [2025-02-20T08:44:09.753Z] -J-Dtest.src='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust' \ [2025-02-20T08:44:09.753Z] -J-Dtest.src.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-20T08:44:09.753Z] -J-Dtest.classes='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d' \ [2025-02-20T08:44:09.753Z] -J-Dtest.class.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\2\test\lib' \ [2025-02-20T08:44:09.753Z] -J-Dtest.class.path.prefix='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\2\test\lib' \ [2025-02-20T08:44:09.753Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-20T08:44:09.753Z] --add-modules java.base \ [2025-02-20T08:44:09.753Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-20T08:44:09.753Z] -d 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d' \ [2025-02-20T08:44:09.753Z] -sourcepath 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-20T08:44:09.753Z] -classpath 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\2\test\lib' 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.java' [2025-02-20T08:44:09.753Z] direct: [2025-02-20T08:44:09.753Z] Note: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java uses or overrides a deprecated API. [2025-02-20T08:44:09.753Z] Note: Recompile with -Xlint:deprecation for details. [2025-02-20T08:44:09.753Z] Note: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java uses unchecked or unsafe operations. [2025-02-20T08:44:09.753Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-20T08:44:09.753Z] [2025-02-20T08:44:09.753Z] 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-20T08:44:09.753Z] REASON: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-02-20T08:44:09.753Z] TIME: 1.119 seconds [2025-02-20T08:44:09.753Z] messages: [2025-02-20T08:44:09.753Z] command: main Camerfirma after policyOn invalid [2025-02-20T08:44:09.753Z] reason: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-02-20T08:44:09.753Z] started: Thu Feb 20 08:44:05 UTC 2025 [2025-02-20T08:44:09.753Z] Mode: othervm [/othervm specified] [2025-02-20T08:44:09.753Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-20T08:44:09.753Z] finished: Thu Feb 20 08:44:06 UTC 2025 [2025-02-20T08:44:09.753Z] elapsed time (seconds): 1.119 [2025-02-20T08:44:09.753Z] configuration: [2025-02-20T08:44:09.753Z] Boot Layer [2025-02-20T08:44:09.753Z] add modules: java.base [2025-02-20T08:44:09.753Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-20T08:44:09.753Z] [2025-02-20T08:44:09.753Z] STDOUT: [2025-02-20T08:44:09.753Z] STDERR: [2025-02-20T08:44:09.753Z] Testing camerfirmachamberscommerceca [2025-02-20T08:44:09.753Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-20T08:44:09.753Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:388) [2025-02-20T08:44:09.753Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:271) [2025-02-20T08:44:09.753Z] at java.base/sun.security.validator.Validator.validate(Validator.java:256) [2025-02-20T08:44:09.753Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:241) [2025-02-20T08:44:09.753Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113) [2025-02-20T08:44:09.753Z] at Distrust.testTM(Distrust.java:125) [2025-02-20T08:44:09.753Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-20T08:44:09.753Z] at Camerfirma.main(Camerfirma.java:73) [2025-02-20T08:44:09.753Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-20T08:44:09.753Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-20T08:44:09.753Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-20T08:44:09.753Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-20T08:44:09.753Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-20T08:44:09.753Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-02-20T08:44:09.753Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-02-20T08:44:09.753Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-02-20T08:44:09.753Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:383) [2025-02-20T08:44:09.753Z] ... 11 more [2025-02-20T08:44:09.753Z] 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-20T08:44:09.753Z] at Distrust.testTM(Distrust.java:138) [2025-02-20T08:44:09.754Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-20T08:44:09.754Z] at Camerfirma.main(Camerfirma.java:73) [2025-02-20T08:44:09.754Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-20T08:44:09.754Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-20T08:44:09.754Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-20T08:44:09.754Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-20T08:44:09.754Z] [2025-02-20T08:44:09.754Z] 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-20T08:44:09.754Z] JavaTest Message: shutting down test [2025-02-20T08:44:09.754Z] [2025-02-20T08:44:09.754Z] 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-20T08:44:09.754Z] rerun: [2025-02-20T08:44:09.754Z] cd 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\scratch\2' && \ [2025-02-20T08:44:09.754Z] PATH='D:\Program Files (Arm)\Microsoft\jdk-17.0.6.10-hotspot\bin;C:\cygwin64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Users\adoptopenjdk\AppData\Local\Microsoft\WindowsApps;C:\Strawberry\perl\bin;C:\Program Files\Git\cmd;C:\openjdk\jdk-8\bin;C:\apache-ant\apache-ant-1.10.15\bin;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\Incredibuild;C:\cygwin64\bin;C:\Users\jenkins\AppData\Local\Microsoft\WindowsApps' \ [2025-02-20T08:44:09.754Z] SystemDrive=C: \ [2025-02-20T08:44:09.754Z] SystemRoot='C:\Windows' \ [2025-02-20T08:44:09.754Z] TEMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-20T08:44:09.754Z] TMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-20T08:44:09.754Z] windir='C:\Windows' \ [2025-02-20T08:44:09.754Z] CLASSPATH='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\2\test\lib;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\lib;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jvmtest\openjdk\jtreg\lib\javatest.jar;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jvmtest\openjdk\jtreg\lib\jtreg.jar' \ [2025-02-20T08:44:09.754Z] 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\j2sdk-image\bin\java' \ [2025-02-20T08:44:09.754Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-20T08:44:09.754Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-20T08:44:09.754Z] -Dtest.compiler.opts= \ [2025-02-20T08:44:09.754Z] -Dtest.java.opts= \ [2025-02-20T08:44:09.754Z] -Dtest.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\j2sdk-image' \ [2025-02-20T08:44:09.754Z] -Dcompile.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\j2sdk-image' \ [2025-02-20T08:44:09.754Z] -Dtest.timeout.factor=8.0 \ [2025-02-20T08:44:09.754Z] -Dtest.nativepath='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-20T08:44:09.754Z] -Dtest.root='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-02-20T08:44:09.754Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-20T08:44:09.754Z] -Dtest.file='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.java' \ [2025-02-20T08:44:09.754Z] -Dtest.src='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust' \ [2025-02-20T08:44:09.754Z] -Dtest.src.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-20T08:44:09.754Z] -Dtest.classes='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d' \ [2025-02-20T08:44:09.754Z] -Dtest.class.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\2\test\lib' \ [2025-02-20T08:44:09.754Z] -Dtest.class.path.prefix='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\2\test\lib' \ [2025-02-20T08:44:09.754Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-20T08:44:09.754Z] --add-modules java.base \ [2025-02-20T08:44:09.754Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-20T08:44:09.754Z] -ea \ [2025-02-20T08:44:09.754Z] -esa \ [2025-02-20T08:44:09.754Z] -Xmx512m \ [2025-02-20T08:44:09.754Z] -XX:-UseCompressedOops \ [2025-02-20T08:44:09.754Z] '-Djava.library.path=C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-20T08:44:09.754Z] com.sun.javatest.regtest.agent.MainWrapper 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d\main.0.jta' after policyOn invalid [2025-02-20T08:44:09.754Z] [2025-02-20T08:44:09.754Z] 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-20T08:44:09.754Z] -------------------------------------------------- [2025-02-20T08:44:09.754Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java [2025-02-20T08:44:09.754Z] TEST JDK: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\j2sdk-image [2025-02-20T08:44:09.754Z] [2025-02-20T08:44:09.754Z] ACTION: build -- Passed. Build successful [2025-02-20T08:44:09.754Z] REASON: Named class compiled on demand [2025-02-20T08:44:09.754Z] TIME: 0.078 seconds [2025-02-20T08:44:09.754Z] messages: [2025-02-20T08:44:09.754Z] command: build Entrust [2025-02-20T08:44:09.754Z] reason: Named class compiled on demand [2025-02-20T08:44:09.754Z] started: Thu Feb 20 08:44:06 UTC 2025 [2025-02-20T08:44:09.754Z] Test directory: [2025-02-20T08:44:09.754Z] compile: Entrust [2025-02-20T08:44:09.754Z] finished: Thu Feb 20 08:44:06 UTC 2025 [2025-02-20T08:44:09.754Z] elapsed time (seconds): 0.078 [2025-02-20T08:44:09.754Z] [2025-02-20T08:44:09.754Z] ACTION: compile -- Passed. Compilation successful [2025-02-20T08:44:09.754Z] REASON: .class file out of date or does not exist [2025-02-20T08:44:09.754Z] TIME: 0.078 seconds [2025-02-20T08:44:09.754Z] messages: [2025-02-20T08:44:09.754Z] command: compile C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.java [2025-02-20T08:44:09.754Z] reason: .class file out of date or does not exist [2025-02-20T08:44:09.754Z] started: Thu Feb 20 08:44:06 UTC 2025 [2025-02-20T08:44:09.754Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-20T08:44:09.754Z] Mode: agentvm [2025-02-20T08:44:09.754Z] Agent id: 1 [2025-02-20T08:44:09.754Z] finished: Thu Feb 20 08:44:06 UTC 2025 [2025-02-20T08:44:09.754Z] elapsed time (seconds): 0.078 [2025-02-20T08:44:09.754Z] configuration: [2025-02-20T08:44:09.754Z] Boot Layer (javac runtime environment) [2025-02-20T08:44:09.754Z] class path: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jvmtest\openjdk\jtreg\lib\javatest.jar [2025-02-20T08:44:09.754Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jvmtest\openjdk\jtreg\lib\jtreg.jar [2025-02-20T08:44:09.754Z] patch: java.base C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\patches\java.base [2025-02-20T08:44:09.754Z] [2025-02-20T08:44:09.754Z] javac compilation environment [2025-02-20T08:44:09.754Z] add modules: java.base [2025-02-20T08:44:09.754Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-20T08:44:09.754Z] source path: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust [2025-02-20T08:44:09.754Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\lib [2025-02-20T08:44:09.754Z] class path: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust [2025-02-20T08:44:09.755Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d [2025-02-20T08:44:09.755Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\1\test\lib [2025-02-20T08:44:09.755Z] [2025-02-20T08:44:09.755Z] rerun: [2025-02-20T08:44:09.755Z] cd 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\scratch\0' && \ [2025-02-20T08:44:09.755Z] PATH='D:\Program Files (Arm)\Microsoft\jdk-17.0.6.10-hotspot\bin;C:\cygwin64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Users\adoptopenjdk\AppData\Local\Microsoft\WindowsApps;C:\Strawberry\perl\bin;C:\Program Files\Git\cmd;C:\openjdk\jdk-8\bin;C:\apache-ant\apache-ant-1.10.15\bin;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\Incredibuild;C:\cygwin64\bin;C:\Users\jenkins\AppData\Local\Microsoft\WindowsApps' \ [2025-02-20T08:44:09.755Z] SystemDrive=C: \ [2025-02-20T08:44:09.755Z] SystemRoot='C:\Windows' \ [2025-02-20T08:44:09.755Z] TEMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-20T08:44:09.755Z] TMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-20T08:44:09.755Z] windir='C:\Windows' \ [2025-02-20T08:44:09.755Z] 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\j2sdk-image\bin\javac' \ [2025-02-20T08:44:09.755Z] -J-ea \ [2025-02-20T08:44:09.755Z] -J-esa \ [2025-02-20T08:44:09.755Z] -J-Xmx512m \ [2025-02-20T08:44:09.755Z] -J-XX:-UseCompressedOops \ [2025-02-20T08:44:09.755Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-20T08:44:09.755Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-20T08:44:09.755Z] -J-Dtest.compiler.opts= \ [2025-02-20T08:44:09.755Z] -J-Dtest.java.opts= \ [2025-02-20T08:44:09.755Z] -J-Dtest.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\j2sdk-image' \ [2025-02-20T08:44:09.755Z] -J-Dcompile.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\j2sdk-image' \ [2025-02-20T08:44:09.755Z] -J-Dtest.timeout.factor=8.0 \ [2025-02-20T08:44:09.755Z] -J-Dtest.nativepath='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-20T08:44:09.755Z] -J-Dtest.root='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-02-20T08:44:09.755Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-20T08:44:09.755Z] -J-Dtest.file='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.java' \ [2025-02-20T08:44:09.755Z] -J-Dtest.src='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust' \ [2025-02-20T08:44:09.755Z] -J-Dtest.src.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-20T08:44:09.755Z] -J-Dtest.classes='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d' \ [2025-02-20T08:44:09.755Z] -J-Dtest.class.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\1\test\lib' \ [2025-02-20T08:44:09.755Z] -J-Dtest.class.path.prefix='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\1\test\lib' \ [2025-02-20T08:44:09.755Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-20T08:44:09.755Z] --add-modules java.base \ [2025-02-20T08:44:09.755Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-20T08:44:09.755Z] -d 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d' \ [2025-02-20T08:44:09.755Z] -sourcepath 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-20T08:44:09.755Z] -classpath 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\1\test\lib' 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.java' [2025-02-20T08:44:09.755Z] direct: [2025-02-20T08:44:09.755Z] Note: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java uses or overrides a deprecated API. [2025-02-20T08:44:09.755Z] Note: Recompile with -Xlint:deprecation for details. [2025-02-20T08:44:09.755Z] Note: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java uses unchecked or unsafe operations. [2025-02-20T08:44:09.755Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-20T08:44:09.755Z] [2025-02-20T08:44:09.755Z] 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-20T08:44:09.755Z] REASON: User specified action: run main/othervm Entrust after policyOn invalid [2025-02-20T08:44:09.755Z] TIME: 0.86 seconds [2025-02-20T08:44:09.755Z] messages: [2025-02-20T08:44:09.755Z] command: main Entrust after policyOn invalid [2025-02-20T08:44:09.755Z] reason: User specified action: run main/othervm Entrust after policyOn invalid [2025-02-20T08:44:09.755Z] started: Thu Feb 20 08:44:06 UTC 2025 [2025-02-20T08:44:09.755Z] Mode: othervm [/othervm specified] [2025-02-20T08:44:09.755Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-20T08:44:09.755Z] finished: Thu Feb 20 08:44:07 UTC 2025 [2025-02-20T08:44:09.755Z] elapsed time (seconds): 0.86 [2025-02-20T08:44:09.755Z] configuration: [2025-02-20T08:44:09.755Z] Boot Layer [2025-02-20T08:44:09.755Z] add modules: java.base [2025-02-20T08:44:09.755Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-20T08:44:09.755Z] [2025-02-20T08:44:09.755Z] STDOUT: [2025-02-20T08:44:09.755Z] STDERR: [2025-02-20T08:44:09.755Z] Testing entrustevca [2025-02-20T08:44:09.755Z] Testing entrustrootcaec1 [2025-02-20T08:44:09.755Z] Testing entrustrootcag2 [2025-02-20T08:44:09.755Z] Testing entrustrootcag4 [2025-02-20T08:44:09.755Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-20T08:44:09.755Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:388) [2025-02-20T08:44:09.755Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:271) [2025-02-20T08:44:09.755Z] at java.base/sun.security.validator.Validator.validate(Validator.java:256) [2025-02-20T08:44:09.755Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:241) [2025-02-20T08:44:09.755Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113) [2025-02-20T08:44:09.755Z] at Distrust.testTM(Distrust.java:125) [2025-02-20T08:44:09.755Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-20T08:44:09.755Z] at Entrust.main(Entrust.java:66) [2025-02-20T08:44:09.756Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-20T08:44:09.756Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-20T08:44:09.756Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-20T08:44:09.756Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-20T08:44:09.756Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-20T08:44:09.756Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-02-20T08:44:09.756Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-02-20T08:44:09.756Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-02-20T08:44:09.756Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:383) [2025-02-20T08:44:09.756Z] ... 11 more [2025-02-20T08:44:09.756Z] 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-20T08:44:09.756Z] at Distrust.testTM(Distrust.java:138) [2025-02-20T08:44:09.756Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-20T08:44:09.756Z] at Entrust.main(Entrust.java:66) [2025-02-20T08:44:09.756Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-20T08:44:09.756Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-20T08:44:09.756Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-20T08:44:09.756Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-20T08:44:09.756Z] [2025-02-20T08:44:09.756Z] 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-20T08:44:09.756Z] JavaTest Message: shutting down test [2025-02-20T08:44:09.756Z] [2025-02-20T08:44:09.756Z] 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-20T08:44:09.756Z] rerun: [2025-02-20T08:44:09.756Z] cd 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\scratch\0' && \ [2025-02-20T08:44:09.756Z] PATH='D:\Program Files (Arm)\Microsoft\jdk-17.0.6.10-hotspot\bin;C:\cygwin64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Users\adoptopenjdk\AppData\Local\Microsoft\WindowsApps;C:\Strawberry\perl\bin;C:\Program Files\Git\cmd;C:\openjdk\jdk-8\bin;C:\apache-ant\apache-ant-1.10.15\bin;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\Incredibuild;C:\cygwin64\bin;C:\Users\jenkins\AppData\Local\Microsoft\WindowsApps' \ [2025-02-20T08:44:09.756Z] SystemDrive=C: \ [2025-02-20T08:44:09.756Z] SystemRoot='C:\Windows' \ [2025-02-20T08:44:09.756Z] TEMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-20T08:44:09.756Z] TMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-20T08:44:09.756Z] windir='C:\Windows' \ [2025-02-20T08:44:09.756Z] CLASSPATH='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\1\test\lib;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\lib;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jvmtest\openjdk\jtreg\lib\javatest.jar;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jvmtest\openjdk\jtreg\lib\jtreg.jar' \ [2025-02-20T08:44:09.756Z] 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\j2sdk-image\bin\java' \ [2025-02-20T08:44:09.756Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-20T08:44:09.756Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-20T08:44:09.756Z] -Dtest.compiler.opts= \ [2025-02-20T08:44:09.756Z] -Dtest.java.opts= \ [2025-02-20T08:44:09.756Z] -Dtest.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\j2sdk-image' \ [2025-02-20T08:44:09.756Z] -Dcompile.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\j2sdk-image' \ [2025-02-20T08:44:09.756Z] -Dtest.timeout.factor=8.0 \ [2025-02-20T08:44:09.756Z] -Dtest.nativepath='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-20T08:44:09.756Z] -Dtest.root='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-02-20T08:44:09.756Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-20T08:44:09.756Z] -Dtest.file='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.java' \ [2025-02-20T08:44:09.756Z] -Dtest.src='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust' \ [2025-02-20T08:44:09.756Z] -Dtest.src.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-20T08:44:09.756Z] -Dtest.classes='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d' \ [2025-02-20T08:44:09.756Z] -Dtest.class.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\1\test\lib' \ [2025-02-20T08:44:09.756Z] -Dtest.class.path.prefix='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\classes\1\test\lib' \ [2025-02-20T08:44:09.756Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-20T08:44:09.756Z] --add-modules java.base \ [2025-02-20T08:44:09.756Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-20T08:44:09.756Z] -ea \ [2025-02-20T08:44:09.756Z] -esa \ [2025-02-20T08:44:09.756Z] -Xmx512m \ [2025-02-20T08:44:09.756Z] -XX:-UseCompressedOops \ [2025-02-20T08:44:09.756Z] '-Djava.library.path=C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-20T08:44:09.756Z] com.sun.javatest.regtest.agent.MainWrapper 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d\main.0.jta' after policyOn invalid [2025-02-20T08:44:09.756Z] [2025-02-20T08:44:09.756Z] 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-20T08:44:09.756Z] -------------------------------------------------- [2025-02-20T09:04:53.828Z] Test results: passed: 966; failed: 2 [2025-02-20T09:05:09.312Z] Report written to C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\report\html\report.html [2025-02-20T09:05:09.312Z] Results written to C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_1\work [2025-02-20T09:05:09.312Z] Error: Some tests failed or other problems occurred. [2025-02-20T09:05:09.312Z] ----------------------------------- [2025-02-20T09:05:09.312Z] jdk_security3_1_FAILED [2025-02-20T09:05:09.312Z] ----------------------------------- [2025-02-20T09:05:09.312Z] [2025-02-20T09:05:09.312Z] TEST TEARDOWN: [2025-02-20T09:05:09.312Z] Nothing to be done for teardown. [2025-02-20T09:05:09.312Z] jdk_security3_1 Finish Time: Thu Feb 20 09:05:07 2025 Epoch Time (ms): 1740042307270