No Possible Issues Found via Git Search

jdk_security3_0

[2025-03-05T00:27:35.150Z] Running test jdk_security3_0 ... [2025-03-05T00:27:35.150Z] =============================================== [2025-03-05T00:27:35.150Z] jdk_security3_0 Start Time: Wed Mar 5 00:27:34 2025 Epoch Time (ms): 1741134454595 [2025-03-05T00:27:35.150Z] variation: Mode150 [2025-03-05T00:27:35.150Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-03-05T00:27:35.150Z] { \ [2025-03-05T00:27:35.150Z] echo ""; echo "TEST SETUP:"; \ [2025-03-05T00:27:35.150Z] echo "Nothing to be done for setup."; \ [2025-03-05T00:27:35.150Z] mkdir -p "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/../TKG/output_17411243607861/jdk_security3_0"; \ [2025-03-05T00:27:35.150Z] cd "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/../TKG/output_17411243607861/jdk_security3_0"; \ [2025-03-05T00:27:35.150Z] echo ""; echo "TESTING:"; \ [2025-03-05T00:27:35.150Z] "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/bin/java" -Xmx512m -jar "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/../../jvmtest/openjdk/jtreg/lib/jtreg.jar" \ [2025-03-05T00:27:35.150Z] -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-03-05T00:27:35.150Z] \ [2025-03-05T00:27:35.150Z] -w ""/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/../TKG/output_17411243607861/jdk_security3_0"/work" \ [2025-03-05T00:27:35.150Z] -r ""/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/../TKG/output_17411243607861/jdk_security3_0"/report" \ [2025-03-05T00:27:35.150Z] -jdk:"/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image" \ [2025-03-05T00:27:35.150Z] -exclude:"/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/../openjdk/openjdk-jdk/jdk/test/ProblemList.txt" \ [2025-03-05T00:27:35.150Z] -exclude:"/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/../../jvmtest/openjdk/excludes/ProblemList_openjdk8.txt" \ [2025-03-05T00:27:35.150Z] \ [2025-03-05T00:27:35.150Z] \ [2025-03-05T00:27:35.150Z] "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/../openjdk/openjdk-jdk/jdk/test:jdk_security3"; \ [2025-03-05T00:27:35.150Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_security3_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/..; else echo "-----------------------------------"; echo "jdk_security3_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-03-05T00:27:35.150Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-03-05T00:27:35.150Z] echo "Nothing to be done for teardown."; \ [2025-03-05T00:27:35.150Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/../TKG/output_17411243607861/TestTargetResult"; [2025-03-05T00:27:35.150Z] [2025-03-05T00:27:35.150Z] TEST SETUP: [2025-03-05T00:27:35.150Z] Nothing to be done for setup. [2025-03-05T00:27:35.150Z] [2025-03-05T00:27:35.150Z] TESTING: [2025-03-05T00:27:35.150Z] Directory "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/../TKG/output_17411243607861/jdk_security3_0/work" not found: creating [2025-03-05T00:27:35.150Z] Directory "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/../TKG/output_17411243607861/jdk_security3_0/report" not found: creating [2025-03-05T00:27:35.966Z] XML output with verification to /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work [2025-03-05T00:31:46.608Z] -------------------------------------------------- [2025-03-05T00:31:46.608Z] TEST: sun/security/pkcs11/Provider/Login.sh [2025-03-05T00:31:46.608Z] TEST JDK: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image [2025-03-05T00:31:46.608Z] [2025-03-05T00:31:46.608Z] ACTION: shell -- Failed. Execution failed: exit code 1 [2025-03-05T00:31:46.608Z] REASON: User specified action: run shell Login.sh [2025-03-05T00:31:46.608Z] TIME: 1.452 seconds [2025-03-05T00:31:46.608Z] messages: [2025-03-05T00:31:46.608Z] command: shell Login.sh [2025-03-05T00:31:46.608Z] reason: User specified action: run shell Login.sh [2025-03-05T00:31:46.608Z] elapsed time (seconds): 1.452 [2025-03-05T00:31:46.608Z] STDOUT: [2025-03-05T00:31:46.608Z] TESTSRC=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider [2025-03-05T00:31:46.609Z] TESTCLASSES=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11/Provider [2025-03-05T00:31:46.609Z] TESTJAVA=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image [2025-03-05T00:31:46.609Z] COMPILEJAVA=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image [2025-03-05T00:31:46.609Z] [2025-03-05T00:31:46.609Z] libsoftokn3 version not found, set to 0.0: /usr/lib64/libsoftokn3.so [2025-03-05T00:31:46.609Z] Beginning test run Login... [2025-03-05T00:31:46.609Z] STDERR: [2025-03-05T00:31:46.609Z] Note: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider/Login.java uses or overrides a deprecated API. [2025-03-05T00:31:46.609Z] Note: Recompile with -Xlint:deprecation for details. [2025-03-05T00:31:46.609Z] Note: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider/../PKCS11Test.java uses unchecked or unsafe operations. [2025-03-05T00:31:46.609Z] Note: Recompile with -Xlint:unchecked for details. [2025-03-05T00:31:46.609Z] Exception in thread "main" java.lang.reflect.InvocationTargetException [2025-03-05T00:31:46.609Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [2025-03-05T00:31:46.609Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [2025-03-05T00:31:46.609Z] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [2025-03-05T00:31:46.609Z] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [2025-03-05T00:31:46.609Z] at PKCS11Test.getSunPKCS11(PKCS11Test.java:108) [2025-03-05T00:31:46.609Z] at PKCS11Test.testNSS(PKCS11Test.java:486) [2025-03-05T00:31:46.609Z] at PKCS11Test.main(PKCS11Test.java:156) [2025-03-05T00:31:46.609Z] at PKCS11Test.main(PKCS11Test.java:137) [2025-03-05T00:31:46.609Z] at Login.main(Login.java:39) [2025-03-05T00:31:46.609Z] Caused by: java.security.ProviderException: Initialization failed [2025-03-05T00:31:46.609Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:376) [2025-03-05T00:31:46.609Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103) [2025-03-05T00:31:46.609Z] ... 9 more [2025-03-05T00:31:46.609Z] Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: 0xCE534351 [2025-03-05T00:31:46.609Z] at sun.security.pkcs11.wrapper.PKCS11.C_Initialize(Native Method) [2025-03-05T00:31:46.609Z] at sun.security.pkcs11.wrapper.PKCS11$SynchronizedPKCS11.C_Initialize(PKCS11.java:1627) [2025-03-05T00:31:46.609Z] at sun.security.pkcs11.wrapper.PKCS11.getInstance(PKCS11.java:163) [2025-03-05T00:31:46.609Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:330) [2025-03-05T00:31:46.609Z] ... 10 more [2025-03-05T00:31:46.609Z] rerun: [2025-03-05T00:31:46.609Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/scratch/0 && \ [2025-03-05T00:31:46.609Z] DISPLAY=:0 \ [2025-03-05T00:31:46.609Z] HOME=/home/jenkins \ [2025-03-05T00:31:46.609Z] LANG=C.utf8 \ [2025-03-05T00:31:46.609Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-03-05T00:31:46.609Z] TESTFILE=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider/Login.sh \ [2025-03-05T00:31:46.609Z] TESTSRC=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider \ [2025-03-05T00:31:46.609Z] TESTSRCPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider \ [2025-03-05T00:31:46.609Z] TESTCLASSES=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11/Provider \ [2025-03-05T00:31:46.609Z] TESTCLASSPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11/Provider \ [2025-03-05T00:31:46.609Z] COMPILEJAVA=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \ [2025-03-05T00:31:46.609Z] TESTJAVA=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \ [2025-03-05T00:31:46.609Z] TESTVMOPTS='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-03-05T00:31:46.609Z] TESTTOOLVMOPTS='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-03-05T00:31:46.609Z] TESTJAVACOPTS= \ [2025-03-05T00:31:46.609Z] TESTJAVAOPTS= \ [2025-03-05T00:31:46.609Z] TESTTIMEOUTFACTOR=8.0 \ [2025-03-05T00:31:46.609Z] TESTROOT=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2025-03-05T00:31:46.609Z] FS=/ \ [2025-03-05T00:31:46.609Z] PS=: \ [2025-03-05T00:31:46.609Z] NULL=/dev/null \ [2025-03-05T00:31:46.609Z] sh \ [2025-03-05T00:31:46.609Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider/Login.sh [2025-03-05T00:31:46.609Z] [2025-03-05T00:31:46.609Z] TEST RESULT: Failed. Execution failed: exit code 1 [2025-03-05T00:31:46.609Z] -------------------------------------------------- [2025-03-05T00:31:46.609Z] TEST: sun/security/pkcs11/Secmod/AddPrivateKey.java [2025-03-05T00:31:46.609Z] TEST JDK: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image [2025-03-05T00:31:46.609Z] [2025-03-05T00:31:46.609Z] ACTION: build -- Passed. Build successful [2025-03-05T00:31:46.609Z] REASON: Named class compiled on demand [2025-03-05T00:31:46.609Z] TIME: 0.074 seconds [2025-03-05T00:31:46.609Z] messages: [2025-03-05T00:31:46.609Z] command: build AddPrivateKey [2025-03-05T00:31:46.609Z] reason: Named class compiled on demand [2025-03-05T00:31:46.609Z] Test directory: [2025-03-05T00:31:46.609Z] compile: AddPrivateKey [2025-03-05T00:31:46.609Z] elapsed time (seconds): 0.074 [2025-03-05T00:31:46.609Z] [2025-03-05T00:31:46.609Z] ACTION: compile -- Passed. Compilation successful [2025-03-05T00:31:46.609Z] REASON: .class file out of date or does not exist [2025-03-05T00:31:46.609Z] TIME: 0.074 seconds [2025-03-05T00:31:46.609Z] messages: [2025-03-05T00:31:46.609Z] command: compile -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/AddPrivateKey.java [2025-03-05T00:31:46.609Z] reason: .class file out of date or does not exist [2025-03-05T00:31:46.609Z] Mode: agentvm [2025-03-05T00:31:46.609Z] Agent id: 2 [2025-03-05T00:31:46.609Z] elapsed time (seconds): 0.074 [2025-03-05T00:31:46.609Z] configuration: [2025-03-05T00:31:46.609Z] Boot Layer (javac runtime environment) [2025-03-05T00:31:46.609Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/lib/tools.jar [2025-03-05T00:31:46.609Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-03-05T00:31:46.609Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-03-05T00:31:46.609Z] [2025-03-05T00:31:46.609Z] javac compilation environment [2025-03-05T00:31:46.609Z] source path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod [2025-03-05T00:31:46.609Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 [2025-03-05T00:31:46.609Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod [2025-03-05T00:31:46.609Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11/Secmod [2025-03-05T00:31:46.609Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11 [2025-03-05T00:31:46.609Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/lib/tools.jar [2025-03-05T00:31:46.609Z] [2025-03-05T00:31:46.609Z] rerun: [2025-03-05T00:31:46.609Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/scratch/0 && \ [2025-03-05T00:31:46.609Z] DISPLAY=:0 \ [2025-03-05T00:31:46.609Z] HOME=/home/jenkins \ [2025-03-05T00:31:46.609Z] LANG=C.utf8 \ [2025-03-05T00:31:46.609Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-03-05T00:31:46.609Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/bin/javac \ [2025-03-05T00:31:46.609Z] -J-ea \ [2025-03-05T00:31:46.609Z] -J-esa \ [2025-03-05T00:31:46.609Z] -J-Xmx512m \ [2025-03-05T00:31:46.609Z] -J-XX:+UseCompressedOops \ [2025-03-05T00:31:46.609Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-03-05T00:31:46.609Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-03-05T00:31:46.609Z] -J-Dtest.compiler.opts= \ [2025-03-05T00:31:46.609Z] -J-Dtest.java.opts= \ [2025-03-05T00:31:46.609Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \ [2025-03-05T00:31:46.610Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \ [2025-03-05T00:31:46.610Z] -J-Dtest.timeout.factor=8.0 \ [2025-03-05T00:31:46.610Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2025-03-05T00:31:46.610Z] -J-Dtest.name=sun/security/pkcs11/Secmod/AddPrivateKey.java \ [2025-03-05T00:31:46.610Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/AddPrivateKey.java \ [2025-03-05T00:31:46.610Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod \ [2025-03-05T00:31:46.610Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2025-03-05T00:31:46.610Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11/Secmod \ [2025-03-05T00:31:46.610Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11 \ [2025-03-05T00:31:46.610Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11 \ [2025-03-05T00:31:46.610Z] -d /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11/Secmod \ [2025-03-05T00:31:46.610Z] -sourcepath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2025-03-05T00:31:46.610Z] -classpath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/lib/tools.jar \ [2025-03-05T00:31:46.610Z] -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/AddPrivateKey.java [2025-03-05T00:31:46.610Z] direct: [2025-03-05T00:31:46.610Z] Note: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/PKCS11Test.java uses unchecked or unsafe operations. [2025-03-05T00:31:46.610Z] Note: Recompile with -Xlint:unchecked for details. [2025-03-05T00:31:46.610Z] [2025-03-05T00:31:46.610Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException [2025-03-05T00:31:46.610Z] REASON: User specified action: run main/othervm AddPrivateKey [2025-03-05T00:31:46.610Z] TIME: 0.194 seconds [2025-03-05T00:31:46.610Z] messages: [2025-03-05T00:31:46.610Z] command: main AddPrivateKey [2025-03-05T00:31:46.610Z] reason: User specified action: run main/othervm AddPrivateKey [2025-03-05T00:31:46.610Z] Mode: othervm [/othervm specified] [2025-03-05T00:31:46.610Z] elapsed time (seconds): 0.194 [2025-03-05T00:31:46.610Z] configuration: [2025-03-05T00:31:46.610Z] STDOUT: [2025-03-05T00:31:46.610Z] libsoftokn3 version not found, set to 0.0: /usr/lib64/libsoftokn3.so [2025-03-05T00:31:46.610Z] STDERR: [2025-03-05T00:31:46.610Z] java.lang.reflect.InvocationTargetException [2025-03-05T00:31:46.610Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [2025-03-05T00:31:46.610Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [2025-03-05T00:31:46.610Z] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [2025-03-05T00:31:46.610Z] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [2025-03-05T00:31:46.610Z] at PKCS11Test.getSunPKCS11(PKCS11Test.java:108) [2025-03-05T00:31:46.610Z] at AddPrivateKey.main(AddPrivateKey.java:71) [2025-03-05T00:31:46.610Z] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-03-05T00:31:46.610Z] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-03-05T00:31:46.610Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-03-05T00:31:46.610Z] at java.lang.reflect.Method.invoke(Method.java:498) [2025-03-05T00:31:46.610Z] at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127) [2025-03-05T00:31:46.610Z] at java.lang.Thread.run(Thread.java:750) [2025-03-05T00:31:46.610Z] Caused by: java.security.ProviderException: Could not initialize NSS [2025-03-05T00:31:46.610Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:212) [2025-03-05T00:31:46.610Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103) [2025-03-05T00:31:46.610Z] ... 12 more [2025-03-05T00:31:46.610Z] Caused by: java.io.IOException: NSS initialization failed [2025-03-05T00:31:46.610Z] at sun.security.pkcs11.Secmod.initialize(Secmod.java:243) [2025-03-05T00:31:46.610Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:207) [2025-03-05T00:31:46.610Z] ... 13 more [2025-03-05T00:31:46.610Z] [2025-03-05T00:31:46.610Z] JavaTest Message: Test threw exception: java.lang.reflect.InvocationTargetException [2025-03-05T00:31:46.610Z] JavaTest Message: shutting down test [2025-03-05T00:31:46.610Z] [2025-03-05T00:31:46.610Z] STATUS:Failed.`main' threw exception: java.lang.reflect.InvocationTargetException [2025-03-05T00:31:46.610Z] rerun: [2025-03-05T00:31:46.610Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/scratch/0 && \ [2025-03-05T00:31:46.610Z] DISPLAY=:0 \ [2025-03-05T00:31:46.610Z] HOME=/home/jenkins \ [2025-03-05T00:31:46.610Z] LANG=C.utf8 \ [2025-03-05T00:31:46.610Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-03-05T00:31:46.610Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/lib/tools.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-03-05T00:31:46.610Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/bin/java \ [2025-03-05T00:31:46.610Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-03-05T00:31:46.610Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-03-05T00:31:46.610Z] -Dtest.compiler.opts= \ [2025-03-05T00:31:46.610Z] -Dtest.java.opts= \ [2025-03-05T00:31:46.610Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \ [2025-03-05T00:31:46.610Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \ [2025-03-05T00:31:46.610Z] -Dtest.timeout.factor=8.0 \ [2025-03-05T00:31:46.610Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2025-03-05T00:31:46.610Z] -Dtest.name=sun/security/pkcs11/Secmod/AddPrivateKey.java \ [2025-03-05T00:31:46.610Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/AddPrivateKey.java \ [2025-03-05T00:31:46.610Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod \ [2025-03-05T00:31:46.610Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2025-03-05T00:31:46.610Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11/Secmod \ [2025-03-05T00:31:46.610Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11 \ [2025-03-05T00:31:46.611Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11 \ [2025-03-05T00:31:46.611Z] -ea \ [2025-03-05T00:31:46.611Z] -esa \ [2025-03-05T00:31:46.611Z] -Xmx512m \ [2025-03-05T00:31:46.611Z] -XX:+UseCompressedOops \ [2025-03-05T00:31:46.611Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/sun/security/pkcs11/Secmod/AddPrivateKey.d/main.0.jta [2025-03-05T00:31:46.611Z] [2025-03-05T00:31:46.611Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException [2025-03-05T00:31:46.611Z] -------------------------------------------------- [2025-03-05T00:31:46.611Z] TEST: sun/security/pkcs11/Secmod/GetPrivateKey.java [2025-03-05T00:31:46.611Z] TEST JDK: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image [2025-03-05T00:31:46.611Z] [2025-03-05T00:31:46.611Z] ACTION: build -- Passed. Build successful [2025-03-05T00:31:46.611Z] REASON: Named class compiled on demand [2025-03-05T00:31:46.611Z] TIME: 0.118 seconds [2025-03-05T00:31:46.611Z] messages: [2025-03-05T00:31:46.611Z] command: build GetPrivateKey [2025-03-05T00:31:46.611Z] reason: Named class compiled on demand [2025-03-05T00:31:46.611Z] Test directory: [2025-03-05T00:31:46.611Z] compile: GetPrivateKey [2025-03-05T00:31:46.611Z] elapsed time (seconds): 0.118 [2025-03-05T00:31:46.611Z] [2025-03-05T00:31:46.611Z] ACTION: compile -- Passed. Compilation successful [2025-03-05T00:31:46.611Z] REASON: .class file out of date or does not exist [2025-03-05T00:31:46.611Z] TIME: 0.118 seconds [2025-03-05T00:31:46.611Z] messages: [2025-03-05T00:31:46.611Z] command: compile -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/GetPrivateKey.java [2025-03-05T00:31:46.611Z] reason: .class file out of date or does not exist [2025-03-05T00:31:46.611Z] Mode: agentvm [2025-03-05T00:31:46.611Z] Agent id: 1 [2025-03-05T00:31:46.611Z] elapsed time (seconds): 0.118 [2025-03-05T00:31:46.611Z] configuration: [2025-03-05T00:31:46.611Z] Boot Layer (javac runtime environment) [2025-03-05T00:31:46.611Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/lib/tools.jar [2025-03-05T00:31:46.611Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-03-05T00:31:46.611Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-03-05T00:31:46.611Z] [2025-03-05T00:31:46.611Z] javac compilation environment [2025-03-05T00:31:46.611Z] source path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod [2025-03-05T00:31:46.611Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 [2025-03-05T00:31:46.611Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod [2025-03-05T00:31:46.611Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11/Secmod [2025-03-05T00:31:46.611Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11 [2025-03-05T00:31:46.611Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/lib/tools.jar [2025-03-05T00:31:46.611Z] [2025-03-05T00:31:46.611Z] rerun: [2025-03-05T00:31:46.611Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/scratch/1 && \ [2025-03-05T00:31:46.611Z] DISPLAY=:0 \ [2025-03-05T00:31:46.611Z] HOME=/home/jenkins \ [2025-03-05T00:31:46.611Z] LANG=C.utf8 \ [2025-03-05T00:31:46.611Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-03-05T00:31:46.611Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/bin/javac \ [2025-03-05T00:31:46.611Z] -J-ea \ [2025-03-05T00:31:46.611Z] -J-esa \ [2025-03-05T00:31:46.611Z] -J-Xmx512m \ [2025-03-05T00:31:46.611Z] -J-XX:+UseCompressedOops \ [2025-03-05T00:31:46.611Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-03-05T00:31:46.611Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-03-05T00:31:46.611Z] -J-Dtest.compiler.opts= \ [2025-03-05T00:31:46.611Z] -J-Dtest.java.opts= \ [2025-03-05T00:31:46.611Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \ [2025-03-05T00:31:46.611Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \ [2025-03-05T00:31:46.611Z] -J-Dtest.timeout.factor=8.0 \ [2025-03-05T00:31:46.611Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2025-03-05T00:31:46.611Z] -J-Dtest.name=sun/security/pkcs11/Secmod/GetPrivateKey.java \ [2025-03-05T00:31:46.611Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/GetPrivateKey.java \ [2025-03-05T00:31:46.611Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod \ [2025-03-05T00:31:46.611Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2025-03-05T00:31:46.611Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11/Secmod \ [2025-03-05T00:31:46.611Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11 \ [2025-03-05T00:31:46.611Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11 \ [2025-03-05T00:31:46.611Z] -d /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11/Secmod \ [2025-03-05T00:31:46.611Z] -sourcepath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2025-03-05T00:31:46.611Z] -classpath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/lib/tools.jar \ [2025-03-05T00:31:46.611Z] -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/GetPrivateKey.java [2025-03-05T00:31:46.611Z] direct: [2025-03-05T00:31:46.611Z] Note: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/PKCS11Test.java uses unchecked or unsafe operations. [2025-03-05T00:31:46.611Z] Note: Recompile with -Xlint:unchecked for details. [2025-03-05T00:31:46.611Z] [2025-03-05T00:31:46.611Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException [2025-03-05T00:31:46.611Z] REASON: User specified action: run main/othervm GetPrivateKey [2025-03-05T00:31:46.611Z] TIME: 0.178 seconds [2025-03-05T00:31:46.611Z] messages: [2025-03-05T00:31:46.611Z] command: main GetPrivateKey [2025-03-05T00:31:46.611Z] reason: User specified action: run main/othervm GetPrivateKey [2025-03-05T00:31:46.611Z] Mode: othervm [/othervm specified] [2025-03-05T00:31:46.611Z] elapsed time (seconds): 0.178 [2025-03-05T00:31:46.611Z] configuration: [2025-03-05T00:31:46.611Z] STDOUT: [2025-03-05T00:31:46.611Z] libsoftokn3 version not found, set to 0.0: /usr/lib64/libsoftokn3.so [2025-03-05T00:31:46.611Z] STDERR: [2025-03-05T00:31:46.611Z] java.lang.reflect.InvocationTargetException [2025-03-05T00:31:46.611Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [2025-03-05T00:31:46.611Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [2025-03-05T00:31:46.611Z] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [2025-03-05T00:31:46.611Z] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [2025-03-05T00:31:46.611Z] at PKCS11Test.getSunPKCS11(PKCS11Test.java:108) [2025-03-05T00:31:46.611Z] at GetPrivateKey.main(GetPrivateKey.java:54) [2025-03-05T00:31:46.611Z] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-03-05T00:31:46.611Z] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-03-05T00:31:46.611Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-03-05T00:31:46.611Z] at java.lang.reflect.Method.invoke(Method.java:498) [2025-03-05T00:31:46.612Z] at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127) [2025-03-05T00:31:46.612Z] at java.lang.Thread.run(Thread.java:750) [2025-03-05T00:31:46.612Z] Caused by: java.security.ProviderException: Could not initialize NSS [2025-03-05T00:31:46.612Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:212) [2025-03-05T00:31:46.612Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103) [2025-03-05T00:31:46.612Z] ... 12 more [2025-03-05T00:31:46.612Z] Caused by: java.io.IOException: NSS initialization failed [2025-03-05T00:31:46.612Z] at sun.security.pkcs11.Secmod.initialize(Secmod.java:243) [2025-03-05T00:31:46.612Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:207) [2025-03-05T00:31:46.612Z] ... 13 more [2025-03-05T00:31:46.612Z] [2025-03-05T00:31:46.612Z] JavaTest Message: Test threw exception: java.lang.reflect.InvocationTargetException [2025-03-05T00:31:46.612Z] JavaTest Message: shutting down test [2025-03-05T00:31:46.612Z] [2025-03-05T00:31:46.612Z] STATUS:Failed.`main' threw exception: java.lang.reflect.InvocationTargetException [2025-03-05T00:31:46.612Z] rerun: [2025-03-05T00:31:46.612Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/scratch/1 && \ [2025-03-05T00:31:46.612Z] DISPLAY=:0 \ [2025-03-05T00:31:46.612Z] HOME=/home/jenkins \ [2025-03-05T00:31:46.612Z] LANG=C.utf8 \ [2025-03-05T00:31:46.612Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-03-05T00:31:46.612Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/lib/tools.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-03-05T00:31:46.612Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/bin/java \ [2025-03-05T00:31:46.612Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-03-05T00:31:46.612Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-03-05T00:31:46.612Z] -Dtest.compiler.opts= \ [2025-03-05T00:31:46.612Z] -Dtest.java.opts= \ [2025-03-05T00:31:46.612Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \ [2025-03-05T00:31:46.612Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \ [2025-03-05T00:31:46.612Z] -Dtest.timeout.factor=8.0 \ [2025-03-05T00:31:46.612Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2025-03-05T00:31:46.612Z] -Dtest.name=sun/security/pkcs11/Secmod/GetPrivateKey.java \ [2025-03-05T00:31:46.612Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/GetPrivateKey.java \ [2025-03-05T00:31:46.612Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod \ [2025-03-05T00:31:46.612Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2025-03-05T00:31:46.612Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11/Secmod \ [2025-03-05T00:31:46.612Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11 \ [2025-03-05T00:31:46.612Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11 \ [2025-03-05T00:31:46.612Z] -ea \ [2025-03-05T00:31:46.612Z] -esa \ [2025-03-05T00:31:46.612Z] -Xmx512m \ [2025-03-05T00:31:46.612Z] -XX:+UseCompressedOops \ [2025-03-05T00:31:46.612Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/sun/security/pkcs11/Secmod/GetPrivateKey.d/main.0.jta [2025-03-05T00:31:46.612Z] [2025-03-05T00:31:46.612Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException [2025-03-05T00:31:46.612Z] -------------------------------------------------- [2025-03-05T00:31:46.612Z] TEST: sun/security/pkcs11/Secmod/JksSetPrivateKey.java [2025-03-05T00:31:46.612Z] TEST JDK: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image [2025-03-05T00:31:46.612Z] [2025-03-05T00:31:46.612Z] ACTION: build -- Passed. Build successful [2025-03-05T00:31:46.612Z] REASON: Named class compiled on demand [2025-03-05T00:31:46.612Z] TIME: 0.028 seconds [2025-03-05T00:31:46.612Z] messages: [2025-03-05T00:31:46.612Z] command: build JksSetPrivateKey [2025-03-05T00:31:46.612Z] reason: Named class compiled on demand [2025-03-05T00:31:46.612Z] Test directory: [2025-03-05T00:31:46.612Z] compile: JksSetPrivateKey [2025-03-05T00:31:46.612Z] elapsed time (seconds): 0.028 [2025-03-05T00:31:46.612Z] [2025-03-05T00:31:46.612Z] ACTION: compile -- Passed. Compilation successful [2025-03-05T00:31:46.612Z] REASON: .class file out of date or does not exist [2025-03-05T00:31:46.612Z] TIME: 0.028 seconds [2025-03-05T00:31:46.612Z] messages: [2025-03-05T00:31:46.612Z] command: compile -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/JksSetPrivateKey.java [2025-03-05T00:31:46.612Z] reason: .class file out of date or does not exist [2025-03-05T00:31:46.612Z] Mode: agentvm [2025-03-05T00:31:46.612Z] Agent id: 1 [2025-03-05T00:31:46.612Z] elapsed time (seconds): 0.028 [2025-03-05T00:31:46.612Z] configuration: [2025-03-05T00:31:46.612Z] Boot Layer (javac runtime environment) [2025-03-05T00:31:46.612Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/lib/tools.jar [2025-03-05T00:31:46.612Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-03-05T00:31:46.612Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-03-05T00:31:46.612Z] [2025-03-05T00:31:46.612Z] javac compilation environment [2025-03-05T00:31:46.612Z] source path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod [2025-03-05T00:31:46.612Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 [2025-03-05T00:31:46.612Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod [2025-03-05T00:31:46.612Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11/Secmod [2025-03-05T00:31:46.612Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11 [2025-03-05T00:31:46.612Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/lib/tools.jar [2025-03-05T00:31:46.612Z] [2025-03-05T00:31:46.612Z] rerun: [2025-03-05T00:31:46.612Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/scratch/1 && \ [2025-03-05T00:31:46.612Z] DISPLAY=:0 \ [2025-03-05T00:31:46.612Z] HOME=/home/jenkins \ [2025-03-05T00:31:46.612Z] LANG=C.utf8 \ [2025-03-05T00:31:46.612Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-03-05T00:31:46.612Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/bin/javac \ [2025-03-05T00:31:46.612Z] -J-ea \ [2025-03-05T00:31:46.612Z] -J-esa \ [2025-03-05T00:31:46.612Z] -J-Xmx512m \ [2025-03-05T00:31:46.612Z] -J-XX:+UseCompressedOops \ [2025-03-05T00:31:46.612Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-03-05T00:31:46.612Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-03-05T00:31:46.612Z] -J-Dtest.compiler.opts= \ [2025-03-05T00:31:46.612Z] -J-Dtest.java.opts= \ [2025-03-05T00:31:46.612Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \ [2025-03-05T00:31:46.612Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \ [2025-03-05T00:31:46.612Z] -J-Dtest.timeout.factor=8.0 \ [2025-03-05T00:31:46.613Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2025-03-05T00:31:46.613Z] -J-Dtest.name=sun/security/pkcs11/Secmod/JksSetPrivateKey.java \ [2025-03-05T00:31:46.613Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/JksSetPrivateKey.java \ [2025-03-05T00:31:46.613Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod \ [2025-03-05T00:31:46.613Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2025-03-05T00:31:46.613Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11/Secmod \ [2025-03-05T00:31:46.613Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11 \ [2025-03-05T00:31:46.613Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11 \ [2025-03-05T00:31:46.613Z] -d /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11/Secmod \ [2025-03-05T00:31:46.613Z] -sourcepath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2025-03-05T00:31:46.613Z] -classpath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/lib/tools.jar \ [2025-03-05T00:31:46.613Z] -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/JksSetPrivateKey.java [2025-03-05T00:31:46.613Z] [2025-03-05T00:31:46.613Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException [2025-03-05T00:31:46.613Z] REASON: User specified action: run main/othervm JksSetPrivateKey [2025-03-05T00:31:46.613Z] TIME: 0.191 seconds [2025-03-05T00:31:46.613Z] messages: [2025-03-05T00:31:46.613Z] command: main JksSetPrivateKey [2025-03-05T00:31:46.613Z] reason: User specified action: run main/othervm JksSetPrivateKey [2025-03-05T00:31:46.613Z] Mode: othervm [/othervm specified] [2025-03-05T00:31:46.613Z] elapsed time (seconds): 0.191 [2025-03-05T00:31:46.613Z] configuration: [2025-03-05T00:31:46.613Z] STDOUT: [2025-03-05T00:31:46.613Z] libsoftokn3 version not found, set to 0.0: /usr/lib64/libsoftokn3.so [2025-03-05T00:31:46.613Z] STDERR: [2025-03-05T00:31:46.613Z] java.lang.reflect.InvocationTargetException [2025-03-05T00:31:46.613Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [2025-03-05T00:31:46.613Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [2025-03-05T00:31:46.613Z] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [2025-03-05T00:31:46.613Z] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [2025-03-05T00:31:46.613Z] at PKCS11Test.getSunPKCS11(PKCS11Test.java:108) [2025-03-05T00:31:46.613Z] at JksSetPrivateKey.main(JksSetPrivateKey.java:53) [2025-03-05T00:31:46.613Z] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-03-05T00:31:46.613Z] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-03-05T00:31:46.613Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-03-05T00:31:46.613Z] at java.lang.reflect.Method.invoke(Method.java:498) [2025-03-05T00:31:46.613Z] at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127) [2025-03-05T00:31:46.613Z] at java.lang.Thread.run(Thread.java:750) [2025-03-05T00:31:46.613Z] Caused by: java.security.ProviderException: Could not initialize NSS [2025-03-05T00:31:46.613Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:212) [2025-03-05T00:31:46.613Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103) [2025-03-05T00:31:46.613Z] ... 12 more [2025-03-05T00:31:46.613Z] Caused by: java.io.IOException: NSS initialization failed [2025-03-05T00:31:46.613Z] at sun.security.pkcs11.Secmod.initialize(Secmod.java:243) [2025-03-05T00:31:46.613Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:207) [2025-03-05T00:31:46.613Z] ... 13 more [2025-03-05T00:31:46.613Z] [2025-03-05T00:31:46.613Z] JavaTest Message: Test threw exception: java.lang.reflect.InvocationTargetException [2025-03-05T00:31:46.613Z] JavaTest Message: shutting down test [2025-03-05T00:31:46.613Z] [2025-03-05T00:31:46.613Z] STATUS:Failed.`main' threw exception: java.lang.reflect.InvocationTargetException [2025-03-05T00:31:46.613Z] rerun: [2025-03-05T00:31:46.613Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/scratch/1 && \ [2025-03-05T00:31:46.613Z] DISPLAY=:0 \ [2025-03-05T00:31:46.613Z] HOME=/home/jenkins \ [2025-03-05T00:31:46.613Z] LANG=C.utf8 \ [2025-03-05T00:31:46.613Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-03-05T00:31:46.613Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/lib/tools.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-03-05T00:31:46.613Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/bin/java \ [2025-03-05T00:31:46.613Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-03-05T00:31:46.613Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-03-05T00:31:46.613Z] -Dtest.compiler.opts= \ [2025-03-05T00:31:46.613Z] -Dtest.java.opts= \ [2025-03-05T00:31:46.613Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \ [2025-03-05T00:31:46.613Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \ [2025-03-05T00:31:46.613Z] -Dtest.timeout.factor=8.0 \ [2025-03-05T00:31:46.613Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2025-03-05T00:31:46.613Z] -Dtest.name=sun/security/pkcs11/Secmod/JksSetPrivateKey.java \ [2025-03-05T00:31:46.613Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/JksSetPrivateKey.java \ [2025-03-05T00:31:46.613Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod \ [2025-03-05T00:31:46.613Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2025-03-05T00:31:46.613Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11/Secmod \ [2025-03-05T00:31:46.613Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11 \ [2025-03-05T00:31:46.613Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11 \ [2025-03-05T00:31:46.613Z] -ea \ [2025-03-05T00:31:46.613Z] -esa \ [2025-03-05T00:31:46.613Z] -Xmx512m \ [2025-03-05T00:31:46.613Z] -XX:+UseCompressedOops \ [2025-03-05T00:31:46.614Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/sun/security/pkcs11/Secmod/JksSetPrivateKey.d/main.0.jta [2025-03-05T00:31:46.614Z] [2025-03-05T00:31:46.614Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException [2025-03-05T00:31:46.614Z] -------------------------------------------------- [2025-03-05T00:31:46.614Z] TEST: sun/security/pkcs11/Secmod/LoadKeystore.java [2025-03-05T00:31:46.614Z] TEST JDK: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image [2025-03-05T00:31:46.614Z] [2025-03-05T00:31:46.614Z] ACTION: build -- Passed. Build successful [2025-03-05T00:31:46.614Z] REASON: Named class compiled on demand [2025-03-05T00:31:46.614Z] TIME: 0.059 seconds [2025-03-05T00:31:46.614Z] messages: [2025-03-05T00:31:46.614Z] command: build LoadKeystore [2025-03-05T00:31:46.614Z] reason: Named class compiled on demand [2025-03-05T00:31:46.614Z] Test directory: [2025-03-05T00:31:46.614Z] compile: LoadKeystore [2025-03-05T00:31:46.614Z] elapsed time (seconds): 0.059 [2025-03-05T00:31:46.614Z] [2025-03-05T00:31:46.614Z] ACTION: compile -- Passed. Compilation successful [2025-03-05T00:31:46.614Z] REASON: .class file out of date or does not exist [2025-03-05T00:31:46.614Z] TIME: 0.058 seconds [2025-03-05T00:31:46.614Z] messages: [2025-03-05T00:31:46.614Z] command: compile -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/LoadKeystore.java [2025-03-05T00:31:46.614Z] reason: .class file out of date or does not exist [2025-03-05T00:31:46.614Z] Mode: agentvm [2025-03-05T00:31:46.614Z] Agent id: 2 [2025-03-05T00:31:46.614Z] elapsed time (seconds): 0.058 [2025-03-05T00:31:46.614Z] configuration: [2025-03-05T00:31:46.614Z] Boot Layer (javac runtime environment) [2025-03-05T00:31:46.614Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/lib/tools.jar [2025-03-05T00:31:46.614Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-03-05T00:31:46.614Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-03-05T00:31:46.614Z] [2025-03-05T00:31:46.614Z] javac compilation environment [2025-03-05T00:31:46.614Z] source path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod [2025-03-05T00:31:46.614Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 [2025-03-05T00:31:46.614Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod [2025-03-05T00:31:46.614Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11/Secmod [2025-03-05T00:31:46.614Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11 [2025-03-05T00:31:46.614Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/lib/tools.jar [2025-03-05T00:31:46.614Z] [2025-03-05T00:31:46.614Z] rerun: [2025-03-05T00:31:46.614Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/scratch/0 && \ [2025-03-05T00:31:46.614Z] DISPLAY=:0 \ [2025-03-05T00:31:46.614Z] HOME=/home/jenkins \ [2025-03-05T00:31:46.614Z] LANG=C.utf8 \ [2025-03-05T00:31:46.614Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-03-05T00:31:46.614Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/bin/javac \ [2025-03-05T00:31:46.614Z] -J-ea \ [2025-03-05T00:31:46.614Z] -J-esa \ [2025-03-05T00:31:46.614Z] -J-Xmx512m \ [2025-03-05T00:31:46.614Z] -J-XX:+UseCompressedOops \ [2025-03-05T00:31:46.614Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-03-05T00:31:46.614Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-03-05T00:31:46.614Z] -J-Dtest.compiler.opts= \ [2025-03-05T00:31:46.614Z] -J-Dtest.java.opts= \ [2025-03-05T00:31:46.614Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \ [2025-03-05T00:31:46.614Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \ [2025-03-05T00:31:46.614Z] -J-Dtest.timeout.factor=8.0 \ [2025-03-05T00:31:46.614Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2025-03-05T00:31:46.614Z] -J-Dtest.name=sun/security/pkcs11/Secmod/LoadKeystore.java \ [2025-03-05T00:31:46.614Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/LoadKeystore.java \ [2025-03-05T00:31:46.614Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod \ [2025-03-05T00:31:46.614Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2025-03-05T00:31:46.614Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11/Secmod \ [2025-03-05T00:31:46.614Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11 \ [2025-03-05T00:31:46.614Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11 \ [2025-03-05T00:31:46.614Z] -d /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11/Secmod \ [2025-03-05T00:31:46.614Z] -sourcepath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2025-03-05T00:31:46.614Z] -classpath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/lib/tools.jar \ [2025-03-05T00:31:46.614Z] -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/LoadKeystore.java [2025-03-05T00:31:46.614Z] [2025-03-05T00:31:46.614Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException [2025-03-05T00:31:46.614Z] REASON: User specified action: run main/othervm LoadKeystore [2025-03-05T00:31:46.614Z] TIME: 0.198 seconds [2025-03-05T00:31:46.614Z] messages: [2025-03-05T00:31:46.614Z] command: main LoadKeystore [2025-03-05T00:31:46.614Z] reason: User specified action: run main/othervm LoadKeystore [2025-03-05T00:31:46.614Z] Mode: othervm [/othervm specified] [2025-03-05T00:31:46.614Z] elapsed time (seconds): 0.198 [2025-03-05T00:31:46.614Z] configuration: [2025-03-05T00:31:46.614Z] STDOUT: [2025-03-05T00:31:46.614Z] libsoftokn3 version not found, set to 0.0: /usr/lib64/libsoftokn3.so [2025-03-05T00:31:46.614Z] STDERR: [2025-03-05T00:31:46.614Z] java.lang.reflect.InvocationTargetException [2025-03-05T00:31:46.614Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [2025-03-05T00:31:46.614Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [2025-03-05T00:31:46.614Z] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [2025-03-05T00:31:46.614Z] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [2025-03-05T00:31:46.614Z] at PKCS11Test.getSunPKCS11(PKCS11Test.java:108) [2025-03-05T00:31:46.614Z] at LoadKeystore.main(LoadKeystore.java:49) [2025-03-05T00:31:46.614Z] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-03-05T00:31:46.614Z] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-03-05T00:31:46.614Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-03-05T00:31:46.614Z] at java.lang.reflect.Method.invoke(Method.java:498) [2025-03-05T00:31:46.614Z] at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127) [2025-03-05T00:31:46.614Z] at java.lang.Thread.run(Thread.java:750) [2025-03-05T00:31:46.614Z] Caused by: java.security.ProviderException: Could not initialize NSS [2025-03-05T00:31:46.614Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:212) [2025-03-05T00:31:46.614Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103) [2025-03-05T00:31:46.616Z] ... 12 more [2025-03-05T00:31:46.616Z] Caused by: java.io.IOException: NSS initialization failed [2025-03-05T00:31:46.616Z] at sun.security.pkcs11.Secmod.initialize(Secmod.java:243) [2025-03-05T00:31:46.616Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:207) [2025-03-05T00:31:46.616Z] ... 13 more [2025-03-05T00:31:46.616Z] [2025-03-05T00:31:46.617Z] JavaTest Message: Test threw exception: java.lang.reflect.InvocationTargetException [2025-03-05T00:31:46.617Z] JavaTest Message: shutting down test [2025-03-05T00:31:46.617Z] [2025-03-05T00:31:46.617Z] STATUS:Failed.`main' threw exception: java.lang.reflect.InvocationTargetException [2025-03-05T00:31:46.617Z] rerun: [2025-03-05T00:31:46.617Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/scratch/0 && \ [2025-03-05T00:31:46.617Z] DISPLAY=:0 \ [2025-03-05T00:31:46.617Z] HOME=/home/jenkins \ [2025-03-05T00:31:46.617Z] LANG=C.utf8 \ [2025-03-05T00:31:46.617Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-03-05T00:31:46.617Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/lib/tools.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-03-05T00:31:46.617Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/bin/java \ [2025-03-05T00:31:46.617Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-03-05T00:31:46.617Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-03-05T00:31:46.617Z] -Dtest.compiler.opts= \ [2025-03-05T00:31:46.617Z] -Dtest.java.opts= \ [2025-03-05T00:31:46.617Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \ [2025-03-05T00:31:46.617Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \ [2025-03-05T00:31:46.617Z] -Dtest.timeout.factor=8.0 \ [2025-03-05T00:31:46.617Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2025-03-05T00:31:46.617Z] -Dtest.name=sun/security/pkcs11/Secmod/LoadKeystore.java \ [2025-03-05T00:31:46.617Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/LoadKeystore.java \ [2025-03-05T00:31:46.617Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod \ [2025-03-05T00:31:46.617Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2025-03-05T00:31:46.617Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11/Secmod \ [2025-03-05T00:31:46.617Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11 \ [2025-03-05T00:31:46.617Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/1/sun/security/pkcs11 \ [2025-03-05T00:31:46.617Z] -ea \ [2025-03-05T00:31:46.617Z] -esa \ [2025-03-05T00:31:46.617Z] -Xmx512m \ [2025-03-05T00:31:46.617Z] -XX:+UseCompressedOops \ [2025-03-05T00:31:46.617Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/sun/security/pkcs11/Secmod/LoadKeystore.d/main.0.jta [2025-03-05T00:31:46.617Z] [2025-03-05T00:31:46.617Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException [2025-03-05T00:31:46.617Z] -------------------------------------------------- [2025-03-05T00:31:46.617Z] TEST: sun/security/pkcs11/Secmod/TrustAnchors.java [2025-03-05T00:31:46.617Z] TEST JDK: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image [2025-03-05T00:31:46.617Z] [2025-03-05T00:31:46.617Z] ACTION: build -- Passed. Build successful [2025-03-05T00:31:46.617Z] REASON: Named class compiled on demand [2025-03-05T00:31:46.617Z] TIME: 0.059 seconds [2025-03-05T00:31:46.617Z] messages: [2025-03-05T00:31:46.617Z] command: build TrustAnchors [2025-03-05T00:31:46.617Z] reason: Named class compiled on demand [2025-03-05T00:31:46.617Z] Test directory: [2025-03-05T00:31:46.617Z] compile: TrustAnchors [2025-03-05T00:31:46.617Z] elapsed time (seconds): 0.059 [2025-03-05T00:31:46.617Z] [2025-03-05T00:31:46.617Z] ACTION: compile -- Passed. Compilation successful [2025-03-05T00:31:46.617Z] REASON: .class file out of date or does not exist [2025-03-05T00:31:46.617Z] TIME: 0.059 seconds [2025-03-05T00:31:46.617Z] messages: [2025-03-05T00:31:46.617Z] command: compile -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/TrustAnchors.java [2025-03-05T00:31:46.617Z] reason: .class file out of date or does not exist [2025-03-05T00:31:46.617Z] Mode: agentvm [2025-03-05T00:31:46.617Z] Agent id: 1 [2025-03-05T00:31:46.617Z] elapsed time (seconds): 0.059 [2025-03-05T00:31:46.617Z] configuration: [2025-03-05T00:31:46.617Z] Boot Layer (javac runtime environment) [2025-03-05T00:31:46.617Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/lib/tools.jar [2025-03-05T00:31:46.617Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-03-05T00:31:46.617Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-03-05T00:31:46.617Z] [2025-03-05T00:31:46.617Z] javac compilation environment [2025-03-05T00:31:46.617Z] source path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod [2025-03-05T00:31:46.617Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 [2025-03-05T00:31:46.617Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod [2025-03-05T00:31:46.617Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11/Secmod [2025-03-05T00:31:46.617Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11 [2025-03-05T00:31:46.617Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/lib/tools.jar [2025-03-05T00:31:46.617Z] [2025-03-05T00:31:46.617Z] rerun: [2025-03-05T00:31:46.617Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/scratch/1 && \ [2025-03-05T00:31:46.617Z] DISPLAY=:0 \ [2025-03-05T00:31:46.617Z] HOME=/home/jenkins \ [2025-03-05T00:31:46.617Z] LANG=C.utf8 \ [2025-03-05T00:31:46.617Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-03-05T00:31:46.617Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/bin/javac \ [2025-03-05T00:31:46.617Z] -J-ea \ [2025-03-05T00:31:46.617Z] -J-esa \ [2025-03-05T00:31:46.617Z] -J-Xmx512m \ [2025-03-05T00:31:46.617Z] -J-XX:+UseCompressedOops \ [2025-03-05T00:31:46.617Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-03-05T00:31:46.617Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-03-05T00:31:46.617Z] -J-Dtest.compiler.opts= \ [2025-03-05T00:31:46.617Z] -J-Dtest.java.opts= \ [2025-03-05T00:31:46.617Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \ [2025-03-05T00:31:46.617Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \ [2025-03-05T00:31:46.617Z] -J-Dtest.timeout.factor=8.0 \ [2025-03-05T00:31:46.617Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2025-03-05T00:31:46.617Z] -J-Dtest.name=sun/security/pkcs11/Secmod/TrustAnchors.java \ [2025-03-05T00:31:46.617Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/TrustAnchors.java \ [2025-03-05T00:31:46.617Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod \ [2025-03-05T00:31:46.617Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2025-03-05T00:31:46.617Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11/Secmod \ [2025-03-05T00:31:46.617Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11 \ [2025-03-05T00:31:46.618Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11 \ [2025-03-05T00:31:46.618Z] -d /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11/Secmod \ [2025-03-05T00:31:46.618Z] -sourcepath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2025-03-05T00:31:46.618Z] -classpath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/lib/tools.jar \ [2025-03-05T00:31:46.618Z] -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/TrustAnchors.java [2025-03-05T00:31:46.618Z] [2025-03-05T00:31:46.618Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException [2025-03-05T00:31:46.618Z] REASON: User specified action: run main/othervm TrustAnchors [2025-03-05T00:31:46.618Z] TIME: 0.212 seconds [2025-03-05T00:31:46.618Z] messages: [2025-03-05T00:31:46.618Z] command: main TrustAnchors [2025-03-05T00:31:46.618Z] reason: User specified action: run main/othervm TrustAnchors [2025-03-05T00:31:46.618Z] Mode: othervm [/othervm specified] [2025-03-05T00:31:46.618Z] elapsed time (seconds): 0.212 [2025-03-05T00:31:46.618Z] configuration: [2025-03-05T00:31:46.618Z] STDOUT: [2025-03-05T00:31:46.618Z] libsoftokn3 version not found, set to 0.0: /usr/lib64/libsoftokn3.so [2025-03-05T00:31:46.618Z] STDERR: [2025-03-05T00:31:46.618Z] java.lang.reflect.InvocationTargetException [2025-03-05T00:31:46.618Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [2025-03-05T00:31:46.618Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [2025-03-05T00:31:46.618Z] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [2025-03-05T00:31:46.618Z] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [2025-03-05T00:31:46.618Z] at PKCS11Test.getSunPKCS11(PKCS11Test.java:108) [2025-03-05T00:31:46.618Z] at TrustAnchors.main(TrustAnchors.java:58) [2025-03-05T00:31:46.618Z] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-03-05T00:31:46.618Z] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-03-05T00:31:46.618Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-03-05T00:31:46.618Z] at java.lang.reflect.Method.invoke(Method.java:498) [2025-03-05T00:31:46.618Z] at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127) [2025-03-05T00:31:46.618Z] at java.lang.Thread.run(Thread.java:750) [2025-03-05T00:31:46.618Z] Caused by: java.security.ProviderException: Could not initialize NSS [2025-03-05T00:31:46.618Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:212) [2025-03-05T00:31:46.618Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103) [2025-03-05T00:31:46.618Z] ... 12 more [2025-03-05T00:31:46.618Z] Caused by: java.io.IOException: NSS initialization failed [2025-03-05T00:31:46.618Z] at sun.security.pkcs11.Secmod.initialize(Secmod.java:243) [2025-03-05T00:31:46.618Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:207) [2025-03-05T00:31:46.618Z] ... 13 more [2025-03-05T00:31:46.618Z] [2025-03-05T00:31:46.618Z] JavaTest Message: Test threw exception: java.lang.reflect.InvocationTargetException [2025-03-05T00:31:46.618Z] JavaTest Message: shutting down test [2025-03-05T00:31:46.618Z] [2025-03-05T00:31:46.618Z] STATUS:Failed.`main' threw exception: java.lang.reflect.InvocationTargetException [2025-03-05T00:31:46.618Z] rerun: [2025-03-05T00:31:46.618Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/scratch/1 && \ [2025-03-05T00:31:46.618Z] DISPLAY=:0 \ [2025-03-05T00:31:46.618Z] HOME=/home/jenkins \ [2025-03-05T00:31:46.618Z] LANG=C.utf8 \ [2025-03-05T00:31:46.618Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-03-05T00:31:46.618Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/lib/tools.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-03-05T00:31:46.618Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/bin/java \ [2025-03-05T00:31:46.618Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-03-05T00:31:46.618Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-03-05T00:31:46.618Z] -Dtest.compiler.opts= \ [2025-03-05T00:31:46.618Z] -Dtest.java.opts= \ [2025-03-05T00:31:46.618Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \ [2025-03-05T00:31:46.618Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \ [2025-03-05T00:31:46.618Z] -Dtest.timeout.factor=8.0 \ [2025-03-05T00:31:46.618Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2025-03-05T00:31:46.618Z] -Dtest.name=sun/security/pkcs11/Secmod/TrustAnchors.java \ [2025-03-05T00:31:46.618Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/TrustAnchors.java \ [2025-03-05T00:31:46.618Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod \ [2025-03-05T00:31:46.618Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2025-03-05T00:31:46.618Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11/Secmod \ [2025-03-05T00:31:46.618Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11 \ [2025-03-05T00:31:46.618Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/2/sun/security/pkcs11 \ [2025-03-05T00:31:46.618Z] -ea \ [2025-03-05T00:31:46.618Z] -esa \ [2025-03-05T00:31:46.618Z] -Xmx512m \ [2025-03-05T00:31:46.618Z] -XX:+UseCompressedOops \ [2025-03-05T00:31:46.618Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/sun/security/pkcs11/Secmod/TrustAnchors.d/main.0.jta [2025-03-05T00:31:46.618Z] [2025-03-05T00:31:46.618Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException [2025-03-05T00:31:46.618Z] -------------------------------------------------- [2025-03-05T00:34:54.214Z] TEST: sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.java [2025-03-05T00:34:54.214Z] TEST JDK: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image [2025-03-05T00:34:54.214Z] [2025-03-05T00:34:54.214Z] ACTION: build -- Passed. Build successful [2025-03-05T00:34:54.214Z] REASON: Named class compiled on demand [2025-03-05T00:34:54.214Z] TIME: 0.434 seconds [2025-03-05T00:34:54.214Z] messages: [2025-03-05T00:34:54.214Z] command: build Distrust [2025-03-05T00:34:54.214Z] reason: Named class compiled on demand [2025-03-05T00:34:54.214Z] Test directory: [2025-03-05T00:34:54.214Z] compile: Distrust [2025-03-05T00:34:54.214Z] elapsed time (seconds): 0.434 [2025-03-05T00:34:54.214Z] [2025-03-05T00:34:54.214Z] ACTION: compile -- Passed. Compilation successful [2025-03-05T00:34:54.214Z] REASON: .class file out of date or does not exist [2025-03-05T00:34:54.214Z] TIME: 0.434 seconds [2025-03-05T00:34:54.214Z] messages: [2025-03-05T00:34:54.214Z] command: compile -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.java [2025-03-05T00:34:54.215Z] reason: .class file out of date or does not exist [2025-03-05T00:34:54.215Z] Mode: agentvm [2025-03-05T00:34:54.215Z] Agent id: 3 [2025-03-05T00:34:54.215Z] elapsed time (seconds): 0.434 [2025-03-05T00:34:54.215Z] configuration: [2025-03-05T00:34:54.215Z] Boot Layer (javac runtime environment) [2025-03-05T00:34:54.215Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/lib/tools.jar [2025-03-05T00:34:54.215Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-03-05T00:34:54.215Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-03-05T00:34:54.215Z] [2025-03-05T00:34:54.215Z] javac compilation environment [2025-03-05T00:34:54.215Z] source path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/Entrust [2025-03-05T00:34:54.215Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/lib/security [2025-03-05T00:34:54.215Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/Entrust [2025-03-05T00:34:54.215Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/Entrust [2025-03-05T00:34:54.215Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/0/lib/security [2025-03-05T00:34:54.215Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/lib/tools.jar [2025-03-05T00:34:54.215Z] [2025-03-05T00:34:54.215Z] rerun: [2025-03-05T00:34:54.215Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/scratch/2 && \ [2025-03-05T00:34:54.215Z] DISPLAY=:0 \ [2025-03-05T00:34:54.215Z] HOME=/home/jenkins \ [2025-03-05T00:34:54.215Z] LANG=C.utf8 \ [2025-03-05T00:34:54.215Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-03-05T00:34:54.215Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/bin/javac \ [2025-03-05T00:34:54.215Z] -J-ea \ [2025-03-05T00:34:54.215Z] -J-esa \ [2025-03-05T00:34:54.215Z] -J-Xmx512m \ [2025-03-05T00:34:54.215Z] -J-XX:+UseCompressedOops \ [2025-03-05T00:34:54.215Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-03-05T00:34:54.215Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-03-05T00:34:54.215Z] -J-Dtest.compiler.opts= \ [2025-03-05T00:34:54.215Z] -J-Dtest.java.opts= \ [2025-03-05T00:34:54.215Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \ [2025-03-05T00:34:54.215Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \ [2025-03-05T00:34:54.215Z] -J-Dtest.timeout.factor=8.0 \ [2025-03-05T00:34:54.215Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2025-03-05T00:34:54.215Z] -J-Dtest.name=sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.java \ [2025-03-05T00:34:54.215Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.java \ [2025-03-05T00:34:54.215Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/Entrust \ [2025-03-05T00:34:54.215Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/Entrust:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/lib/security \ [2025-03-05T00:34:54.215Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/Entrust \ [2025-03-05T00:34:54.215Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/Entrust:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/0/lib/security \ [2025-03-05T00:34:54.215Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/Entrust:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/Entrust:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/0/lib/security \ [2025-03-05T00:34:54.215Z] -d /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/Entrust \ [2025-03-05T00:34:54.215Z] -sourcepath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/Entrust:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/lib/security \ [2025-03-05T00:34:54.215Z] -classpath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/Entrust:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/Entrust:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/0/lib/security:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/lib/tools.jar \ [2025-03-05T00:34:54.215Z] -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.java [2025-03-05T00:34:54.215Z] direct: [2025-03-05T00:34:54.215Z] Note: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.java uses unchecked or unsafe operations. [2025-03-05T00:34:54.215Z] Note: Recompile with -Xlint:unchecked for details. [2025-03-05T00:34:54.215Z] [2025-03-05T00:34:54.215Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.Exception: Unexpected exception: sun.security.validator.ValidatorException: No trusted certificate found [2025-03-05T00:34:54.215Z] REASON: User specified action: run main/othervm Distrust after policyOn invalid [2025-03-05T00:34:54.215Z] TIME: 0.693 seconds [2025-03-05T00:34:54.215Z] messages: [2025-03-05T00:34:54.215Z] command: main Distrust after policyOn invalid [2025-03-05T00:34:54.215Z] reason: User specified action: run main/othervm Distrust after policyOn invalid [2025-03-05T00:34:54.215Z] Mode: othervm [/othervm specified] [2025-03-05T00:34:54.215Z] elapsed time (seconds): 0.693 [2025-03-05T00:34:54.215Z] configuration: [2025-03-05T00:34:54.215Z] STDOUT: [2025-03-05T00:34:54.215Z] STDERR: [2025-03-05T00:34:54.215Z] Testing entrustevca [2025-03-05T00:34:54.215Z] Testing entrustrootcaec1 [2025-03-05T00:34:54.215Z] Testing entrustrootcag2 [2025-03-05T00:34:54.215Z] Testing entrustrootcag4 [2025-03-05T00:34:54.215Z] sun.security.validator.ValidatorException: No trusted certificate found [2025-03-05T00:34:54.215Z] at sun.security.validator.SimpleValidator.buildTrustedChain(SimpleValidator.java:398) [2025-03-05T00:34:54.215Z] at sun.security.validator.SimpleValidator.engineValidate(SimpleValidator.java:135) [2025-03-05T00:34:54.215Z] at sun.security.validator.Validator.validate(Validator.java:271) [2025-03-05T00:34:54.215Z] at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:315) [2025-03-05T00:34:54.215Z] at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:234) [2025-03-05T00:34:54.215Z] at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:110) [2025-03-05T00:34:54.215Z] at Distrust.testTM(Distrust.java:131) [2025-03-05T00:34:54.215Z] at Distrust.main(Distrust.java:92) [2025-03-05T00:34:54.215Z] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-03-05T00:34:54.215Z] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-03-05T00:34:54.215Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-03-05T00:34:54.215Z] at java.lang.reflect.Method.invoke(Method.java:498) [2025-03-05T00:34:54.215Z] at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127) [2025-03-05T00:34:54.215Z] at java.lang.Thread.run(Thread.java:750) [2025-03-05T00:34:54.215Z] java.lang.Exception: Unexpected exception: sun.security.validator.ValidatorException: No trusted certificate found [2025-03-05T00:34:54.215Z] at Distrust.testTM(Distrust.java:149) [2025-03-05T00:34:54.215Z] at Distrust.main(Distrust.java:92) [2025-03-05T00:34:54.215Z] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-03-05T00:34:54.215Z] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2025-03-05T00:34:54.215Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-03-05T00:34:54.215Z] at java.lang.reflect.Method.invoke(Method.java:498) [2025-03-05T00:34:54.215Z] at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127) [2025-03-05T00:34:54.215Z] at java.lang.Thread.run(Thread.java:750) [2025-03-05T00:34:54.215Z] [2025-03-05T00:34:54.215Z] JavaTest Message: Test threw exception: java.lang.Exception: Unexpected exception: sun.security.validator.ValidatorException: No trusted certificate found [2025-03-05T00:34:54.215Z] JavaTest Message: shutting down test [2025-03-05T00:34:54.215Z] [2025-03-05T00:34:54.215Z] STATUS:Failed.`main' threw exception: java.lang.Exception: Unexpected exception: sun.security.validator.ValidatorException: No trusted certificate found [2025-03-05T00:34:54.215Z] rerun: [2025-03-05T00:34:54.215Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/scratch/2 && \ [2025-03-05T00:34:54.215Z] DISPLAY=:0 \ [2025-03-05T00:34:54.215Z] HOME=/home/jenkins \ [2025-03-05T00:34:54.215Z] LANG=C.utf8 \ [2025-03-05T00:34:54.215Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-03-05T00:34:54.215Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/Entrust:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/Entrust:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/0/lib/security:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/lib/security:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/lib/tools.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-03-05T00:34:54.215Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/bin/java \ [2025-03-05T00:34:54.215Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-03-05T00:34:54.215Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-03-05T00:34:54.215Z] -Dtest.compiler.opts= \ [2025-03-05T00:34:54.215Z] -Dtest.java.opts= \ [2025-03-05T00:34:54.215Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \ [2025-03-05T00:34:54.215Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \ [2025-03-05T00:34:54.215Z] -Dtest.timeout.factor=8.0 \ [2025-03-05T00:34:54.215Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2025-03-05T00:34:54.215Z] -Dtest.name=sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.java \ [2025-03-05T00:34:54.215Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.java \ [2025-03-05T00:34:54.215Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/Entrust \ [2025-03-05T00:34:54.215Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/Entrust:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/lib/security \ [2025-03-05T00:34:54.215Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/Entrust \ [2025-03-05T00:34:54.215Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/Entrust:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/0/lib/security \ [2025-03-05T00:34:54.215Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/0/sun/security/ssl/X509TrustManagerImpl/Entrust:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/ssl/X509TrustManagerImpl/Entrust:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/0/lib/security \ [2025-03-05T00:34:54.215Z] -ea \ [2025-03-05T00:34:54.215Z] -esa \ [2025-03-05T00:34:54.215Z] -Xmx512m \ [2025-03-05T00:34:54.215Z] -XX:+UseCompressedOops \ [2025-03-05T00:34:54.215Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/sun/security/ssl/X509TrustManagerImpl/Entrust/Distrust.d/main.0.jta after policyOn invalid [2025-03-05T00:34:54.215Z] [2025-03-05T00:34:54.215Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.Exception: Unexpected exception: sun.security.validator.ValidatorException: No trusted certificate found [2025-03-05T00:34:54.215Z] -------------------------------------------------- [2025-03-05T00:36:43.816Z] TEST: sun/security/tools/keytool/autotest.sh [2025-03-05T00:36:43.816Z] TEST JDK: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image [2025-03-05T00:36:43.816Z] [2025-03-05T00:36:43.816Z] ACTION: shell -- Failed. Execution failed: exit code 1 [2025-03-05T00:36:43.816Z] REASON: Assumed action based on file name: run shell autotest.sh [2025-03-05T00:36:43.816Z] TIME: 2.609 seconds [2025-03-05T00:36:43.816Z] messages: [2025-03-05T00:36:43.816Z] command: shell autotest.sh [2025-03-05T00:36:43.816Z] reason: Assumed action based on file name: run shell autotest.sh [2025-03-05T00:36:43.816Z] elapsed time (seconds): 2.609 [2025-03-05T00:36:43.816Z] STDOUT: [2025-03-05T00:36:43.816Z] STDERR: [2025-03-05T00:36:43.816Z] Note: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/tools/keytool/KeyToolTest.java uses unchecked or unsafe operations. [2025-03-05T00:36:43.816Z] Note: Recompile with -Xlint:unchecked for details. [2025-03-05T00:36:43.816Z] ..... [2025-03-05T00:36:43.816Z] Test fails for the command --- [2025-03-05T00:36:43.816Z] 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-03-05T00:36:43.816Z] Or its debug version --- [2025-03-05T00:36:43.816Z] 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-03-05T00:36:43.816Z] The command result should be OK, but it's not. Try run the command manually and type these input into it: [2025-03-05T00:36:43.816Z] [2025-03-05T00:36:43.816Z] ERR is: [2025-03-05T00:36:43.816Z] [2025-03-05T00:36:43.816Z] OUT is: [2025-03-05T00:36:43.816Z] keytool error: java.io.IOException: load failed [2025-03-05T00:36:43.816Z] [2025-03-05T00:36:43.816Z] Exception in thread "main" java.io.IOException: load failed [2025-03-05T00:36:43.816Z] at sun.security.pkcs11.P11KeyStore.engineLoad(P11KeyStore.java:764) [2025-03-05T00:36:43.816Z] at java.security.KeyStore.load(KeyStore.java:1445) [2025-03-05T00:36:43.816Z] at sun.security.tools.keytool.Main.doCommands(Main.java:869) [2025-03-05T00:36:43.816Z] at sun.security.tools.keytool.Main.run(Main.java:378) [2025-03-05T00:36:43.816Z] at sun.security.tools.keytool.Main.main(Main.java:371) [2025-03-05T00:36:43.816Z] at KeyToolTest.test(KeyToolTest.java:159) [2025-03-05T00:36:43.816Z] at KeyToolTest.test(KeyToolTest.java:127) [2025-03-05T00:36:43.816Z] at KeyToolTest.testOK(KeyToolTest.java:182) [2025-03-05T00:36:43.816Z] at KeyToolTest.testPKCS11(KeyToolTest.java:525) [2025-03-05T00:36:43.816Z] at KeyToolTest.main(KeyToolTest.java:1345) [2025-03-05T00:36:43.816Z] Caused by: javax.security.auth.login.LoginException [2025-03-05T00:36:43.816Z] at sun.security.pkcs11.SunPKCS11.login(SunPKCS11.java:1333) [2025-03-05T00:36:43.816Z] at sun.security.pkcs11.P11KeyStore.login(P11KeyStore.java:864) [2025-03-05T00:36:43.816Z] at sun.security.pkcs11.P11KeyStore.engineLoad(P11KeyStore.java:751) [2025-03-05T00:36:43.816Z] ... 9 more [2025-03-05T00:36:43.816Z] Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_USER_TYPE_INVALID [2025-03-05T00:36:43.816Z] at sun.security.pkcs11.wrapper.PKCS11.C_Login(Native Method) [2025-03-05T00:36:43.816Z] at sun.security.pkcs11.SunPKCS11.login(SunPKCS11.java:1317) [2025-03-05T00:36:43.816Z] ... 11 more [2025-03-05T00:36:43.816Z] rerun: [2025-03-05T00:36:43.816Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/scratch/2 && \ [2025-03-05T00:36:43.816Z] DISPLAY=:0 \ [2025-03-05T00:36:43.816Z] HOME=/home/jenkins \ [2025-03-05T00:36:43.816Z] LANG=C.utf8 \ [2025-03-05T00:36:43.816Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-03-05T00:36:43.816Z] TESTFILE=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/tools/keytool/autotest.sh \ [2025-03-05T00:36:43.816Z] TESTSRC=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/tools/keytool \ [2025-03-05T00:36:43.816Z] TESTSRCPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/tools/keytool \ [2025-03-05T00:36:43.816Z] TESTCLASSES=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/0/sun/security/tools/keytool \ [2025-03-05T00:36:43.816Z] TESTCLASSPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work/classes/0/sun/security/tools/keytool \ [2025-03-05T00:36:43.816Z] COMPILEJAVA=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \ [2025-03-05T00:36:43.816Z] TESTJAVA=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \ [2025-03-05T00:36:43.816Z] TESTVMOPTS='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-03-05T00:36:43.816Z] TESTTOOLVMOPTS='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-03-05T00:36:43.816Z] TESTJAVACOPTS= \ [2025-03-05T00:36:43.816Z] TESTJAVAOPTS= \ [2025-03-05T00:36:43.816Z] TESTTIMEOUTFACTOR=8.0 \ [2025-03-05T00:36:43.816Z] TESTROOT=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2025-03-05T00:36:43.816Z] FS=/ \ [2025-03-05T00:36:43.816Z] PS=: \ [2025-03-05T00:36:43.816Z] NULL=/dev/null \ [2025-03-05T00:36:43.816Z] sh \ [2025-03-05T00:36:43.816Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/tools/keytool/autotest.sh [2025-03-05T00:36:43.816Z] [2025-03-05T00:36:43.816Z] TEST RESULT: Failed. Execution failed: exit code 1 [2025-03-05T00:36:43.816Z] -------------------------------------------------- [2025-03-05T00:39:35.123Z] Test results: passed: 609; failed: 8 [2025-03-05T00:39:38.737Z] Report written to /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/report/html/report.html [2025-03-05T00:39:38.737Z] Results written to /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17411243607861/jdk_security3_0/work [2025-03-05T00:39:38.737Z] Error: Some tests failed or other problems occurred. [2025-03-05T00:39:38.737Z] ----------------------------------- [2025-03-05T00:39:38.737Z] jdk_security3_0_FAILED [2025-03-05T00:39:38.737Z] ----------------------------------- [2025-03-05T00:39:38.737Z] [2025-03-05T00:39:38.737Z] TEST TEARDOWN: [2025-03-05T00:39:38.737Z] Nothing to be done for teardown. [2025-03-05T00:39:38.737Z] jdk_security3_0 Finish Time: Wed Mar 5 00:39:38 2025 Epoch Time (ms): 1741135178503