jdk_security3_1

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