jdk_custom_0

[2025-02-06T08:41:16.853Z] Running test jdk_custom_0 ... [2025-02-06T08:41:16.853Z] =============================================== [2025-02-06T08:41:16.853Z] jdk_custom_0 Start Time: Thu Feb 6 00:41:15 2025 Epoch Time (ms): 1738831275477 [2025-02-06T08:41:16.853Z] variation: NoOptions [2025-02-06T08:41:16.853Z] JVM_OPTIONS: [2025-02-06T08:41:16.853Z] { \ [2025-02-06T08:41:16.853Z] echo ""; echo "TEST SETUP:"; \ [2025-02-06T08:41:16.853Z] echo "Nothing to be done for setup."; \ [2025-02-06T08:41:16.853Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/../TKG/output_17388312741340/jdk_custom_0"; \ [2025-02-06T08:41:16.853Z] cd "/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/../TKG/output_17388312741340/jdk_custom_0"; \ [2025-02-06T08:41:16.853Z] echo ""; echo "TESTING:"; \ [2025-02-06T08:41:16.853Z] "/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java" -Xmx512m -jar "/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/../../jvmtest/openjdk/jtreg/lib/jtreg.jar" \ [2025-02-06T08:41:16.853Z] -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_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native" -vmoptions:"-Xmx512m " \ [2025-02-06T08:41:16.853Z] \ [2025-02-06T08:41:16.853Z] -w ""/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/../TKG/output_17388312741340/jdk_custom_0"/work" \ [2025-02-06T08:41:16.853Z] -r ""/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/../TKG/output_17388312741340/jdk_custom_0"/report" \ [2025-02-06T08:41:16.853Z] -jdk:"/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/../" \ [2025-02-06T08:41:16.853Z] /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/../openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/../openjdk/openjdk-jdk/test/jdk/java/net/httpclient/DependentPromiseActionsTest.java; \ [2025-02-06T08:41:16.853Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_custom_0""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/..; else echo "-----------------------------------"; echo "jdk_custom_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-06T08:41:16.853Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-06T08:41:16.853Z] echo "Nothing to be done for teardown."; \ [2025-02-06T08:41:16.853Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/../TKG/output_17388312741340/TestTargetResult"; [2025-02-06T08:41:16.853Z] [2025-02-06T08:41:16.853Z] TEST SETUP: [2025-02-06T08:41:16.853Z] Nothing to be done for setup. [2025-02-06T08:41:16.853Z] [2025-02-06T08:41:16.853Z] TESTING: [2025-02-06T08:41:17.255Z] Directory "/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/../TKG/output_17388312741340/jdk_custom_0/work" not found: creating [2025-02-06T08:41:17.255Z] Directory "/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/../TKG/output_17388312741340/jdk_custom_0/report" not found: creating [2025-02-06T08:41:22.802Z] XML output with verification to /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388312741340/jdk_custom_0/work [2025-02-06T08:41:27.249Z] -------------------------------------------------- [2025-02-06T08:41:27.249Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java [2025-02-06T08:41:27.249Z] TEST JDK: /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/.. [2025-02-06T08:41:27.249Z] [2025-02-06T08:41:27.249Z] ACTION: build -- Passed. Build successful [2025-02-06T08:41:27.249Z] REASON: Named class compiled on demand [2025-02-06T08:41:27.249Z] TIME: 2.49 seconds [2025-02-06T08:41:27.249Z] messages: [2025-02-06T08:41:27.249Z] command: build Entrust [2025-02-06T08:41:27.249Z] reason: Named class compiled on demand [2025-02-06T08:41:27.249Z] started: Thu Feb 06 00:41:21 PST 2025 [2025-02-06T08:41:27.249Z] Test directory: [2025-02-06T08:41:27.249Z] compile: Entrust [2025-02-06T08:41:27.249Z] finished: Thu Feb 06 00:41:24 PST 2025 [2025-02-06T08:41:27.249Z] elapsed time (seconds): 2.49 [2025-02-06T08:41:27.249Z] [2025-02-06T08:41:27.249Z] ACTION: compile -- Passed. Compilation successful [2025-02-06T08:41:27.249Z] REASON: .class file out of date or does not exist [2025-02-06T08:41:27.249Z] TIME: 2.485 seconds [2025-02-06T08:41:27.249Z] messages: [2025-02-06T08:41:27.249Z] command: compile /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java [2025-02-06T08:41:27.249Z] reason: .class file out of date or does not exist [2025-02-06T08:41:27.249Z] started: Thu Feb 06 00:41:21 PST 2025 [2025-02-06T08:41:27.249Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-06T08:41:27.249Z] Mode: agentvm [2025-02-06T08:41:27.249Z] Agent id: 1 [2025-02-06T08:41:27.249Z] finished: Thu Feb 06 00:41:24 PST 2025 [2025-02-06T08:41:27.249Z] elapsed time (seconds): 2.485 [2025-02-06T08:41:27.249Z] configuration: [2025-02-06T08:41:27.249Z] Boot Layer (javac runtime environment) [2025-02-06T08:41:27.249Z] class path: /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-02-06T08:41:27.249Z] /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-02-06T08:41:27.249Z] patch: java.base /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388312741340/jdk_custom_0/work/patches/java.base [2025-02-06T08:41:27.249Z] [2025-02-06T08:41:27.249Z] javac compilation environment [2025-02-06T08:41:27.249Z] add modules: java.base [2025-02-06T08:41:27.249Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-06T08:41:27.249Z] source path: /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-02-06T08:41:27.249Z] /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib [2025-02-06T08:41:27.249Z] class path: /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust [2025-02-06T08:41:27.249Z] /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388312741340/jdk_custom_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d [2025-02-06T08:41:27.249Z] /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388312741340/jdk_custom_0/work/classes/1/test/lib [2025-02-06T08:41:27.249Z] [2025-02-06T08:41:27.249Z] rerun: [2025-02-06T08:41:27.249Z] cd /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388312741340/jdk_custom_0/work/scratch/0 && \ [2025-02-06T08:41:27.249Z] HOME=/Users/admin \ [2025-02-06T08:41:27.249Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-06T08:41:27.249Z] /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/../bin/javac \ [2025-02-06T08:41:27.249Z] -J-ea \ [2025-02-06T08:41:27.249Z] -J-esa \ [2025-02-06T08:41:27.249Z] -J-Xmx512m \ [2025-02-06T08:41:27.249Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m' \ [2025-02-06T08:41:27.249Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \ [2025-02-06T08:41:27.249Z] -J-Dtest.compiler.opts= \ [2025-02-06T08:41:27.249Z] -J-Dtest.java.opts= \ [2025-02-06T08:41:27.249Z] -J-Dtest.jdk=/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/.. \ [2025-02-06T08:41:27.249Z] -J-Dcompile.jdk=/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/.. \ [2025-02-06T08:41:27.249Z] -J-Dtest.timeout.factor=8.0 \ [2025-02-06T08:41:27.249Z] -J-Dtest.nativepath=/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-06T08:41:27.249Z] -J-Dtest.root=/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-06T08:41:27.249Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-06T08:41:27.249Z] -J-Dtest.file=/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-06T08:41:27.249Z] -J-Dtest.src=/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-02-06T08:41:27.249Z] -J-Dtest.src.path=/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-06T08:41:27.249Z] -J-Dtest.classes=/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388312741340/jdk_custom_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d \ [2025-02-06T08:41:27.249Z] -J-Dtest.class.path=/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388312741340/jdk_custom_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388312741340/jdk_custom_0/work/classes/1/test/lib \ [2025-02-06T08:41:27.249Z] -J-Dtest.class.path.prefix=/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388312741340/jdk_custom_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388312741340/jdk_custom_0/work/classes/1/test/lib \ [2025-02-06T08:41:27.249Z] -J-Dtest.modules=java.base/sun.security.validator \ [2025-02-06T08:41:27.249Z] --add-modules java.base \ [2025-02-06T08:41:27.249Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-06T08:41:27.249Z] -d /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388312741340/jdk_custom_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d \ [2025-02-06T08:41:27.249Z] -sourcepath /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-06T08:41:27.249Z] -classpath /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388312741340/jdk_custom_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388312741340/jdk_custom_0/work/classes/1/test/lib /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java [2025-02-06T08:41:27.249Z] stderr: [2025-02-06T08:41:27.249Z] WARNING: A terminally deprecated method in java.lang.System has been called [2025-02-06T08:41:27.249Z] WARNING: System::setSecurityManager has been called by com.sun.javatest.regtest.agent.RegressionSecurityManager (file:/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar) [2025-02-06T08:41:27.249Z] WARNING: Please consider reporting this to the maintainers of com.sun.javatest.regtest.agent.RegressionSecurityManager [2025-02-06T08:41:27.249Z] WARNING: System::setSecurityManager will be removed in a future release [2025-02-06T08:41:27.249Z] direct: [2025-02-06T08:41:27.249Z] /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_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-02-06T08:41:27.249Z] import sun.security.validator.Validator; [2025-02-06T08:41:27.249Z] ^ [2025-02-06T08:41:27.249Z] /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_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-02-06T08:41:27.249Z] import sun.security.validator.ValidatorException; [2025-02-06T08:41:27.249Z] ^ [2025-02-06T08:41:27.249Z] /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_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-02-06T08:41:27.249Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-06T08:41:27.249Z] ^ [2025-02-06T08:41:27.249Z] /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_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-02-06T08:41:27.249Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-06T08:41:27.249Z] ^ [2025-02-06T08:41:27.249Z] /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_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-02-06T08:41:27.249Z] Validator.VAR_CODE_SIGNING, [2025-02-06T08:41:27.249Z] ^ [2025-02-06T08:41:27.249Z] /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_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-02-06T08:41:27.249Z] Validator v = Validator.getInstance(Validator.TYPE_PKIX, [2025-02-06T08:41:27.249Z] ^ [2025-02-06T08:41:27.249Z] /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_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-02-06T08:41:27.249Z] if (ce instanceof ValidatorException) { [2025-02-06T08:41:27.249Z] ^ [2025-02-06T08:41:27.249Z] /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_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-02-06T08:41:27.249Z] ValidatorException ve = (ValidatorException) ce; [2025-02-06T08:41:27.249Z] ^ [2025-02-06T08:41:27.249Z] /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_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-02-06T08:41:27.249Z] ValidatorException ve = (ValidatorException) ce; [2025-02-06T08:41:27.249Z] ^ [2025-02-06T08:41:27.249Z] /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_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-02-06T08:41:27.249Z] if (ve.getErrorType() != ValidatorException.T_UNTRUSTED_CERT) { [2025-02-06T08:41:27.249Z] ^ [2025-02-06T08:41:27.249Z] Note: /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses or overrides a deprecated API. [2025-02-06T08:41:27.249Z] Note: Recompile with -Xlint:deprecation for details. [2025-02-06T08:41:27.249Z] Note: /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses unchecked or unsafe operations. [2025-02-06T08:41:27.249Z] Note: Recompile with -Xlint:unchecked for details. [2025-02-06T08:41:27.249Z] 10 warnings [2025-02-06T08:41:27.249Z] [2025-02-06T08:41:27.249Z] 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-06T08:41:27.249Z] REASON: User specified action: run main/othervm Entrust after policyOn invalid [2025-02-06T08:41:27.249Z] TIME: 1.151 seconds [2025-02-06T08:41:27.249Z] messages: [2025-02-06T08:41:27.249Z] command: main Entrust after policyOn invalid [2025-02-06T08:41:27.249Z] reason: User specified action: run main/othervm Entrust after policyOn invalid [2025-02-06T08:41:27.249Z] started: Thu Feb 06 00:41:24 PST 2025 [2025-02-06T08:41:27.249Z] Mode: othervm [/othervm specified] [2025-02-06T08:41:27.249Z] Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.validator=ALL-UNNAMED [2025-02-06T08:41:27.249Z] finished: Thu Feb 06 00:41:25 PST 2025 [2025-02-06T08:41:27.249Z] elapsed time (seconds): 1.151 [2025-02-06T08:41:27.249Z] configuration: [2025-02-06T08:41:27.249Z] Boot Layer [2025-02-06T08:41:27.249Z] add modules: java.base [2025-02-06T08:41:27.249Z] add exports: java.base/sun.security.validator ALL-UNNAMED [2025-02-06T08:41:27.249Z] [2025-02-06T08:41:27.249Z] STDOUT: [2025-02-06T08:41:27.249Z] STDERR: [2025-02-06T08:41:27.249Z] Testing entrustevca [2025-02-06T08:41:27.249Z] Testing entrustrootcaec1 [2025-02-06T08:41:27.249Z] Testing entrustrootcag2 [2025-02-06T08:41:27.249Z] Testing entrustrootcag4 [2025-02-06T08:41:27.249Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-06T08:41:27.249Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439) [2025-02-06T08:41:27.249Z] at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306) [2025-02-06T08:41:27.249Z] at java.base/sun.security.validator.Validator.validate(Validator.java:264) [2025-02-06T08:41:27.249Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:242) [2025-02-06T08:41:27.249Z] at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:113) [2025-02-06T08:41:27.249Z] at Distrust.testTM(Distrust.java:125) [2025-02-06T08:41:27.249Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-06T08:41:27.249Z] at Entrust.main(Entrust.java:66) [2025-02-06T08:41:27.249Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-02-06T08:41:27.249Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-02-06T08:41:27.249Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-02-06T08:41:27.249Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-02-06T08:41:27.249Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-06T08:41:27.249Z] at java.base/java.lang.Thread.run(Thread.java:840) [2025-02-06T08:41:27.249Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-02-06T08:41:27.249Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-02-06T08:41:27.249Z] at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-02-06T08:41:27.249Z] at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) [2025-02-06T08:41:27.249Z] at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434) [2025-02-06T08:41:27.249Z] ... 13 more [2025-02-06T08:41:27.249Z] 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-06T08:41:27.249Z] at Distrust.testTM(Distrust.java:138) [2025-02-06T08:41:27.249Z] at Distrust.testCertificateChain(Distrust.java:82) [2025-02-06T08:41:27.249Z] at Entrust.main(Entrust.java:66) [2025-02-06T08:41:27.249Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-02-06T08:41:27.250Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-02-06T08:41:27.250Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-02-06T08:41:27.250Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-02-06T08:41:27.250Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-02-06T08:41:27.250Z] at java.base/java.lang.Thread.run(Thread.java:840) [2025-02-06T08:41:27.250Z] [2025-02-06T08:41:27.250Z] 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-06T08:41:27.250Z] JavaTest Message: shutting down test [2025-02-06T08:41:27.250Z] [2025-02-06T08:41:27.250Z] 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-06T08:41:27.250Z] rerun: [2025-02-06T08:41:27.250Z] cd /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388312741340/jdk_custom_0/work/scratch/0 && \ [2025-02-06T08:41:27.250Z] HOME=/Users/admin \ [2025-02-06T08:41:27.250Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-02-06T08:41:27.250Z] CLASSPATH=/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388312741340/jdk_custom_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388312741340/jdk_custom_0/work/classes/1/test/lib:/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib:/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/jvmtest/openjdk/jtreg/lib/javatest.jar:/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-02-06T08:41:27.250Z] /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/../bin/java \ [2025-02-06T08:41:27.250Z] -Dtest.vm.opts='-ea -esa -Xmx512m' \ [2025-02-06T08:41:27.250Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \ [2025-02-06T08:41:27.250Z] -Dtest.compiler.opts= \ [2025-02-06T08:41:27.250Z] -Dtest.java.opts= \ [2025-02-06T08:41:27.250Z] -Dtest.jdk=/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/.. \ [2025-02-06T08:41:27.250Z] -Dcompile.jdk=/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/jdkbinary/j2sdk-image/Contents/Home/bin/.. \ [2025-02-06T08:41:27.250Z] -Dtest.timeout.factor=8.0 \ [2025-02-06T08:41:27.250Z] -Dtest.nativepath=/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-06T08:41:27.250Z] -Dtest.root=/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-02-06T08:41:27.250Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-06T08:41:27.250Z] -Dtest.file=/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.java \ [2025-02-06T08:41:27.250Z] -Dtest.src=/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-02-06T08:41:27.250Z] -Dtest.src.path=/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/lib \ [2025-02-06T08:41:27.250Z] -Dtest.classes=/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388312741340/jdk_custom_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d \ [2025-02-06T08:41:27.250Z] -Dtest.class.path=/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388312741340/jdk_custom_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388312741340/jdk_custom_0/work/classes/1/test/lib \ [2025-02-06T08:41:27.250Z] -Dtest.class.path.prefix=/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388312741340/jdk_custom_0/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d:/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/sun/security/ssl/X509TrustManagerImpl/distrust:/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388312741340/jdk_custom_0/work/classes/1/test/lib \ [2025-02-06T08:41:27.250Z] -Dtest.modules=java.base/sun.security.validator \ [2025-02-06T08:41:27.250Z] --add-modules java.base \ [2025-02-06T08:41:27.250Z] --add-exports java.base/sun.security.validator=ALL-UNNAMED \ [2025-02-06T08:41:27.250Z] -ea \ [2025-02-06T08:41:27.250Z] -esa \ [2025-02-06T08:41:27.250Z] -Xmx512m \ [2025-02-06T08:41:27.250Z] -Djava.library.path=/Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-02-06T08:41:27.250Z] com.sun.javatest.regtest.agent.MainWrapper /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388312741340/jdk_custom_0/work/sun/security/ssl/X509TrustManagerImpl/distrust/Entrust.d/main.0.jta after policyOn invalid [2025-02-06T08:41:27.250Z] [2025-02-06T08:41:27.250Z] 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-06T08:41:27.250Z] -------------------------------------------------- [2025-02-06T08:41:35.418Z] Test results: passed: 1; failed: 1 [2025-02-06T08:41:47.588Z] Report written to /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388312741340/jdk_custom_0/report/html/report.html [2025-02-06T08:41:47.588Z] Results written to /Users/admin/workspace/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_mac_rerun/aqa-tests/TKG/output_17388312741340/jdk_custom_0/work [2025-02-06T08:41:47.588Z] Error: Some tests failed or other problems occurred. [2025-02-06T08:41:47.588Z] ----------------------------------- [2025-02-06T08:41:47.588Z] jdk_custom_0_FAILED [2025-02-06T08:41:47.588Z] ----------------------------------- [2025-02-06T08:41:47.588Z] [2025-02-06T08:41:47.588Z] TEST TEARDOWN: [2025-02-06T08:41:47.588Z] Nothing to be done for teardown. [2025-02-06T08:41:47.588Z] jdk_custom_0 Finish Time: Thu Feb 6 00:41:44 2025 Epoch Time (ms): 1738831304719