jdk_custom_0

[2025-05-29T01:26:12.525Z] Running test jdk_custom_0 ... [2025-05-29T01:26:12.525Z] =============================================== [2025-05-29T01:26:12.525Z] jdk_custom_0 Start Time: Wed May 28 21:26:12 2025 Epoch Time (ms): 1748481972447 [2025-05-29T01:26:12.525Z] variation: NoOptions [2025-05-29T01:26:12.525Z] JVM_OPTIONS: [2025-05-29T01:26:12.525Z] { \ [2025-05-29T01:26:12.525Z] echo ""; echo "TEST SETUP:"; \ [2025-05-29T01:26:12.525Z] echo "Nothing to be done for setup."; \ [2025-05-29T01:26:12.525Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/../TKG/output_17484819723732/jdk_custom_0"; \ [2025-05-29T01:26:12.525Z] cd "/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/../TKG/output_17484819723732/jdk_custom_0"; \ [2025-05-29T01:26:12.525Z] echo ""; echo "TESTING:"; \ [2025-05-29T01:26:12.525Z] "/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java" -Xmx512m -jar "/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/../../jvmtest/openjdk/jtreg/lib/jtreg.jar" \ [2025-05-29T01:26:12.525Z] -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/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native" -vmoptions:"-Xmx512m " \ [2025-05-29T01:26:12.525Z] \ [2025-05-29T01:26:12.525Z] -w ""/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/../TKG/output_17484819723732/jdk_custom_0"/work" \ [2025-05-29T01:26:12.525Z] -r ""/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/../TKG/output_17484819723732/jdk_custom_0"/report" \ [2025-05-29T01:26:12.525Z] -jdk:"/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/../" \ [2025-05-29T01:26:12.525Z] /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/../openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java; \ [2025-05-29T01:26:12.525Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_custom_0""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/..; else echo "-----------------------------------"; echo "jdk_custom_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-05-29T01:26:12.525Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-05-29T01:26:12.525Z] echo "Nothing to be done for teardown."; \ [2025-05-29T01:26:12.525Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/../TKG/output_17484819723732/TestTargetResult"; [2025-05-29T01:26:12.525Z] [2025-05-29T01:26:12.525Z] TEST SETUP: [2025-05-29T01:26:12.525Z] Nothing to be done for setup. [2025-05-29T01:26:12.525Z] [2025-05-29T01:26:12.525Z] TESTING: [2025-05-29T01:26:12.881Z] Directory "/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/../TKG/output_17484819723732/jdk_custom_0/work" not found: creating [2025-05-29T01:26:12.881Z] Directory "/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/../TKG/output_17484819723732/jdk_custom_0/report" not found: creating [2025-05-29T01:26:14.112Z] XML output with verification to /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17484819723732/jdk_custom_0/work [2025-05-29T01:26:15.885Z] -------------------------------------------------- [2025-05-29T01:26:15.885Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java [2025-05-29T01:26:15.885Z] TEST JDK: /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/.. [2025-05-29T01:26:15.885Z] [2025-05-29T01:26:15.885Z] ACTION: build -- Passed. Build successful [2025-05-29T01:26:15.885Z] REASON: Named class compiled on demand [2025-05-29T01:26:15.885Z] TIME: 1.148 seconds [2025-05-29T01:26:15.885Z] messages: [2025-05-29T01:26:15.885Z] command: build Symantec [2025-05-29T01:26:15.885Z] reason: Named class compiled on demand [2025-05-29T01:26:15.885Z] started: Wed May 28 21:26:14 EDT 2025 [2025-05-29T01:26:15.885Z] Test directory: [2025-05-29T01:26:15.885Z] compile: Symantec [2025-05-29T01:26:15.885Z] finished: Wed May 28 21:26:15 EDT 2025 [2025-05-29T01:26:15.885Z] elapsed time (seconds): 1.148 [2025-05-29T01:26:15.885Z] [2025-05-29T01:26:15.885Z] ACTION: compile -- Passed. Compilation successful [2025-05-29T01:26:15.885Z] REASON: .class file out of date or does not exist [2025-05-29T01:26:15.885Z] TIME: 1.143 seconds [2025-05-29T01:26:15.885Z] messages: [2025-05-29T01:26:15.885Z] command: compile /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java [2025-05-29T01:26:15.885Z] reason: .class file out of date or does not exist [2025-05-29T01:26:15.885Z] started: Wed May 28 21:26:14 EDT 2025 [2025-05-29T01:26:15.885Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-05-29T01:26:15.885Z] Mode: agentvm [2025-05-29T01:26:15.885Z] Agent id: 1 [2025-05-29T01:26:15.885Z] finished: Wed May 28 21:26:15 EDT 2025 [2025-05-29T01:26:15.885Z] elapsed time (seconds): 1.143 [2025-05-29T01:26:15.885Z] configuration: [2025-05-29T01:26:15.885Z] Boot Layer (javac runtime environment) [2025-05-29T01:26:15.885Z] class path: /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-05-29T01:26:15.885Z] /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-05-29T01:26:15.885Z] patch: java.base /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17484819723732/jdk_custom_0/work/patches/java.base [2025-05-29T01:26:15.885Z] [2025-05-29T01:26:15.885Z] javac compilation environment [2025-05-29T01:26:15.885Z] add modules: java.base [2025-05-29T01:26:15.885Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-05-29T01:26:15.885Z] source path: /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-05-29T01:26:15.885Z] /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib [2025-05-29T01:26:15.885Z] class path: /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-05-29T01:26:15.885Z] /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17484819723732/jdk_custom_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.d [2025-05-29T01:26:15.885Z] /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17484819723732/jdk_custom_0/work/classes/0/test/lib [2025-05-29T01:26:15.885Z] [2025-05-29T01:26:15.885Z] rerun: [2025-05-29T01:26:15.885Z] cd /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17484819723732/jdk_custom_0/work/scratch/0 && \ [2025-05-29T01:26:15.885Z] HOME=/Users/admin \ [2025-05-29T01:26:15.886Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-05-29T01:26:15.886Z] /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/../bin/javac \ [2025-05-29T01:26:15.886Z] -J-ea \ [2025-05-29T01:26:15.886Z] -J-esa \ [2025-05-29T01:26:15.886Z] -J-Xmx512m \ [2025-05-29T01:26:15.886Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m' \ [2025-05-29T01:26:15.886Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \ [2025-05-29T01:26:15.886Z] -J-Dtest.compiler.opts= \ [2025-05-29T01:26:15.886Z] -J-Dtest.java.opts= \ [2025-05-29T01:26:15.886Z] -J-Dtest.jdk=/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/.. \ [2025-05-29T01:26:15.886Z] -J-Dcompile.jdk=/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/.. \ [2025-05-29T01:26:15.886Z] -J-Dtest.timeout.factor=8.0 \ [2025-05-29T01:26:15.886Z] -J-Dtest.nativepath=/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-05-29T01:26:15.886Z] -J-Dtest.root=/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-05-29T01:26:15.886Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java \ [2025-05-29T01:26:15.886Z] -J-Dtest.file=/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java \ [2025-05-29T01:26:15.886Z] -J-Dtest.src=/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-05-29T01:26:15.886Z] -J-Dtest.src.path=/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-05-29T01:26:15.886Z] -J-Dtest.classes=/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17484819723732/jdk_custom_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.d \ [2025-05-29T01:26:15.886Z] -J-Dtest.class.path=/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17484819723732/jdk_custom_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.d:/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17484819723732/jdk_custom_0/work/classes/0/test/lib \ [2025-05-29T01:26:15.886Z] -J-Dtest.class.path.prefix=/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17484819723732/jdk_custom_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.d:/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17484819723732/jdk_custom_0/work/classes/0/test/lib \ [2025-05-29T01:26:15.886Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-05-29T01:26:15.886Z] --add-modules java.base \ [2025-05-29T01:26:15.886Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-05-29T01:26:15.886Z] -d /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17484819723732/jdk_custom_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.d \ [2025-05-29T01:26:15.886Z] -sourcepath /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-05-29T01:26:15.886Z] -classpath /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17484819723732/jdk_custom_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.d:/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17484819723732/jdk_custom_0/work/classes/0/test/lib /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java [2025-05-29T01:26:15.886Z] direct: [2025-05-29T01:26:15.886Z] /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:31: warning: Validator is internal proprietary API and may be removed in a future release [2025-05-29T01:26:15.886Z] import sun.security.validator.Validator; [2025-05-29T01:26:15.886Z] ^ [2025-05-29T01:26:15.886Z] /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:32: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-05-29T01:26:15.886Z] import sun.security.validator.ValidatorException; [2025-05-29T01:26:15.886Z] ^ [2025-05-29T01:26:15.886Z] /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:67: warning: Validator is internal proprietary API and may be removed in a future release [2025-05-29T01:26:15.886Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-05-29T01:26:15.886Z] ^ [2025-05-29T01:26:15.886Z] /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:67: warning: Validator is internal proprietary API and may be removed in a future release [2025-05-29T01:26:15.886Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-05-29T01:26:15.886Z] ^ [2025-05-29T01:26:15.886Z] /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:68: warning: Validator is internal proprietary API and may be removed in a future release [2025-05-29T01:26:15.886Z] Validator.VAR_CODE_SIGNING, [2025-05-29T01:26:15.886Z] ^ [2025-05-29T01:26:15.886Z] /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:67: warning: Validator is internal proprietary API and may be removed in a future release [2025-05-29T01:26:15.886Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-05-29T01:26:15.886Z] ^ [2025-05-29T01:26:15.886Z] /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:134: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-05-29T01:26:15.886Z] if (ce instanceof ValidatorException) { [2025-05-29T01:26:15.886Z] ^ [2025-05-29T01:26:15.886Z] /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:135: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-05-29T01:26:15.886Z] ValidatorException ve = (ValidatorException) ce; [2025-05-29T01:26:15.886Z] ^ [2025-05-29T01:26:15.886Z] /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:135: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-05-29T01:26:15.886Z] ValidatorException ve = (ValidatorException) ce; [2025-05-29T01:26:15.886Z] ^ [2025-05-29T01:26:15.886Z] /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java:136: warning: ValidatorException is internal proprietary API and may be removed in a future release [2025-05-29T01:26:15.886Z] if (ve.getErrorType() != ValidatorException.T_UNTRUSTED_CERT) { [2025-05-29T01:26:15.886Z] ^ [2025-05-29T01:26:15.887Z] Note: /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses or overrides a deprecated API. [2025-05-29T01:26:15.887Z] Note: Recompile with -Xlint:deprecation for details. [2025-05-29T01:26:15.887Z] Note: /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses unchecked or unsafe operations. [2025-05-29T01:26:15.887Z] Note: Recompile with -Xlint:unchecked for details. [2025-05-29T01:26:15.887Z] 10 warnings [2025-05-29T01:26:15.887Z] [2025-05-29T01:26:15.887Z] 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-05-29T01:26:15.887Z] REASON: User specified action: run main/othervm Symantec after policyOn invalid [2025-05-29T01:26:15.887Z] TIME: 0.215 seconds [2025-05-29T01:26:15.887Z] messages: [2025-05-29T01:26:15.887Z] command: main Symantec after policyOn invalid [2025-05-29T01:26:15.887Z] reason: User specified action: run main/othervm Symantec after policyOn invalid [2025-05-29T01:26:15.887Z] started: Wed May 28 21:26:15 EDT 2025 [2025-05-29T01:26:15.887Z] Mode: othervm [/othervm specified] [2025-05-29T01:26:15.887Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-05-29T01:26:15.887Z] finished: Wed May 28 21:26:15 EDT 2025 [2025-05-29T01:26:15.887Z] elapsed time (seconds): 0.215 [2025-05-29T01:26:15.887Z] configuration: [2025-05-29T01:26:15.887Z] Boot Layer [2025-05-29T01:26:15.887Z] add modules: java.base [2025-05-29T01:26:15.887Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-05-29T01:26:15.887Z] [2025-05-29T01:26:15.887Z] STDOUT: [2025-05-29T01:26:15.887Z] STDERR: [2025-05-29T01:26:15.887Z] Testing geotrustprimarycag2 [2025-05-29T01:26:15.887Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-05-29T01:26:15.887Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439) [2025-05-29T01:26:15.887Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306) [2025-05-29T01:26:15.887Z] at java.base/sun.security.validator.Validator.validate(Validator.java:264) [2025-05-29T01:26:15.887Z] at java.base/sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:313) [2025-05-29T01:26:15.887Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:233) [2025-05-29T01:26:15.887Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:110) [2025-05-29T01:26:15.887Z] at Distrust.testTM(Distrust.java:125) [2025-05-29T01:26:15.887Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-05-29T01:26:15.887Z] at Symantec.main(Symantec.java:77) [2025-05-29T01:26:15.887Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-05-29T01:26:15.887Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-05-29T01:26:15.887Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-05-29T01:26:15.887Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2025-05-29T01:26:15.887Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-05-29T01:26:15.887Z] at java.base/java.lang.Thread.run(Thread.java:829) [2025-05-29T01:26:15.887Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-05-29T01:26:15.887Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-05-29T01:26:15.887Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-05-29T01:26:15.887Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-05-29T01:26:15.887Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434) [2025-05-29T01:26:15.887Z] ... 14 more [2025-05-29T01:26:15.887Z] 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-05-29T01:26:15.887Z] at Distrust.testTM(Distrust.java:138) [2025-05-29T01:26:15.887Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-05-29T01:26:15.887Z] at Symantec.main(Symantec.java:77) [2025-05-29T01:26:15.887Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-05-29T01:26:15.887Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-05-29T01:26:15.887Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-05-29T01:26:15.887Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2025-05-29T01:26:15.887Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-05-29T01:26:15.887Z] at java.base/java.lang.Thread.run(Thread.java:829) [2025-05-29T01:26:15.887Z] [2025-05-29T01:26:15.887Z] 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-05-29T01:26:15.887Z] JavaTest Message: shutting down test [2025-05-29T01:26:15.887Z] [2025-05-29T01:26:15.887Z] 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-05-29T01:26:15.887Z] rerun: [2025-05-29T01:26:15.887Z] cd /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17484819723732/jdk_custom_0/work/scratch/0 && \ [2025-05-29T01:26:15.887Z] HOME=/Users/admin \ [2025-05-29T01:26:15.887Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-05-29T01:26:15.887Z] CLASSPATH=/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17484819723732/jdk_custom_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.d:/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17484819723732/jdk_custom_0/work/classes/0/test/lib:/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib:/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar:/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-05-29T01:26:15.887Z] /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/../bin/java \ [2025-05-29T01:26:15.887Z] -Dtest.vm.opts='-ea -esa -Xmx512m' \ [2025-05-29T01:26:15.887Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \ [2025-05-29T01:26:15.887Z] -Dtest.compiler.opts= \ [2025-05-29T01:26:15.887Z] -Dtest.java.opts= \ [2025-05-29T01:26:15.887Z] -Dtest.jdk=/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/.. \ [2025-05-29T01:26:15.887Z] -Dcompile.jdk=/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/.. \ [2025-05-29T01:26:15.887Z] -Dtest.timeout.factor=8.0 \ [2025-05-29T01:26:15.887Z] -Dtest.nativepath=/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-05-29T01:26:15.887Z] -Dtest.root=/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-05-29T01:26:15.887Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java \ [2025-05-29T01:26:15.887Z] -Dtest.file=/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java \ [2025-05-29T01:26:15.887Z] -Dtest.src=/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-05-29T01:26:15.887Z] -Dtest.src.path=/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-05-29T01:26:15.887Z] -Dtest.classes=/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17484819723732/jdk_custom_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.d \ [2025-05-29T01:26:15.887Z] -Dtest.class.path=/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17484819723732/jdk_custom_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.d:/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17484819723732/jdk_custom_0/work/classes/0/test/lib \ [2025-05-29T01:26:15.888Z] -Dtest.class.path.prefix=/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17484819723732/jdk_custom_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.d:/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17484819723732/jdk_custom_0/work/classes/0/test/lib \ [2025-05-29T01:26:15.888Z] -Dtest.modules=java.base/sun.security.validator \ [2025-05-29T01:26:15.888Z] --add-modules java.base \ [2025-05-29T01:26:15.888Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-05-29T01:26:15.888Z] -ea \ [2025-05-29T01:26:15.888Z] -esa \ [2025-05-29T01:26:15.888Z] -Xmx512m \ [2025-05-29T01:26:15.888Z] -Djava.library.path=/Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-05-29T01:26:15.888Z] com.sun.javatest.regtest.agent.MainWrapper /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17484819723732/jdk_custom_0/work/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.d/main.0.jta after policyOn invalid [2025-05-29T01:26:15.888Z] [2025-05-29T01:26:15.888Z] 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-05-29T01:26:15.888Z] -------------------------------------------------- [2025-05-29T01:26:15.888Z] Test results: failed: 1 [2025-05-29T01:26:19.842Z] Report written to /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17484819723732/jdk_custom_0/report/html/report.html [2025-05-29T01:26:19.842Z] Results written to /Users/admin/workspace/workspace/Test_openjdk11_hs_extended.openjdk_aarch64_mac_rerun/aqa-tests/TKG/output_17484819723732/jdk_custom_0/work [2025-05-29T01:26:19.842Z] Error: Some tests failed or other problems occurred. [2025-05-29T01:26:19.842Z] ----------------------------------- [2025-05-29T01:26:19.842Z] jdk_custom_0_FAILED [2025-05-29T01:26:19.842Z] ----------------------------------- [2025-05-29T01:26:19.842Z] [2025-05-29T01:26:19.842Z] TEST TEARDOWN: [2025-05-29T01:26:19.842Z] Nothing to be done for teardown. [2025-05-29T01:26:19.842Z] jdk_custom_0 Finish Time: Wed May 28 21:26:19 2025 Epoch Time (ms): 1748481979623