jdk_security3_1

[2025-05-27T23:23:19.080Z] Running test jdk_security3_1 ... [2025-05-27T23:23:19.080Z] =============================================== [2025-05-27T23:23:19.080Z] jdk_security3_1 Start Time: Tue May 27 23:23:18 2025 Epoch Time (ms): 1748388198690 [2025-05-27T23:23:19.080Z] variation: Mode650 [2025-05-27T23:23:19.080Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-05-27T23:23:19.080Z] { \ [2025-05-27T23:23:19.080Z] echo ""; echo "TEST SETUP:"; \ [2025-05-27T23:23:19.080Z] echo "Nothing to be done for setup."; \ [2025-05-27T23:23:19.080Z] mkdir -p "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17483798172642/jdk_security3_1"; \ [2025-05-27T23:23:19.080Z] cd "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17483798172642/jdk_security3_1"; \ [2025-05-27T23:23:19.080Z] echo ""; echo "TESTING:"; \ [2025-05-27T23:23:19.080Z] "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/java" -Xmx512m -jar "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/../../jvmtest/openjdk/jtreg/lib/jtreg.jar" \ [2025-05-27T23:23:19.080Z] -agentvm -a -ea -esa -v:fail,error,time,nopass -retain:fail,error,*.dmp,javacore.*,heapdump.*,*.trc -ignore:quiet -timeoutFactor:8 -xml:verify -concurrency:3 -vmoptions:"-Xmx512m -XX:-UseCompressedOops " \ [2025-05-27T23:23:19.080Z] \ [2025-05-27T23:23:19.080Z] -w ""/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17483798172642/jdk_security3_1"/work" \ [2025-05-27T23:23:19.080Z] -r ""/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17483798172642/jdk_security3_1"/report" \ [2025-05-27T23:23:19.080Z] -jdk:"/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image" \ [2025-05-27T23:23:19.080Z] -exclude:"/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/../openjdk/openjdk-jdk/jdk/test/ProblemList.txt" \ [2025-05-27T23:23:19.080Z] -exclude:"/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/../../jvmtest/openjdk/excludes/ProblemList_openjdk8.txt" \ [2025-05-27T23:23:19.080Z] \ [2025-05-27T23:23:19.080Z] \ [2025-05-27T23:23:19.080Z] "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/../openjdk/openjdk-jdk/jdk/test:jdk_security3"; \ [2025-05-27T23:23:19.080Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_security3_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/..; else echo "-----------------------------------"; echo "jdk_security3_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-05-27T23:23:19.080Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-05-27T23:23:19.080Z] echo "Nothing to be done for teardown."; \ [2025-05-27T23:23:19.080Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17483798172642/TestTargetResult"; [2025-05-27T23:23:19.080Z] [2025-05-27T23:23:19.080Z] TEST SETUP: [2025-05-27T23:23:19.080Z] Nothing to be done for setup. [2025-05-27T23:23:19.080Z] [2025-05-27T23:23:19.080Z] TESTING: [2025-05-27T23:23:20.672Z] Directory "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17483798172642/jdk_security3_1/work" not found: creating [2025-05-27T23:23:20.672Z] Directory "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17483798172642/jdk_security3_1/report" not found: creating [2025-05-27T23:23:23.129Z] XML output with verification to /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work [2025-05-27T23:50:08.884Z] -------------------------------------------------- [2025-05-27T23:50:08.884Z] TEST: sun/security/pkcs11/Provider/Login.sh [2025-05-27T23:50:08.884Z] TEST JDK: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image [2025-05-27T23:50:08.884Z] [2025-05-27T23:50:08.884Z] ACTION: shell -- Failed. Execution failed: exit code 1 [2025-05-27T23:50:08.884Z] REASON: User specified action: run shell Login.sh [2025-05-27T23:50:08.884Z] TIME: 18.131 seconds [2025-05-27T23:50:08.884Z] messages: [2025-05-27T23:50:08.885Z] command: shell Login.sh [2025-05-27T23:50:08.885Z] reason: User specified action: run shell Login.sh [2025-05-27T23:50:08.885Z] elapsed time (seconds): 18.131 [2025-05-27T23:50:08.885Z] STDOUT: [2025-05-27T23:50:08.885Z] TESTSRC=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider [2025-05-27T23:50:08.885Z] TESTCLASSES=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11/Provider [2025-05-27T23:50:08.885Z] TESTJAVA=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image [2025-05-27T23:50:08.885Z] COMPILEJAVA=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image [2025-05-27T23:50:08.885Z] [2025-05-27T23:50:08.885Z] libsoftokn3 version not found, set to 0.0: /usr/lib64/libsoftokn3.so [2025-05-27T23:50:08.885Z] Beginning test run Login... [2025-05-27T23:50:08.885Z] STDERR: [2025-05-27T23:50:08.885Z] Note: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider/Login.java uses or overrides a deprecated API. [2025-05-27T23:50:08.885Z] Note: Recompile with -Xlint:deprecation for details. [2025-05-27T23:50:08.885Z] Note: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider/../PKCS11Test.java uses unchecked or unsafe operations. [2025-05-27T23:50:08.885Z] Note: Recompile with -Xlint:unchecked for details. [2025-05-27T23:50:08.885Z] Exception in thread "main" java.lang.reflect.InvocationTargetException [2025-05-27T23:50:08.885Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [2025-05-27T23:50:08.885Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [2025-05-27T23:50:08.885Z] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [2025-05-27T23:50:08.885Z] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [2025-05-27T23:50:08.885Z] at PKCS11Test.getSunPKCS11(PKCS11Test.java:108) [2025-05-27T23:50:08.885Z] at PKCS11Test.testNSS(PKCS11Test.java:486) [2025-05-27T23:50:08.885Z] at PKCS11Test.main(PKCS11Test.java:156) [2025-05-27T23:50:08.885Z] at PKCS11Test.main(PKCS11Test.java:137) [2025-05-27T23:50:08.885Z] at Login.main(Login.java:39) [2025-05-27T23:50:08.885Z] Caused by: java.security.ProviderException: Initialization failed [2025-05-27T23:50:08.885Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:376) [2025-05-27T23:50:08.885Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103) [2025-05-27T23:50:08.885Z] ... 9 more [2025-05-27T23:50:08.885Z] Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: 0xCE534351 [2025-05-27T23:50:08.885Z] at sun.security.pkcs11.wrapper.PKCS11.C_Initialize(Native Method) [2025-05-27T23:50:08.885Z] at sun.security.pkcs11.wrapper.PKCS11$SynchronizedPKCS11.C_Initialize(PKCS11.java:1627) [2025-05-27T23:50:08.885Z] at sun.security.pkcs11.wrapper.PKCS11.getInstance(PKCS11.java:163) [2025-05-27T23:50:08.885Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:330) [2025-05-27T23:50:08.885Z] ... 10 more [2025-05-27T23:50:08.885Z] rerun: [2025-05-27T23:50:08.885Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/scratch/0 && \ [2025-05-27T23:50:08.885Z] DISPLAY=:0 \ [2025-05-27T23:50:08.885Z] HOME=/home/jenkins \ [2025-05-27T23:50:08.885Z] LANG=C.utf8 \ [2025-05-27T23:50:08.885Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-05-27T23:50:08.885Z] TESTFILE=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider/Login.sh \ [2025-05-27T23:50:08.885Z] TESTSRC=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider \ [2025-05-27T23:50:08.885Z] TESTSRCPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider \ [2025-05-27T23:50:08.885Z] TESTCLASSES=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11/Provider \ [2025-05-27T23:50:08.885Z] TESTCLASSPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11/Provider \ [2025-05-27T23:50:08.885Z] COMPILEJAVA=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-05-27T23:50:08.885Z] TESTJAVA=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-05-27T23:50:08.885Z] TESTVMOPTS='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-05-27T23:50:08.885Z] TESTTOOLVMOPTS='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-05-27T23:50:08.885Z] TESTJAVACOPTS= \ [2025-05-27T23:50:08.885Z] TESTJAVAOPTS= \ [2025-05-27T23:50:08.885Z] TESTTIMEOUTFACTOR=8.0 \ [2025-05-27T23:50:08.885Z] TESTROOT=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2025-05-27T23:50:08.885Z] FS=/ \ [2025-05-27T23:50:08.885Z] PS=: \ [2025-05-27T23:50:08.885Z] NULL=/dev/null \ [2025-05-27T23:50:08.885Z] sh \ [2025-05-27T23:50:08.885Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider/Login.sh [2025-05-27T23:50:08.885Z] [2025-05-27T23:50:08.885Z] TEST RESULT: Failed. Execution failed: exit code 1 [2025-05-27T23:50:08.885Z] -------------------------------------------------- [2025-05-27T23:50:16.121Z] TEST: sun/security/pkcs11/Secmod/AddPrivateKey.java [2025-05-27T23:50:16.121Z] TEST JDK: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image [2025-05-27T23:50:16.121Z] [2025-05-27T23:50:16.121Z] ACTION: build -- Passed. Build successful [2025-05-27T23:50:16.121Z] REASON: Named class compiled on demand [2025-05-27T23:50:16.121Z] TIME: 1.524 seconds [2025-05-27T23:50:16.121Z] messages: [2025-05-27T23:50:16.121Z] command: build AddPrivateKey [2025-05-27T23:50:16.121Z] reason: Named class compiled on demand [2025-05-27T23:50:16.121Z] Test directory: [2025-05-27T23:50:16.121Z] compile: AddPrivateKey [2025-05-27T23:50:16.121Z] elapsed time (seconds): 1.524 [2025-05-27T23:50:16.121Z] [2025-05-27T23:50:16.121Z] ACTION: compile -- Passed. Compilation successful [2025-05-27T23:50:16.121Z] REASON: .class file out of date or does not exist [2025-05-27T23:50:16.121Z] TIME: 1.523 seconds [2025-05-27T23:50:16.121Z] messages: [2025-05-27T23:50:16.121Z] command: compile -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/AddPrivateKey.java [2025-05-27T23:50:16.121Z] reason: .class file out of date or does not exist [2025-05-27T23:50:16.121Z] Mode: agentvm [2025-05-27T23:50:16.121Z] Agent id: 2 [2025-05-27T23:50:16.121Z] elapsed time (seconds): 1.523 [2025-05-27T23:50:16.121Z] configuration: [2025-05-27T23:50:16.121Z] Boot Layer (javac runtime environment) [2025-05-27T23:50:16.121Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/lib/tools.jar [2025-05-27T23:50:16.121Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-05-27T23:50:16.121Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-05-27T23:50:16.121Z] [2025-05-27T23:50:16.121Z] javac compilation environment [2025-05-27T23:50:16.121Z] source path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod [2025-05-27T23:50:16.121Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 [2025-05-27T23:50:16.121Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod [2025-05-27T23:50:16.121Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/0/sun/security/pkcs11/Secmod [2025-05-27T23:50:16.121Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/0/sun/security/pkcs11 [2025-05-27T23:50:16.121Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/lib/tools.jar [2025-05-27T23:50:16.121Z] [2025-05-27T23:50:16.121Z] rerun: [2025-05-27T23:50:16.121Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/scratch/2 && \ [2025-05-27T23:50:16.121Z] DISPLAY=:0 \ [2025-05-27T23:50:16.121Z] HOME=/home/jenkins \ [2025-05-27T23:50:16.121Z] LANG=C.utf8 \ [2025-05-27T23:50:16.121Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-05-27T23:50:16.121Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/javac \ [2025-05-27T23:50:16.121Z] -J-ea \ [2025-05-27T23:50:16.121Z] -J-esa \ [2025-05-27T23:50:16.121Z] -J-Xmx512m \ [2025-05-27T23:50:16.121Z] -J-XX:-UseCompressedOops \ [2025-05-27T23:50:16.121Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-05-27T23:50:16.121Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-05-27T23:50:16.121Z] -J-Dtest.compiler.opts= \ [2025-05-27T23:50:16.121Z] -J-Dtest.java.opts= \ [2025-05-27T23:50:16.121Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-05-27T23:50:16.121Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-05-27T23:50:16.121Z] -J-Dtest.timeout.factor=8.0 \ [2025-05-27T23:50:16.121Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2025-05-27T23:50:16.121Z] -J-Dtest.name=sun/security/pkcs11/Secmod/AddPrivateKey.java \ [2025-05-27T23:50:16.121Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/AddPrivateKey.java \ [2025-05-27T23:50:16.121Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod \ [2025-05-27T23:50:16.121Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2025-05-27T23:50:16.121Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/0/sun/security/pkcs11/Secmod \ [2025-05-27T23:50:16.121Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/0/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/0/sun/security/pkcs11 \ [2025-05-27T23:50:16.121Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/0/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/0/sun/security/pkcs11 \ [2025-05-27T23:50:16.121Z] -d /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/0/sun/security/pkcs11/Secmod \ [2025-05-27T23:50:16.121Z] -sourcepath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2025-05-27T23:50:16.122Z] -classpath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/0/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/0/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/lib/tools.jar \ [2025-05-27T23:50:16.122Z] -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/AddPrivateKey.java [2025-05-27T23:50:16.122Z] direct: [2025-05-27T23:50:16.122Z] Note: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/PKCS11Test.java uses unchecked or unsafe operations. [2025-05-27T23:50:16.122Z] Note: Recompile with -Xlint:unchecked for details. [2025-05-27T23:50:16.122Z] [2025-05-27T23:50:16.122Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException [2025-05-27T23:50:16.122Z] REASON: User specified action: run main/othervm AddPrivateKey [2025-05-27T23:50:16.122Z] TIME: 2.008 seconds [2025-05-27T23:50:16.122Z] messages: [2025-05-27T23:50:16.122Z] command: main AddPrivateKey [2025-05-27T23:50:16.122Z] reason: User specified action: run main/othervm AddPrivateKey [2025-05-27T23:50:16.122Z] Mode: othervm [/othervm specified] [2025-05-27T23:50:16.122Z] elapsed time (seconds): 2.008 [2025-05-27T23:50:16.122Z] configuration: [2025-05-27T23:50:16.122Z] STDOUT: [2025-05-27T23:50:16.122Z] libsoftokn3 version not found, set to 0.0: /usr/lib64/libsoftokn3.so [2025-05-27T23:50:16.122Z] STDERR: [2025-05-27T23:50:16.122Z] java.lang.reflect.InvocationTargetException [2025-05-27T23:50:16.122Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [2025-05-27T23:50:16.122Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [2025-05-27T23:50:16.122Z] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [2025-05-27T23:50:16.122Z] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [2025-05-27T23:50:16.122Z] at PKCS11Test.getSunPKCS11(PKCS11Test.java:108) [2025-05-27T23:50:16.122Z] at AddPrivateKey.main(AddPrivateKey.java:71) [2025-05-27T23:50:16.122Z] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-05-27T23:50:16.122Z] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-05-27T23:50:16.122Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-05-27T23:50:16.122Z] at java.lang.reflect.Method.invoke(Method.java:498) [2025-05-27T23:50:16.122Z] at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127) [2025-05-27T23:50:16.122Z] at java.lang.Thread.run(Thread.java:750) [2025-05-27T23:50:16.122Z] Caused by: java.security.ProviderException: Could not initialize NSS [2025-05-27T23:50:16.122Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:212) [2025-05-27T23:50:16.122Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103) [2025-05-27T23:50:16.122Z] ... 12 more [2025-05-27T23:50:16.122Z] Caused by: java.io.IOException: NSS initialization failed [2025-05-27T23:50:16.122Z] at sun.security.pkcs11.Secmod.initialize(Secmod.java:243) [2025-05-27T23:50:16.122Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:207) [2025-05-27T23:50:16.122Z] ... 13 more [2025-05-27T23:50:16.122Z] [2025-05-27T23:50:16.122Z] JavaTest Message: Test threw exception: java.lang.reflect.InvocationTargetException [2025-05-27T23:50:16.122Z] JavaTest Message: shutting down test [2025-05-27T23:50:16.122Z] [2025-05-27T23:50:16.122Z] STATUS:Failed.`main' threw exception: java.lang.reflect.InvocationTargetException [2025-05-27T23:50:16.122Z] rerun: [2025-05-27T23:50:16.122Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/scratch/2 && \ [2025-05-27T23:50:16.122Z] DISPLAY=:0 \ [2025-05-27T23:50:16.122Z] HOME=/home/jenkins \ [2025-05-27T23:50:16.122Z] LANG=C.utf8 \ [2025-05-27T23:50:16.122Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-05-27T23:50:16.122Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/0/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/0/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/lib/tools.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-05-27T23:50:16.122Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/java \ [2025-05-27T23:50:16.122Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-05-27T23:50:16.122Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-05-27T23:50:16.122Z] -Dtest.compiler.opts= \ [2025-05-27T23:50:16.122Z] -Dtest.java.opts= \ [2025-05-27T23:50:16.122Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-05-27T23:50:16.122Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-05-27T23:50:16.122Z] -Dtest.timeout.factor=8.0 \ [2025-05-27T23:50:16.122Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2025-05-27T23:50:16.122Z] -Dtest.name=sun/security/pkcs11/Secmod/AddPrivateKey.java \ [2025-05-27T23:50:16.122Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/AddPrivateKey.java \ [2025-05-27T23:50:16.122Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod \ [2025-05-27T23:50:16.122Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2025-05-27T23:50:16.122Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/0/sun/security/pkcs11/Secmod \ [2025-05-27T23:50:16.122Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/0/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/0/sun/security/pkcs11 \ [2025-05-27T23:50:16.122Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/0/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/0/sun/security/pkcs11 \ [2025-05-27T23:50:16.122Z] -ea \ [2025-05-27T23:50:16.122Z] -esa \ [2025-05-27T23:50:16.122Z] -Xmx512m \ [2025-05-27T23:50:16.122Z] -XX:-UseCompressedOops \ [2025-05-27T23:50:16.122Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/sun/security/pkcs11/Secmod/AddPrivateKey.d/main.0.jta [2025-05-27T23:50:16.122Z] [2025-05-27T23:50:16.122Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException [2025-05-27T23:50:16.122Z] -------------------------------------------------- [2025-05-27T23:50:19.717Z] TEST: sun/security/pkcs11/Secmod/GetPrivateKey.java [2025-05-27T23:50:19.717Z] TEST JDK: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image [2025-05-27T23:50:19.717Z] [2025-05-27T23:50:19.717Z] ACTION: build -- Passed. Build successful [2025-05-27T23:50:19.717Z] REASON: Named class compiled on demand [2025-05-27T23:50:19.717Z] TIME: 1.072 seconds [2025-05-27T23:50:19.717Z] messages: [2025-05-27T23:50:19.717Z] command: build GetPrivateKey [2025-05-27T23:50:19.717Z] reason: Named class compiled on demand [2025-05-27T23:50:19.717Z] Test directory: [2025-05-27T23:50:19.717Z] compile: GetPrivateKey [2025-05-27T23:50:19.717Z] elapsed time (seconds): 1.072 [2025-05-27T23:50:19.717Z] [2025-05-27T23:50:19.717Z] ACTION: compile -- Passed. Compilation successful [2025-05-27T23:50:19.717Z] REASON: .class file out of date or does not exist [2025-05-27T23:50:19.717Z] TIME: 1.072 seconds [2025-05-27T23:50:19.717Z] messages: [2025-05-27T23:50:19.717Z] command: compile -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/GetPrivateKey.java [2025-05-27T23:50:19.717Z] reason: .class file out of date or does not exist [2025-05-27T23:50:19.717Z] Mode: agentvm [2025-05-27T23:50:19.717Z] Agent id: 1 [2025-05-27T23:50:19.717Z] elapsed time (seconds): 1.072 [2025-05-27T23:50:19.717Z] configuration: [2025-05-27T23:50:19.717Z] Boot Layer (javac runtime environment) [2025-05-27T23:50:19.717Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/lib/tools.jar [2025-05-27T23:50:19.717Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-05-27T23:50:19.717Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-05-27T23:50:19.717Z] [2025-05-27T23:50:19.717Z] javac compilation environment [2025-05-27T23:50:19.717Z] source path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod [2025-05-27T23:50:19.717Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 [2025-05-27T23:50:19.717Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod [2025-05-27T23:50:19.717Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11/Secmod [2025-05-27T23:50:19.717Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11 [2025-05-27T23:50:19.717Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/lib/tools.jar [2025-05-27T23:50:19.717Z] [2025-05-27T23:50:19.717Z] rerun: [2025-05-27T23:50:19.717Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/scratch/1 && \ [2025-05-27T23:50:19.717Z] DISPLAY=:0 \ [2025-05-27T23:50:19.717Z] HOME=/home/jenkins \ [2025-05-27T23:50:19.717Z] LANG=C.utf8 \ [2025-05-27T23:50:19.717Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-05-27T23:50:19.717Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/javac \ [2025-05-27T23:50:19.717Z] -J-ea \ [2025-05-27T23:50:19.717Z] -J-esa \ [2025-05-27T23:50:19.717Z] -J-Xmx512m \ [2025-05-27T23:50:19.717Z] -J-XX:-UseCompressedOops \ [2025-05-27T23:50:19.717Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-05-27T23:50:19.717Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-05-27T23:50:19.717Z] -J-Dtest.compiler.opts= \ [2025-05-27T23:50:19.717Z] -J-Dtest.java.opts= \ [2025-05-27T23:50:19.717Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-05-27T23:50:19.717Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-05-27T23:50:19.717Z] -J-Dtest.timeout.factor=8.0 \ [2025-05-27T23:50:19.718Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2025-05-27T23:50:19.718Z] -J-Dtest.name=sun/security/pkcs11/Secmod/GetPrivateKey.java \ [2025-05-27T23:50:19.718Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/GetPrivateKey.java \ [2025-05-27T23:50:19.718Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod \ [2025-05-27T23:50:19.718Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2025-05-27T23:50:19.718Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11/Secmod \ [2025-05-27T23:50:19.718Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11 \ [2025-05-27T23:50:19.718Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11 \ [2025-05-27T23:50:19.718Z] -d /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11/Secmod \ [2025-05-27T23:50:19.718Z] -sourcepath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2025-05-27T23:50:19.718Z] -classpath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/lib/tools.jar \ [2025-05-27T23:50:19.718Z] -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/GetPrivateKey.java [2025-05-27T23:50:19.718Z] direct: [2025-05-27T23:50:19.718Z] Note: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/PKCS11Test.java uses unchecked or unsafe operations. [2025-05-27T23:50:19.718Z] Note: Recompile with -Xlint:unchecked for details. [2025-05-27T23:50:19.718Z] [2025-05-27T23:50:19.718Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException [2025-05-27T23:50:19.718Z] REASON: User specified action: run main/othervm GetPrivateKey [2025-05-27T23:50:19.718Z] TIME: 1.982 seconds [2025-05-27T23:50:19.718Z] messages: [2025-05-27T23:50:19.718Z] command: main GetPrivateKey [2025-05-27T23:50:19.718Z] reason: User specified action: run main/othervm GetPrivateKey [2025-05-27T23:50:19.718Z] Mode: othervm [/othervm specified] [2025-05-27T23:50:19.718Z] elapsed time (seconds): 1.982 [2025-05-27T23:50:19.718Z] configuration: [2025-05-27T23:50:19.718Z] STDOUT: [2025-05-27T23:50:19.718Z] libsoftokn3 version not found, set to 0.0: /usr/lib64/libsoftokn3.so [2025-05-27T23:50:19.718Z] STDERR: [2025-05-27T23:50:19.718Z] java.lang.reflect.InvocationTargetException [2025-05-27T23:50:19.718Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [2025-05-27T23:50:19.718Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [2025-05-27T23:50:19.718Z] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [2025-05-27T23:50:19.718Z] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [2025-05-27T23:50:19.718Z] at PKCS11Test.getSunPKCS11(PKCS11Test.java:108) [2025-05-27T23:50:19.718Z] at GetPrivateKey.main(GetPrivateKey.java:54) [2025-05-27T23:50:19.718Z] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-05-27T23:50:19.718Z] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-05-27T23:50:19.718Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-05-27T23:50:19.718Z] at java.lang.reflect.Method.invoke(Method.java:498) [2025-05-27T23:50:19.718Z] at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127) [2025-05-27T23:50:19.718Z] at java.lang.Thread.run(Thread.java:750) [2025-05-27T23:50:19.718Z] Caused by: java.security.ProviderException: Could not initialize NSS [2025-05-27T23:50:19.718Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:212) [2025-05-27T23:50:19.718Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103) [2025-05-27T23:50:19.718Z] ... 12 more [2025-05-27T23:50:19.718Z] Caused by: java.io.IOException: NSS initialization failed [2025-05-27T23:50:19.718Z] at sun.security.pkcs11.Secmod.initialize(Secmod.java:243) [2025-05-27T23:50:19.718Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:207) [2025-05-27T23:50:19.718Z] ... 13 more [2025-05-27T23:50:19.718Z] [2025-05-27T23:50:19.718Z] JavaTest Message: Test threw exception: java.lang.reflect.InvocationTargetException [2025-05-27T23:50:19.718Z] JavaTest Message: shutting down test [2025-05-27T23:50:19.718Z] [2025-05-27T23:50:19.718Z] STATUS:Failed.`main' threw exception: java.lang.reflect.InvocationTargetException [2025-05-27T23:50:19.718Z] rerun: [2025-05-27T23:50:19.718Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/scratch/1 && \ [2025-05-27T23:50:19.718Z] DISPLAY=:0 \ [2025-05-27T23:50:19.718Z] HOME=/home/jenkins \ [2025-05-27T23:50:19.718Z] LANG=C.utf8 \ [2025-05-27T23:50:19.718Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-05-27T23:50:19.718Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/lib/tools.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-05-27T23:50:19.718Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/java \ [2025-05-27T23:50:19.718Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-05-27T23:50:19.718Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-05-27T23:50:19.718Z] -Dtest.compiler.opts= \ [2025-05-27T23:50:19.718Z] -Dtest.java.opts= \ [2025-05-27T23:50:19.718Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-05-27T23:50:19.718Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-05-27T23:50:19.718Z] -Dtest.timeout.factor=8.0 \ [2025-05-27T23:50:19.718Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2025-05-27T23:50:19.718Z] -Dtest.name=sun/security/pkcs11/Secmod/GetPrivateKey.java \ [2025-05-27T23:50:19.718Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/GetPrivateKey.java \ [2025-05-27T23:50:19.718Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod \ [2025-05-27T23:50:19.718Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2025-05-27T23:50:19.718Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11/Secmod \ [2025-05-27T23:50:19.718Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11 \ [2025-05-27T23:50:19.718Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11 \ [2025-05-27T23:50:19.718Z] -ea \ [2025-05-27T23:50:19.718Z] -esa \ [2025-05-27T23:50:19.718Z] -Xmx512m \ [2025-05-27T23:50:19.718Z] -XX:-UseCompressedOops \ [2025-05-27T23:50:19.718Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/sun/security/pkcs11/Secmod/GetPrivateKey.d/main.0.jta [2025-05-27T23:50:19.718Z] [2025-05-27T23:50:19.718Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException [2025-05-27T23:50:19.718Z] -------------------------------------------------- [2025-05-27T23:50:21.601Z] TEST: sun/security/pkcs11/Secmod/JksSetPrivateKey.java [2025-05-27T23:50:21.601Z] TEST JDK: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image [2025-05-27T23:50:21.601Z] [2025-05-27T23:50:21.602Z] ACTION: build -- Passed. Build successful [2025-05-27T23:50:21.602Z] REASON: Named class compiled on demand [2025-05-27T23:50:21.602Z] TIME: 1.099 seconds [2025-05-27T23:50:21.602Z] messages: [2025-05-27T23:50:21.602Z] command: build JksSetPrivateKey [2025-05-27T23:50:21.602Z] reason: Named class compiled on demand [2025-05-27T23:50:21.602Z] Test directory: [2025-05-27T23:50:21.602Z] compile: JksSetPrivateKey [2025-05-27T23:50:21.602Z] elapsed time (seconds): 1.099 [2025-05-27T23:50:21.602Z] [2025-05-27T23:50:21.602Z] ACTION: compile -- Passed. Compilation successful [2025-05-27T23:50:21.602Z] REASON: .class file out of date or does not exist [2025-05-27T23:50:21.602Z] TIME: 1.099 seconds [2025-05-27T23:50:21.602Z] messages: [2025-05-27T23:50:21.602Z] command: compile -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/JksSetPrivateKey.java [2025-05-27T23:50:21.602Z] reason: .class file out of date or does not exist [2025-05-27T23:50:21.602Z] Mode: agentvm [2025-05-27T23:50:21.602Z] Agent id: 3 [2025-05-27T23:50:21.602Z] elapsed time (seconds): 1.099 [2025-05-27T23:50:21.602Z] configuration: [2025-05-27T23:50:21.602Z] Boot Layer (javac runtime environment) [2025-05-27T23:50:21.602Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/lib/tools.jar [2025-05-27T23:50:21.602Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-05-27T23:50:21.602Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-05-27T23:50:21.602Z] [2025-05-27T23:50:21.602Z] javac compilation environment [2025-05-27T23:50:21.602Z] source path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod [2025-05-27T23:50:21.602Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 [2025-05-27T23:50:21.602Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod [2025-05-27T23:50:21.602Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod [2025-05-27T23:50:21.602Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11 [2025-05-27T23:50:21.602Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/lib/tools.jar [2025-05-27T23:50:21.602Z] [2025-05-27T23:50:21.602Z] rerun: [2025-05-27T23:50:21.602Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/scratch/0 && \ [2025-05-27T23:50:21.602Z] DISPLAY=:0 \ [2025-05-27T23:50:21.602Z] HOME=/home/jenkins \ [2025-05-27T23:50:21.602Z] LANG=C.utf8 \ [2025-05-27T23:50:21.602Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-05-27T23:50:21.602Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/javac \ [2025-05-27T23:50:21.602Z] -J-ea \ [2025-05-27T23:50:21.602Z] -J-esa \ [2025-05-27T23:50:21.602Z] -J-Xmx512m \ [2025-05-27T23:50:21.602Z] -J-XX:-UseCompressedOops \ [2025-05-27T23:50:21.602Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-05-27T23:50:21.602Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-05-27T23:50:21.602Z] -J-Dtest.compiler.opts= \ [2025-05-27T23:50:21.602Z] -J-Dtest.java.opts= \ [2025-05-27T23:50:21.602Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-05-27T23:50:21.602Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-05-27T23:50:21.602Z] -J-Dtest.timeout.factor=8.0 \ [2025-05-27T23:50:21.602Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2025-05-27T23:50:21.602Z] -J-Dtest.name=sun/security/pkcs11/Secmod/JksSetPrivateKey.java \ [2025-05-27T23:50:21.602Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/JksSetPrivateKey.java \ [2025-05-27T23:50:21.602Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod \ [2025-05-27T23:50:21.602Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2025-05-27T23:50:21.602Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod \ [2025-05-27T23:50:21.602Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11 \ [2025-05-27T23:50:21.602Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11 \ [2025-05-27T23:50:21.602Z] -d /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod \ [2025-05-27T23:50:21.602Z] -sourcepath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2025-05-27T23:50:21.602Z] -classpath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/lib/tools.jar \ [2025-05-27T23:50:21.602Z] -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/JksSetPrivateKey.java [2025-05-27T23:50:21.602Z] direct: [2025-05-27T23:50:21.602Z] Note: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/PKCS11Test.java uses unchecked or unsafe operations. [2025-05-27T23:50:21.602Z] Note: Recompile with -Xlint:unchecked for details. [2025-05-27T23:50:21.602Z] [2025-05-27T23:50:21.602Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException [2025-05-27T23:50:21.602Z] REASON: User specified action: run main/othervm JksSetPrivateKey [2025-05-27T23:50:21.602Z] TIME: 1.79 seconds [2025-05-27T23:50:21.602Z] messages: [2025-05-27T23:50:21.602Z] command: main JksSetPrivateKey [2025-05-27T23:50:21.602Z] reason: User specified action: run main/othervm JksSetPrivateKey [2025-05-27T23:50:21.602Z] Mode: othervm [/othervm specified] [2025-05-27T23:50:21.602Z] elapsed time (seconds): 1.79 [2025-05-27T23:50:21.602Z] configuration: [2025-05-27T23:50:21.602Z] STDOUT: [2025-05-27T23:50:21.602Z] libsoftokn3 version not found, set to 0.0: /usr/lib64/libsoftokn3.so [2025-05-27T23:50:21.602Z] STDERR: [2025-05-27T23:50:21.602Z] java.lang.reflect.InvocationTargetException [2025-05-27T23:50:21.602Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [2025-05-27T23:50:21.602Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [2025-05-27T23:50:21.602Z] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [2025-05-27T23:50:21.602Z] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [2025-05-27T23:50:21.602Z] at PKCS11Test.getSunPKCS11(PKCS11Test.java:108) [2025-05-27T23:50:21.602Z] at JksSetPrivateKey.main(JksSetPrivateKey.java:53) [2025-05-27T23:50:21.602Z] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-05-27T23:50:21.602Z] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-05-27T23:50:21.602Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-05-27T23:50:21.602Z] at java.lang.reflect.Method.invoke(Method.java:498) [2025-05-27T23:50:21.602Z] at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127) [2025-05-27T23:50:21.602Z] at java.lang.Thread.run(Thread.java:750) [2025-05-27T23:50:21.602Z] Caused by: java.security.ProviderException: Could not initialize NSS [2025-05-27T23:50:21.602Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:212) [2025-05-27T23:50:21.602Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103) [2025-05-27T23:50:21.602Z] ... 12 more [2025-05-27T23:50:21.602Z] Caused by: java.io.IOException: NSS initialization failed [2025-05-27T23:50:21.602Z] at sun.security.pkcs11.Secmod.initialize(Secmod.java:243) [2025-05-27T23:50:21.602Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:207) [2025-05-27T23:50:21.603Z] ... 13 more [2025-05-27T23:50:21.603Z] [2025-05-27T23:50:21.603Z] JavaTest Message: Test threw exception: java.lang.reflect.InvocationTargetException [2025-05-27T23:50:21.603Z] JavaTest Message: shutting down test [2025-05-27T23:50:21.603Z] [2025-05-27T23:50:21.603Z] STATUS:Failed.`main' threw exception: java.lang.reflect.InvocationTargetException [2025-05-27T23:50:21.603Z] rerun: [2025-05-27T23:50:21.603Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/scratch/0 && \ [2025-05-27T23:50:21.603Z] DISPLAY=:0 \ [2025-05-27T23:50:21.603Z] HOME=/home/jenkins \ [2025-05-27T23:50:21.603Z] LANG=C.utf8 \ [2025-05-27T23:50:21.603Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-05-27T23:50:21.603Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/lib/tools.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-05-27T23:50:21.603Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/java \ [2025-05-27T23:50:21.603Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-05-27T23:50:21.603Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-05-27T23:50:21.603Z] -Dtest.compiler.opts= \ [2025-05-27T23:50:21.603Z] -Dtest.java.opts= \ [2025-05-27T23:50:21.603Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-05-27T23:50:21.603Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-05-27T23:50:21.603Z] -Dtest.timeout.factor=8.0 \ [2025-05-27T23:50:21.603Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2025-05-27T23:50:21.603Z] -Dtest.name=sun/security/pkcs11/Secmod/JksSetPrivateKey.java \ [2025-05-27T23:50:21.603Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/JksSetPrivateKey.java \ [2025-05-27T23:50:21.603Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod \ [2025-05-27T23:50:21.603Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2025-05-27T23:50:21.603Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod \ [2025-05-27T23:50:21.603Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11 \ [2025-05-27T23:50:21.603Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11 \ [2025-05-27T23:50:21.603Z] -ea \ [2025-05-27T23:50:21.603Z] -esa \ [2025-05-27T23:50:21.603Z] -Xmx512m \ [2025-05-27T23:50:21.603Z] -XX:-UseCompressedOops \ [2025-05-27T23:50:21.603Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/sun/security/pkcs11/Secmod/JksSetPrivateKey.d/main.0.jta [2025-05-27T23:50:21.603Z] [2025-05-27T23:50:21.603Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException [2025-05-27T23:50:21.603Z] -------------------------------------------------- [2025-05-27T23:50:22.509Z] TEST: sun/security/pkcs11/Secmod/LoadKeystore.java [2025-05-27T23:50:22.509Z] TEST JDK: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image [2025-05-27T23:50:22.509Z] [2025-05-27T23:50:22.509Z] ACTION: build -- Passed. Build successful [2025-05-27T23:50:22.509Z] REASON: Named class compiled on demand [2025-05-27T23:50:22.509Z] TIME: 0.269 seconds [2025-05-27T23:50:22.509Z] messages: [2025-05-27T23:50:22.509Z] command: build LoadKeystore [2025-05-27T23:50:22.509Z] reason: Named class compiled on demand [2025-05-27T23:50:22.509Z] Test directory: [2025-05-27T23:50:22.509Z] compile: LoadKeystore [2025-05-27T23:50:22.509Z] elapsed time (seconds): 0.269 [2025-05-27T23:50:22.509Z] [2025-05-27T23:50:22.509Z] ACTION: compile -- Passed. Compilation successful [2025-05-27T23:50:22.509Z] REASON: .class file out of date or does not exist [2025-05-27T23:50:22.509Z] TIME: 0.269 seconds [2025-05-27T23:50:22.509Z] messages: [2025-05-27T23:50:22.509Z] command: compile -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/LoadKeystore.java [2025-05-27T23:50:22.509Z] reason: .class file out of date or does not exist [2025-05-27T23:50:22.509Z] Mode: agentvm [2025-05-27T23:50:22.509Z] Agent id: 1 [2025-05-27T23:50:22.509Z] elapsed time (seconds): 0.269 [2025-05-27T23:50:22.509Z] configuration: [2025-05-27T23:50:22.509Z] Boot Layer (javac runtime environment) [2025-05-27T23:50:22.509Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/lib/tools.jar [2025-05-27T23:50:22.509Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-05-27T23:50:22.509Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-05-27T23:50:22.509Z] [2025-05-27T23:50:22.509Z] javac compilation environment [2025-05-27T23:50:22.509Z] source path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod [2025-05-27T23:50:22.509Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 [2025-05-27T23:50:22.509Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod [2025-05-27T23:50:22.509Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11/Secmod [2025-05-27T23:50:22.509Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11 [2025-05-27T23:50:22.509Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/lib/tools.jar [2025-05-27T23:50:22.509Z] [2025-05-27T23:50:22.509Z] rerun: [2025-05-27T23:50:22.509Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/scratch/1 && \ [2025-05-27T23:50:22.509Z] DISPLAY=:0 \ [2025-05-27T23:50:22.509Z] HOME=/home/jenkins \ [2025-05-27T23:50:22.509Z] LANG=C.utf8 \ [2025-05-27T23:50:22.509Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-05-27T23:50:22.509Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/javac \ [2025-05-27T23:50:22.509Z] -J-ea \ [2025-05-27T23:50:22.509Z] -J-esa \ [2025-05-27T23:50:22.509Z] -J-Xmx512m \ [2025-05-27T23:50:22.509Z] -J-XX:-UseCompressedOops \ [2025-05-27T23:50:22.509Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-05-27T23:50:22.509Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-05-27T23:50:22.509Z] -J-Dtest.compiler.opts= \ [2025-05-27T23:50:22.510Z] -J-Dtest.java.opts= \ [2025-05-27T23:50:22.510Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-05-27T23:50:22.510Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-05-27T23:50:22.510Z] -J-Dtest.timeout.factor=8.0 \ [2025-05-27T23:50:22.510Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2025-05-27T23:50:22.510Z] -J-Dtest.name=sun/security/pkcs11/Secmod/LoadKeystore.java \ [2025-05-27T23:50:22.510Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/LoadKeystore.java \ [2025-05-27T23:50:22.510Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod \ [2025-05-27T23:50:22.510Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2025-05-27T23:50:22.510Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11/Secmod \ [2025-05-27T23:50:22.510Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11 \ [2025-05-27T23:50:22.510Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11 \ [2025-05-27T23:50:22.510Z] -d /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11/Secmod \ [2025-05-27T23:50:22.510Z] -sourcepath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2025-05-27T23:50:22.510Z] -classpath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/lib/tools.jar \ [2025-05-27T23:50:22.510Z] -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/LoadKeystore.java [2025-05-27T23:50:22.510Z] [2025-05-27T23:50:22.510Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException [2025-05-27T23:50:22.510Z] REASON: User specified action: run main/othervm LoadKeystore [2025-05-27T23:50:22.510Z] TIME: 1.745 seconds [2025-05-27T23:50:22.510Z] messages: [2025-05-27T23:50:22.510Z] command: main LoadKeystore [2025-05-27T23:50:22.510Z] reason: User specified action: run main/othervm LoadKeystore [2025-05-27T23:50:22.510Z] Mode: othervm [/othervm specified] [2025-05-27T23:50:22.510Z] elapsed time (seconds): 1.745 [2025-05-27T23:50:22.510Z] configuration: [2025-05-27T23:50:22.510Z] STDOUT: [2025-05-27T23:50:22.510Z] libsoftokn3 version not found, set to 0.0: /usr/lib64/libsoftokn3.so [2025-05-27T23:50:22.510Z] STDERR: [2025-05-27T23:50:22.510Z] java.lang.reflect.InvocationTargetException [2025-05-27T23:50:22.510Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [2025-05-27T23:50:22.510Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [2025-05-27T23:50:22.510Z] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [2025-05-27T23:50:22.510Z] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [2025-05-27T23:50:22.510Z] at PKCS11Test.getSunPKCS11(PKCS11Test.java:108) [2025-05-27T23:50:22.510Z] at LoadKeystore.main(LoadKeystore.java:49) [2025-05-27T23:50:22.510Z] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-05-27T23:50:22.510Z] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-05-27T23:50:22.510Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-05-27T23:50:22.510Z] at java.lang.reflect.Method.invoke(Method.java:498) [2025-05-27T23:50:22.510Z] at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127) [2025-05-27T23:50:22.510Z] at java.lang.Thread.run(Thread.java:750) [2025-05-27T23:50:22.510Z] Caused by: java.security.ProviderException: Could not initialize NSS [2025-05-27T23:50:22.510Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:212) [2025-05-27T23:50:22.510Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103) [2025-05-27T23:50:22.510Z] ... 12 more [2025-05-27T23:50:22.510Z] Caused by: java.io.IOException: NSS initialization failed [2025-05-27T23:50:22.510Z] at sun.security.pkcs11.Secmod.initialize(Secmod.java:243) [2025-05-27T23:50:22.510Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:207) [2025-05-27T23:50:22.510Z] ... 13 more [2025-05-27T23:50:22.510Z] [2025-05-27T23:50:22.510Z] JavaTest Message: Test threw exception: java.lang.reflect.InvocationTargetException [2025-05-27T23:50:22.510Z] JavaTest Message: shutting down test [2025-05-27T23:50:22.510Z] [2025-05-27T23:50:22.510Z] STATUS:Failed.`main' threw exception: java.lang.reflect.InvocationTargetException [2025-05-27T23:50:22.510Z] rerun: [2025-05-27T23:50:22.510Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/scratch/1 && \ [2025-05-27T23:50:22.510Z] DISPLAY=:0 \ [2025-05-27T23:50:22.510Z] HOME=/home/jenkins \ [2025-05-27T23:50:22.510Z] LANG=C.utf8 \ [2025-05-27T23:50:22.510Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-05-27T23:50:22.510Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/lib/tools.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-05-27T23:50:22.510Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/java \ [2025-05-27T23:50:22.510Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-05-27T23:50:22.510Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-05-27T23:50:22.510Z] -Dtest.compiler.opts= \ [2025-05-27T23:50:22.510Z] -Dtest.java.opts= \ [2025-05-27T23:50:22.510Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-05-27T23:50:22.510Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-05-27T23:50:22.510Z] -Dtest.timeout.factor=8.0 \ [2025-05-27T23:50:22.510Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2025-05-27T23:50:22.510Z] -Dtest.name=sun/security/pkcs11/Secmod/LoadKeystore.java \ [2025-05-27T23:50:22.510Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/LoadKeystore.java \ [2025-05-27T23:50:22.510Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod \ [2025-05-27T23:50:22.510Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2025-05-27T23:50:22.510Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11/Secmod \ [2025-05-27T23:50:22.510Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11 \ [2025-05-27T23:50:22.511Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/2/sun/security/pkcs11 \ [2025-05-27T23:50:22.511Z] -ea \ [2025-05-27T23:50:22.511Z] -esa \ [2025-05-27T23:50:22.511Z] -Xmx512m \ [2025-05-27T23:50:22.511Z] -XX:-UseCompressedOops \ [2025-05-27T23:50:22.511Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/sun/security/pkcs11/Secmod/LoadKeystore.d/main.0.jta [2025-05-27T23:50:22.511Z] [2025-05-27T23:50:22.511Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException [2025-05-27T23:50:22.511Z] -------------------------------------------------- [2025-05-27T23:50:23.434Z] TEST: sun/security/pkcs11/Secmod/TrustAnchors.java [2025-05-27T23:50:23.434Z] TEST JDK: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image [2025-05-27T23:50:23.434Z] [2025-05-27T23:50:23.434Z] ACTION: build -- Passed. Build successful [2025-05-27T23:50:23.434Z] REASON: Named class compiled on demand [2025-05-27T23:50:23.434Z] TIME: 0.311 seconds [2025-05-27T23:50:23.434Z] messages: [2025-05-27T23:50:23.434Z] command: build TrustAnchors [2025-05-27T23:50:23.434Z] reason: Named class compiled on demand [2025-05-27T23:50:23.434Z] Test directory: [2025-05-27T23:50:23.434Z] compile: TrustAnchors [2025-05-27T23:50:23.434Z] elapsed time (seconds): 0.311 [2025-05-27T23:50:23.434Z] [2025-05-27T23:50:23.434Z] ACTION: compile -- Passed. Compilation successful [2025-05-27T23:50:23.434Z] REASON: .class file out of date or does not exist [2025-05-27T23:50:23.434Z] TIME: 0.31 seconds [2025-05-27T23:50:23.434Z] messages: [2025-05-27T23:50:23.434Z] command: compile -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/TrustAnchors.java [2025-05-27T23:50:23.434Z] reason: .class file out of date or does not exist [2025-05-27T23:50:23.434Z] Mode: agentvm [2025-05-27T23:50:23.434Z] Agent id: 3 [2025-05-27T23:50:23.434Z] elapsed time (seconds): 0.31 [2025-05-27T23:50:23.434Z] configuration: [2025-05-27T23:50:23.434Z] Boot Layer (javac runtime environment) [2025-05-27T23:50:23.434Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/lib/tools.jar [2025-05-27T23:50:23.434Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-05-27T23:50:23.434Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-05-27T23:50:23.434Z] [2025-05-27T23:50:23.434Z] javac compilation environment [2025-05-27T23:50:23.434Z] source path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod [2025-05-27T23:50:23.434Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 [2025-05-27T23:50:23.434Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod [2025-05-27T23:50:23.434Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod [2025-05-27T23:50:23.435Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11 [2025-05-27T23:50:23.435Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/lib/tools.jar [2025-05-27T23:50:23.435Z] [2025-05-27T23:50:23.435Z] rerun: [2025-05-27T23:50:23.435Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/scratch/0 && \ [2025-05-27T23:50:23.435Z] DISPLAY=:0 \ [2025-05-27T23:50:23.435Z] HOME=/home/jenkins \ [2025-05-27T23:50:23.435Z] LANG=C.utf8 \ [2025-05-27T23:50:23.435Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-05-27T23:50:23.435Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/javac \ [2025-05-27T23:50:23.435Z] -J-ea \ [2025-05-27T23:50:23.435Z] -J-esa \ [2025-05-27T23:50:23.435Z] -J-Xmx512m \ [2025-05-27T23:50:23.435Z] -J-XX:-UseCompressedOops \ [2025-05-27T23:50:23.435Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-05-27T23:50:23.435Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-05-27T23:50:23.435Z] -J-Dtest.compiler.opts= \ [2025-05-27T23:50:23.435Z] -J-Dtest.java.opts= \ [2025-05-27T23:50:23.435Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-05-27T23:50:23.435Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-05-27T23:50:23.435Z] -J-Dtest.timeout.factor=8.0 \ [2025-05-27T23:50:23.435Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2025-05-27T23:50:23.435Z] -J-Dtest.name=sun/security/pkcs11/Secmod/TrustAnchors.java \ [2025-05-27T23:50:23.435Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/TrustAnchors.java \ [2025-05-27T23:50:23.435Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod \ [2025-05-27T23:50:23.435Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2025-05-27T23:50:23.435Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod \ [2025-05-27T23:50:23.435Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11 \ [2025-05-27T23:50:23.435Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11 \ [2025-05-27T23:50:23.435Z] -d /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod \ [2025-05-27T23:50:23.435Z] -sourcepath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2025-05-27T23:50:23.435Z] -classpath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/lib/tools.jar \ [2025-05-27T23:50:23.435Z] -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/TrustAnchors.java [2025-05-27T23:50:23.435Z] [2025-05-27T23:50:23.435Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException [2025-05-27T23:50:23.435Z] REASON: User specified action: run main/othervm TrustAnchors [2025-05-27T23:50:23.435Z] TIME: 1.951 seconds [2025-05-27T23:50:23.435Z] messages: [2025-05-27T23:50:23.435Z] command: main TrustAnchors [2025-05-27T23:50:23.435Z] reason: User specified action: run main/othervm TrustAnchors [2025-05-27T23:50:23.435Z] Mode: othervm [/othervm specified] [2025-05-27T23:50:23.435Z] elapsed time (seconds): 1.951 [2025-05-27T23:50:23.435Z] configuration: [2025-05-27T23:50:23.435Z] STDOUT: [2025-05-27T23:50:23.435Z] libsoftokn3 version not found, set to 0.0: /usr/lib64/libsoftokn3.so [2025-05-27T23:50:23.435Z] STDERR: [2025-05-27T23:50:23.435Z] java.lang.reflect.InvocationTargetException [2025-05-27T23:50:23.435Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [2025-05-27T23:50:23.435Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [2025-05-27T23:50:23.435Z] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [2025-05-27T23:50:23.435Z] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [2025-05-27T23:50:23.435Z] at PKCS11Test.getSunPKCS11(PKCS11Test.java:108) [2025-05-27T23:50:23.435Z] at TrustAnchors.main(TrustAnchors.java:58) [2025-05-27T23:50:23.435Z] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-05-27T23:50:23.435Z] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-05-27T23:50:23.435Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-05-27T23:50:23.435Z] at java.lang.reflect.Method.invoke(Method.java:498) [2025-05-27T23:50:23.435Z] at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127) [2025-05-27T23:50:23.435Z] at java.lang.Thread.run(Thread.java:750) [2025-05-27T23:50:23.435Z] Caused by: java.security.ProviderException: Could not initialize NSS [2025-05-27T23:50:23.435Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:212) [2025-05-27T23:50:23.435Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103) [2025-05-27T23:50:23.435Z] ... 12 more [2025-05-27T23:50:23.435Z] Caused by: java.io.IOException: NSS initialization failed [2025-05-27T23:50:23.435Z] at sun.security.pkcs11.Secmod.initialize(Secmod.java:243) [2025-05-27T23:50:23.435Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:207) [2025-05-27T23:50:23.435Z] ... 13 more [2025-05-27T23:50:23.435Z] [2025-05-27T23:50:23.435Z] JavaTest Message: Test threw exception: java.lang.reflect.InvocationTargetException [2025-05-27T23:50:23.435Z] JavaTest Message: shutting down test [2025-05-27T23:50:23.435Z] [2025-05-27T23:50:23.435Z] STATUS:Failed.`main' threw exception: java.lang.reflect.InvocationTargetException [2025-05-27T23:50:23.435Z] rerun: [2025-05-27T23:50:23.435Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/scratch/0 && \ [2025-05-27T23:50:23.435Z] DISPLAY=:0 \ [2025-05-27T23:50:23.435Z] HOME=/home/jenkins \ [2025-05-27T23:50:23.435Z] LANG=C.utf8 \ [2025-05-27T23:50:23.435Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-05-27T23:50:23.435Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/lib/tools.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-05-27T23:50:23.435Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/java \ [2025-05-27T23:50:23.435Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-05-27T23:50:23.435Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-05-27T23:50:23.435Z] -Dtest.compiler.opts= \ [2025-05-27T23:50:23.435Z] -Dtest.java.opts= \ [2025-05-27T23:50:23.435Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-05-27T23:50:23.435Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-05-27T23:50:23.435Z] -Dtest.timeout.factor=8.0 \ [2025-05-27T23:50:23.435Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2025-05-27T23:50:23.435Z] -Dtest.name=sun/security/pkcs11/Secmod/TrustAnchors.java \ [2025-05-27T23:50:23.435Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/TrustAnchors.java \ [2025-05-27T23:50:23.435Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod \ [2025-05-27T23:50:23.435Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2025-05-27T23:50:23.435Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod \ [2025-05-27T23:50:23.436Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11 \ [2025-05-27T23:50:23.436Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/pkcs11 \ [2025-05-27T23:50:23.436Z] -ea \ [2025-05-27T23:50:23.436Z] -esa \ [2025-05-27T23:50:23.436Z] -Xmx512m \ [2025-05-27T23:50:23.436Z] -XX:-UseCompressedOops \ [2025-05-27T23:50:23.436Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/sun/security/pkcs11/Secmod/TrustAnchors.d/main.0.jta [2025-05-27T23:50:23.436Z] [2025-05-27T23:50:23.436Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException [2025-05-27T23:50:23.436Z] -------------------------------------------------- [2025-05-28T00:10:38.505Z] TEST: sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java [2025-05-28T00:10:38.505Z] TEST JDK: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image [2025-05-28T00:10:38.505Z] [2025-05-28T00:10:38.505Z] ACTION: build -- Passed. Build successful [2025-05-28T00:10:38.505Z] REASON: Named class compiled on demand [2025-05-28T00:10:38.505Z] TIME: 0.397 seconds [2025-05-28T00:10:38.505Z] messages: [2025-05-28T00:10:38.505Z] command: build Symantec [2025-05-28T00:10:38.505Z] reason: Named class compiled on demand [2025-05-28T00:10:38.505Z] Test directory: [2025-05-28T00:10:38.505Z] compile: Symantec [2025-05-28T00:10:38.505Z] elapsed time (seconds): 0.397 [2025-05-28T00:10:38.505Z] [2025-05-28T00:10:38.505Z] ACTION: compile -- Passed. Compilation successful [2025-05-28T00:10:38.505Z] REASON: .class file out of date or does not exist [2025-05-28T00:10:38.505Z] TIME: 0.397 seconds [2025-05-28T00:10:38.505Z] messages: [2025-05-28T00:10:38.505Z] command: compile -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java [2025-05-28T00:10:38.505Z] reason: .class file out of date or does not exist [2025-05-28T00:10:38.505Z] Mode: agentvm [2025-05-28T00:10:38.505Z] Agent id: 3 [2025-05-28T00:10:38.505Z] elapsed time (seconds): 0.397 [2025-05-28T00:10:38.505Z] configuration: [2025-05-28T00:10:38.505Z] Boot Layer (javac runtime environment) [2025-05-28T00:10:38.505Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/lib/tools.jar [2025-05-28T00:10:38.505Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-05-28T00:10:38.505Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-05-28T00:10:38.505Z] [2025-05-28T00:10:38.505Z] javac compilation environment [2025-05-28T00:10:38.505Z] source path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/distrust [2025-05-28T00:10:38.505Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/lib/security [2025-05-28T00:10:38.505Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/distrust [2025-05-28T00:10:38.505Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust [2025-05-28T00:10:38.505Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/lib/security [2025-05-28T00:10:38.505Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/lib/tools.jar [2025-05-28T00:10:38.505Z] [2025-05-28T00:10:38.505Z] rerun: [2025-05-28T00:10:38.505Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/scratch/0 && \ [2025-05-28T00:10:38.505Z] DISPLAY=:0 \ [2025-05-28T00:10:38.505Z] HOME=/home/jenkins \ [2025-05-28T00:10:38.505Z] LANG=C.utf8 \ [2025-05-28T00:10:38.505Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-05-28T00:10:38.505Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/javac \ [2025-05-28T00:10:38.505Z] -J-ea \ [2025-05-28T00:10:38.505Z] -J-esa \ [2025-05-28T00:10:38.505Z] -J-Xmx512m \ [2025-05-28T00:10:38.505Z] -J-XX:-UseCompressedOops \ [2025-05-28T00:10:38.505Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-05-28T00:10:38.505Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-05-28T00:10:38.505Z] -J-Dtest.compiler.opts= \ [2025-05-28T00:10:38.505Z] -J-Dtest.java.opts= \ [2025-05-28T00:10:38.505Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-05-28T00:10:38.505Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-05-28T00:10:38.505Z] -J-Dtest.timeout.factor=8.0 \ [2025-05-28T00:10:38.505Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2025-05-28T00:10:38.505Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java \ [2025-05-28T00:10:38.505Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java \ [2025-05-28T00:10:38.505Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-05-28T00:10:38.505Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/lib/security \ [2025-05-28T00:10:38.505Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-05-28T00:10:38.505Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/lib/security \ [2025-05-28T00:10:38.505Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/lib/security \ [2025-05-28T00:10:38.505Z] -d /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-05-28T00:10:38.505Z] -sourcepath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/lib/security \ [2025-05-28T00:10:38.505Z] -classpath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/lib/security:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/lib/tools.jar \ [2025-05-28T00:10:38.506Z] -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java [2025-05-28T00:10:38.506Z] direct: [2025-05-28T00:10:38.506Z] Note: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses or overrides a deprecated API. [2025-05-28T00:10:38.506Z] Note: Recompile with -Xlint:deprecation for details. [2025-05-28T00:10:38.506Z] Note: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/distrust/Distrust.java uses unchecked or unsafe operations. [2025-05-28T00:10:38.506Z] Note: Recompile with -Xlint:unchecked for details. [2025-05-28T00:10:38.506Z] [2025-05-28T00:10:38.506Z] 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-28T00:10:38.506Z] REASON: User specified action: run main/othervm Symantec after policyOn invalid [2025-05-28T00:10:38.506Z] TIME: 2.476 seconds [2025-05-28T00:10:38.506Z] messages: [2025-05-28T00:10:38.506Z] command: main Symantec after policyOn invalid [2025-05-28T00:10:38.506Z] reason: User specified action: run main/othervm Symantec after policyOn invalid [2025-05-28T00:10:38.506Z] Mode: othervm [/othervm specified] [2025-05-28T00:10:38.506Z] elapsed time (seconds): 2.476 [2025-05-28T00:10:38.506Z] configuration: [2025-05-28T00:10:38.506Z] STDOUT: [2025-05-28T00:10:38.506Z] STDERR: [2025-05-28T00:10:38.506Z] Testing geotrustprimarycag2 [2025-05-28T00:10:38.506Z] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-05-28T00:10:38.506Z] at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:456) [2025-05-28T00:10:38.506Z] at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:323) [2025-05-28T00:10:38.506Z] at sun.security.validator.Validator.validate(Validator.java:271) [2025-05-28T00:10:38.506Z] at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:315) [2025-05-28T00:10:38.506Z] at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:234) [2025-05-28T00:10:38.506Z] at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:110) [2025-05-28T00:10:38.506Z] at Distrust.testTM(Distrust.java:123) [2025-05-28T00:10:38.506Z] at Distrust.testCertificateChain(Distrust.java:80) [2025-05-28T00:10:38.506Z] at Symantec.main(Symantec.java:76) [2025-05-28T00:10:38.506Z] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-05-28T00:10:38.506Z] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-05-28T00:10:38.506Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-05-28T00:10:38.506Z] at java.lang.reflect.Method.invoke(Method.java:498) [2025-05-28T00:10:38.506Z] at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127) [2025-05-28T00:10:38.506Z] at java.lang.Thread.run(Thread.java:750) [2025-05-28T00:10:38.506Z] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [2025-05-28T00:10:38.506Z] at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148) [2025-05-28T00:10:38.506Z] at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129) [2025-05-28T00:10:38.506Z] at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280) [2025-05-28T00:10:38.506Z] at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:451) [2025-05-28T00:10:38.506Z] ... 14 more [2025-05-28T00:10:38.506Z] 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-28T00:10:38.506Z] at Distrust.testTM(Distrust.java:136) [2025-05-28T00:10:38.506Z] at Distrust.testCertificateChain(Distrust.java:80) [2025-05-28T00:10:38.506Z] at Symantec.main(Symantec.java:76) [2025-05-28T00:10:38.506Z] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-05-28T00:10:38.506Z] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-05-28T00:10:38.506Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-05-28T00:10:38.506Z] at java.lang.reflect.Method.invoke(Method.java:498) [2025-05-28T00:10:38.506Z] at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127) [2025-05-28T00:10:38.506Z] at java.lang.Thread.run(Thread.java:750) [2025-05-28T00:10:38.506Z] [2025-05-28T00:10:38.506Z] 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-28T00:10:38.506Z] JavaTest Message: shutting down test [2025-05-28T00:10:38.506Z] [2025-05-28T00:10:38.506Z] 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-28T00:10:38.506Z] rerun: [2025-05-28T00:10:38.506Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/scratch/0 && \ [2025-05-28T00:10:38.506Z] DISPLAY=:0 \ [2025-05-28T00:10:38.506Z] HOME=/home/jenkins \ [2025-05-28T00:10:38.506Z] LANG=C.utf8 \ [2025-05-28T00:10:38.506Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-05-28T00:10:38.506Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/lib/security:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/lib/security:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/lib/tools.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-05-28T00:10:38.506Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/java \ [2025-05-28T00:10:38.506Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-05-28T00:10:38.506Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-05-28T00:10:38.506Z] -Dtest.compiler.opts= \ [2025-05-28T00:10:38.506Z] -Dtest.java.opts= \ [2025-05-28T00:10:38.506Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-05-28T00:10:38.506Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-05-28T00:10:38.506Z] -Dtest.timeout.factor=8.0 \ [2025-05-28T00:10:38.506Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2025-05-28T00:10:38.506Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java \ [2025-05-28T00:10:38.506Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.java \ [2025-05-28T00:10:38.506Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-05-28T00:10:38.506Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/lib/security \ [2025-05-28T00:10:38.506Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust \ [2025-05-28T00:10:38.506Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/lib/security \ [2025-05-28T00:10:38.506Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/distrust:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/lib/security \ [2025-05-28T00:10:38.506Z] -ea \ [2025-05-28T00:10:38.506Z] -esa \ [2025-05-28T00:10:38.506Z] -Xmx512m \ [2025-05-28T00:10:38.506Z] -XX:-UseCompressedOops \ [2025-05-28T00:10:38.506Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/sun/security/ssl/X509TrustManagerImpl/distrust/Symantec.d/main.0.jta after policyOn invalid [2025-05-28T00:10:38.506Z] [2025-05-28T00:10:38.507Z] 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-28T00:10:38.507Z] -------------------------------------------------- [2025-05-28T00:20:13.704Z] TEST: sun/security/tools/keytool/autotest.sh [2025-05-28T00:20:13.704Z] TEST JDK: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image [2025-05-28T00:20:13.704Z] [2025-05-28T00:20:13.704Z] ACTION: shell -- Failed. Execution failed: exit code 1 [2025-05-28T00:20:13.704Z] REASON: Assumed action based on file name: run shell autotest.sh [2025-05-28T00:20:13.704Z] TIME: 17.912 seconds [2025-05-28T00:20:13.704Z] messages: [2025-05-28T00:20:13.705Z] command: shell autotest.sh [2025-05-28T00:20:13.705Z] reason: Assumed action based on file name: run shell autotest.sh [2025-05-28T00:20:13.705Z] elapsed time (seconds): 17.912 [2025-05-28T00:20:13.705Z] STDOUT: [2025-05-28T00:20:13.705Z] STDERR: [2025-05-28T00:20:13.705Z] Note: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/tools/keytool/KeyToolTest.java uses unchecked or unsafe operations. [2025-05-28T00:20:13.705Z] Note: Recompile with -Xlint:unchecked for details. [2025-05-28T00:20:13.705Z] ..... [2025-05-28T00:20:13.705Z] Test fails for the command --- [2025-05-28T00:20:13.705Z] keytool -J-Dnss.lib=/usr/lib64/libsoftokn3.so -keystore NONE -storetype PKCS11 -providerName SunPKCS11-nss -providerClass sun.security.pkcs11.SunPKCS11 -providerArg p11-nss.txt -storepass test12 -list [2025-05-28T00:20:13.705Z] Or its debug version --- [2025-05-28T00:20:13.705Z] keytool -debug -J-Dnss.lib=/usr/lib64/libsoftokn3.so -keystore NONE -storetype PKCS11 -providerName SunPKCS11-nss -providerClass sun.security.pkcs11.SunPKCS11 -providerArg p11-nss.txt -storepass test12 -list [2025-05-28T00:20:13.705Z] The command result should be OK, but it's not. Try run the command manually and type these input into it: [2025-05-28T00:20:13.705Z] [2025-05-28T00:20:13.705Z] ERR is: [2025-05-28T00:20:13.705Z] [2025-05-28T00:20:13.705Z] OUT is: [2025-05-28T00:20:13.705Z] keytool error: java.io.IOException: load failed [2025-05-28T00:20:13.705Z] [2025-05-28T00:20:13.705Z] Exception in thread "main" java.io.IOException: load failed [2025-05-28T00:20:13.705Z] at sun.security.pkcs11.P11KeyStore.engineLoad(P11KeyStore.java:764) [2025-05-28T00:20:13.705Z] at java.security.KeyStore.load(KeyStore.java:1445) [2025-05-28T00:20:13.705Z] at sun.security.tools.keytool.Main.doCommands(Main.java:869) [2025-05-28T00:20:13.705Z] at sun.security.tools.keytool.Main.run(Main.java:378) [2025-05-28T00:20:13.705Z] at sun.security.tools.keytool.Main.main(Main.java:371) [2025-05-28T00:20:13.705Z] at KeyToolTest.test(KeyToolTest.java:159) [2025-05-28T00:20:13.705Z] at KeyToolTest.test(KeyToolTest.java:127) [2025-05-28T00:20:13.705Z] at KeyToolTest.testOK(KeyToolTest.java:182) [2025-05-28T00:20:13.705Z] at KeyToolTest.testPKCS11(KeyToolTest.java:525) [2025-05-28T00:20:13.705Z] at KeyToolTest.main(KeyToolTest.java:1345) [2025-05-28T00:20:13.705Z] Caused by: javax.security.auth.login.LoginException [2025-05-28T00:20:13.705Z] at sun.security.pkcs11.SunPKCS11.login(SunPKCS11.java:1333) [2025-05-28T00:20:13.705Z] at sun.security.pkcs11.P11KeyStore.login(P11KeyStore.java:864) [2025-05-28T00:20:13.705Z] at sun.security.pkcs11.P11KeyStore.engineLoad(P11KeyStore.java:751) [2025-05-28T00:20:13.705Z] ... 9 more [2025-05-28T00:20:13.705Z] Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_USER_TYPE_INVALID [2025-05-28T00:20:13.705Z] at sun.security.pkcs11.wrapper.PKCS11.C_Login(Native Method) [2025-05-28T00:20:13.705Z] at sun.security.pkcs11.SunPKCS11.login(SunPKCS11.java:1317) [2025-05-28T00:20:13.705Z] ... 11 more [2025-05-28T00:20:13.705Z] rerun: [2025-05-28T00:20:13.705Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/scratch/0 && \ [2025-05-28T00:20:13.705Z] DISPLAY=:0 \ [2025-05-28T00:20:13.705Z] HOME=/home/jenkins \ [2025-05-28T00:20:13.705Z] LANG=C.utf8 \ [2025-05-28T00:20:13.705Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-05-28T00:20:13.705Z] TESTFILE=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/tools/keytool/autotest.sh \ [2025-05-28T00:20:13.705Z] TESTSRC=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/tools/keytool \ [2025-05-28T00:20:13.705Z] TESTSRCPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/tools/keytool \ [2025-05-28T00:20:13.705Z] TESTCLASSES=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/tools/keytool \ [2025-05-28T00:20:13.705Z] TESTCLASSPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work/classes/1/sun/security/tools/keytool \ [2025-05-28T00:20:13.705Z] COMPILEJAVA=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-05-28T00:20:13.705Z] TESTJAVA=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/jdkbinary/j2sdk-image \ [2025-05-28T00:20:13.705Z] TESTVMOPTS='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2025-05-28T00:20:13.705Z] TESTTOOLVMOPTS='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2025-05-28T00:20:13.705Z] TESTJAVACOPTS= \ [2025-05-28T00:20:13.705Z] TESTJAVAOPTS= \ [2025-05-28T00:20:13.705Z] TESTTIMEOUTFACTOR=8.0 \ [2025-05-28T00:20:13.705Z] TESTROOT=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2025-05-28T00:20:13.705Z] FS=/ \ [2025-05-28T00:20:13.705Z] PS=: \ [2025-05-28T00:20:13.705Z] NULL=/dev/null \ [2025-05-28T00:20:13.705Z] sh \ [2025-05-28T00:20:13.705Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/tools/keytool/autotest.sh [2025-05-28T00:20:13.705Z] [2025-05-28T00:20:13.705Z] TEST RESULT: Failed. Execution failed: exit code 1 [2025-05-28T00:20:13.705Z] -------------------------------------------------- [2025-05-28T00:32:56.790Z] Test results: passed: 610; failed: 8 [2025-05-28T00:33:16.570Z] Report written to /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/report/html/report.html [2025-05-28T00:33:16.570Z] Results written to /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_0/aqa-tests/TKG/output_17483798172642/jdk_security3_1/work [2025-05-28T00:33:16.570Z] Error: Some tests failed or other problems occurred. [2025-05-28T00:33:16.570Z] ----------------------------------- [2025-05-28T00:33:16.570Z] jdk_security3_1_FAILED [2025-05-28T00:33:16.570Z] ----------------------------------- [2025-05-28T00:33:16.570Z] [2025-05-28T00:33:16.570Z] TEST TEARDOWN: [2025-05-28T00:33:16.570Z] Nothing to be done for teardown. [2025-05-28T00:33:16.570Z] jdk_security3_1 Finish Time: Wed May 28 00:33:14 2025 Epoch Time (ms): 1748392394769