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