jdk_custom_0

[2025-02-06T08:07:22.839Z] Running test jdk_custom_0 ... [2025-02-06T08:07:22.839Z] =============================================== [2025-02-06T08:07:22.839Z] jdk_custom_0 Start Time: Thu Feb 6 02:07:21 2025 Epoch Time (ms): 1738829241865 [2025-02-06T08:07:22.839Z] variation: NoOptions [2025-02-06T08:07:22.839Z] JVM_OPTIONS: [2025-02-06T08:07:22.839Z] { \ [2025-02-06T08:07:22.839Z] echo ""; echo "TEST SETUP:"; \ [2025-02-06T08:07:22.839Z] echo "Nothing to be done for setup."; \ [2025-02-06T08:07:22.839Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/../TKG/output_17388292417556/jdk_custom_0"; \ [2025-02-06T08:07:22.839Z] cd "/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/../TKG/output_17388292417556/jdk_custom_0"; \ [2025-02-06T08:07:22.839Z] echo ""; echo "TESTING:"; \ [2025-02-06T08:07:22.839Z] "/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java" -Xmx512m -jar "/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/../../jvmtest/openjdk/jtreg/lib/jtreg.jar" \ [2025-02-06T08:07:22.839Z] -agentvm -a -ea -esa -v:fail,error,time,nopass -retain:fail,error,*.dmp,javacore.*,heapdump.*,*.trc -ignore:quiet -timeoutFactor:8 -xml:verify -concurrency:2 -nativepath:"/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native" -vmoptions:"-Xmx512m " \ [2025-02-06T08:07:22.839Z] \ [2025-02-06T08:07:22.839Z] -w ""/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/../TKG/output_17388292417556/jdk_custom_0"/work" \ [2025-02-06T08:07:22.839Z] -r ""/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/../TKG/output_17388292417556/jdk_custom_0"/report" \ [2025-02-06T08:07:22.839Z] -jdk:"/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/../" \ [2025-02-06T08:07:22.839Z] /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/../openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.java; \ [2025-02-06T08:07:22.839Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_custom_0""_PASSED"; echo "-----------------------------------"; cd /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/..; else echo "-----------------------------------"; echo "jdk_custom_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-06T08:07:22.839Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-06T08:07:22.839Z] echo "Nothing to be done for teardown."; \ [2025-02-06T08:07:22.839Z] } 2>&1 | tee -a "/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/../TKG/output_17388292417556/TestTargetResult"; [2025-02-06T08:07:22.839Z] [2025-02-06T08:07:22.839Z] TEST SETUP: [2025-02-06T08:07:22.839Z] Nothing to be done for setup. [2025-02-06T08:07:22.839Z] [2025-02-06T08:07:22.839Z] TESTING: [2025-02-06T08:07:22.839Z] Directory "/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/../TKG/output_17388292417556/jdk_custom_0/work" not found: creating [2025-02-06T08:07:22.839Z] Directory "/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/../TKG/output_17388292417556/jdk_custom_0/report" not found: creating [2025-02-06T08:07:25.406Z] XML output with verification to /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388292417556/jdk_custom_0/work [2025-02-06T08:07:28.118Z] -------------------------------------------------- [2025-02-06T08:07:28.118Z] TEST: sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.java [2025-02-06T08:07:28.118Z] TEST JDK: /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/.. [2025-02-06T08:07:28.118Z] [2025-02-06T08:07:28.118Z] ACTION: build -- Passed. Build successful [2025-02-06T08:07:28.118Z] REASON: Named class compiled on demand [2025-02-06T08:07:28.118Z] TIME: 1.034 seconds [2025-02-06T08:07:28.118Z] messages: [2025-02-06T08:07:28.118Z] command: build Distrust [2025-02-06T08:07:28.118Z] reason: Named class compiled on demand [2025-02-06T08:07:28.118Z] started: Thu Feb 06 02:07:25 CST 2025 [2025-02-06T08:07:28.118Z] Test directory: [2025-02-06T08:07:28.118Z] compile: Distrust [2025-02-06T08:07:28.118Z] finished: Thu Feb 06 02:07:26 CST 2025 [2025-02-06T08:07:28.118Z] elapsed time (seconds): 1.034 [2025-02-06T08:07:28.118Z] [2025-02-06T08:07:28.118Z] ACTION: compile -- Passed. Compilation successful [2025-02-06T08:07:28.118Z] REASON: .class file out of date or does not exist [2025-02-06T08:07:28.118Z] TIME: 1.024 seconds [2025-02-06T08:07:28.118Z] messages: [2025-02-06T08:07:28.118Z] command: compile /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.java [2025-02-06T08:07:28.118Z] reason: .class file out of date or does not exist [2025-02-06T08:07:28.118Z] started: Thu Feb 06 02:07:25 CST 2025 [2025-02-06T08:07:28.118Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-06T08:07:28.118Z] Mode: agentvm [2025-02-06T08:07:28.118Z] Agent id: 1 [2025-02-06T08:07:28.118Z] finished: Thu Feb 06 02:07:26 CST 2025 [2025-02-06T08:07:28.118Z] elapsed time (seconds): 1.024 [2025-02-06T08:07:28.118Z] configuration: [2025-02-06T08:07:28.118Z] Boot Layer (javac runtime environment) [2025-02-06T08:07:28.118Z] class path: /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-02-06T08:07:28.118Z] /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-02-06T08:07:28.118Z] patch: java.base /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388292417556/jdk_custom_0/work/patches/java.base [2025-02-06T08:07:28.118Z] [2025-02-06T08:07:28.118Z] javac compilation environment [2025-02-06T08:07:28.118Z] add modules: java.base [2025-02-06T08:07:28.118Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-06T08:07:28.118Z] source path: /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/Entrust [2025-02-06T08:07:28.118Z] /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib [2025-02-06T08:07:28.118Z] class path: /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/Entrust [2025-02-06T08:07:28.118Z] /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388292417556/jdk_custom_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.d [2025-02-06T08:07:28.118Z] /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388292417556/jdk_custom_0/work/classes/0/test/lib [2025-02-06T08:07:28.118Z] [2025-02-06T08:07:28.118Z] rerun: [2025-02-06T08:07:28.118Z] cd /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388292417556/jdk_custom_0/work/scratch/0 && \ [2025-02-06T08:07:28.118Z] HOME=/Users/jenkins \ [2025-02-06T08:07:28.118Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-06T08:07:28.118Z] /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/../bin/javac \ [2025-02-06T08:07:28.118Z] -J-ea \ [2025-02-06T08:07:28.118Z] -J-esa \ [2025-02-06T08:07:28.118Z] -J-Xmx512m \ [2025-02-06T08:07:28.118Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m' \ [2025-02-06T08:07:28.119Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \ [2025-02-06T08:07:28.119Z] -J-Dtest.compiler.opts= \ [2025-02-06T08:07:28.119Z] -J-Dtest.java.opts= \ [2025-02-06T08:07:28.119Z] -J-Dtest.jdk=/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/.. \ [2025-02-06T08:07:28.119Z] -J-Dcompile.jdk=/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/.. \ [2025-02-06T08:07:28.119Z] -J-Dtest.timeout.factor=8.0 \ [2025-02-06T08:07:28.119Z] -J-Dtest.nativepath=/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-06T08:07:28.119Z] -J-Dtest.root=/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-06T08:07:28.119Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.java \ [2025-02-06T08:07:28.119Z] -J-Dtest.file=/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.java \ [2025-02-06T08:07:28.119Z] -J-Dtest.src=/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/Entrust \ [2025-02-06T08:07:28.119Z] -J-Dtest.src.path=/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/Entrust:/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-06T08:07:28.119Z] -J-Dtest.classes=/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388292417556/jdk_custom_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.d \ [2025-02-06T08:07:28.119Z] -J-Dtest.class.path=/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388292417556/jdk_custom_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.d:/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388292417556/jdk_custom_0/work/classes/0/test/lib \ [2025-02-06T08:07:28.119Z] -J-Dtest.class.path.prefix=/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388292417556/jdk_custom_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.d:/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/Entrust:/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388292417556/jdk_custom_0/work/classes/0/test/lib \ [2025-02-06T08:07:28.119Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-06T08:07:28.119Z] --add-modules java.base \ [2025-02-06T08:07:28.119Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-06T08:07:28.119Z] -d /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388292417556/jdk_custom_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.d \ [2025-02-06T08:07:28.119Z] -sourcepath /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/Entrust:/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-06T08:07:28.119Z] -classpath /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/Entrust:/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388292417556/jdk_custom_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.d:/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388292417556/jdk_custom_0/work/classes/0/test/lib /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.java [2025-02-06T08:07:28.119Z] direct: [2025-02-06T08:07:28.119Z] /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.java:31: warning: Validator is internal proprietary API and may be removed in a future release [2025-02-06T08:07:28.119Z] import sun.security.validator.Validator; [2025-02-06T08:07:28.119Z] ^ [2025-02-06T08:07:28.119Z] /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.java:32: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-06T08:07:28.119Z] import sun.security.validator.ValidatorException; [2025-02-06T08:07:28.119Z] ^ [2025-02-06T08:07:28.119Z] /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.java:148: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-06T08:07:28.119Z] if (ce instanceof ValidatorException) { [2025-02-06T08:07:28.119Z] ^ [2025-02-06T08:07:28.119Z] /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.java:149: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-06T08:07:28.119Z] ValidatorException ve = (ValidatorException)ce; [2025-02-06T08:07:28.119Z] ^ [2025-02-06T08:07:28.119Z] /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.java:149: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-06T08:07:28.119Z] ValidatorException ve = (ValidatorException)ce; [2025-02-06T08:07:28.119Z] ^ [2025-02-06T08:07:28.119Z] /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.java:150: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-02-06T08:07:28.119Z] if (ve.getErrorType() != ValidatorException.T_UNTRUSTED_CERT) { [2025-02-06T08:07:28.119Z] ^ [2025-02-06T08:07:28.119Z] Note: /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.java uses unchecked or unsafe operations. [2025-02-06T08:07:28.119Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-06T08:07:28.119Z] 6 warnings [2025-02-06T08:07:28.119Z] [2025-02-06T08:07:28.119Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.Exception: Unexpected exception: sun.security.validator.ValidatorException: No trusted certificate found [2025-02-06T08:07:28.119Z] REASON: User specified action: run main/othervm Distrust after policyOn invalid [2025-02-06T08:07:28.119Z] TIME: 0.558 seconds [2025-02-06T08:07:28.119Z] messages: [2025-02-06T08:07:28.119Z] command: main Distrust after policyOn invalid [2025-02-06T08:07:28.119Z] reason: User specified action: run main/othervm Distrust after policyOn invalid [2025-02-06T08:07:28.119Z] started: Thu Feb 06 02:07:26 CST 2025 [2025-02-06T08:07:28.119Z] Mode: othervm [/othervm specified] [2025-02-06T08:07:28.119Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-06T08:07:28.119Z] finished: Thu Feb 06 02:07:27 CST 2025 [2025-02-06T08:07:28.119Z] elapsed time (seconds): 0.558 [2025-02-06T08:07:28.119Z] configuration: [2025-02-06T08:07:28.119Z] Boot Layer [2025-02-06T08:07:28.119Z] add modules: java.base [2025-02-06T08:07:28.119Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-06T08:07:28.119Z] [2025-02-06T08:07:28.119Z] STDOUT: [2025-02-06T08:07:28.119Z] STDERR: [2025-02-06T08:07:28.119Z] Testing entrustevca [2025-02-06T08:07:28.119Z] Testing entrustrootcaec1 [2025-02-06T08:07:28.119Z] Testing entrustrootcag2 [2025-02-06T08:07:28.119Z] Testing entrustrootcag4 [2025-02-06T08:07:28.120Z] sun.security.validator.ValidatorException: No trusted certificate found [2025-02-06T08:07:28.120Z] at java.base/sun.security.validator.SimpleValidator.buildTrustedChain(SimpleValidator.java:416) [2025-02-06T08:07:28.120Z] at java.base/sun.security.validator.SimpleValidator.engineValidate(SimpleValidator.java:140) [2025-02-06T08:07:28.120Z] at java.base/sun.security.validator.Validator.validate(Validator.java:264) [2025-02-06T08:07:28.120Z] at java.base/sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:313) [2025-02-06T08:07:28.120Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:233) [2025-02-06T08:07:28.120Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:110) [2025-02-06T08:07:28.120Z] at Distrust.testTM(Distrust.java:134) [2025-02-06T08:07:28.120Z] at Distrust.main(Distrust.java:95) [2025-02-06T08:07:28.120Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-02-06T08:07:28.120Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-02-06T08:07:28.120Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-02-06T08:07:28.120Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2025-02-06T08:07:28.120Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-06T08:07:28.120Z] at java.base/java.lang.Thread.run(Thread.java:829) [2025-02-06T08:07:28.120Z] java.lang.Exception: Unexpected exception: sun.security.validator.ValidatorException: No trusted certificate found [2025-02-06T08:07:28.120Z] at Distrust.testTM(Distrust.java:152) [2025-02-06T08:07:28.120Z] at Distrust.main(Distrust.java:95) [2025-02-06T08:07:28.120Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-02-06T08:07:28.120Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-02-06T08:07:28.120Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-02-06T08:07:28.120Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2025-02-06T08:07:28.120Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-06T08:07:28.120Z] at java.base/java.lang.Thread.run(Thread.java:829) [2025-02-06T08:07:28.120Z] [2025-02-06T08:07:28.120Z] JavaTest Message: Test threw exception: java.lang.Exception: Unexpected exception: sun.security.validator.ValidatorException: No trusted certificate found [2025-02-06T08:07:28.120Z] JavaTest Message: shutting down test [2025-02-06T08:07:28.120Z] [2025-02-06T08:07:28.120Z] STATUS:Failed.`main' threw exception: java.lang.Exception: Unexpected exception: sun.security.validator.ValidatorException: No trusted certificate found [2025-02-06T08:07:28.120Z] rerun: [2025-02-06T08:07:28.120Z] cd /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388292417556/jdk_custom_0/work/scratch/0 && \ [2025-02-06T08:07:28.120Z] HOME=/Users/jenkins \ [2025-02-06T08:07:28.120Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-06T08:07:28.120Z] CLASSPATH=/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388292417556/jdk_custom_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.d:/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/Entrust:/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388292417556/jdk_custom_0/work/classes/0/test/lib:/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib:/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar:/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-02-06T08:07:28.120Z] /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/../bin/java \ [2025-02-06T08:07:28.120Z] -Dtest.vm.opts='-ea -esa -Xmx512m' \ [2025-02-06T08:07:28.120Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \ [2025-02-06T08:07:28.120Z] -Dtest.compiler.opts= \ [2025-02-06T08:07:28.120Z] -Dtest.java.opts= \ [2025-02-06T08:07:28.120Z] -Dtest.jdk=/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/.. \ [2025-02-06T08:07:28.120Z] -Dcompile.jdk=/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/.. \ [2025-02-06T08:07:28.120Z] -Dtest.timeout.factor=8.0 \ [2025-02-06T08:07:28.120Z] -Dtest.nativepath=/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-06T08:07:28.120Z] -Dtest.root=/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-06T08:07:28.120Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.java \ [2025-02-06T08:07:28.120Z] -Dtest.file=/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.java \ [2025-02-06T08:07:28.120Z] -Dtest.src=/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/Entrust \ [2025-02-06T08:07:28.120Z] -Dtest.src.path=/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/Entrust:/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-06T08:07:28.120Z] -Dtest.classes=/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388292417556/jdk_custom_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.d \ [2025-02-06T08:07:28.120Z] -Dtest.class.path=/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388292417556/jdk_custom_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.d:/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388292417556/jdk_custom_0/work/classes/0/test/lib \ [2025-02-06T08:07:28.120Z] -Dtest.class.path.prefix=/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388292417556/jdk_custom_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.d:/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/Entrust:/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388292417556/jdk_custom_0/work/classes/0/test/lib \ [2025-02-06T08:07:28.120Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-06T08:07:28.120Z] --add-modules java.base \ [2025-02-06T08:07:28.120Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-06T08:07:28.120Z] -ea \ [2025-02-06T08:07:28.120Z] -esa \ [2025-02-06T08:07:28.120Z] -Xmx512m \ [2025-02-06T08:07:28.120Z] -Djava.library.path=/Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-06T08:07:28.120Z] com.sun.javatest.regtest.agent.MainWrapper /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388292417556/jdk_custom_0/work/sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.d/main.0.jta after policyOn invalid [2025-02-06T08:07:28.120Z] [2025-02-06T08:07:28.120Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.Exception: Unexpected exception: sun.security.validator.ValidatorException: No trusted certificate found [2025-02-06T08:07:28.120Z] -------------------------------------------------- [2025-02-06T08:07:28.120Z] Test results: failed: 1 [2025-02-06T08:07:36.653Z] Report written to /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388292417556/jdk_custom_0/report/html/report.html [2025-02-06T08:07:36.654Z] Results written to /Users/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388292417556/jdk_custom_0/work [2025-02-06T08:07:36.654Z] Error: Some tests failed or other problems occurred. [2025-02-06T08:07:36.654Z] ----------------------------------- [2025-02-06T08:07:36.654Z] jdk_custom_0_FAILED [2025-02-06T08:07:36.654Z] ----------------------------------- [2025-02-06T08:07:36.654Z] [2025-02-06T08:07:36.654Z] TEST TEARDOWN: [2025-02-06T08:07:36.654Z] Nothing to be done for teardown. [2025-02-06T08:07:36.654Z] jdk_custom_0 Finish Time: Thu Feb 6 02:07:36 2025 Epoch Time (ms): 1738829256391