No Possible Issues Found via Git Search

jdk_security3_0

[2025-02-20T07:29:22.217Z] Running test jdk_security3_0 ... [2025-02-20T07:29:22.217Z] =============================================== [2025-02-20T07:29:22.217Z] jdk_security3_0 Start Time: Thu Feb 20 07:29:15 2025 Epoch Time (ms): 1740036555801 [2025-02-20T07:29:22.217Z] variation: Mode150 [2025-02-20T07:29:22.217Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-02-20T07:29:22.217Z] { \ [2025-02-20T07:29:22.217Z] echo ""; echo "TEST SETUP:"; \ [2025-02-20T07:29:22.217Z] echo "Nothing to be done for setup."; \ [2025-02-20T07:29:22.217Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows/aqa-tests/\\TKG\\output_17400157369710\\jdk_security3_0"; \ [2025-02-20T07:29:22.218Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows/aqa-tests/\\TKG\\output_17400157369710\\jdk_security3_0"; \ [2025-02-20T07:29:22.218Z] echo ""; echo "TESTING:"; \ [2025-02-20T07:29:22.218Z] "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-20T07:29:22.218Z] -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-20T07:29:22.218Z] \ [2025-02-20T07:29:22.218Z] -w ""C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows/aqa-tests/\\TKG\\output_17400157369710\\jdk_security3_0"\\work" \ [2025-02-20T07:29:22.218Z] -r ""C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows/aqa-tests/\\TKG\\output_17400157369710\\jdk_security3_0"\\report" \ [2025-02-20T07:29:22.218Z] -jdk:"C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows/jdkbinary/j2sdk-image" \ [2025-02-20T07:29:22.218Z] -exclude:"C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows/aqa-tests/\\openjdk\\openjdk-jdk\\test\\jdk\\ProblemList.txt" \ [2025-02-20T07:29:22.218Z] -exclude:"C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows/aqa-tests///..//jvmtest\\openjdk\\excludes/ProblemList_openjdk21.txt" \ [2025-02-20T07:29:22.218Z] \ [2025-02-20T07:29:22.218Z] -exclude:"C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows/aqa-tests/\\openjdk\\excludes\\vendors\\eclipse\\ProblemList_openjdk21.txt" \ [2025-02-20T07:29:22.218Z] "C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows/aqa-tests/\\openjdk\\openjdk-jdk\\test\\jdk:jdk_security3"; \ [2025-02-20T07:29:22.218Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_security3_0""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows/aqa-tests/; else echo "-----------------------------------"; echo "jdk_security3_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-20T07:29:22.218Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-20T07:29:22.218Z] echo "Nothing to be done for teardown."; \ [2025-02-20T07:29:22.218Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows/aqa-tests/\\TKG\\output_17400157369710\\TestTargetResult"; [2025-02-20T07:29:22.218Z] [2025-02-20T07:29:22.218Z] TEST SETUP: [2025-02-20T07:29:22.218Z] Nothing to be done for setup. [2025-02-20T07:29:22.218Z] [2025-02-20T07:29:22.218Z] TESTING: [2025-02-20T07:29:22.218Z] Directory "C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work" not found: creating [2025-02-20T07:29:22.218Z] Directory "C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\report" not found: creating [2025-02-20T07:29:22.521Z] XML output with verification to C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work [2025-02-20T07:55:51.099Z] -------------------------------------------------- [2025-02-20T07:55:51.099Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-02-20T07:55:51.099Z] TEST JDK: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\j2sdk-image [2025-02-20T07:55:51.099Z] [2025-02-20T07:55:51.099Z] ACTION: build -- Passed. Build successful [2025-02-20T07:55:51.099Z] REASON: Named class compiled on demand [2025-02-20T07:55:51.099Z] TIME: 0.113 seconds [2025-02-20T07:55:51.099Z] messages: [2025-02-20T07:55:51.099Z] command: build Camerfirma [2025-02-20T07:55:51.099Z] reason: Named class compiled on demand [2025-02-20T07:55:51.099Z] started: Thu Feb 20 07:55:37 UTC 2025 [2025-02-20T07:55:51.099Z] Test directory: [2025-02-20T07:55:51.099Z] compile: Camerfirma [2025-02-20T07:55:51.099Z] finished: Thu Feb 20 07:55:37 UTC 2025 [2025-02-20T07:55:51.099Z] elapsed time (seconds): 0.113 [2025-02-20T07:55:51.099Z] [2025-02-20T07:55:51.099Z] ACTION: compile -- Passed. Compilation successful [2025-02-20T07:55:51.099Z] REASON: .class file out of date or does not exist [2025-02-20T07:55:51.099Z] TIME: 0.097 seconds [2025-02-20T07:55:51.099Z] messages: [2025-02-20T07:55:51.099Z] 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-20T07:55:51.099Z] reason: .class file out of date or does not exist [2025-02-20T07:55:51.099Z] started: Thu Feb 20 07:55:37 UTC 2025 [2025-02-20T07:55:51.099Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-20T07:55:51.099Z] Mode: agentvm [2025-02-20T07:55:51.099Z] Agent id: 3 [2025-02-20T07:55:51.099Z] finished: Thu Feb 20 07:55:37 UTC 2025 [2025-02-20T07:55:51.099Z] elapsed time (seconds): 0.097 [2025-02-20T07:55:51.099Z] configuration: [2025-02-20T07:55:51.099Z] Boot Layer (javac runtime environment) [2025-02-20T07:55:51.099Z] class path: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jvmtest\openjdk\jtreg\lib\javatest.jar [2025-02-20T07:55:51.099Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jvmtest\openjdk\jtreg\lib\jtreg.jar [2025-02-20T07:55:51.099Z] patch: java.base C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work\patches\java.base [2025-02-20T07:55:51.099Z] [2025-02-20T07:55:51.099Z] javac compilation environment [2025-02-20T07:55:51.099Z] add modules: java.base [2025-02-20T07:55:51.099Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-20T07:55:51.099Z] 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-20T07:55:51.099Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\lib [2025-02-20T07:55:51.099Z] 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-20T07:55:51.099Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work\classes\0\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d [2025-02-20T07:55:51.099Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work\classes\0\test\lib [2025-02-20T07:55:51.099Z] [2025-02-20T07:55:51.099Z] rerun: [2025-02-20T07:55:51.099Z] cd 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work\scratch\2' && \ [2025-02-20T07:55:51.099Z] 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-20T07:55:51.099Z] SystemDrive=C: \ [2025-02-20T07:55:51.099Z] SystemRoot='C:\Windows' \ [2025-02-20T07:55:51.099Z] TEMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-20T07:55:51.099Z] TMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-20T07:55:51.099Z] windir='C:\Windows' \ [2025-02-20T07:55:51.099Z] 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\j2sdk-image\bin\javac' \ [2025-02-20T07:55:51.099Z] -J-ea \ [2025-02-20T07:55:51.099Z] -J-esa \ [2025-02-20T07:55:51.099Z] -J-Xmx512m \ [2025-02-20T07:55:51.099Z] -J-XX:+UseCompressedOops \ [2025-02-20T07:55:51.099Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-02-20T07:55:51.099Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-02-20T07:55:51.099Z] -J-Dtest.compiler.opts= \ [2025-02-20T07:55:51.099Z] -J-Dtest.java.opts= \ [2025-02-20T07:55:51.099Z] -J-Dtest.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\j2sdk-image' \ [2025-02-20T07:55:51.099Z] -J-Dcompile.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\j2sdk-image' \ [2025-02-20T07:55:51.099Z] -J-Dtest.timeout.factor=8.0 \ [2025-02-20T07:55:51.099Z] -J-Dtest.nativepath='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-20T07:55:51.099Z] -J-Dtest.root='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-02-20T07:55:51.099Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-20T07:55:51.100Z] -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-20T07:55:51.100Z] -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-20T07:55:51.100Z] -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-20T07:55:51.100Z] -J-Dtest.classes='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work\classes\0\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d' \ [2025-02-20T07:55:51.100Z] -J-Dtest.class.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work\classes\0\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_0\work\classes\0\test\lib' \ [2025-02-20T07:55:51.100Z] -J-Dtest.class.path.prefix='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work\classes\0\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_0\work\classes\0\test\lib' \ [2025-02-20T07:55:51.100Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-20T07:55:51.100Z] --add-modules java.base \ [2025-02-20T07:55:51.100Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-20T07:55:51.100Z] -d 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work\classes\0\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d' \ [2025-02-20T07:55:51.100Z] -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-20T07:55:51.100Z] -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_0\work\classes\0\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_0\work\classes\0\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-20T07:55:51.100Z] direct: [2025-02-20T07:55:51.100Z] 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-20T07:55:51.100Z] Note: Recompile with -Xlint:deprecation for details. [2025-02-20T07:55:51.100Z] 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-20T07:55:51.100Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-20T07:55:51.100Z] [2025-02-20T07:55:51.100Z] 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-20T07:55:51.100Z] REASON: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-02-20T07:55:51.100Z] TIME: 0.953 seconds [2025-02-20T07:55:51.100Z] messages: [2025-02-20T07:55:51.100Z] command: main Camerfirma after policyOn invalid [2025-02-20T07:55:51.100Z] reason: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-02-20T07:55:51.100Z] started: Thu Feb 20 07:55:37 UTC 2025 [2025-02-20T07:55:51.100Z] Mode: othervm [/othervm specified] [2025-02-20T07:55:51.100Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-20T07:55:51.100Z] finished: Thu Feb 20 07:55:38 UTC 2025 [2025-02-20T07:55:51.100Z] elapsed time (seconds): 0.953 [2025-02-20T07:55:51.100Z] configuration: [2025-02-20T07:55:51.100Z] Boot Layer [2025-02-20T07:55:51.100Z] add modules: java.base [2025-02-20T07:55:51.100Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-20T07:55:51.100Z] [2025-02-20T07:55:51.100Z] STDOUT: [2025-02-20T07:55:51.100Z] STDERR: [2025-02-20T07:55:51.100Z] Testing camerfirmachamberscommerceca [2025-02-20T07:55:51.100Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-20T07:55:51.100Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:388) [2025-02-20T07:55:51.100Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:271) [2025-02-20T07:55:51.100Z] at java.base/sun.security.validator.Validator.validate(Validator.java:256) [2025-02-20T07:55:51.100Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:241) [2025-02-20T07:55:51.100Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113) [2025-02-20T07:55:51.100Z] at Distrust.testTM(Distrust.java:125) [2025-02-20T07:55:51.100Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-20T07:55:51.100Z] at Camerfirma.main(Camerfirma.java:73) [2025-02-20T07:55:51.100Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-20T07:55:51.100Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-20T07:55:51.100Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-20T07:55:51.100Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-20T07:55:51.100Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-20T07:55:51.100Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-02-20T07:55:51.100Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-02-20T07:55:51.100Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-02-20T07:55:51.100Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:383) [2025-02-20T07:55:51.100Z] ... 11 more [2025-02-20T07:55:51.100Z] 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-20T07:55:51.100Z] at Distrust.testTM(Distrust.java:138) [2025-02-20T07:55:51.100Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-20T07:55:51.100Z] at Camerfirma.main(Camerfirma.java:73) [2025-02-20T07:55:51.100Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-20T07:55:51.100Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-20T07:55:51.100Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-20T07:55:51.100Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-20T07:55:51.100Z] [2025-02-20T07:55:51.100Z] 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-20T07:55:51.100Z] JavaTest Message: shutting down test [2025-02-20T07:55:51.100Z] [2025-02-20T07:55:51.100Z] 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-20T07:55:51.100Z] rerun: [2025-02-20T07:55:51.100Z] cd 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work\scratch\2' && \ [2025-02-20T07:55:51.100Z] 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-20T07:55:51.100Z] SystemDrive=C: \ [2025-02-20T07:55:51.100Z] SystemRoot='C:\Windows' \ [2025-02-20T07:55:51.100Z] TEMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-20T07:55:51.100Z] TMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-20T07:55:51.100Z] windir='C:\Windows' \ [2025-02-20T07:55:51.101Z] CLASSPATH='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work\classes\0\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_0\work\classes\0\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-20T07:55:51.101Z] 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\j2sdk-image\bin\java' \ [2025-02-20T07:55:51.101Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-02-20T07:55:51.101Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-02-20T07:55:51.101Z] -Dtest.compiler.opts= \ [2025-02-20T07:55:51.101Z] -Dtest.java.opts= \ [2025-02-20T07:55:51.101Z] -Dtest.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\j2sdk-image' \ [2025-02-20T07:55:51.101Z] -Dcompile.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\j2sdk-image' \ [2025-02-20T07:55:51.101Z] -Dtest.timeout.factor=8.0 \ [2025-02-20T07:55:51.101Z] -Dtest.nativepath='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-20T07:55:51.101Z] -Dtest.root='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-02-20T07:55:51.101Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-20T07:55:51.101Z] -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-20T07:55:51.101Z] -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-20T07:55:51.101Z] -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-20T07:55:51.101Z] -Dtest.classes='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work\classes\0\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d' \ [2025-02-20T07:55:51.101Z] -Dtest.class.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work\classes\0\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_0\work\classes\0\test\lib' \ [2025-02-20T07:55:51.101Z] -Dtest.class.path.prefix='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work\classes\0\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_0\work\classes\0\test\lib' \ [2025-02-20T07:55:51.101Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-20T07:55:51.101Z] --add-modules java.base \ [2025-02-20T07:55:51.101Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-20T07:55:51.101Z] -ea \ [2025-02-20T07:55:51.101Z] -esa \ [2025-02-20T07:55:51.101Z] -Xmx512m \ [2025-02-20T07:55:51.101Z] -XX:+UseCompressedOops \ [2025-02-20T07:55:51.101Z] '-Djava.library.path=C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-20T07:55:51.101Z] com.sun.javatest.regtest.agent.MainWrapper 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d\main.0.jta' after policyOn invalid [2025-02-20T07:55:51.101Z] [2025-02-20T07:55:51.101Z] 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-20T07:55:51.101Z] -------------------------------------------------- [2025-02-20T07:55:51.101Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java [2025-02-20T07:55:51.101Z] TEST JDK: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\j2sdk-image [2025-02-20T07:55:51.101Z] [2025-02-20T07:55:51.101Z] ACTION: build -- Passed. Build successful [2025-02-20T07:55:51.101Z] REASON: Named class compiled on demand [2025-02-20T07:55:51.101Z] TIME: 0.078 seconds [2025-02-20T07:55:51.101Z] messages: [2025-02-20T07:55:51.101Z] command: build Entrust [2025-02-20T07:55:51.101Z] reason: Named class compiled on demand [2025-02-20T07:55:51.101Z] started: Thu Feb 20 07:55:38 UTC 2025 [2025-02-20T07:55:51.101Z] Test directory: [2025-02-20T07:55:51.101Z] compile: Entrust [2025-02-20T07:55:51.101Z] finished: Thu Feb 20 07:55:38 UTC 2025 [2025-02-20T07:55:51.101Z] elapsed time (seconds): 0.078 [2025-02-20T07:55:51.101Z] [2025-02-20T07:55:51.101Z] ACTION: compile -- Passed. Compilation successful [2025-02-20T07:55:51.101Z] REASON: .class file out of date or does not exist [2025-02-20T07:55:51.101Z] TIME: 0.078 seconds [2025-02-20T07:55:51.101Z] messages: [2025-02-20T07:55:51.101Z] 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-20T07:55:51.101Z] reason: .class file out of date or does not exist [2025-02-20T07:55:51.101Z] started: Thu Feb 20 07:55:38 UTC 2025 [2025-02-20T07:55:51.101Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-20T07:55:51.101Z] Mode: agentvm [2025-02-20T07:55:51.101Z] Agent id: 1 [2025-02-20T07:55:51.101Z] finished: Thu Feb 20 07:55:38 UTC 2025 [2025-02-20T07:55:51.101Z] elapsed time (seconds): 0.078 [2025-02-20T07:55:51.101Z] configuration: [2025-02-20T07:55:51.101Z] Boot Layer (javac runtime environment) [2025-02-20T07:55:51.101Z] class path: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jvmtest\openjdk\jtreg\lib\javatest.jar [2025-02-20T07:55:51.101Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jvmtest\openjdk\jtreg\lib\jtreg.jar [2025-02-20T07:55:51.101Z] patch: java.base C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work\patches\java.base [2025-02-20T07:55:51.101Z] [2025-02-20T07:55:51.101Z] javac compilation environment [2025-02-20T07:55:51.101Z] add modules: java.base [2025-02-20T07:55:51.101Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-20T07:55:51.101Z] 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-20T07:55:51.101Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\lib [2025-02-20T07:55:51.101Z] 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-20T07:55:51.101Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d [2025-02-20T07:55:51.101Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work\classes\2\test\lib [2025-02-20T07:55:51.101Z] [2025-02-20T07:55:51.101Z] rerun: [2025-02-20T07:55:51.101Z] cd 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work\scratch\0' && \ [2025-02-20T07:55:51.101Z] 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-20T07:55:51.101Z] SystemDrive=C: \ [2025-02-20T07:55:51.101Z] SystemRoot='C:\Windows' \ [2025-02-20T07:55:51.101Z] TEMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-20T07:55:51.101Z] TMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-20T07:55:51.101Z] windir='C:\Windows' \ [2025-02-20T07:55:51.101Z] 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\j2sdk-image\bin\javac' \ [2025-02-20T07:55:51.101Z] -J-ea \ [2025-02-20T07:55:51.101Z] -J-esa \ [2025-02-20T07:55:51.101Z] -J-Xmx512m \ [2025-02-20T07:55:51.101Z] -J-XX:+UseCompressedOops \ [2025-02-20T07:55:51.101Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-02-20T07:55:51.101Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-02-20T07:55:51.101Z] -J-Dtest.compiler.opts= \ [2025-02-20T07:55:51.101Z] -J-Dtest.java.opts= \ [2025-02-20T07:55:51.101Z] -J-Dtest.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\j2sdk-image' \ [2025-02-20T07:55:51.101Z] -J-Dcompile.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\j2sdk-image' \ [2025-02-20T07:55:51.101Z] -J-Dtest.timeout.factor=8.0 \ [2025-02-20T07:55:51.101Z] -J-Dtest.nativepath='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-20T07:55:51.102Z] -J-Dtest.root='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-02-20T07:55:51.102Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-20T07:55:51.102Z] -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-20T07:55:51.102Z] -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-20T07:55:51.102Z] -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-20T07:55:51.102Z] -J-Dtest.classes='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d' \ [2025-02-20T07:55:51.102Z] -J-Dtest.class.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work\classes\2\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_0\work\classes\2\test\lib' \ [2025-02-20T07:55:51.102Z] -J-Dtest.class.path.prefix='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work\classes\2\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_0\work\classes\2\test\lib' \ [2025-02-20T07:55:51.102Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-20T07:55:51.102Z] --add-modules java.base \ [2025-02-20T07:55:51.102Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-20T07:55:51.102Z] -d 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d' \ [2025-02-20T07:55:51.102Z] -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-20T07:55:51.102Z] -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_0\work\classes\2\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_0\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\Entrust.java' [2025-02-20T07:55:51.102Z] direct: [2025-02-20T07:55:51.102Z] 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-20T07:55:51.102Z] Note: Recompile with -Xlint:deprecation for details. [2025-02-20T07:55:51.102Z] 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-20T07:55:51.102Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-20T07:55:51.102Z] [2025-02-20T07:55:51.102Z] 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-20T07:55:51.102Z] REASON: User specified action: run main/othervm Entrust after policyOn invalid [2025-02-20T07:55:51.102Z] TIME: 0.984 seconds [2025-02-20T07:55:51.102Z] messages: [2025-02-20T07:55:51.102Z] command: main Entrust after policyOn invalid [2025-02-20T07:55:51.102Z] reason: User specified action: run main/othervm Entrust after policyOn invalid [2025-02-20T07:55:51.102Z] started: Thu Feb 20 07:55:38 UTC 2025 [2025-02-20T07:55:51.102Z] Mode: othervm [/othervm specified] [2025-02-20T07:55:51.102Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-20T07:55:51.102Z] finished: Thu Feb 20 07:55:39 UTC 2025 [2025-02-20T07:55:51.102Z] elapsed time (seconds): 0.984 [2025-02-20T07:55:51.102Z] configuration: [2025-02-20T07:55:51.102Z] Boot Layer [2025-02-20T07:55:51.102Z] add modules: java.base [2025-02-20T07:55:51.102Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-20T07:55:51.102Z] [2025-02-20T07:55:51.102Z] STDOUT: [2025-02-20T07:55:51.102Z] STDERR: [2025-02-20T07:55:51.102Z] Testing entrustevca [2025-02-20T07:55:51.102Z] Testing entrustrootcaec1 [2025-02-20T07:55:51.102Z] Testing entrustrootcag2 [2025-02-20T07:55:51.102Z] Testing entrustrootcag4 [2025-02-20T07:55:51.102Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-20T07:55:51.102Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:388) [2025-02-20T07:55:51.102Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:271) [2025-02-20T07:55:51.102Z] at java.base/sun.security.validator.Validator.validate(Validator.java:256) [2025-02-20T07:55:51.102Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:241) [2025-02-20T07:55:51.102Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113) [2025-02-20T07:55:51.102Z] at Distrust.testTM(Distrust.java:125) [2025-02-20T07:55:51.102Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-20T07:55:51.102Z] at Entrust.main(Entrust.java:66) [2025-02-20T07:55:51.102Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-20T07:55:51.102Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-20T07:55:51.102Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-20T07:55:51.102Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-20T07:55:51.102Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-20T07:55:51.102Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-02-20T07:55:51.102Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-02-20T07:55:51.102Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-02-20T07:55:51.102Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:383) [2025-02-20T07:55:51.102Z] ... 11 more [2025-02-20T07:55:51.102Z] 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-20T07:55:51.102Z] at Distrust.testTM(Distrust.java:138) [2025-02-20T07:55:51.102Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-20T07:55:51.102Z] at Entrust.main(Entrust.java:66) [2025-02-20T07:55:51.102Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-20T07:55:51.102Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-20T07:55:51.102Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-20T07:55:51.102Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-20T07:55:51.102Z] [2025-02-20T07:55:51.102Z] 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-20T07:55:51.102Z] JavaTest Message: shutting down test [2025-02-20T07:55:51.102Z] [2025-02-20T07:55:51.102Z] 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-20T07:55:51.102Z] rerun: [2025-02-20T07:55:51.102Z] cd 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work\scratch\0' && \ [2025-02-20T07:55:51.102Z] 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-20T07:55:51.102Z] SystemDrive=C: \ [2025-02-20T07:55:51.102Z] SystemRoot='C:\Windows' \ [2025-02-20T07:55:51.102Z] TEMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-20T07:55:51.102Z] TMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-20T07:55:51.102Z] windir='C:\Windows' \ [2025-02-20T07:55:51.103Z] CLASSPATH='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work\classes\2\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_0\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-20T07:55:51.103Z] 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\j2sdk-image\bin\java' \ [2025-02-20T07:55:51.103Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-02-20T07:55:51.103Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-02-20T07:55:51.103Z] -Dtest.compiler.opts= \ [2025-02-20T07:55:51.103Z] -Dtest.java.opts= \ [2025-02-20T07:55:51.103Z] -Dtest.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\j2sdk-image' \ [2025-02-20T07:55:51.103Z] -Dcompile.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\j2sdk-image' \ [2025-02-20T07:55:51.103Z] -Dtest.timeout.factor=8.0 \ [2025-02-20T07:55:51.103Z] -Dtest.nativepath='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-20T07:55:51.103Z] -Dtest.root='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-02-20T07:55:51.103Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-20T07:55:51.103Z] -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-20T07:55:51.103Z] -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-20T07:55:51.103Z] -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-20T07:55:51.103Z] -Dtest.classes='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d' \ [2025-02-20T07:55:51.103Z] -Dtest.class.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work\classes\2\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_0\work\classes\2\test\lib' \ [2025-02-20T07:55:51.103Z] -Dtest.class.path.prefix='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work\classes\2\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_0\work\classes\2\test\lib' \ [2025-02-20T07:55:51.103Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-20T07:55:51.103Z] --add-modules java.base \ [2025-02-20T07:55:51.103Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-20T07:55:51.103Z] -ea \ [2025-02-20T07:55:51.103Z] -esa \ [2025-02-20T07:55:51.103Z] -Xmx512m \ [2025-02-20T07:55:51.103Z] -XX:+UseCompressedOops \ [2025-02-20T07:55:51.103Z] '-Djava.library.path=C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-20T07:55:51.103Z] com.sun.javatest.regtest.agent.MainWrapper 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d\main.0.jta' after policyOn invalid [2025-02-20T07:55:51.103Z] [2025-02-20T07:55:51.103Z] 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-20T07:55:51.103Z] -------------------------------------------------- [2025-02-20T08:16:35.036Z] Test results: passed: 966; failed: 2 [2025-02-20T08:16:47.803Z] Report written to C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\report\html\report.html [2025-02-20T08:16:47.803Z] Results written to C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows\aqa-tests\TKG\output_17400157369710\jdk_security3_0\work [2025-02-20T08:16:47.804Z] Error: Some tests failed or other problems occurred. [2025-02-20T08:16:47.804Z] ----------------------------------- [2025-02-20T08:16:47.804Z] jdk_security3_0_FAILED [2025-02-20T08:16:47.804Z] ----------------------------------- [2025-02-20T08:16:47.804Z] [2025-02-20T08:16:47.804Z] TEST TEARDOWN: [2025-02-20T08:16:47.804Z] Nothing to be done for teardown. [2025-02-20T08:16:47.804Z] jdk_security3_0 Finish Time: Thu Feb 20 08:16:45 2025 Epoch Time (ms): 1740039405936