jdk_security3_1
[2025-06-18T15:47:38.324Z] Running test jdk_security3_1 ...
[2025-06-18T15:47:38.324Z] ===============================================
[2025-06-18T15:47:38.324Z] jdk_security3_1 Start Time: Wed Jun 18 15:47:30 2025 Epoch Time (ms): 1750261650722
[2025-06-18T15:47:38.324Z] variation: Mode650
[2025-06-18T15:47:38.324Z] JVM_OPTIONS: -XX:-UseCompressedOops
[2025-06-18T15:47:38.324Z] { \
[2025-06-18T15:47:38.324Z] echo ""; echo "TEST SETUP:"; \
[2025-06-18T15:47:38.324Z] echo "Nothing to be done for setup."; \
[2025-06-18T15:47:38.324Z] mkdir -p "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/../TKG/output_17502566153919/jdk_security3_1"; \
[2025-06-18T15:47:38.324Z] cd "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/../TKG/output_17502566153919/jdk_security3_1"; \
[2025-06-18T15:47:38.324Z] echo ""; echo "TESTING:"; \
[2025-06-18T15:47:38.324Z] "/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-06-18T15:47:38.324Z] -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-06-18T15:47:38.324Z] \
[2025-06-18T15:47:38.324Z] -w ""/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/../TKG/output_17502566153919/jdk_security3_1"/work" \
[2025-06-18T15:47:38.324Z] -r ""/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/../TKG/output_17502566153919/jdk_security3_1"/report" \
[2025-06-18T15:47:38.324Z] -jdk:"/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image" \
[2025-06-18T15:47:38.324Z] -exclude:"/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/../openjdk/openjdk-jdk/jdk/test/ProblemList.txt" \
[2025-06-18T15:47:38.324Z] -exclude:"/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/../../jvmtest/openjdk/excludes/ProblemList_openjdk8.txt" \
[2025-06-18T15:47:38.324Z] \
[2025-06-18T15:47:38.324Z] \
[2025-06-18T15:47:38.324Z] "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/../openjdk/openjdk-jdk/jdk/test:jdk_security3"; \
[2025-06-18T15:47:38.324Z] 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-06-18T15:47:38.324Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-06-18T15:47:38.324Z] echo "Nothing to be done for teardown."; \
[2025-06-18T15:47:38.324Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/../TKG/output_17502566153919/TestTargetResult";
[2025-06-18T15:47:38.324Z]
[2025-06-18T15:47:38.324Z] TEST SETUP:
[2025-06-18T15:47:38.324Z] Nothing to be done for setup.
[2025-06-18T15:47:38.324Z]
[2025-06-18T15:47:38.324Z] TESTING:
[2025-06-18T15:47:38.324Z] Directory "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/../TKG/output_17502566153919/jdk_security3_1/work" not found: creating
[2025-06-18T15:47:38.324Z] Directory "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/../TKG/output_17502566153919/jdk_security3_1/report" not found: creating
[2025-06-18T15:47:38.324Z] XML output with verification to /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17502566153919/jdk_security3_1/work
[2025-06-18T15:50:59.548Z] --------------------------------------------------
[2025-06-18T15:50:59.548Z] TEST: sun/security/pkcs11/Provider/Login.sh
[2025-06-18T15:50:59.548Z] TEST JDK: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image
[2025-06-18T15:50:59.548Z]
[2025-06-18T15:50:59.548Z] ACTION: shell -- Failed. Execution failed: exit code 1
[2025-06-18T15:50:59.548Z] REASON: User specified action: run shell Login.sh
[2025-06-18T15:50:59.548Z] TIME: 1.391 seconds
[2025-06-18T15:50:59.548Z] messages:
[2025-06-18T15:50:59.548Z] command: shell Login.sh
[2025-06-18T15:50:59.548Z] reason: User specified action: run shell Login.sh
[2025-06-18T15:50:59.548Z] elapsed time (seconds): 1.391
[2025-06-18T15:50:59.548Z] STDOUT:
[2025-06-18T15:50:59.548Z] TESTSRC=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider
[2025-06-18T15:50:59.548Z] TESTCLASSES=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17502566153919/jdk_security3_1/work/classes/0/sun/security/pkcs11/Provider
[2025-06-18T15:50:59.548Z] TESTJAVA=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image
[2025-06-18T15:50:59.548Z] COMPILEJAVA=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image
[2025-06-18T15:50:59.548Z]
[2025-06-18T15:50:59.548Z] libsoftokn3 version not found, set to 0.0: /usr/lib64/libsoftokn3.so
[2025-06-18T15:50:59.548Z] Beginning test run Login...
[2025-06-18T15:50:59.548Z] STDERR:
[2025-06-18T15:50:59.548Z] 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-06-18T15:50:59.548Z] Note: Recompile with -Xlint:deprecation for details.
[2025-06-18T15:50:59.549Z] 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-06-18T15:50:59.549Z] Note: Recompile with -Xlint:unchecked for details.
[2025-06-18T15:50:59.549Z] Exception in thread "main" java.lang.reflect.InvocationTargetException
[2025-06-18T15:50:59.549Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[2025-06-18T15:50:59.549Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[2025-06-18T15:50:59.549Z] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[2025-06-18T15:50:59.549Z] at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
[2025-06-18T15:50:59.549Z] at PKCS11Test.getSunPKCS11(PKCS11Test.java:108)
[2025-06-18T15:50:59.549Z] at PKCS11Test.testNSS(PKCS11Test.java:486)
[2025-06-18T15:50:59.549Z] at PKCS11Test.main(PKCS11Test.java:156)
[2025-06-18T15:50:59.549Z] at PKCS11Test.main(PKCS11Test.java:137)
[2025-06-18T15:50:59.549Z] at Login.main(Login.java:39)
[2025-06-18T15:50:59.549Z] Caused by: java.security.ProviderException: Initialization failed
[2025-06-18T15:50:59.549Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:376)
[2025-06-18T15:50:59.549Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103)
[2025-06-18T15:50:59.549Z] ... 9 more
[2025-06-18T15:50:59.549Z] Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: 0xCE534351
[2025-06-18T15:50:59.549Z] at sun.security.pkcs11.wrapper.PKCS11.C_Initialize(Native Method)
[2025-06-18T15:50:59.549Z] at sun.security.pkcs11.wrapper.PKCS11$SynchronizedPKCS11.C_Initialize(PKCS11.java:1627)
[2025-06-18T15:50:59.549Z] at sun.security.pkcs11.wrapper.PKCS11.getInstance(PKCS11.java:163)
[2025-06-18T15:50:59.549Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:330)
[2025-06-18T15:50:59.549Z] ... 10 more
[2025-06-18T15:50:59.549Z] rerun:
[2025-06-18T15:50:59.549Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17502566153919/jdk_security3_1/work/scratch/0 && \
[2025-06-18T15:50:59.549Z] DISPLAY=:0 \
[2025-06-18T15:50:59.549Z] HOME=/home/jenkins \
[2025-06-18T15:50:59.549Z] LANG=C.utf8 \
[2025-06-18T15:50:59.549Z] PATH=/bin:/usr/bin:/usr/sbin \
[2025-06-18T15:50:59.549Z] 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-06-18T15:50:59.549Z] TESTSRC=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider \
[2025-06-18T15:50:59.549Z] TESTSRCPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider \
[2025-06-18T15:50:59.549Z] TESTCLASSES=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17502566153919/jdk_security3_1/work/classes/0/sun/security/pkcs11/Provider \
[2025-06-18T15:50:59.549Z] TESTCLASSPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17502566153919/jdk_security3_1/work/classes/0/sun/security/pkcs11/Provider \
[2025-06-18T15:50:59.549Z] COMPILEJAVA=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \
[2025-06-18T15:50:59.549Z] TESTJAVA=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \
[2025-06-18T15:50:59.549Z] TESTVMOPTS='-ea -esa -Xmx512m -XX:-UseCompressedOops' \
[2025-06-18T15:50:59.549Z] TESTTOOLVMOPTS='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \
[2025-06-18T15:50:59.549Z] TESTJAVACOPTS= \
[2025-06-18T15:50:59.549Z] TESTJAVAOPTS= \
[2025-06-18T15:50:59.549Z] TESTTIMEOUTFACTOR=8.0 \
[2025-06-18T15:50:59.549Z] TESTROOT=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test \
[2025-06-18T15:50:59.549Z] FS=/ \
[2025-06-18T15:50:59.549Z] PS=: \
[2025-06-18T15:50:59.549Z] NULL=/dev/null \
[2025-06-18T15:50:59.549Z] sh \
[2025-06-18T15:50:59.549Z] /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-06-18T15:50:59.549Z]
[2025-06-18T15:50:59.549Z] TEST RESULT: Failed. Execution failed: exit code 1
[2025-06-18T15:50:59.549Z] --------------------------------------------------
[2025-06-18T15:51:01.165Z] TEST: sun/security/pkcs11/Secmod/AddPrivateKey.java
[2025-06-18T15:51:01.165Z] TEST JDK: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image
[2025-06-18T15:51:01.165Z]
[2025-06-18T15:51:01.165Z] ACTION: build -- Passed. Build successful
[2025-06-18T15:51:01.165Z] REASON: Named class compiled on demand
[2025-06-18T15:51:01.165Z] TIME: 0.096 seconds
[2025-06-18T15:51:01.165Z] messages:
[2025-06-18T15:51:01.165Z] command: build AddPrivateKey
[2025-06-18T15:51:01.165Z] reason: Named class compiled on demand
[2025-06-18T15:51:01.165Z] Test directory:
[2025-06-18T15:51:01.165Z] compile: AddPrivateKey
[2025-06-18T15:51:01.165Z] elapsed time (seconds): 0.096
[2025-06-18T15:51:01.165Z]
[2025-06-18T15:51:01.165Z] ACTION: compile -- Passed. Compilation successful
[2025-06-18T15:51:01.165Z] REASON: .class file out of date or does not exist
[2025-06-18T15:51:01.165Z] TIME: 0.095 seconds
[2025-06-18T15:51:01.165Z] messages:
[2025-06-18T15:51:01.165Z] 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-06-18T15:51:01.165Z] reason: .class file out of date or does not exist
[2025-06-18T15:51:01.165Z] Mode: agentvm
[2025-06-18T15:51:01.165Z] Agent id: 1
[2025-06-18T15:51:01.165Z] elapsed time (seconds): 0.095
[2025-06-18T15:51:01.165Z] configuration:
[2025-06-18T15:51:01.165Z] Boot Layer (javac runtime environment)
[2025-06-18T15:51:01.165Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/lib/tools.jar
[2025-06-18T15:51:01.165Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jvmtest/openjdk/jtreg/lib/javatest.jar
[2025-06-18T15:51:01.165Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jvmtest/openjdk/jtreg/lib/jtreg.jar
[2025-06-18T15:51:01.165Z]
[2025-06-18T15:51:01.165Z] javac compilation environment
[2025-06-18T15:51:01.165Z] 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-06-18T15:51:01.165Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11
[2025-06-18T15:51:01.165Z] 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-06-18T15:51:01.165Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17502566153919/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod
[2025-06-18T15:51:01.165Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17502566153919/jdk_security3_1/work/classes/1/sun/security/pkcs11
[2025-06-18T15:51:01.165Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/lib/tools.jar
[2025-06-18T15:51:01.165Z]
[2025-06-18T15:51:01.165Z] rerun:
[2025-06-18T15:51:01.165Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17502566153919/jdk_security3_1/work/scratch/2 && \
[2025-06-18T15:51:01.165Z] DISPLAY=:0 \
[2025-06-18T15:51:01.165Z] HOME=/home/jenkins \
[2025-06-18T15:51:01.165Z] LANG=C.utf8 \
[2025-06-18T15:51:01.165Z] PATH=/bin:/usr/bin:/usr/sbin \
[2025-06-18T15:51:01.165Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/bin/javac \
[2025-06-18T15:51:01.165Z] -J-ea \
[2025-06-18T15:51:01.165Z] -J-esa \
[2025-06-18T15:51:01.165Z] -J-Xmx512m \
[2025-06-18T15:51:01.165Z] -J-XX:-UseCompressedOops \
[2025-06-18T15:51:01.165Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \
[2025-06-18T15:51:01.165Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \
[2025-06-18T15:51:01.165Z] -J-Dtest.compiler.opts= \
[2025-06-18T15:51:01.165Z] -J-Dtest.java.opts= \
[2025-06-18T15:51:01.165Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \
[2025-06-18T15:51:01.165Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \
[2025-06-18T15:51:01.165Z] -J-Dtest.timeout.factor=8.0 \
[2025-06-18T15:51:01.165Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test \
[2025-06-18T15:51:01.165Z] -J-Dtest.name=sun/security/pkcs11/Secmod/AddPrivateKey.java \
[2025-06-18T15:51:01.165Z] -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-06-18T15:51:01.165Z] -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-06-18T15:51:01.165Z] -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-06-18T15:51:01.165Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17502566153919/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod \
[2025-06-18T15:51:01.165Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17502566153919/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_17502566153919/jdk_security3_1/work/classes/1/sun/security/pkcs11 \
[2025-06-18T15:51:01.165Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17502566153919/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_17502566153919/jdk_security3_1/work/classes/1/sun/security/pkcs11 \
[2025-06-18T15:51:01.165Z] -d /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17502566153919/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod \
[2025-06-18T15:51:01.165Z] -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-06-18T15:51:01.165Z] -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_17502566153919/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_17502566153919/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-06-18T15:51:01.165Z] -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-06-18T15:51:01.165Z] direct:
[2025-06-18T15:51:01.165Z] 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-06-18T15:51:01.165Z] Note: Recompile with -Xlint:unchecked for details.
[2025-06-18T15:51:01.165Z]
[2025-06-18T15:51:01.165Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.security.NoSuchAlgorithmException: no such algorithm: SHA1withDSA for provider SunPKCS11-NSSKeyStore
[2025-06-18T15:51:01.165Z] REASON: User specified action: run main/othervm AddPrivateKey
[2025-06-18T15:51:01.165Z] TIME: 1.439 seconds
[2025-06-18T15:51:01.165Z] messages:
[2025-06-18T15:51:01.165Z] command: main AddPrivateKey
[2025-06-18T15:51:01.165Z] reason: User specified action: run main/othervm AddPrivateKey
[2025-06-18T15:51:01.165Z] Mode: othervm [/othervm specified]
[2025-06-18T15:51:01.165Z] elapsed time (seconds): 1.439
[2025-06-18T15:51:01.165Z] configuration:
[2025-06-18T15:51:01.165Z] STDOUT:
[2025-06-18T15:51:01.165Z] libsoftokn3 version not found, set to 0.0: /usr/lib64/libsoftokn3.so
[2025-06-18T15:51:01.165Z] SunPKCS11-NSSKeyStore version 1.8
[2025-06-18T15:51:01.165Z]
[2025-06-18T15:51:01.165Z] Deleting: mykey
[2025-06-18T15:51:01.165Z] -Entry vajra (RSA)
[2025-06-18T15:51:01.165Z] sun.security.rsa.RSAPrivateCrtKeyImpl@13c2
[2025-06-18T15:51:01.165Z] SunPKCS11-NSSKeyStore RSA private key, 1024 bitstoken object, not sensitive, extracta
[2025-06-18T15:51:01.165Z] SunPKCS11-NSSKeyStore RSA private key, 1024 bitssession object, not sensitive, extrac
[2025-06-18T15:51:01.165Z] SunPKCS11-NSSKeyStore RSA private key, 1024 bitstoken object, not sensitive, extracta
[2025-06-18T15:51:01.165Z] SunPKCS11-NSSKeyStore RSA private key, 1024 bitstoken object, not sensitive, extracta
[2025-06-18T15:51:01.165Z] OK
[2025-06-18T15:51:01.165Z] -Entry secp256r1server-secp384r1ca (EC)
[2025-06-18T15:51:01.165Z] sun.security.ec.ECPrivateKeyImpl@43ef
[2025-06-18T15:51:01.165Z] SunPKCS11-NSSKeyStore EC private key, 256 bitstoken object, not sensitive, extractabl
[2025-06-18T15:51:01.165Z] SunPKCS11-NSSKeyStore EC private key, 256 bitssession object, not sensitive, extracta
[2025-06-18T15:51:01.165Z] SunPKCS11-NSSKeyStore EC private key, 256 bitstoken object, not sensitive, extractabl
[2025-06-18T15:51:01.165Z] SunPKCS11-NSSKeyStore EC private key, 256 bitstoken object, not sensitive, extractabl
[2025-06-18T15:51:01.165Z] OK
[2025-06-18T15:51:01.165Z] -Entry vajradsa (DSA)
[2025-06-18T15:51:01.165Z] sun.security.provider.DSAPrivateKey@fffccaf3
[2025-06-18T15:51:01.165Z] STDERR:
[2025-06-18T15:51:01.165Z] java.security.NoSuchAlgorithmException: no such algorithm: SHA1withDSA for provider SunPKCS11-NSSKeyStore
[2025-06-18T15:51:01.165Z] at sun.security.jca.GetInstance.getService(GetInstance.java:101)
[2025-06-18T15:51:01.165Z] at sun.security.jca.GetInstance.getInstance(GetInstance.java:218)
[2025-06-18T15:51:01.165Z] at java.security.Signature.getInstance(Signature.java:435)
[2025-06-18T15:51:01.165Z] at AddPrivateKey.sign(AddPrivateKey.java:229)
[2025-06-18T15:51:01.165Z] at AddPrivateKey.test(AddPrivateKey.java:128)
[2025-06-18T15:51:01.165Z] at AddPrivateKey.main(AddPrivateKey.java:112)
[2025-06-18T15:51:01.165Z] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2025-06-18T15:51:01.165Z] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[2025-06-18T15:51:01.165Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2025-06-18T15:51:01.165Z] at java.lang.reflect.Method.invoke(Method.java:498)
[2025-06-18T15:51:01.165Z] at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
[2025-06-18T15:51:01.165Z] at java.lang.Thread.run(Thread.java:750)
[2025-06-18T15:51:01.165Z]
[2025-06-18T15:51:01.165Z] JavaTest Message: Test threw exception: java.security.NoSuchAlgorithmException: no such algorithm: SHA1withDSA for provider SunPKCS11-NSSKeyStore
[2025-06-18T15:51:01.165Z] JavaTest Message: shutting down test
[2025-06-18T15:51:01.165Z]
[2025-06-18T15:51:01.165Z] STATUS:Failed.`main' threw exception: java.security.NoSuchAlgorithmException: no such algorithm: SHA1withDSA for provider SunPKCS11-NSSKeyStore
[2025-06-18T15:51:01.165Z] rerun:
[2025-06-18T15:51:01.165Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17502566153919/jdk_security3_1/work/scratch/2 && \
[2025-06-18T15:51:01.165Z] DISPLAY=:0 \
[2025-06-18T15:51:01.165Z] HOME=/home/jenkins \
[2025-06-18T15:51:01.165Z] LANG=C.utf8 \
[2025-06-18T15:51:01.165Z] PATH=/bin:/usr/bin:/usr/sbin \
[2025-06-18T15:51:01.165Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17502566153919/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_17502566153919/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-06-18T15:51:01.165Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image/bin/java \
[2025-06-18T15:51:01.165Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \
[2025-06-18T15:51:01.165Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \
[2025-06-18T15:51:01.165Z] -Dtest.compiler.opts= \
[2025-06-18T15:51:01.165Z] -Dtest.java.opts= \
[2025-06-18T15:51:01.165Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \
[2025-06-18T15:51:01.165Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \
[2025-06-18T15:51:01.165Z] -Dtest.timeout.factor=8.0 \
[2025-06-18T15:51:01.165Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test \
[2025-06-18T15:51:01.165Z] -Dtest.name=sun/security/pkcs11/Secmod/AddPrivateKey.java \
[2025-06-18T15:51:01.165Z] -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-06-18T15:51:01.165Z] -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-06-18T15:51:01.165Z] -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-06-18T15:51:01.165Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17502566153919/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod \
[2025-06-18T15:51:01.165Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17502566153919/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_17502566153919/jdk_security3_1/work/classes/1/sun/security/pkcs11 \
[2025-06-18T15:51:01.165Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17502566153919/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_17502566153919/jdk_security3_1/work/classes/1/sun/security/pkcs11 \
[2025-06-18T15:51:01.165Z] -ea \
[2025-06-18T15:51:01.165Z] -esa \
[2025-06-18T15:51:01.165Z] -Xmx512m \
[2025-06-18T15:51:01.165Z] -XX:-UseCompressedOops \
[2025-06-18T15:51:01.165Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17502566153919/jdk_security3_1/work/sun/security/pkcs11/Secmod/AddPrivateKey.d/main.0.jta
[2025-06-18T15:51:01.165Z]
[2025-06-18T15:51:01.165Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.security.NoSuchAlgorithmException: no such algorithm: SHA1withDSA for provider SunPKCS11-NSSKeyStore
[2025-06-18T15:51:01.165Z] --------------------------------------------------
[2025-06-18T15:55:08.920Z] TEST: sun/security/tools/keytool/autotest.sh
[2025-06-18T15:55:08.920Z] TEST JDK: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image
[2025-06-18T15:55:08.920Z]
[2025-06-18T15:55:08.920Z] ACTION: shell -- Failed. Execution failed: exit code 1
[2025-06-18T15:55:08.920Z] REASON: Assumed action based on file name: run shell autotest.sh
[2025-06-18T15:55:08.920Z] TIME: 2.175 seconds
[2025-06-18T15:55:08.920Z] messages:
[2025-06-18T15:55:08.920Z] command: shell autotest.sh
[2025-06-18T15:55:08.920Z] reason: Assumed action based on file name: run shell autotest.sh
[2025-06-18T15:55:08.920Z] elapsed time (seconds): 2.175
[2025-06-18T15:55:08.920Z] STDOUT:
[2025-06-18T15:55:08.920Z] STDERR:
[2025-06-18T15:55:08.920Z] 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-06-18T15:55:08.920Z] Note: Recompile with -Xlint:unchecked for details.
[2025-06-18T15:55:08.920Z] .....
[2025-06-18T15:55:08.920Z] Test fails for the command ---
[2025-06-18T15:55:08.920Z] 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-06-18T15:55:08.920Z] Or its debug version ---
[2025-06-18T15:55:08.920Z] 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-06-18T15:55:08.920Z] The command result should be OK, but it's not. Try run the command manually and type these input into it:
[2025-06-18T15:55:08.920Z]
[2025-06-18T15:55:08.920Z] ERR is:
[2025-06-18T15:55:08.920Z]
[2025-06-18T15:55:08.920Z] OUT is:
[2025-06-18T15:55:08.920Z] keytool error: java.io.IOException: load failed
[2025-06-18T15:55:08.920Z]
[2025-06-18T15:55:08.920Z] Exception in thread "main" java.io.IOException: load failed
[2025-06-18T15:55:08.920Z] at sun.security.pkcs11.P11KeyStore.engineLoad(P11KeyStore.java:764)
[2025-06-18T15:55:08.920Z] at java.security.KeyStore.load(KeyStore.java:1445)
[2025-06-18T15:55:08.920Z] at sun.security.tools.keytool.Main.doCommands(Main.java:869)
[2025-06-18T15:55:08.920Z] at sun.security.tools.keytool.Main.run(Main.java:378)
[2025-06-18T15:55:08.920Z] at sun.security.tools.keytool.Main.main(Main.java:371)
[2025-06-18T15:55:08.920Z] at KeyToolTest.test(KeyToolTest.java:159)
[2025-06-18T15:55:08.920Z] at KeyToolTest.test(KeyToolTest.java:127)
[2025-06-18T15:55:08.920Z] at KeyToolTest.testOK(KeyToolTest.java:182)
[2025-06-18T15:55:08.920Z] at KeyToolTest.testPKCS11(KeyToolTest.java:525)
[2025-06-18T15:55:08.920Z] at KeyToolTest.main(KeyToolTest.java:1345)
[2025-06-18T15:55:08.920Z] Caused by: javax.security.auth.login.LoginException
[2025-06-18T15:55:08.920Z] at sun.security.pkcs11.SunPKCS11.login(SunPKCS11.java:1333)
[2025-06-18T15:55:08.920Z] at sun.security.pkcs11.P11KeyStore.login(P11KeyStore.java:864)
[2025-06-18T15:55:08.920Z] at sun.security.pkcs11.P11KeyStore.engineLoad(P11KeyStore.java:751)
[2025-06-18T15:55:08.920Z] ... 9 more
[2025-06-18T15:55:08.920Z] Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_USER_TYPE_INVALID
[2025-06-18T15:55:08.920Z] at sun.security.pkcs11.wrapper.PKCS11.C_Login(Native Method)
[2025-06-18T15:55:08.920Z] at sun.security.pkcs11.SunPKCS11.login(SunPKCS11.java:1317)
[2025-06-18T15:55:08.920Z] ... 11 more
[2025-06-18T15:55:08.920Z] rerun:
[2025-06-18T15:55:08.920Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17502566153919/jdk_security3_1/work/scratch/0 && \
[2025-06-18T15:55:08.920Z] DISPLAY=:0 \
[2025-06-18T15:55:08.920Z] HOME=/home/jenkins \
[2025-06-18T15:55:08.920Z] LANG=C.utf8 \
[2025-06-18T15:55:08.920Z] PATH=/bin:/usr/bin:/usr/sbin \
[2025-06-18T15:55:08.920Z] 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-06-18T15:55:08.920Z] TESTSRC=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/tools/keytool \
[2025-06-18T15:55:08.920Z] TESTSRCPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/tools/keytool \
[2025-06-18T15:55:08.920Z] TESTCLASSES=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17502566153919/jdk_security3_1/work/classes/0/sun/security/tools/keytool \
[2025-06-18T15:55:08.920Z] TESTCLASSPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17502566153919/jdk_security3_1/work/classes/0/sun/security/tools/keytool \
[2025-06-18T15:55:08.920Z] COMPILEJAVA=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \
[2025-06-18T15:55:08.920Z] TESTJAVA=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/jdkbinary/j2sdk-image \
[2025-06-18T15:55:08.920Z] TESTVMOPTS='-ea -esa -Xmx512m -XX:-UseCompressedOops' \
[2025-06-18T15:55:08.920Z] TESTTOOLVMOPTS='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \
[2025-06-18T15:55:08.920Z] TESTJAVACOPTS= \
[2025-06-18T15:55:08.920Z] TESTJAVAOPTS= \
[2025-06-18T15:55:08.920Z] TESTTIMEOUTFACTOR=8.0 \
[2025-06-18T15:55:08.920Z] TESTROOT=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/openjdk/openjdk-jdk/jdk/test \
[2025-06-18T15:55:08.920Z] FS=/ \
[2025-06-18T15:55:08.920Z] PS=: \
[2025-06-18T15:55:08.920Z] NULL=/dev/null \
[2025-06-18T15:55:08.920Z] sh \
[2025-06-18T15:55:08.920Z] /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-06-18T15:55:08.920Z]
[2025-06-18T15:55:08.920Z] TEST RESULT: Failed. Execution failed: exit code 1
[2025-06-18T15:55:08.920Z] --------------------------------------------------
[2025-06-18T15:57:59.285Z] Test results: passed: 614; failed: 3
[2025-06-18T15:57:59.285Z] Report written to /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17502566153919/jdk_security3_1/report/html/report.html
[2025-06-18T15:57:59.285Z] Results written to /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_17502566153919/jdk_security3_1/work
[2025-06-18T15:57:59.285Z] Error: Some tests failed or other problems occurred.
[2025-06-18T15:57:59.285Z] -----------------------------------
[2025-06-18T15:57:59.285Z] jdk_security3_1_FAILED
[2025-06-18T15:57:59.285Z] -----------------------------------
[2025-06-18T15:57:59.285Z]
[2025-06-18T15:57:59.285Z] TEST TEARDOWN:
[2025-06-18T15:57:59.285Z] Nothing to be done for teardown.
[2025-06-18T15:57:59.285Z] jdk_security3_1 Finish Time: Wed Jun 18 15:57:53 2025 Epoch Time (ms): 1750262273330