jdk_security3_1

[2024-08-02T04:14:30.279Z] Running test jdk_security3_1 ... [2024-08-02T04:14:30.279Z] =============================================== [2024-08-02T04:14:30.279Z] jdk_security3_1 Start Time: Fri Aug 2 04:14:29 2024 Epoch Time (ms): 1722572069388 [2024-08-02T04:14:30.279Z] variation: Mode650 [2024-08-02T04:14:30.279Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-08-02T04:14:30.279Z] { \ [2024-08-02T04:14:30.279Z] echo ""; echo "TEST SETUP:"; \ [2024-08-02T04:14:30.279Z] echo "Nothing to be done for setup."; \ [2024-08-02T04:14:30.279Z] mkdir -p "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_1722566870206/jdk_security3_1"; \ [2024-08-02T04:14:30.279Z] cd "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_1722566870206/jdk_security3_1"; \ [2024-08-02T04:14:30.279Z] echo ""; echo "TESTING:"; \ [2024-08-02T04:14:30.279Z] "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/..//bin/java" -Xmx512m -jar "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/../../jvmtest/openjdk/jtreg/lib/jtreg.jar" \ [2024-08-02T04:14:30.279Z] -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 " \ [2024-08-02T04:14:30.279Z] \ [2024-08-02T04:14:30.279Z] -w ""/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_1722566870206/jdk_security3_1"/work" \ [2024-08-02T04:14:30.279Z] -r ""/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_1722566870206/jdk_security3_1"/report" \ [2024-08-02T04:14:30.279Z] -jdk:"/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../" \ [2024-08-02T04:14:30.279Z] -exclude:"/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/../openjdk/openjdk-jdk/jdk/test/ProblemList.txt" \ [2024-08-02T04:14:30.279Z] -exclude:"/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/../../jvmtest/openjdk/excludes/ProblemList_openjdk8.txt" \ [2024-08-02T04:14:30.279Z] \ [2024-08-02T04:14:30.279Z] \ [2024-08-02T04:14:30.279Z] "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/../openjdk/openjdk-jdk/jdk/test:jdk_security3"; \ [2024-08-02T04:14:30.279Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_security3_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/..; else echo "-----------------------------------"; echo "jdk_security3_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-02T04:14:30.279Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-02T04:14:30.279Z] echo "Nothing to be done for teardown."; \ [2024-08-02T04:14:30.279Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_1722566870206/TestTargetResult"; [2024-08-02T04:14:30.279Z] [2024-08-02T04:14:30.279Z] TEST SETUP: [2024-08-02T04:14:30.279Z] Nothing to be done for setup. [2024-08-02T04:14:30.279Z] [2024-08-02T04:14:30.279Z] TESTING: [2024-08-02T04:14:31.023Z] Directory "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_1722566870206/jdk_security3_1/work" not found: creating [2024-08-02T04:14:31.023Z] Directory "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_1722566870206/jdk_security3_1/report" not found: creating [2024-08-02T04:14:32.589Z] XML output with verification to /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work [2024-08-02T04:31:52.829Z] -------------------------------------------------- [2024-08-02T04:31:52.829Z] TEST: sun/security/pkcs11/Provider/Login.sh [2024-08-02T04:31:52.829Z] TEST JDK: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. [2024-08-02T04:31:52.829Z] [2024-08-02T04:31:52.830Z] ACTION: shell -- Failed. Execution failed: exit code 1 [2024-08-02T04:31:52.830Z] REASON: User specified action: run shell Login.sh [2024-08-02T04:31:52.830Z] TIME: 5.732 seconds [2024-08-02T04:31:52.830Z] messages: [2024-08-02T04:31:52.830Z] command: shell Login.sh [2024-08-02T04:31:52.830Z] reason: User specified action: run shell Login.sh [2024-08-02T04:31:52.830Z] elapsed time (seconds): 5.732 [2024-08-02T04:31:52.830Z] STDOUT: [2024-08-02T04:31:52.830Z] TESTSRC=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider [2024-08-02T04:31:52.830Z] TESTCLASSES=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/2/sun/security/pkcs11/Provider [2024-08-02T04:31:52.830Z] TESTJAVA=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. [2024-08-02T04:31:52.830Z] COMPILEJAVA=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. [2024-08-02T04:31:52.830Z] [2024-08-02T04:31:52.830Z] libsoftokn3 version = 3.101. ECC Basic. [2024-08-02T04:31:52.830Z] Beginning test run Login... [2024-08-02T04:31:52.830Z] STDERR: [2024-08-02T04:31:52.830Z] Note: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider/Login.java uses or overrides a deprecated API. [2024-08-02T04:31:52.830Z] Note: Recompile with -Xlint:deprecation for details. [2024-08-02T04:31:52.830Z] Note: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider/../PKCS11Test.java uses unchecked or unsafe operations. [2024-08-02T04:31:52.830Z] Note: Recompile with -Xlint:unchecked for details. [2024-08-02T04:31:52.830Z] Exception in thread "main" java.lang.reflect.InvocationTargetException [2024-08-02T04:31:52.830Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [2024-08-02T04:31:52.830Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [2024-08-02T04:31:52.830Z] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [2024-08-02T04:31:52.830Z] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [2024-08-02T04:31:52.830Z] at PKCS11Test.getSunPKCS11(PKCS11Test.java:108) [2024-08-02T04:31:52.830Z] at PKCS11Test.testNSS(PKCS11Test.java:486) [2024-08-02T04:31:52.830Z] at PKCS11Test.main(PKCS11Test.java:156) [2024-08-02T04:31:52.830Z] at PKCS11Test.main(PKCS11Test.java:137) [2024-08-02T04:31:52.830Z] at Login.main(Login.java:39) [2024-08-02T04:31:52.830Z] Caused by: java.security.ProviderException: Initialization failed [2024-08-02T04:31:52.830Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:376) [2024-08-02T04:31:52.830Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103) [2024-08-02T04:31:52.830Z] ... 9 more [2024-08-02T04:31:52.830Z] Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: 0xCE534351 [2024-08-02T04:31:52.830Z] at sun.security.pkcs11.wrapper.PKCS11.C_Initialize(Native Method) [2024-08-02T04:31:52.830Z] at sun.security.pkcs11.wrapper.PKCS11$SynchronizedPKCS11.C_Initialize(PKCS11.java:1627) [2024-08-02T04:31:52.830Z] at sun.security.pkcs11.wrapper.PKCS11.getInstance(PKCS11.java:163) [2024-08-02T04:31:52.830Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:330) [2024-08-02T04:31:52.830Z] ... 10 more [2024-08-02T04:31:52.830Z] rerun: [2024-08-02T04:31:52.830Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/scratch/1 && \ [2024-08-02T04:31:52.830Z] DISPLAY=:0 \ [2024-08-02T04:31:52.830Z] HOME=/home/jenkins \ [2024-08-02T04:31:52.830Z] LANG=C.UTF-8 \ [2024-08-02T04:31:52.830Z] PATH=/bin:/usr/bin:/usr/sbin \ [2024-08-02T04:31:52.830Z] TESTFILE=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider/Login.sh \ [2024-08-02T04:31:52.830Z] TESTSRC=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider \ [2024-08-02T04:31:52.830Z] TESTSRCPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider \ [2024-08-02T04:31:52.830Z] TESTCLASSES=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/2/sun/security/pkcs11/Provider \ [2024-08-02T04:31:52.830Z] TESTCLASSPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/2/sun/security/pkcs11/Provider \ [2024-08-02T04:31:52.830Z] COMPILEJAVA=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. \ [2024-08-02T04:31:52.830Z] TESTJAVA=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. \ [2024-08-02T04:31:52.830Z] TESTVMOPTS='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2024-08-02T04:31:52.830Z] TESTTOOLVMOPTS='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2024-08-02T04:31:52.830Z] TESTJAVACOPTS= \ [2024-08-02T04:31:52.830Z] TESTJAVAOPTS= \ [2024-08-02T04:31:52.830Z] TESTTIMEOUTFACTOR=8.0 \ [2024-08-02T04:31:52.830Z] TESTROOT=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2024-08-02T04:31:52.830Z] FS=/ \ [2024-08-02T04:31:52.830Z] PS=: \ [2024-08-02T04:31:52.830Z] NULL=/dev/null \ [2024-08-02T04:31:52.830Z] sh \ [2024-08-02T04:31:52.830Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider/Login.sh [2024-08-02T04:31:52.830Z] [2024-08-02T04:31:52.830Z] TEST RESULT: Failed. Execution failed: exit code 1 [2024-08-02T04:31:52.830Z] -------------------------------------------------- [2024-08-02T04:31:52.830Z] TEST: sun/security/pkcs11/Secmod/AddPrivateKey.java [2024-08-02T04:31:52.830Z] TEST JDK: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. [2024-08-02T04:31:52.830Z] [2024-08-02T04:31:52.830Z] ACTION: build -- Passed. Build successful [2024-08-02T04:31:52.830Z] REASON: Named class compiled on demand [2024-08-02T04:31:52.830Z] TIME: 0.292 seconds [2024-08-02T04:31:52.830Z] messages: [2024-08-02T04:31:52.830Z] command: build AddPrivateKey [2024-08-02T04:31:52.830Z] reason: Named class compiled on demand [2024-08-02T04:31:52.830Z] Test directory: [2024-08-02T04:31:52.830Z] compile: AddPrivateKey [2024-08-02T04:31:52.830Z] elapsed time (seconds): 0.292 [2024-08-02T04:31:52.830Z] [2024-08-02T04:31:52.830Z] ACTION: compile -- Passed. Compilation successful [2024-08-02T04:31:52.830Z] REASON: .class file out of date or does not exist [2024-08-02T04:31:52.830Z] TIME: 0.291 seconds [2024-08-02T04:31:52.830Z] messages: [2024-08-02T04:31:52.830Z] command: compile -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/AddPrivateKey.java [2024-08-02T04:31:52.830Z] reason: .class file out of date or does not exist [2024-08-02T04:31:52.830Z] Mode: agentvm [2024-08-02T04:31:52.830Z] Agent id: 2 [2024-08-02T04:31:52.830Z] elapsed time (seconds): 0.291 [2024-08-02T04:31:52.830Z] configuration: [2024-08-02T04:31:52.830Z] Boot Layer (javac runtime environment) [2024-08-02T04:31:52.830Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../lib/tools.jar [2024-08-02T04:31:52.830Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jvmtest/openjdk/jtreg/lib/javatest.jar [2024-08-02T04:31:52.830Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jvmtest/openjdk/jtreg/lib/jtreg.jar [2024-08-02T04:31:52.830Z] [2024-08-02T04:31:52.830Z] javac compilation environment [2024-08-02T04:31:52.830Z] source path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod [2024-08-02T04:31:52.830Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 [2024-08-02T04:31:52.830Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod [2024-08-02T04:31:52.830Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11/Secmod [2024-08-02T04:31:52.830Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11 [2024-08-02T04:31:52.830Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../lib/tools.jar [2024-08-02T04:31:52.830Z] [2024-08-02T04:31:52.830Z] rerun: [2024-08-02T04:31:52.830Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/scratch/2 && \ [2024-08-02T04:31:52.830Z] DISPLAY=:0 \ [2024-08-02T04:31:52.830Z] HOME=/home/jenkins \ [2024-08-02T04:31:52.830Z] LANG=C.UTF-8 \ [2024-08-02T04:31:52.830Z] PATH=/bin:/usr/bin:/usr/sbin \ [2024-08-02T04:31:52.830Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../bin/javac \ [2024-08-02T04:31:52.830Z] -J-ea \ [2024-08-02T04:31:52.830Z] -J-esa \ [2024-08-02T04:31:52.830Z] -J-Xmx512m \ [2024-08-02T04:31:52.830Z] -J-XX:-UseCompressedOops \ [2024-08-02T04:31:52.830Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2024-08-02T04:31:52.830Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2024-08-02T04:31:52.830Z] -J-Dtest.compiler.opts= \ [2024-08-02T04:31:52.830Z] -J-Dtest.java.opts= \ [2024-08-02T04:31:52.830Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. \ [2024-08-02T04:31:52.830Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. \ [2024-08-02T04:31:52.830Z] -J-Dtest.timeout.factor=8.0 \ [2024-08-02T04:31:52.830Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2024-08-02T04:31:52.830Z] -J-Dtest.name=sun/security/pkcs11/Secmod/AddPrivateKey.java \ [2024-08-02T04:31:52.830Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/AddPrivateKey.java \ [2024-08-02T04:31:52.830Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod \ [2024-08-02T04:31:52.830Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2024-08-02T04:31:52.830Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11/Secmod \ [2024-08-02T04:31:52.830Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11 \ [2024-08-02T04:31:52.830Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11 \ [2024-08-02T04:31:52.830Z] -d /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11/Secmod \ [2024-08-02T04:31:52.830Z] -sourcepath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2024-08-02T04:31:52.830Z] -classpath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../lib/tools.jar \ [2024-08-02T04:31:52.830Z] -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/AddPrivateKey.java [2024-08-02T04:31:52.830Z] direct: [2024-08-02T04:31:52.830Z] Note: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/PKCS11Test.java uses unchecked or unsafe operations. [2024-08-02T04:31:52.830Z] Note: Recompile with -Xlint:unchecked for details. [2024-08-02T04:31:52.830Z] [2024-08-02T04:31:52.830Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException [2024-08-02T04:31:52.830Z] REASON: User specified action: run main/othervm AddPrivateKey [2024-08-02T04:31:52.830Z] TIME: 0.754 seconds [2024-08-02T04:31:52.830Z] messages: [2024-08-02T04:31:52.830Z] command: main AddPrivateKey [2024-08-02T04:31:52.830Z] reason: User specified action: run main/othervm AddPrivateKey [2024-08-02T04:31:52.830Z] Mode: othervm [/othervm specified] [2024-08-02T04:31:52.830Z] elapsed time (seconds): 0.754 [2024-08-02T04:31:52.830Z] configuration: [2024-08-02T04:31:52.830Z] STDOUT: [2024-08-02T04:31:52.830Z] libsoftokn3 version = 3.101. ECC Basic. [2024-08-02T04:31:52.830Z] STDERR: [2024-08-02T04:31:52.830Z] java.lang.reflect.InvocationTargetException [2024-08-02T04:31:52.830Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [2024-08-02T04:31:52.830Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [2024-08-02T04:31:52.830Z] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [2024-08-02T04:31:52.830Z] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [2024-08-02T04:31:52.830Z] at PKCS11Test.getSunPKCS11(PKCS11Test.java:108) [2024-08-02T04:31:52.830Z] at AddPrivateKey.main(AddPrivateKey.java:71) [2024-08-02T04:31:52.830Z] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2024-08-02T04:31:52.830Z] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2024-08-02T04:31:52.830Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2024-08-02T04:31:52.830Z] at java.lang.reflect.Method.invoke(Method.java:498) [2024-08-02T04:31:52.830Z] at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127) [2024-08-02T04:31:52.830Z] at java.lang.Thread.run(Thread.java:750) [2024-08-02T04:31:52.830Z] Caused by: java.security.ProviderException: Could not initialize NSS [2024-08-02T04:31:52.830Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:212) [2024-08-02T04:31:52.830Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103) [2024-08-02T04:31:52.830Z] ... 12 more [2024-08-02T04:31:52.830Z] Caused by: java.io.IOException: NSS initialization failed [2024-08-02T04:31:52.830Z] at sun.security.pkcs11.Secmod.initialize(Secmod.java:243) [2024-08-02T04:31:52.830Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:207) [2024-08-02T04:31:52.830Z] ... 13 more [2024-08-02T04:31:52.830Z] [2024-08-02T04:31:52.830Z] JavaTest Message: Test threw exception: java.lang.reflect.InvocationTargetException [2024-08-02T04:31:52.830Z] JavaTest Message: shutting down test [2024-08-02T04:31:52.830Z] [2024-08-02T04:31:52.830Z] STATUS:Failed.`main' threw exception: java.lang.reflect.InvocationTargetException [2024-08-02T04:31:52.830Z] rerun: [2024-08-02T04:31:52.830Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/scratch/2 && \ [2024-08-02T04:31:52.830Z] DISPLAY=:0 \ [2024-08-02T04:31:52.830Z] HOME=/home/jenkins \ [2024-08-02T04:31:52.830Z] LANG=C.UTF-8 \ [2024-08-02T04:31:52.830Z] PATH=/bin:/usr/bin:/usr/sbin \ [2024-08-02T04:31:52.830Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../lib/tools.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2024-08-02T04:31:52.830Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../bin/java \ [2024-08-02T04:31:52.830Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2024-08-02T04:31:52.830Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2024-08-02T04:31:52.830Z] -Dtest.compiler.opts= \ [2024-08-02T04:31:52.830Z] -Dtest.java.opts= \ [2024-08-02T04:31:52.830Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. \ [2024-08-02T04:31:52.831Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. \ [2024-08-02T04:31:52.831Z] -Dtest.timeout.factor=8.0 \ [2024-08-02T04:31:52.831Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2024-08-02T04:31:52.831Z] -Dtest.name=sun/security/pkcs11/Secmod/AddPrivateKey.java \ [2024-08-02T04:31:52.831Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/AddPrivateKey.java \ [2024-08-02T04:31:52.831Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod \ [2024-08-02T04:31:52.831Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2024-08-02T04:31:52.831Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11/Secmod \ [2024-08-02T04:31:52.831Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11 \ [2024-08-02T04:31:52.831Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11 \ [2024-08-02T04:31:52.831Z] -ea \ [2024-08-02T04:31:52.831Z] -esa \ [2024-08-02T04:31:52.831Z] -Xmx512m \ [2024-08-02T04:31:52.831Z] -XX:-UseCompressedOops \ [2024-08-02T04:31:52.831Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/sun/security/pkcs11/Secmod/AddPrivateKey.d/main.0.jta [2024-08-02T04:31:52.831Z] [2024-08-02T04:31:52.831Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException [2024-08-02T04:31:52.831Z] -------------------------------------------------- [2024-08-02T04:31:52.831Z] TEST: sun/security/pkcs11/Secmod/GetPrivateKey.java [2024-08-02T04:31:52.831Z] TEST JDK: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. [2024-08-02T04:31:52.831Z] [2024-08-02T04:31:52.831Z] ACTION: build -- Passed. Build successful [2024-08-02T04:31:52.831Z] REASON: Named class compiled on demand [2024-08-02T04:31:52.831Z] TIME: 0.284 seconds [2024-08-02T04:31:52.831Z] messages: [2024-08-02T04:31:52.831Z] command: build GetPrivateKey [2024-08-02T04:31:52.831Z] reason: Named class compiled on demand [2024-08-02T04:31:52.831Z] Test directory: [2024-08-02T04:31:52.831Z] compile: GetPrivateKey [2024-08-02T04:31:52.831Z] elapsed time (seconds): 0.284 [2024-08-02T04:31:52.831Z] [2024-08-02T04:31:52.831Z] ACTION: compile -- Passed. Compilation successful [2024-08-02T04:31:52.831Z] REASON: .class file out of date or does not exist [2024-08-02T04:31:52.831Z] TIME: 0.282 seconds [2024-08-02T04:31:52.831Z] messages: [2024-08-02T04:31:52.831Z] command: compile -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/GetPrivateKey.java [2024-08-02T04:31:52.831Z] reason: .class file out of date or does not exist [2024-08-02T04:31:52.831Z] Mode: agentvm [2024-08-02T04:31:52.831Z] Agent id: 1 [2024-08-02T04:31:52.831Z] elapsed time (seconds): 0.282 [2024-08-02T04:31:52.831Z] configuration: [2024-08-02T04:31:52.831Z] Boot Layer (javac runtime environment) [2024-08-02T04:31:52.831Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../lib/tools.jar [2024-08-02T04:31:52.831Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jvmtest/openjdk/jtreg/lib/javatest.jar [2024-08-02T04:31:52.831Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jvmtest/openjdk/jtreg/lib/jtreg.jar [2024-08-02T04:31:52.831Z] [2024-08-02T04:31:52.831Z] javac compilation environment [2024-08-02T04:31:52.831Z] source path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod [2024-08-02T04:31:52.831Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 [2024-08-02T04:31:52.831Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod [2024-08-02T04:31:52.831Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod [2024-08-02T04:31:52.831Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11 [2024-08-02T04:31:52.831Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../lib/tools.jar [2024-08-02T04:31:52.831Z] [2024-08-02T04:31:52.831Z] rerun: [2024-08-02T04:31:52.831Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/scratch/0 && \ [2024-08-02T04:31:52.831Z] DISPLAY=:0 \ [2024-08-02T04:31:52.831Z] HOME=/home/jenkins \ [2024-08-02T04:31:52.831Z] LANG=C.UTF-8 \ [2024-08-02T04:31:52.831Z] PATH=/bin:/usr/bin:/usr/sbin \ [2024-08-02T04:31:52.831Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../bin/javac \ [2024-08-02T04:31:52.831Z] -J-ea \ [2024-08-02T04:31:52.831Z] -J-esa \ [2024-08-02T04:31:52.831Z] -J-Xmx512m \ [2024-08-02T04:31:52.831Z] -J-XX:-UseCompressedOops \ [2024-08-02T04:31:52.831Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2024-08-02T04:31:52.831Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2024-08-02T04:31:52.831Z] -J-Dtest.compiler.opts= \ [2024-08-02T04:31:52.831Z] -J-Dtest.java.opts= \ [2024-08-02T04:31:52.831Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. \ [2024-08-02T04:31:52.831Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. \ [2024-08-02T04:31:52.831Z] -J-Dtest.timeout.factor=8.0 \ [2024-08-02T04:31:52.831Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2024-08-02T04:31:52.831Z] -J-Dtest.name=sun/security/pkcs11/Secmod/GetPrivateKey.java \ [2024-08-02T04:31:52.831Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/GetPrivateKey.java \ [2024-08-02T04:31:52.831Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod \ [2024-08-02T04:31:52.831Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2024-08-02T04:31:52.831Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod \ [2024-08-02T04:31:52.831Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11 \ [2024-08-02T04:31:52.831Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11 \ [2024-08-02T04:31:52.831Z] -d /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod \ [2024-08-02T04:31:52.831Z] -sourcepath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2024-08-02T04:31:52.831Z] -classpath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../lib/tools.jar \ [2024-08-02T04:31:52.831Z] -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/GetPrivateKey.java [2024-08-02T04:31:52.831Z] direct: [2024-08-02T04:31:52.831Z] Note: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/PKCS11Test.java uses unchecked or unsafe operations. [2024-08-02T04:31:52.831Z] Note: Recompile with -Xlint:unchecked for details. [2024-08-02T04:31:52.831Z] [2024-08-02T04:31:52.831Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException [2024-08-02T04:31:52.831Z] REASON: User specified action: run main/othervm GetPrivateKey [2024-08-02T04:31:52.831Z] TIME: 0.553 seconds [2024-08-02T04:31:52.831Z] messages: [2024-08-02T04:31:52.831Z] command: main GetPrivateKey [2024-08-02T04:31:52.831Z] reason: User specified action: run main/othervm GetPrivateKey [2024-08-02T04:31:52.831Z] Mode: othervm [/othervm specified] [2024-08-02T04:31:52.831Z] elapsed time (seconds): 0.553 [2024-08-02T04:31:52.831Z] configuration: [2024-08-02T04:31:52.831Z] STDOUT: [2024-08-02T04:31:52.831Z] libsoftokn3 version = 3.101. ECC Basic. [2024-08-02T04:31:52.831Z] STDERR: [2024-08-02T04:31:52.831Z] java.lang.reflect.InvocationTargetException [2024-08-02T04:31:52.831Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [2024-08-02T04:31:52.831Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [2024-08-02T04:31:52.831Z] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [2024-08-02T04:31:52.831Z] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [2024-08-02T04:31:52.831Z] at PKCS11Test.getSunPKCS11(PKCS11Test.java:108) [2024-08-02T04:31:52.831Z] at GetPrivateKey.main(GetPrivateKey.java:54) [2024-08-02T04:31:52.831Z] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2024-08-02T04:31:52.831Z] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2024-08-02T04:31:52.831Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2024-08-02T04:31:52.831Z] at java.lang.reflect.Method.invoke(Method.java:498) [2024-08-02T04:31:52.831Z] at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127) [2024-08-02T04:31:52.831Z] at java.lang.Thread.run(Thread.java:750) [2024-08-02T04:31:52.831Z] Caused by: java.security.ProviderException: Could not initialize NSS [2024-08-02T04:31:52.831Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:212) [2024-08-02T04:31:52.831Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103) [2024-08-02T04:31:52.831Z] ... 12 more [2024-08-02T04:31:52.831Z] Caused by: java.io.IOException: NSS initialization failed [2024-08-02T04:31:52.831Z] at sun.security.pkcs11.Secmod.initialize(Secmod.java:243) [2024-08-02T04:31:52.831Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:207) [2024-08-02T04:31:52.831Z] ... 13 more [2024-08-02T04:31:52.831Z] [2024-08-02T04:31:52.831Z] JavaTest Message: Test threw exception: java.lang.reflect.InvocationTargetException [2024-08-02T04:31:52.831Z] JavaTest Message: shutting down test [2024-08-02T04:31:52.831Z] [2024-08-02T04:31:52.831Z] STATUS:Failed.`main' threw exception: java.lang.reflect.InvocationTargetException [2024-08-02T04:31:52.831Z] rerun: [2024-08-02T04:31:52.831Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/scratch/0 && \ [2024-08-02T04:31:52.831Z] DISPLAY=:0 \ [2024-08-02T04:31:52.831Z] HOME=/home/jenkins \ [2024-08-02T04:31:52.831Z] LANG=C.UTF-8 \ [2024-08-02T04:31:52.831Z] PATH=/bin:/usr/bin:/usr/sbin \ [2024-08-02T04:31:52.831Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../lib/tools.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2024-08-02T04:31:52.831Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../bin/java \ [2024-08-02T04:31:52.831Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2024-08-02T04:31:52.831Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2024-08-02T04:31:52.831Z] -Dtest.compiler.opts= \ [2024-08-02T04:31:52.831Z] -Dtest.java.opts= \ [2024-08-02T04:31:52.831Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. \ [2024-08-02T04:31:52.831Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. \ [2024-08-02T04:31:52.831Z] -Dtest.timeout.factor=8.0 \ [2024-08-02T04:31:52.831Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2024-08-02T04:31:52.831Z] -Dtest.name=sun/security/pkcs11/Secmod/GetPrivateKey.java \ [2024-08-02T04:31:52.831Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/GetPrivateKey.java \ [2024-08-02T04:31:52.831Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod \ [2024-08-02T04:31:52.831Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2024-08-02T04:31:52.831Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod \ [2024-08-02T04:31:52.831Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11 \ [2024-08-02T04:31:52.831Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11 \ [2024-08-02T04:31:52.831Z] -ea \ [2024-08-02T04:31:52.831Z] -esa \ [2024-08-02T04:31:52.831Z] -Xmx512m \ [2024-08-02T04:31:52.831Z] -XX:-UseCompressedOops \ [2024-08-02T04:31:52.831Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/sun/security/pkcs11/Secmod/GetPrivateKey.d/main.0.jta [2024-08-02T04:31:52.831Z] [2024-08-02T04:31:52.831Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException [2024-08-02T04:31:52.831Z] -------------------------------------------------- [2024-08-02T04:31:52.831Z] TEST: sun/security/pkcs11/Secmod/LoadKeystore.java [2024-08-02T04:31:52.831Z] TEST JDK: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. [2024-08-02T04:31:52.831Z] [2024-08-02T04:31:52.831Z] ACTION: build -- Passed. Build successful [2024-08-02T04:31:52.831Z] REASON: Named class compiled on demand [2024-08-02T04:31:52.831Z] TIME: 0.258 seconds [2024-08-02T04:31:52.831Z] messages: [2024-08-02T04:31:52.831Z] command: build LoadKeystore [2024-08-02T04:31:52.831Z] reason: Named class compiled on demand [2024-08-02T04:31:52.831Z] Test directory: [2024-08-02T04:31:52.831Z] compile: LoadKeystore [2024-08-02T04:31:52.831Z] elapsed time (seconds): 0.258 [2024-08-02T04:31:52.831Z] [2024-08-02T04:31:52.831Z] ACTION: compile -- Passed. Compilation successful [2024-08-02T04:31:52.831Z] REASON: .class file out of date or does not exist [2024-08-02T04:31:52.831Z] TIME: 0.258 seconds [2024-08-02T04:31:52.831Z] messages: [2024-08-02T04:31:52.831Z] command: compile -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/LoadKeystore.java [2024-08-02T04:31:52.831Z] reason: .class file out of date or does not exist [2024-08-02T04:31:52.831Z] Mode: agentvm [2024-08-02T04:31:52.831Z] Agent id: 3 [2024-08-02T04:31:52.831Z] elapsed time (seconds): 0.258 [2024-08-02T04:31:52.831Z] configuration: [2024-08-02T04:31:52.831Z] Boot Layer (javac runtime environment) [2024-08-02T04:31:52.831Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../lib/tools.jar [2024-08-02T04:31:52.832Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jvmtest/openjdk/jtreg/lib/javatest.jar [2024-08-02T04:31:52.832Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jvmtest/openjdk/jtreg/lib/jtreg.jar [2024-08-02T04:31:52.832Z] [2024-08-02T04:31:52.832Z] javac compilation environment [2024-08-02T04:31:52.832Z] source path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod [2024-08-02T04:31:52.832Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 [2024-08-02T04:31:52.832Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod [2024-08-02T04:31:52.832Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/2/sun/security/pkcs11/Secmod [2024-08-02T04:31:52.832Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/2/sun/security/pkcs11 [2024-08-02T04:31:52.832Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../lib/tools.jar [2024-08-02T04:31:52.832Z] [2024-08-02T04:31:52.832Z] rerun: [2024-08-02T04:31:52.832Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/scratch/1 && \ [2024-08-02T04:31:52.832Z] DISPLAY=:0 \ [2024-08-02T04:31:52.832Z] HOME=/home/jenkins \ [2024-08-02T04:31:52.832Z] LANG=C.UTF-8 \ [2024-08-02T04:31:52.832Z] PATH=/bin:/usr/bin:/usr/sbin \ [2024-08-02T04:31:52.832Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../bin/javac \ [2024-08-02T04:31:52.832Z] -J-ea \ [2024-08-02T04:31:52.832Z] -J-esa \ [2024-08-02T04:31:52.832Z] -J-Xmx512m \ [2024-08-02T04:31:52.832Z] -J-XX:-UseCompressedOops \ [2024-08-02T04:31:52.832Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2024-08-02T04:31:52.832Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2024-08-02T04:31:52.832Z] -J-Dtest.compiler.opts= \ [2024-08-02T04:31:52.832Z] -J-Dtest.java.opts= \ [2024-08-02T04:31:52.832Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. \ [2024-08-02T04:31:52.832Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. \ [2024-08-02T04:31:52.832Z] -J-Dtest.timeout.factor=8.0 \ [2024-08-02T04:31:52.832Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2024-08-02T04:31:52.832Z] -J-Dtest.name=sun/security/pkcs11/Secmod/LoadKeystore.java \ [2024-08-02T04:31:52.832Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/LoadKeystore.java \ [2024-08-02T04:31:52.832Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod \ [2024-08-02T04:31:52.832Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2024-08-02T04:31:52.832Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/2/sun/security/pkcs11/Secmod \ [2024-08-02T04:31:52.832Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/2/sun/security/pkcs11 \ [2024-08-02T04:31:52.832Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/2/sun/security/pkcs11 \ [2024-08-02T04:31:52.832Z] -d /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/2/sun/security/pkcs11/Secmod \ [2024-08-02T04:31:52.832Z] -sourcepath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2024-08-02T04:31:52.832Z] -classpath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/2/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../lib/tools.jar \ [2024-08-02T04:31:52.832Z] -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/LoadKeystore.java [2024-08-02T04:31:52.832Z] direct: [2024-08-02T04:31:52.832Z] Note: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/PKCS11Test.java uses unchecked or unsafe operations. [2024-08-02T04:31:52.832Z] Note: Recompile with -Xlint:unchecked for details. [2024-08-02T04:31:52.832Z] [2024-08-02T04:31:52.832Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException [2024-08-02T04:31:52.832Z] REASON: User specified action: run main/othervm LoadKeystore [2024-08-02T04:31:52.832Z] TIME: 0.667 seconds [2024-08-02T04:31:52.832Z] messages: [2024-08-02T04:31:52.832Z] command: main LoadKeystore [2024-08-02T04:31:52.832Z] reason: User specified action: run main/othervm LoadKeystore [2024-08-02T04:31:52.832Z] Mode: othervm [/othervm specified] [2024-08-02T04:31:52.832Z] elapsed time (seconds): 0.667 [2024-08-02T04:31:52.832Z] configuration: [2024-08-02T04:31:52.832Z] STDOUT: [2024-08-02T04:31:52.832Z] libsoftokn3 version = 3.101. ECC Basic. [2024-08-02T04:31:52.832Z] STDERR: [2024-08-02T04:31:52.832Z] java.lang.reflect.InvocationTargetException [2024-08-02T04:31:52.832Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [2024-08-02T04:31:52.832Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [2024-08-02T04:31:52.832Z] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [2024-08-02T04:31:52.832Z] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [2024-08-02T04:31:52.832Z] at PKCS11Test.getSunPKCS11(PKCS11Test.java:108) [2024-08-02T04:31:52.832Z] at LoadKeystore.main(LoadKeystore.java:49) [2024-08-02T04:31:52.832Z] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2024-08-02T04:31:52.832Z] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2024-08-02T04:31:52.832Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2024-08-02T04:31:52.832Z] at java.lang.reflect.Method.invoke(Method.java:498) [2024-08-02T04:31:52.832Z] at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127) [2024-08-02T04:31:52.832Z] at java.lang.Thread.run(Thread.java:750) [2024-08-02T04:31:52.832Z] Caused by: java.security.ProviderException: Could not initialize NSS [2024-08-02T04:31:52.832Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:212) [2024-08-02T04:31:52.832Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103) [2024-08-02T04:31:52.832Z] ... 12 more [2024-08-02T04:31:52.832Z] Caused by: java.io.IOException: NSS initialization failed [2024-08-02T04:31:52.832Z] at sun.security.pkcs11.Secmod.initialize(Secmod.java:243) [2024-08-02T04:31:52.832Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:207) [2024-08-02T04:31:52.832Z] ... 13 more [2024-08-02T04:31:52.832Z] [2024-08-02T04:31:52.832Z] JavaTest Message: Test threw exception: java.lang.reflect.InvocationTargetException [2024-08-02T04:31:52.832Z] JavaTest Message: shutting down test [2024-08-02T04:31:52.832Z] [2024-08-02T04:31:52.832Z] STATUS:Failed.`main' threw exception: java.lang.reflect.InvocationTargetException [2024-08-02T04:31:52.832Z] rerun: [2024-08-02T04:31:52.832Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/scratch/1 && \ [2024-08-02T04:31:52.832Z] DISPLAY=:0 \ [2024-08-02T04:31:52.832Z] HOME=/home/jenkins \ [2024-08-02T04:31:52.832Z] LANG=C.UTF-8 \ [2024-08-02T04:31:52.832Z] PATH=/bin:/usr/bin:/usr/sbin \ [2024-08-02T04:31:52.832Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/2/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../lib/tools.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2024-08-02T04:31:52.832Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../bin/java \ [2024-08-02T04:31:52.832Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2024-08-02T04:31:52.832Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2024-08-02T04:31:52.832Z] -Dtest.compiler.opts= \ [2024-08-02T04:31:52.832Z] -Dtest.java.opts= \ [2024-08-02T04:31:52.832Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. \ [2024-08-02T04:31:52.832Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. \ [2024-08-02T04:31:52.832Z] -Dtest.timeout.factor=8.0 \ [2024-08-02T04:31:52.832Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2024-08-02T04:31:52.832Z] -Dtest.name=sun/security/pkcs11/Secmod/LoadKeystore.java \ [2024-08-02T04:31:52.832Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/LoadKeystore.java \ [2024-08-02T04:31:52.832Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod \ [2024-08-02T04:31:52.832Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2024-08-02T04:31:52.832Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/2/sun/security/pkcs11/Secmod \ [2024-08-02T04:31:52.832Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/2/sun/security/pkcs11 \ [2024-08-02T04:31:52.832Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/2/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/2/sun/security/pkcs11 \ [2024-08-02T04:31:52.832Z] -ea \ [2024-08-02T04:31:52.832Z] -esa \ [2024-08-02T04:31:52.832Z] -Xmx512m \ [2024-08-02T04:31:52.832Z] -XX:-UseCompressedOops \ [2024-08-02T04:31:52.832Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/sun/security/pkcs11/Secmod/LoadKeystore.d/main.0.jta [2024-08-02T04:31:52.832Z] [2024-08-02T04:31:52.832Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException [2024-08-02T04:31:52.832Z] -------------------------------------------------- [2024-08-02T04:31:52.832Z] TEST: sun/security/pkcs11/Secmod/JksSetPrivateKey.java [2024-08-02T04:31:52.832Z] TEST JDK: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. [2024-08-02T04:31:52.832Z] [2024-08-02T04:31:52.832Z] ACTION: build -- Passed. Build successful [2024-08-02T04:31:52.832Z] REASON: Named class compiled on demand [2024-08-02T04:31:52.832Z] TIME: 0.118 seconds [2024-08-02T04:31:52.832Z] messages: [2024-08-02T04:31:52.832Z] command: build JksSetPrivateKey [2024-08-02T04:31:52.832Z] reason: Named class compiled on demand [2024-08-02T04:31:52.832Z] Test directory: [2024-08-02T04:31:52.832Z] compile: JksSetPrivateKey [2024-08-02T04:31:52.832Z] elapsed time (seconds): 0.118 [2024-08-02T04:31:52.832Z] [2024-08-02T04:31:52.832Z] ACTION: compile -- Passed. Compilation successful [2024-08-02T04:31:52.832Z] REASON: .class file out of date or does not exist [2024-08-02T04:31:52.832Z] TIME: 0.117 seconds [2024-08-02T04:31:52.832Z] messages: [2024-08-02T04:31:52.832Z] command: compile -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/JksSetPrivateKey.java [2024-08-02T04:31:52.832Z] reason: .class file out of date or does not exist [2024-08-02T04:31:52.832Z] Mode: agentvm [2024-08-02T04:31:52.832Z] Agent id: 1 [2024-08-02T04:31:52.832Z] elapsed time (seconds): 0.117 [2024-08-02T04:31:52.832Z] configuration: [2024-08-02T04:31:52.832Z] Boot Layer (javac runtime environment) [2024-08-02T04:31:52.832Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../lib/tools.jar [2024-08-02T04:31:52.832Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jvmtest/openjdk/jtreg/lib/javatest.jar [2024-08-02T04:31:52.832Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jvmtest/openjdk/jtreg/lib/jtreg.jar [2024-08-02T04:31:52.832Z] [2024-08-02T04:31:52.832Z] javac compilation environment [2024-08-02T04:31:52.832Z] source path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod [2024-08-02T04:31:52.832Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 [2024-08-02T04:31:52.832Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod [2024-08-02T04:31:52.832Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod [2024-08-02T04:31:52.832Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11 [2024-08-02T04:31:52.832Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../lib/tools.jar [2024-08-02T04:31:52.832Z] [2024-08-02T04:31:52.832Z] rerun: [2024-08-02T04:31:52.832Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/scratch/0 && \ [2024-08-02T04:31:52.832Z] DISPLAY=:0 \ [2024-08-02T04:31:52.832Z] HOME=/home/jenkins \ [2024-08-02T04:31:52.832Z] LANG=C.UTF-8 \ [2024-08-02T04:31:52.832Z] PATH=/bin:/usr/bin:/usr/sbin \ [2024-08-02T04:31:52.832Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../bin/javac \ [2024-08-02T04:31:52.832Z] -J-ea \ [2024-08-02T04:31:52.832Z] -J-esa \ [2024-08-02T04:31:52.832Z] -J-Xmx512m \ [2024-08-02T04:31:52.832Z] -J-XX:-UseCompressedOops \ [2024-08-02T04:31:52.832Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2024-08-02T04:31:52.832Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2024-08-02T04:31:52.832Z] -J-Dtest.compiler.opts= \ [2024-08-02T04:31:52.832Z] -J-Dtest.java.opts= \ [2024-08-02T04:31:52.832Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. \ [2024-08-02T04:31:52.832Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. \ [2024-08-02T04:31:52.832Z] -J-Dtest.timeout.factor=8.0 \ [2024-08-02T04:31:52.833Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2024-08-02T04:31:52.833Z] -J-Dtest.name=sun/security/pkcs11/Secmod/JksSetPrivateKey.java \ [2024-08-02T04:31:52.833Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/JksSetPrivateKey.java \ [2024-08-02T04:31:52.833Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod \ [2024-08-02T04:31:52.833Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2024-08-02T04:31:52.833Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod \ [2024-08-02T04:31:52.833Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11 \ [2024-08-02T04:31:52.833Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11 \ [2024-08-02T04:31:52.833Z] -d /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod \ [2024-08-02T04:31:52.833Z] -sourcepath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2024-08-02T04:31:52.834Z] -classpath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../lib/tools.jar \ [2024-08-02T04:31:52.834Z] -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/JksSetPrivateKey.java [2024-08-02T04:31:52.834Z] [2024-08-02T04:31:52.834Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException [2024-08-02T04:31:52.834Z] REASON: User specified action: run main/othervm JksSetPrivateKey [2024-08-02T04:31:52.834Z] TIME: 0.993 seconds [2024-08-02T04:31:52.834Z] messages: [2024-08-02T04:31:52.834Z] command: main JksSetPrivateKey [2024-08-02T04:31:52.834Z] reason: User specified action: run main/othervm JksSetPrivateKey [2024-08-02T04:31:52.834Z] Mode: othervm [/othervm specified] [2024-08-02T04:31:52.834Z] elapsed time (seconds): 0.993 [2024-08-02T04:31:52.834Z] configuration: [2024-08-02T04:31:52.834Z] STDOUT: [2024-08-02T04:31:52.834Z] libsoftokn3 version = 3.101. ECC Basic. [2024-08-02T04:31:52.834Z] STDERR: [2024-08-02T04:31:52.834Z] java.lang.reflect.InvocationTargetException [2024-08-02T04:31:52.834Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [2024-08-02T04:31:52.834Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [2024-08-02T04:31:52.834Z] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [2024-08-02T04:31:52.834Z] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [2024-08-02T04:31:52.834Z] at PKCS11Test.getSunPKCS11(PKCS11Test.java:108) [2024-08-02T04:31:52.834Z] at JksSetPrivateKey.main(JksSetPrivateKey.java:53) [2024-08-02T04:31:52.834Z] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2024-08-02T04:31:52.834Z] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2024-08-02T04:31:52.834Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2024-08-02T04:31:52.834Z] at java.lang.reflect.Method.invoke(Method.java:498) [2024-08-02T04:31:52.834Z] at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127) [2024-08-02T04:31:52.834Z] at java.lang.Thread.run(Thread.java:750) [2024-08-02T04:31:52.834Z] Caused by: java.security.ProviderException: Could not initialize NSS [2024-08-02T04:31:52.834Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:212) [2024-08-02T04:31:52.834Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103) [2024-08-02T04:31:52.834Z] ... 12 more [2024-08-02T04:31:52.834Z] Caused by: java.io.IOException: NSS initialization failed [2024-08-02T04:31:52.834Z] at sun.security.pkcs11.Secmod.initialize(Secmod.java:243) [2024-08-02T04:31:52.834Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:207) [2024-08-02T04:31:52.834Z] ... 13 more [2024-08-02T04:31:52.834Z] [2024-08-02T04:31:52.834Z] JavaTest Message: Test threw exception: java.lang.reflect.InvocationTargetException [2024-08-02T04:31:52.834Z] JavaTest Message: shutting down test [2024-08-02T04:31:52.834Z] [2024-08-02T04:31:52.834Z] STATUS:Failed.`main' threw exception: java.lang.reflect.InvocationTargetException [2024-08-02T04:31:52.834Z] rerun: [2024-08-02T04:31:52.834Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/scratch/0 && \ [2024-08-02T04:31:52.834Z] DISPLAY=:0 \ [2024-08-02T04:31:52.834Z] HOME=/home/jenkins \ [2024-08-02T04:31:52.834Z] LANG=C.UTF-8 \ [2024-08-02T04:31:52.834Z] PATH=/bin:/usr/bin:/usr/sbin \ [2024-08-02T04:31:52.834Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../lib/tools.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2024-08-02T04:31:52.834Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../bin/java \ [2024-08-02T04:31:52.834Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2024-08-02T04:31:52.834Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2024-08-02T04:31:52.834Z] -Dtest.compiler.opts= \ [2024-08-02T04:31:52.834Z] -Dtest.java.opts= \ [2024-08-02T04:31:52.834Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. \ [2024-08-02T04:31:52.834Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. \ [2024-08-02T04:31:52.834Z] -Dtest.timeout.factor=8.0 \ [2024-08-02T04:31:52.834Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2024-08-02T04:31:52.834Z] -Dtest.name=sun/security/pkcs11/Secmod/JksSetPrivateKey.java \ [2024-08-02T04:31:52.834Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/JksSetPrivateKey.java \ [2024-08-02T04:31:52.834Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod \ [2024-08-02T04:31:52.834Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2024-08-02T04:31:52.834Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod \ [2024-08-02T04:31:52.834Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11 \ [2024-08-02T04:31:52.834Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/1/sun/security/pkcs11 \ [2024-08-02T04:31:52.834Z] -ea \ [2024-08-02T04:31:52.834Z] -esa \ [2024-08-02T04:31:52.834Z] -Xmx512m \ [2024-08-02T04:31:52.834Z] -XX:-UseCompressedOops \ [2024-08-02T04:31:52.834Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/sun/security/pkcs11/Secmod/JksSetPrivateKey.d/main.0.jta [2024-08-02T04:31:52.834Z] [2024-08-02T04:31:52.834Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException [2024-08-02T04:31:52.834Z] -------------------------------------------------- [2024-08-02T04:31:52.834Z] TEST: sun/security/pkcs11/Secmod/TrustAnchors.java [2024-08-02T04:31:52.834Z] TEST JDK: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. [2024-08-02T04:31:52.834Z] [2024-08-02T04:31:52.834Z] ACTION: build -- Passed. Build successful [2024-08-02T04:31:52.834Z] REASON: Named class compiled on demand [2024-08-02T04:31:52.834Z] TIME: 0.126 seconds [2024-08-02T04:31:52.834Z] messages: [2024-08-02T04:31:52.834Z] command: build TrustAnchors [2024-08-02T04:31:52.834Z] reason: Named class compiled on demand [2024-08-02T04:31:52.835Z] Test directory: [2024-08-02T04:31:52.835Z] compile: TrustAnchors [2024-08-02T04:31:52.835Z] elapsed time (seconds): 0.126 [2024-08-02T04:31:52.835Z] [2024-08-02T04:31:52.835Z] ACTION: compile -- Passed. Compilation successful [2024-08-02T04:31:52.835Z] REASON: .class file out of date or does not exist [2024-08-02T04:31:52.835Z] TIME: 0.125 seconds [2024-08-02T04:31:52.835Z] messages: [2024-08-02T04:31:52.835Z] command: compile -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/TrustAnchors.java [2024-08-02T04:31:52.835Z] reason: .class file out of date or does not exist [2024-08-02T04:31:52.835Z] Mode: agentvm [2024-08-02T04:31:52.835Z] Agent id: 2 [2024-08-02T04:31:52.835Z] elapsed time (seconds): 0.125 [2024-08-02T04:31:52.835Z] configuration: [2024-08-02T04:31:52.835Z] Boot Layer (javac runtime environment) [2024-08-02T04:31:52.835Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../lib/tools.jar [2024-08-02T04:31:52.835Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jvmtest/openjdk/jtreg/lib/javatest.jar [2024-08-02T04:31:52.835Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jvmtest/openjdk/jtreg/lib/jtreg.jar [2024-08-02T04:31:52.835Z] [2024-08-02T04:31:52.835Z] javac compilation environment [2024-08-02T04:31:52.835Z] source path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod [2024-08-02T04:31:52.835Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 [2024-08-02T04:31:52.835Z] class path: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod [2024-08-02T04:31:52.835Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11/Secmod [2024-08-02T04:31:52.835Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11 [2024-08-02T04:31:52.835Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../lib/tools.jar [2024-08-02T04:31:52.835Z] [2024-08-02T04:31:52.835Z] rerun: [2024-08-02T04:31:52.835Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/scratch/2 && \ [2024-08-02T04:31:52.835Z] DISPLAY=:0 \ [2024-08-02T04:31:52.835Z] HOME=/home/jenkins \ [2024-08-02T04:31:52.835Z] LANG=C.UTF-8 \ [2024-08-02T04:31:52.835Z] PATH=/bin:/usr/bin:/usr/sbin \ [2024-08-02T04:31:52.835Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../bin/javac \ [2024-08-02T04:31:52.835Z] -J-ea \ [2024-08-02T04:31:52.835Z] -J-esa \ [2024-08-02T04:31:52.835Z] -J-Xmx512m \ [2024-08-02T04:31:52.835Z] -J-XX:-UseCompressedOops \ [2024-08-02T04:31:52.835Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2024-08-02T04:31:52.835Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2024-08-02T04:31:52.835Z] -J-Dtest.compiler.opts= \ [2024-08-02T04:31:52.835Z] -J-Dtest.java.opts= \ [2024-08-02T04:31:52.835Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. \ [2024-08-02T04:31:52.835Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. \ [2024-08-02T04:31:52.835Z] -J-Dtest.timeout.factor=8.0 \ [2024-08-02T04:31:52.835Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2024-08-02T04:31:52.835Z] -J-Dtest.name=sun/security/pkcs11/Secmod/TrustAnchors.java \ [2024-08-02T04:31:52.835Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/TrustAnchors.java \ [2024-08-02T04:31:52.835Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod \ [2024-08-02T04:31:52.835Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2024-08-02T04:31:52.835Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11/Secmod \ [2024-08-02T04:31:52.835Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11 \ [2024-08-02T04:31:52.835Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11 \ [2024-08-02T04:31:52.835Z] -d /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11/Secmod \ [2024-08-02T04:31:52.835Z] -sourcepath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2024-08-02T04:31:52.835Z] -classpath /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../lib/tools.jar \ [2024-08-02T04:31:52.835Z] -XDignore.symbol.file=true /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/TrustAnchors.java [2024-08-02T04:31:52.835Z] [2024-08-02T04:31:52.835Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException [2024-08-02T04:31:52.835Z] REASON: User specified action: run main/othervm TrustAnchors [2024-08-02T04:31:52.835Z] TIME: 0.801 seconds [2024-08-02T04:31:52.835Z] messages: [2024-08-02T04:31:52.835Z] command: main TrustAnchors [2024-08-02T04:31:52.835Z] reason: User specified action: run main/othervm TrustAnchors [2024-08-02T04:31:52.835Z] Mode: othervm [/othervm specified] [2024-08-02T04:31:52.835Z] elapsed time (seconds): 0.801 [2024-08-02T04:31:52.835Z] configuration: [2024-08-02T04:31:52.835Z] STDOUT: [2024-08-02T04:31:52.835Z] libsoftokn3 version = 3.101. ECC Basic. [2024-08-02T04:31:52.835Z] STDERR: [2024-08-02T04:31:52.835Z] java.lang.reflect.InvocationTargetException [2024-08-02T04:31:52.835Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [2024-08-02T04:31:52.835Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [2024-08-02T04:31:52.835Z] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [2024-08-02T04:31:52.835Z] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [2024-08-02T04:31:52.835Z] at PKCS11Test.getSunPKCS11(PKCS11Test.java:108) [2024-08-02T04:31:52.835Z] at TrustAnchors.main(TrustAnchors.java:58) [2024-08-02T04:31:52.835Z] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2024-08-02T04:31:52.835Z] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2024-08-02T04:31:52.835Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2024-08-02T04:31:52.835Z] at java.lang.reflect.Method.invoke(Method.java:498) [2024-08-02T04:31:52.835Z] at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127) [2024-08-02T04:31:52.835Z] at java.lang.Thread.run(Thread.java:750) [2024-08-02T04:31:52.835Z] Caused by: java.security.ProviderException: Could not initialize NSS [2024-08-02T04:31:52.835Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:212) [2024-08-02T04:31:52.835Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103) [2024-08-02T04:31:52.835Z] ... 12 more [2024-08-02T04:31:52.835Z] Caused by: java.io.IOException: NSS initialization failed [2024-08-02T04:31:52.835Z] at sun.security.pkcs11.Secmod.initialize(Secmod.java:243) [2024-08-02T04:31:52.835Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:207) [2024-08-02T04:31:52.835Z] ... 13 more [2024-08-02T04:31:52.835Z] [2024-08-02T04:31:52.835Z] JavaTest Message: Test threw exception: java.lang.reflect.InvocationTargetException [2024-08-02T04:31:52.835Z] JavaTest Message: shutting down test [2024-08-02T04:31:52.835Z] [2024-08-02T04:31:52.835Z] STATUS:Failed.`main' threw exception: java.lang.reflect.InvocationTargetException [2024-08-02T04:31:52.835Z] rerun: [2024-08-02T04:31:52.835Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/scratch/2 && \ [2024-08-02T04:31:52.835Z] DISPLAY=:0 \ [2024-08-02T04:31:52.835Z] HOME=/home/jenkins \ [2024-08-02T04:31:52.835Z] LANG=C.UTF-8 \ [2024-08-02T04:31:52.835Z] PATH=/bin:/usr/bin:/usr/sbin \ [2024-08-02T04:31:52.835Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../lib/tools.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2024-08-02T04:31:52.835Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/../bin/java \ [2024-08-02T04:31:52.835Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2024-08-02T04:31:52.835Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2024-08-02T04:31:52.835Z] -Dtest.compiler.opts= \ [2024-08-02T04:31:52.835Z] -Dtest.java.opts= \ [2024-08-02T04:31:52.835Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. \ [2024-08-02T04:31:52.835Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. \ [2024-08-02T04:31:52.835Z] -Dtest.timeout.factor=8.0 \ [2024-08-02T04:31:52.835Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2024-08-02T04:31:52.835Z] -Dtest.name=sun/security/pkcs11/Secmod/TrustAnchors.java \ [2024-08-02T04:31:52.835Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod/TrustAnchors.java \ [2024-08-02T04:31:52.835Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod \ [2024-08-02T04:31:52.835Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11 \ [2024-08-02T04:31:52.835Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11/Secmod \ [2024-08-02T04:31:52.835Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11 \ [2024-08-02T04:31:52.835Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Secmod:/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/0/sun/security/pkcs11 \ [2024-08-02T04:31:52.835Z] -ea \ [2024-08-02T04:31:52.835Z] -esa \ [2024-08-02T04:31:52.835Z] -Xmx512m \ [2024-08-02T04:31:52.835Z] -XX:-UseCompressedOops \ [2024-08-02T04:31:52.835Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/sun/security/pkcs11/Secmod/TrustAnchors.d/main.0.jta [2024-08-02T04:31:52.835Z] [2024-08-02T04:31:52.835Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException [2024-08-02T04:31:52.835Z] -------------------------------------------------- [2024-08-02T04:42:13.928Z] TEST: sun/security/tools/keytool/autotest.sh [2024-08-02T04:42:13.929Z] TEST JDK: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. [2024-08-02T04:42:13.929Z] [2024-08-02T04:42:13.929Z] ACTION: shell -- Failed. Execution failed: exit code 1 [2024-08-02T04:42:13.929Z] REASON: Assumed action based on file name: run shell autotest.sh [2024-08-02T04:42:13.929Z] TIME: 3.443 seconds [2024-08-02T04:42:13.929Z] messages: [2024-08-02T04:42:13.929Z] command: shell autotest.sh [2024-08-02T04:42:13.929Z] reason: Assumed action based on file name: run shell autotest.sh [2024-08-02T04:42:13.929Z] elapsed time (seconds): 3.443 [2024-08-02T04:42:13.929Z] STDOUT: [2024-08-02T04:42:13.929Z] STDERR: [2024-08-02T04:42:13.929Z] Note: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/tools/keytool/KeyToolTest.java uses unchecked or unsafe operations. [2024-08-02T04:42:13.929Z] Note: Recompile with -Xlint:unchecked for details. [2024-08-02T04:42:13.929Z] ..... [2024-08-02T04:42:13.929Z] Test fails for the command --- [2024-08-02T04:42:13.929Z] 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 [2024-08-02T04:42:13.929Z] Or its debug version --- [2024-08-02T04:42:13.929Z] 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 [2024-08-02T04:42:13.929Z] The command result should be OK, but it's not. Try run the command manually and type these input into it: [2024-08-02T04:42:13.929Z] [2024-08-02T04:42:13.929Z] ERR is: [2024-08-02T04:42:13.929Z] [2024-08-02T04:42:13.929Z] OUT is: [2024-08-02T04:42:13.929Z] keytool error: java.io.IOException: load failed [2024-08-02T04:42:13.929Z] [2024-08-02T04:42:13.929Z] Exception in thread "main" java.io.IOException: load failed [2024-08-02T04:42:13.929Z] at sun.security.pkcs11.P11KeyStore.engineLoad(P11KeyStore.java:764) [2024-08-02T04:42:13.929Z] at java.security.KeyStore.load(KeyStore.java:1445) [2024-08-02T04:42:13.929Z] at sun.security.tools.keytool.Main.doCommands(Main.java:869) [2024-08-02T04:42:13.929Z] at sun.security.tools.keytool.Main.run(Main.java:378) [2024-08-02T04:42:13.929Z] at sun.security.tools.keytool.Main.main(Main.java:371) [2024-08-02T04:42:13.929Z] at KeyToolTest.test(KeyToolTest.java:159) [2024-08-02T04:42:13.929Z] at KeyToolTest.test(KeyToolTest.java:127) [2024-08-02T04:42:13.929Z] at KeyToolTest.testOK(KeyToolTest.java:182) [2024-08-02T04:42:13.929Z] at KeyToolTest.testPKCS11(KeyToolTest.java:525) [2024-08-02T04:42:13.929Z] at KeyToolTest.main(KeyToolTest.java:1345) [2024-08-02T04:42:13.929Z] Caused by: javax.security.auth.login.LoginException [2024-08-02T04:42:13.929Z] at sun.security.pkcs11.SunPKCS11.login(SunPKCS11.java:1333) [2024-08-02T04:42:13.929Z] at sun.security.pkcs11.P11KeyStore.login(P11KeyStore.java:864) [2024-08-02T04:42:13.929Z] at sun.security.pkcs11.P11KeyStore.engineLoad(P11KeyStore.java:751) [2024-08-02T04:42:13.929Z] ... 9 more [2024-08-02T04:42:13.929Z] Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_USER_TYPE_INVALID [2024-08-02T04:42:13.929Z] at sun.security.pkcs11.wrapper.PKCS11.C_Login(Native Method) [2024-08-02T04:42:13.929Z] at sun.security.pkcs11.SunPKCS11.login(SunPKCS11.java:1317) [2024-08-02T04:42:13.929Z] ... 11 more [2024-08-02T04:42:13.929Z] rerun: [2024-08-02T04:42:13.929Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/scratch/1 && \ [2024-08-02T04:42:13.929Z] DISPLAY=:0 \ [2024-08-02T04:42:13.929Z] HOME=/home/jenkins \ [2024-08-02T04:42:13.929Z] LANG=C.UTF-8 \ [2024-08-02T04:42:13.929Z] PATH=/bin:/usr/bin:/usr/sbin \ [2024-08-02T04:42:13.929Z] TESTFILE=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/tools/keytool/autotest.sh \ [2024-08-02T04:42:13.929Z] TESTSRC=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/tools/keytool \ [2024-08-02T04:42:13.929Z] TESTSRCPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/tools/keytool \ [2024-08-02T04:42:13.929Z] TESTCLASSES=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/2/sun/security/tools/keytool \ [2024-08-02T04:42:13.929Z] TESTCLASSPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work/classes/2/sun/security/tools/keytool \ [2024-08-02T04:42:13.929Z] COMPILEJAVA=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. \ [2024-08-02T04:42:13.929Z] TESTJAVA=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk8u432-b01/bin/.. \ [2024-08-02T04:42:13.929Z] TESTVMOPTS='-ea -esa -Xmx512m -XX:-UseCompressedOops' \ [2024-08-02T04:42:13.929Z] TESTTOOLVMOPTS='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \ [2024-08-02T04:42:13.929Z] TESTJAVACOPTS= \ [2024-08-02T04:42:13.929Z] TESTJAVAOPTS= \ [2024-08-02T04:42:13.929Z] TESTTIMEOUTFACTOR=8.0 \ [2024-08-02T04:42:13.930Z] TESTROOT=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2024-08-02T04:42:13.930Z] FS=/ \ [2024-08-02T04:42:13.930Z] PS=: \ [2024-08-02T04:42:13.930Z] NULL=/dev/null \ [2024-08-02T04:42:13.930Z] sh \ [2024-08-02T04:42:13.930Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/tools/keytool/autotest.sh [2024-08-02T04:42:13.930Z] [2024-08-02T04:42:13.930Z] TEST RESULT: Failed. Execution failed: exit code 1 [2024-08-02T04:42:13.930Z] -------------------------------------------------- [2024-08-02T04:45:50.693Z] Test results: passed: 609; failed: 7 [2024-08-02T04:45:56.079Z] Report written to /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/report/html/report.html [2024-08-02T04:45:56.079Z] Results written to /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_2/aqa-tests/TKG/output_1722566870206/jdk_security3_1/work [2024-08-02T04:45:56.079Z] Error: Some tests failed or other problems occurred. [2024-08-02T04:45:56.079Z] ----------------------------------- [2024-08-02T04:45:56.079Z] jdk_security3_1_FAILED [2024-08-02T04:45:56.079Z] ----------------------------------- [2024-08-02T04:45:56.079Z] [2024-08-02T04:45:56.079Z] TEST TEARDOWN: [2024-08-02T04:45:56.079Z] Nothing to be done for teardown. [2024-08-02T04:45:56.079Z] jdk_security3_1 Finish Time: Fri Aug 2 04:45:55 2024 Epoch Time (ms): 1722573955579