No Possible Issues Found via Git Search

jdk_security3_1

[2025-02-27T10:08:08.223Z] Running test jdk_security3_1 ... [2025-02-27T10:08:08.223Z] =============================================== [2025-02-27T10:08:08.223Z] jdk_security3_1 Start Time: Thu Feb 27 10:07:55 2025 Epoch Time (ms): 1740650875157 [2025-02-27T10:08:08.223Z] variation: Mode650 [2025-02-27T10:08:08.223Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-02-27T10:08:08.223Z] { \ [2025-02-27T10:08:08.223Z] echo ""; echo "TEST SETUP:"; \ [2025-02-27T10:08:08.223Z] echo "Nothing to be done for setup."; \ [2025-02-27T10:08:08.223Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun/aqa-tests/\\TKG\\output_17406452356705\\jdk_security3_1"; \ [2025-02-27T10:08:08.223Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun/aqa-tests/\\TKG\\output_17406452356705\\jdk_security3_1"; \ [2025-02-27T10:08:08.223Z] echo ""; echo "TESTING:"; \ [2025-02-27T10:08:08.223Z] "C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun/jdkbinary/j2sdk-image\\bin\\java" -Xmx512m -jar "C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun/aqa-tests///..//jvmtest\\openjdk\\jtreg\\lib\\jtreg.jar" \ [2025-02-27T10:08:08.223Z] -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_rerun/jdkbinary/openjdk-test-image\\jdk\\jtreg\\native" -vmoptions:"-Xmx512m -XX:-UseCompressedOops " \ [2025-02-27T10:08:08.223Z] \ [2025-02-27T10:08:08.223Z] -w ""C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun/aqa-tests/\\TKG\\output_17406452356705\\jdk_security3_1"\\work" \ [2025-02-27T10:08:08.223Z] -r ""C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun/aqa-tests/\\TKG\\output_17406452356705\\jdk_security3_1"\\report" \ [2025-02-27T10:08:08.223Z] -jdk:"C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun/jdkbinary/j2sdk-image" \ [2025-02-27T10:08:08.223Z] -exclude:"C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun/aqa-tests/\\openjdk\\openjdk-jdk\\test\\jdk\\ProblemList.txt" \ [2025-02-27T10:08:08.223Z] -exclude:"C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun/aqa-tests///..//jvmtest\\openjdk\\excludes/ProblemList_openjdk21.txt" \ [2025-02-27T10:08:08.223Z] \ [2025-02-27T10:08:08.223Z] -exclude:"C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun/aqa-tests/\\openjdk\\excludes\\vendors\\eclipse\\ProblemList_openjdk21.txt" \ [2025-02-27T10:08:08.223Z] "C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun/aqa-tests/\\openjdk\\openjdk-jdk\\test\\jdk:jdk_security3"; \ [2025-02-27T10:08:08.223Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_security3_1""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun/aqa-tests/; else echo "-----------------------------------"; echo "jdk_security3_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-27T10:08:08.223Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-27T10:08:08.223Z] echo "Nothing to be done for teardown."; \ [2025-02-27T10:08:08.223Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun/aqa-tests/\\TKG\\output_17406452356705\\TestTargetResult"; [2025-02-27T10:08:08.223Z] [2025-02-27T10:08:08.223Z] TEST SETUP: [2025-02-27T10:08:08.223Z] Nothing to be done for setup. [2025-02-27T10:08:08.223Z] [2025-02-27T10:08:08.224Z] TESTING: [2025-02-27T10:08:08.224Z] Directory "C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work" not found: creating [2025-02-27T10:08:08.224Z] Directory "C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\report" not found: creating [2025-02-27T10:08:08.224Z] XML output with verification to C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work [2025-02-27T10:31:50.989Z] -------------------------------------------------- [2025-02-27T10:31:50.989Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java [2025-02-27T10:31:50.989Z] TEST JDK: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\jdkbinary\j2sdk-image [2025-02-27T10:31:50.989Z] [2025-02-27T10:31:50.989Z] ACTION: build -- Passed. Build successful [2025-02-27T10:31:50.989Z] REASON: Named class compiled on demand [2025-02-27T10:31:50.989Z] TIME: 0.078 seconds [2025-02-27T10:31:50.989Z] messages: [2025-02-27T10:31:50.989Z] command: build Camerfirma [2025-02-27T10:31:50.989Z] reason: Named class compiled on demand [2025-02-27T10:31:50.989Z] started: Thu Feb 27 10:31:44 UTC 2025 [2025-02-27T10:31:50.989Z] Test directory: [2025-02-27T10:31:50.989Z] compile: Camerfirma [2025-02-27T10:31:50.989Z] finished: Thu Feb 27 10:31:44 UTC 2025 [2025-02-27T10:31:50.989Z] elapsed time (seconds): 0.078 [2025-02-27T10:31:50.989Z] [2025-02-27T10:31:50.989Z] ACTION: compile -- Passed. Compilation successful [2025-02-27T10:31:50.989Z] REASON: .class file out of date or does not exist [2025-02-27T10:31:50.989Z] TIME: 0.078 seconds [2025-02-27T10:31:50.989Z] messages: [2025-02-27T10:31:50.989Z] command: compile C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.java [2025-02-27T10:31:50.989Z] reason: .class file out of date or does not exist [2025-02-27T10:31:50.989Z] started: Thu Feb 27 10:31:44 UTC 2025 [2025-02-27T10:31:50.989Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-27T10:31:50.989Z] Mode: agentvm [2025-02-27T10:31:50.989Z] Agent id: 3 [2025-02-27T10:31:50.989Z] finished: Thu Feb 27 10:31:44 UTC 2025 [2025-02-27T10:31:50.989Z] elapsed time (seconds): 0.078 [2025-02-27T10:31:50.989Z] configuration: [2025-02-27T10:31:50.989Z] Boot Layer (javac runtime environment) [2025-02-27T10:31:50.989Z] class path: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\jvmtest\openjdk\jtreg\lib\javatest.jar [2025-02-27T10:31:50.989Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\jvmtest\openjdk\jtreg\lib\jtreg.jar [2025-02-27T10:31:50.989Z] patch: java.base C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\patches\java.base [2025-02-27T10:31:50.989Z] [2025-02-27T10:31:50.989Z] javac compilation environment [2025-02-27T10:31:50.989Z] add modules: java.base [2025-02-27T10:31:50.989Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-27T10:31:50.989Z] source path: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust [2025-02-27T10:31:50.989Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\lib [2025-02-27T10:31:50.989Z] class path: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust [2025-02-27T10:31:50.989Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d [2025-02-27T10:31:50.989Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\2\test\lib [2025-02-27T10:31:50.989Z] [2025-02-27T10:31:50.989Z] rerun: [2025-02-27T10:31:50.989Z] cd 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\scratch\2' && \ [2025-02-27T10:31:50.989Z] PATH='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-11\bin;C:\apache-ant\apache-ant-1.10.15\bin;C:\Program Files (x86)\IncrediBuild;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\cygwin64\bin;C:\Users\jenkins\AppData\Local\Microsoft\WindowsApps' \ [2025-02-27T10:31:50.989Z] SystemDrive=C: \ [2025-02-27T10:31:50.989Z] SystemRoot='C:\Windows' \ [2025-02-27T10:31:50.989Z] TEMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-27T10:31:50.989Z] TMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-27T10:31:50.989Z] windir='C:\Windows' \ [2025-02-27T10:31:50.989Z] 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\jdkbinary\j2sdk-image\bin\javac' \ [2025-02-27T10:31:50.989Z] -J-ea \ [2025-02-27T10:31:50.989Z] -J-esa \ [2025-02-27T10:31:50.989Z] -J-Xmx512m \ [2025-02-27T10:31:50.989Z] -J-XX:-UseCompressedOops \ [2025-02-27T10:31:50.989Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-27T10:31:50.989Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-27T10:31:50.989Z] -J-Dtest.compiler.opts= \ [2025-02-27T10:31:50.989Z] -J-Dtest.java.opts= \ [2025-02-27T10:31:50.989Z] -J-Dtest.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\jdkbinary\j2sdk-image' \ [2025-02-27T10:31:50.989Z] -J-Dcompile.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\jdkbinary\j2sdk-image' \ [2025-02-27T10:31:50.989Z] -J-Dtest.timeout.factor=8.0 \ [2025-02-27T10:31:50.989Z] -J-Dtest.nativepath='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-27T10:31:50.989Z] -J-Dtest.root='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-02-27T10:31:50.989Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-27T10:31:50.989Z] -J-Dtest.file='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.java' \ [2025-02-27T10:31:50.989Z] -J-Dtest.src='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust' \ [2025-02-27T10:31:50.989Z] -J-Dtest.src.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-27T10:31:50.989Z] -J-Dtest.classes='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d' \ [2025-02-27T10:31:50.990Z] -J-Dtest.class.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\2\test\lib' \ [2025-02-27T10:31:50.990Z] -J-Dtest.class.path.prefix='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\2\test\lib' \ [2025-02-27T10:31:50.990Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-27T10:31:50.990Z] --add-modules java.base \ [2025-02-27T10:31:50.990Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-27T10:31:50.990Z] -d 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d' \ [2025-02-27T10:31:50.990Z] -sourcepath 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-27T10:31:50.990Z] -classpath 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\2\test\lib' 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.java' [2025-02-27T10:31:50.990Z] direct: [2025-02-27T10:31:50.990Z] Note: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java uses or overrides a deprecated API. [2025-02-27T10:31:50.990Z] Note: Recompile with -Xlint:deprecation for details. [2025-02-27T10:31:50.990Z] Note: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java uses unchecked or unsafe operations. [2025-02-27T10:31:50.990Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-27T10:31:50.990Z] [2025-02-27T10:31:50.990Z] 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-27T10:31:50.990Z] REASON: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-02-27T10:31:50.990Z] TIME: 0.938 seconds [2025-02-27T10:31:50.990Z] messages: [2025-02-27T10:31:50.990Z] command: main Camerfirma after policyOn invalid [2025-02-27T10:31:50.990Z] reason: User specified action: run main/othervm Camerfirma after policyOn invalid [2025-02-27T10:31:50.990Z] started: Thu Feb 27 10:31:44 UTC 2025 [2025-02-27T10:31:50.990Z] Mode: othervm [/othervm specified] [2025-02-27T10:31:50.990Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-27T10:31:50.990Z] finished: Thu Feb 27 10:31:45 UTC 2025 [2025-02-27T10:31:50.990Z] elapsed time (seconds): 0.938 [2025-02-27T10:31:50.990Z] configuration: [2025-02-27T10:31:50.990Z] Boot Layer [2025-02-27T10:31:50.990Z] add modules: java.base [2025-02-27T10:31:50.990Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-27T10:31:50.990Z] [2025-02-27T10:31:50.990Z] STDOUT: [2025-02-27T10:31:50.990Z] STDERR: [2025-02-27T10:31:50.990Z] Testing camerfirmachamberscommerceca [2025-02-27T10:31:50.990Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T10:31:50.990Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:388) [2025-02-27T10:31:50.990Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:271) [2025-02-27T10:31:50.990Z] at java.base/sun.security.validator.Validator.validate(Validator.java:256) [2025-02-27T10:31:50.990Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:241) [2025-02-27T10:31:50.990Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113) [2025-02-27T10:31:50.990Z] at Distrust.testTM(Distrust.java:125) [2025-02-27T10:31:50.990Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-27T10:31:50.990Z] at Camerfirma.main(Camerfirma.java:73) [2025-02-27T10:31:50.990Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-27T10:31:50.990Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-27T10:31:50.990Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-27T10:31:50.990Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-27T10:31:50.990Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T10:31:50.990Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-02-27T10:31:50.990Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-02-27T10:31:50.990Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-02-27T10:31:50.990Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:383) [2025-02-27T10:31:50.990Z] ... 11 more [2025-02-27T10:31:50.990Z] 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-27T10:31:50.990Z] at Distrust.testTM(Distrust.java:138) [2025-02-27T10:31:50.990Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-27T10:31:50.990Z] at Camerfirma.main(Camerfirma.java:73) [2025-02-27T10:31:50.990Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-27T10:31:50.990Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-27T10:31:50.990Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-27T10:31:50.990Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-27T10:31:50.990Z] [2025-02-27T10:31:50.990Z] 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-27T10:31:50.990Z] JavaTest Message: shutting down test [2025-02-27T10:31:50.990Z] [2025-02-27T10:31:50.990Z] 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-27T10:31:50.990Z] rerun: [2025-02-27T10:31:50.990Z] cd 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\scratch\2' && \ [2025-02-27T10:31:50.990Z] PATH='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-11\bin;C:\apache-ant\apache-ant-1.10.15\bin;C:\Program Files (x86)\IncrediBuild;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\cygwin64\bin;C:\Users\jenkins\AppData\Local\Microsoft\WindowsApps' \ [2025-02-27T10:31:50.990Z] SystemDrive=C: \ [2025-02-27T10:31:50.990Z] SystemRoot='C:\Windows' \ [2025-02-27T10:31:50.990Z] TEMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-27T10:31:50.990Z] TMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-27T10:31:50.990Z] windir='C:\Windows' \ [2025-02-27T10:31:50.990Z] CLASSPATH='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\2\test\lib;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\lib;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\jvmtest\openjdk\jtreg\lib\javatest.jar;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\jvmtest\openjdk\jtreg\lib\jtreg.jar' \ [2025-02-27T10:31:50.990Z] 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\jdkbinary\j2sdk-image\bin\java' \ [2025-02-27T10:31:50.990Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-27T10:31:50.990Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-27T10:31:50.990Z] -Dtest.compiler.opts= \ [2025-02-27T10:31:50.990Z] -Dtest.java.opts= \ [2025-02-27T10:31:50.990Z] -Dtest.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\jdkbinary\j2sdk-image' \ [2025-02-27T10:31:50.990Z] -Dcompile.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\jdkbinary\j2sdk-image' \ [2025-02-27T10:31:50.990Z] -Dtest.timeout.factor=8.0 \ [2025-02-27T10:31:50.990Z] -Dtest.nativepath='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-27T10:31:50.990Z] -Dtest.root='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-02-27T10:31:50.990Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Camerfirma.java \ [2025-02-27T10:31:50.990Z] -Dtest.file='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.java' \ [2025-02-27T10:31:50.990Z] -Dtest.src='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust' \ [2025-02-27T10:31:50.990Z] -Dtest.src.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-27T10:31:50.990Z] -Dtest.classes='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d' \ [2025-02-27T10:31:50.990Z] -Dtest.class.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\2\test\lib' \ [2025-02-27T10:31:50.990Z] -Dtest.class.path.prefix='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\2\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\2\test\lib' \ [2025-02-27T10:31:50.990Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-27T10:31:50.990Z] --add-modules java.base \ [2025-02-27T10:31:50.990Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-27T10:31:50.990Z] -ea \ [2025-02-27T10:31:50.990Z] -esa \ [2025-02-27T10:31:50.990Z] -Xmx512m \ [2025-02-27T10:31:50.990Z] -XX:-UseCompressedOops \ [2025-02-27T10:31:50.990Z] '-Djava.library.path=C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-27T10:31:50.990Z] com.sun.javatest.regtest.agent.MainWrapper 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\sun\security\ssl\X509TrustManagerImpl\distrust\Camerfirma.d\main.0.jta' after policyOn invalid [2025-02-27T10:31:50.990Z] [2025-02-27T10:31:50.990Z] 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-27T10:31:50.990Z] -------------------------------------------------- [2025-02-27T10:31:50.990Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java [2025-02-27T10:31:50.990Z] TEST JDK: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\jdkbinary\j2sdk-image [2025-02-27T10:31:50.990Z] [2025-02-27T10:31:50.990Z] ACTION: build -- Passed. Build successful [2025-02-27T10:31:50.990Z] REASON: Named class compiled on demand [2025-02-27T10:31:50.990Z] TIME: 0.125 seconds [2025-02-27T10:31:50.990Z] messages: [2025-02-27T10:31:50.990Z] command: build Entrust [2025-02-27T10:31:50.990Z] reason: Named class compiled on demand [2025-02-27T10:31:50.990Z] started: Thu Feb 27 10:31:45 UTC 2025 [2025-02-27T10:31:50.990Z] Test directory: [2025-02-27T10:31:50.990Z] compile: Entrust [2025-02-27T10:31:50.990Z] finished: Thu Feb 27 10:31:45 UTC 2025 [2025-02-27T10:31:50.990Z] elapsed time (seconds): 0.125 [2025-02-27T10:31:50.990Z] [2025-02-27T10:31:50.990Z] ACTION: compile -- Passed. Compilation successful [2025-02-27T10:31:50.990Z] REASON: .class file out of date or does not exist [2025-02-27T10:31:50.990Z] TIME: 0.125 seconds [2025-02-27T10:31:50.990Z] messages: [2025-02-27T10:31:50.990Z] command: compile C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.java [2025-02-27T10:31:50.990Z] reason: .class file out of date or does not exist [2025-02-27T10:31:50.990Z] started: Thu Feb 27 10:31:45 UTC 2025 [2025-02-27T10:31:50.990Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-27T10:31:50.990Z] Mode: agentvm [2025-02-27T10:31:50.990Z] Agent id: 2 [2025-02-27T10:31:50.990Z] finished: Thu Feb 27 10:31:45 UTC 2025 [2025-02-27T10:31:50.990Z] elapsed time (seconds): 0.125 [2025-02-27T10:31:50.990Z] configuration: [2025-02-27T10:31:50.990Z] Boot Layer (javac runtime environment) [2025-02-27T10:31:50.990Z] class path: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\jvmtest\openjdk\jtreg\lib\javatest.jar [2025-02-27T10:31:50.990Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\jvmtest\openjdk\jtreg\lib\jtreg.jar [2025-02-27T10:31:50.990Z] patch: java.base C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\patches\java.base [2025-02-27T10:31:50.990Z] [2025-02-27T10:31:50.990Z] javac compilation environment [2025-02-27T10:31:50.990Z] add modules: java.base [2025-02-27T10:31:50.990Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-27T10:31:50.990Z] source path: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust [2025-02-27T10:31:50.990Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\lib [2025-02-27T10:31:50.990Z] class path: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust [2025-02-27T10:31:50.990Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d [2025-02-27T10:31:50.990Z] C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\1\test\lib [2025-02-27T10:31:50.990Z] [2025-02-27T10:31:50.990Z] rerun: [2025-02-27T10:31:50.990Z] cd 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\scratch\1' && \ [2025-02-27T10:31:50.990Z] PATH='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-11\bin;C:\apache-ant\apache-ant-1.10.15\bin;C:\Program Files (x86)\IncrediBuild;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\cygwin64\bin;C:\Users\jenkins\AppData\Local\Microsoft\WindowsApps' \ [2025-02-27T10:31:50.990Z] SystemDrive=C: \ [2025-02-27T10:31:50.990Z] SystemRoot='C:\Windows' \ [2025-02-27T10:31:50.990Z] TEMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-27T10:31:50.990Z] TMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-27T10:31:50.990Z] windir='C:\Windows' \ [2025-02-27T10:31:50.990Z] 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\jdkbinary\j2sdk-image\bin\javac' \ [2025-02-27T10:31:50.990Z] -J-ea \ [2025-02-27T10:31:50.990Z] -J-esa \ [2025-02-27T10:31:50.990Z] -J-Xmx512m \ [2025-02-27T10:31:50.990Z] -J-XX:-UseCompressedOops \ [2025-02-27T10:31:50.990Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-27T10:31:50.990Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-27T10:31:50.990Z] -J-Dtest.compiler.opts= \ [2025-02-27T10:31:50.990Z] -J-Dtest.java.opts= \ [2025-02-27T10:31:50.990Z] -J-Dtest.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\jdkbinary\j2sdk-image' \ [2025-02-27T10:31:50.990Z] -J-Dcompile.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\jdkbinary\j2sdk-image' \ [2025-02-27T10:31:50.990Z] -J-Dtest.timeout.factor=8.0 \ [2025-02-27T10:31:50.990Z] -J-Dtest.nativepath='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-27T10:31:50.990Z] -J-Dtest.root='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-02-27T10:31:50.990Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-27T10:31:50.990Z] -J-Dtest.file='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.java' \ [2025-02-27T10:31:50.990Z] -J-Dtest.src='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust' \ [2025-02-27T10:31:50.990Z] -J-Dtest.src.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-27T10:31:50.990Z] -J-Dtest.classes='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d' \ [2025-02-27T10:31:50.990Z] -J-Dtest.class.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\1\test\lib' \ [2025-02-27T10:31:50.990Z] -J-Dtest.class.path.prefix='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\1\test\lib' \ [2025-02-27T10:31:50.990Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-27T10:31:50.990Z] --add-modules java.base \ [2025-02-27T10:31:50.990Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-27T10:31:50.990Z] -d 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d' \ [2025-02-27T10:31:50.990Z] -sourcepath 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-27T10:31:50.990Z] -classpath 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\1\test\lib' 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.java' [2025-02-27T10:31:50.990Z] direct: [2025-02-27T10:31:50.990Z] Note: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java uses or overrides a deprecated API. [2025-02-27T10:31:50.990Z] Note: Recompile with -Xlint:deprecation for details. [2025-02-27T10:31:50.990Z] Note: C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Distrust.java uses unchecked or unsafe operations. [2025-02-27T10:31:50.990Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-27T10:31:50.990Z] [2025-02-27T10:31:50.990Z] 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-27T10:31:50.990Z] REASON: User specified action: run main/othervm Entrust after policyOn invalid [2025-02-27T10:31:50.990Z] TIME: 1.527 seconds [2025-02-27T10:31:50.990Z] messages: [2025-02-27T10:31:50.990Z] command: main Entrust after policyOn invalid [2025-02-27T10:31:50.990Z] reason: User specified action: run main/othervm Entrust after policyOn invalid [2025-02-27T10:31:50.990Z] started: Thu Feb 27 10:31:45 UTC 2025 [2025-02-27T10:31:50.990Z] Mode: othervm [/othervm specified] [2025-02-27T10:31:50.990Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-27T10:31:50.990Z] finished: Thu Feb 27 10:31:46 UTC 2025 [2025-02-27T10:31:50.990Z] elapsed time (seconds): 1.527 [2025-02-27T10:31:50.990Z] configuration: [2025-02-27T10:31:50.990Z] Boot Layer [2025-02-27T10:31:50.990Z] add modules: java.base [2025-02-27T10:31:50.990Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-27T10:31:50.990Z] [2025-02-27T10:31:50.990Z] STDOUT: [2025-02-27T10:31:50.990Z] STDERR: [2025-02-27T10:31:50.990Z] Testing entrustevca [2025-02-27T10:31:50.990Z] Testing entrustrootcaec1 [2025-02-27T10:31:50.990Z] Testing entrustrootcag2 [2025-02-27T10:31:50.990Z] Testing entrustrootcag4 [2025-02-27T10:31:50.990Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T10:31:50.990Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:388) [2025-02-27T10:31:50.990Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:271) [2025-02-27T10:31:50.990Z] at java.base/sun.security.validator.Validator.validate(Validator.java:256) [2025-02-27T10:31:50.990Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:241) [2025-02-27T10:31:50.991Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113) [2025-02-27T10:31:50.991Z] at Distrust.testTM(Distrust.java:125) [2025-02-27T10:31:50.991Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-27T10:31:50.991Z] at Entrust.main(Entrust.java:66) [2025-02-27T10:31:50.991Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-27T10:31:50.991Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-27T10:31:50.991Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-27T10:31:50.991Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-27T10:31:50.991Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-27T10:31:50.991Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-02-27T10:31:50.991Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-02-27T10:31:50.991Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-02-27T10:31:50.991Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:383) [2025-02-27T10:31:50.991Z] ... 11 more [2025-02-27T10:31:50.991Z] 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-27T10:31:50.991Z] at Distrust.testTM(Distrust.java:138) [2025-02-27T10:31:50.991Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-27T10:31:50.991Z] at Entrust.main(Entrust.java:66) [2025-02-27T10:31:50.991Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [2025-02-27T10:31:50.991Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [2025-02-27T10:31:50.991Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-27T10:31:50.991Z] at java.base/java.lang.Thread.run(Thread.java:1583) [2025-02-27T10:31:50.991Z] [2025-02-27T10:31:50.991Z] 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-27T10:31:50.991Z] JavaTest Message: shutting down test [2025-02-27T10:31:50.991Z] [2025-02-27T10:31:50.991Z] 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-27T10:31:50.991Z] rerun: [2025-02-27T10:31:50.991Z] cd 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\scratch\1' && \ [2025-02-27T10:31:50.991Z] PATH='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-11\bin;C:\apache-ant\apache-ant-1.10.15\bin;C:\Program Files (x86)\IncrediBuild;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\cygwin64\bin;C:\Users\jenkins\AppData\Local\Microsoft\WindowsApps' \ [2025-02-27T10:31:50.991Z] SystemDrive=C: \ [2025-02-27T10:31:50.991Z] SystemRoot='C:\Windows' \ [2025-02-27T10:31:50.991Z] TEMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-27T10:31:50.991Z] TMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-02-27T10:31:50.991Z] windir='C:\Windows' \ [2025-02-27T10:31:50.991Z] CLASSPATH='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\1\test\lib;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\lib;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\jvmtest\openjdk\jtreg\lib\javatest.jar;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\jvmtest\openjdk\jtreg\lib\jtreg.jar' \ [2025-02-27T10:31:50.991Z] 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\jdkbinary\j2sdk-image\bin\java' \ [2025-02-27T10:31:50.991Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-02-27T10:31:50.991Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-02-27T10:31:50.991Z] -Dtest.compiler.opts= \ [2025-02-27T10:31:50.991Z] -Dtest.java.opts= \ [2025-02-27T10:31:50.991Z] -Dtest.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\jdkbinary\j2sdk-image' \ [2025-02-27T10:31:50.991Z] -Dcompile.jdk='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\jdkbinary\j2sdk-image' \ [2025-02-27T10:31:50.991Z] -Dtest.timeout.factor=8.0 \ [2025-02-27T10:31:50.991Z] -Dtest.nativepath='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-27T10:31:50.991Z] -Dtest.root='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-02-27T10:31:50.991Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-27T10:31:50.991Z] -Dtest.file='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.java' \ [2025-02-27T10:31:50.991Z] -Dtest.src='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust' \ [2025-02-27T10:31:50.991Z] -Dtest.src.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-02-27T10:31:50.991Z] -Dtest.classes='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d' \ [2025-02-27T10:31:50.991Z] -Dtest.class.path='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\1\test\lib' \ [2025-02-27T10:31:50.991Z] -Dtest.class.path.prefix='C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\1\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\security\ssl\X509TrustManagerImpl\distrust;C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\classes\1\test\lib' \ [2025-02-27T10:31:50.991Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-27T10:31:50.991Z] --add-modules java.base \ [2025-02-27T10:31:50.991Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-27T10:31:50.991Z] -ea \ [2025-02-27T10:31:50.991Z] -esa \ [2025-02-27T10:31:50.991Z] -Xmx512m \ [2025-02-27T10:31:50.991Z] -XX:-UseCompressedOops \ [2025-02-27T10:31:50.991Z] '-Djava.library.path=C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-02-27T10:31:50.991Z] com.sun.javatest.regtest.agent.MainWrapper 'C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work\sun\security\ssl\X509TrustManagerImpl\distrust\Entrust.d\main.0.jta' after policyOn invalid [2025-02-27T10:31:50.991Z] [2025-02-27T10:31:50.991Z] 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-27T10:31:50.991Z] -------------------------------------------------- [2025-02-27T10:49:33.784Z] Test results: passed: 966; failed: 2 [2025-02-27T10:49:46.499Z] Report written to C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\report\html\report.html [2025-02-27T10:49:46.499Z] Results written to C:\Users\jenkins\workspace\Test_openjdk21_hs_extended.openjdk_aarch64_windows_rerun\aqa-tests\TKG\output_17406452356705\jdk_security3_1\work [2025-02-27T10:49:46.499Z] Error: Some tests failed or other problems occurred. [2025-02-27T10:49:46.797Z] ----------------------------------- [2025-02-27T10:49:46.797Z] jdk_security3_1_FAILED [2025-02-27T10:49:46.797Z] ----------------------------------- [2025-02-27T10:49:46.797Z] [2025-02-27T10:49:46.797Z] TEST TEARDOWN: [2025-02-27T10:49:46.797Z] Nothing to be done for teardown. [2025-02-27T10:49:47.132Z] jdk_security3_1 Finish Time: Thu Feb 27 10:49:46 2025 Epoch Time (ms): 1740653386801