jdk_custom_0

[2025-06-11T00:15:42.564Z] Running test jdk_custom_0 ... [2025-06-11T00:15:42.564Z] =============================================== [2025-06-11T00:15:42.564Z] jdk_custom_0 Start Time: Wed Jun 11 00:15:41 2025 Epoch Time (ms): 1749600941945 [2025-06-11T00:15:42.564Z] variation: NoOptions [2025-06-11T00:15:42.564Z] JVM_OPTIONS: [2025-06-11T00:15:42.564Z] { \ [2025-06-11T00:15:42.564Z] echo ""; echo "TEST SETUP:"; \ [2025-06-11T00:15:42.564Z] echo "Nothing to be done for setup."; \ [2025-06-11T00:15:42.564Z] mkdir -p "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../TKG/output_17496009415344/jdk_custom_0"; \ [2025-06-11T00:15:42.564Z] cd "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../TKG/output_17496009415344/jdk_custom_0"; \ [2025-06-11T00:15:42.564Z] echo ""; echo "TESTING:"; \ [2025-06-11T00:15:42.564Z] "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image/bin/java" -Xmx512m -jar "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../../jvmtest/openjdk/jtreg/lib/jtreg.jar" \ [2025-06-11T00:15:42.564Z] -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 " \ [2025-06-11T00:15:42.564Z] \ [2025-06-11T00:15:42.564Z] -w ""/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../TKG/output_17496009415344/jdk_custom_0"/work" \ [2025-06-11T00:15:42.564Z] -r ""/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../TKG/output_17496009415344/jdk_custom_0"/report" \ [2025-06-11T00:15:42.564Z] -jdk:"/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image" \ [2025-06-11T00:15:42.564Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider/Login.sh /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../openjdk/openjdk-jdk/jdk/test/sun/security/tools/keytool/autotest.sh; \ [2025-06-11T00:15:42.564Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_custom_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/..; else echo "-----------------------------------"; echo "jdk_custom_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-06-11T00:15:42.564Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-06-11T00:15:42.564Z] echo "Nothing to be done for teardown."; \ [2025-06-11T00:15:42.564Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../TKG/output_17496009415344/TestTargetResult"; [2025-06-11T00:15:42.564Z] [2025-06-11T00:15:42.564Z] TEST SETUP: [2025-06-11T00:15:42.564Z] Nothing to be done for setup. [2025-06-11T00:15:42.564Z] [2025-06-11T00:15:42.564Z] TESTING: [2025-06-11T00:15:43.362Z] Directory "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../TKG/output_17496009415344/jdk_custom_0/work" not found: creating [2025-06-11T00:15:43.362Z] Directory "/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/../TKG/output_17496009415344/jdk_custom_0/report" not found: creating [2025-06-11T00:15:44.287Z] XML output with verification to /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17496009415344/jdk_custom_0/work [2025-06-11T00:15:51.390Z] -------------------------------------------------- [2025-06-11T00:15:51.390Z] TEST: sun/security/pkcs11/Provider/Login.sh [2025-06-11T00:15:51.390Z] TEST JDK: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image [2025-06-11T00:15:51.390Z] [2025-06-11T00:15:51.390Z] ACTION: shell -- Failed. Execution failed: exit code 1 [2025-06-11T00:15:51.390Z] REASON: User specified action: run shell Login.sh [2025-06-11T00:15:51.390Z] TIME: 5.685 seconds [2025-06-11T00:15:51.390Z] messages: [2025-06-11T00:15:51.390Z] command: shell Login.sh [2025-06-11T00:15:51.390Z] reason: User specified action: run shell Login.sh [2025-06-11T00:15:51.390Z] elapsed time (seconds): 5.685 [2025-06-11T00:15:51.390Z] STDOUT: [2025-06-11T00:15:51.390Z] TESTSRC=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider [2025-06-11T00:15:51.390Z] TESTCLASSES=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17496009415344/jdk_custom_0/work/classes/1/sun/security/pkcs11/Provider [2025-06-11T00:15:51.390Z] TESTJAVA=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image [2025-06-11T00:15:51.390Z] COMPILEJAVA=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image [2025-06-11T00:15:51.390Z] [2025-06-11T00:15:51.390Z] libsoftokn3 version not found, set to 0.0: /usr/lib64/libsoftokn3.so [2025-06-11T00:15:51.390Z] Beginning test run Login... [2025-06-11T00:15:51.390Z] STDERR: [2025-06-11T00:15:51.390Z] Note: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider/Login.java uses or overrides a deprecated API. [2025-06-11T00:15:51.390Z] Note: Recompile with -Xlint:deprecation for details. [2025-06-11T00:15:51.390Z] Note: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider/../PKCS11Test.java uses unchecked or unsafe operations. [2025-06-11T00:15:51.390Z] Note: Recompile with -Xlint:unchecked for details. [2025-06-11T00:15:51.390Z] Exception in thread "main" java.lang.reflect.InvocationTargetException [2025-06-11T00:15:51.390Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [2025-06-11T00:15:51.390Z] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [2025-06-11T00:15:51.390Z] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [2025-06-11T00:15:51.390Z] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [2025-06-11T00:15:51.390Z] at PKCS11Test.getSunPKCS11(PKCS11Test.java:108) [2025-06-11T00:15:51.390Z] at PKCS11Test.testNSS(PKCS11Test.java:486) [2025-06-11T00:15:51.390Z] at PKCS11Test.main(PKCS11Test.java:156) [2025-06-11T00:15:51.390Z] at PKCS11Test.main(PKCS11Test.java:137) [2025-06-11T00:15:51.390Z] at Login.main(Login.java:39) [2025-06-11T00:15:51.390Z] Caused by: java.security.ProviderException: Initialization failed [2025-06-11T00:15:51.390Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:376) [2025-06-11T00:15:51.390Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103) [2025-06-11T00:15:51.390Z] ... 9 more [2025-06-11T00:15:51.390Z] Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: 0xCE534351 [2025-06-11T00:15:51.390Z] at sun.security.pkcs11.wrapper.PKCS11.C_Initialize(Native Method) [2025-06-11T00:15:51.390Z] at sun.security.pkcs11.wrapper.PKCS11$SynchronizedPKCS11.C_Initialize(PKCS11.java:1627) [2025-06-11T00:15:51.390Z] at sun.security.pkcs11.wrapper.PKCS11.getInstance(PKCS11.java:163) [2025-06-11T00:15:51.390Z] at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:330) [2025-06-11T00:15:51.390Z] ... 10 more [2025-06-11T00:15:51.390Z] rerun: [2025-06-11T00:15:51.391Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17496009415344/jdk_custom_0/work/scratch/1 && \ [2025-06-11T00:15:51.391Z] DISPLAY=:0 \ [2025-06-11T00:15:51.391Z] HOME=/home/jenkins \ [2025-06-11T00:15:51.391Z] LANG=C.utf8 \ [2025-06-11T00:15:51.391Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-06-11T00:15:51.391Z] TESTFILE=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider/Login.sh \ [2025-06-11T00:15:51.391Z] TESTSRC=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider \ [2025-06-11T00:15:51.391Z] TESTSRCPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider \ [2025-06-11T00:15:51.391Z] TESTCLASSES=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17496009415344/jdk_custom_0/work/classes/1/sun/security/pkcs11/Provider \ [2025-06-11T00:15:51.391Z] TESTCLASSPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17496009415344/jdk_custom_0/work/classes/1/sun/security/pkcs11/Provider \ [2025-06-11T00:15:51.391Z] COMPILEJAVA=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image \ [2025-06-11T00:15:51.391Z] TESTJAVA=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image \ [2025-06-11T00:15:51.391Z] TESTVMOPTS='-ea -esa -Xmx512m' \ [2025-06-11T00:15:51.391Z] TESTTOOLVMOPTS='-J-ea -J-esa -J-Xmx512m' \ [2025-06-11T00:15:51.391Z] TESTJAVACOPTS= \ [2025-06-11T00:15:51.391Z] TESTJAVAOPTS= \ [2025-06-11T00:15:51.391Z] TESTTIMEOUTFACTOR=8.0 \ [2025-06-11T00:15:51.391Z] TESTROOT=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2025-06-11T00:15:51.391Z] FS=/ \ [2025-06-11T00:15:51.391Z] PS=: \ [2025-06-11T00:15:51.391Z] NULL=/dev/null \ [2025-06-11T00:15:51.391Z] sh \ [2025-06-11T00:15:51.391Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/pkcs11/Provider/Login.sh [2025-06-11T00:15:51.391Z] [2025-06-11T00:15:51.391Z] TEST RESULT: Failed. Execution failed: exit code 1 [2025-06-11T00:15:51.391Z] -------------------------------------------------- [2025-06-11T00:15:52.171Z] TEST: sun/security/tools/keytool/autotest.sh [2025-06-11T00:15:52.171Z] TEST JDK: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image [2025-06-11T00:15:52.171Z] [2025-06-11T00:15:52.171Z] ACTION: shell -- Failed. Execution failed: exit code 1 [2025-06-11T00:15:52.171Z] REASON: Assumed action based on file name: run shell autotest.sh [2025-06-11T00:15:52.171Z] TIME: 6.753 seconds [2025-06-11T00:15:52.171Z] messages: [2025-06-11T00:15:52.171Z] command: shell autotest.sh [2025-06-11T00:15:52.171Z] reason: Assumed action based on file name: run shell autotest.sh [2025-06-11T00:15:52.171Z] elapsed time (seconds): 6.753 [2025-06-11T00:15:52.171Z] STDOUT: [2025-06-11T00:15:52.171Z] STDERR: [2025-06-11T00:15:52.171Z] Note: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/tools/keytool/KeyToolTest.java uses unchecked or unsafe operations. [2025-06-11T00:15:52.171Z] Note: Recompile with -Xlint:unchecked for details. [2025-06-11T00:15:52.171Z] ..... [2025-06-11T00:15:52.171Z] Test fails for the command --- [2025-06-11T00:15:52.171Z] keytool -J-Dnss.lib=/usr/lib64/libsoftokn3.so -keystore NONE -storetype PKCS11 -providerName SunPKCS11-nss -providerClass sun.security.pkcs11.SunPKCS11 -providerArg p11-nss.txt -storepass test12 -list [2025-06-11T00:15:52.171Z] Or its debug version --- [2025-06-11T00:15:52.171Z] keytool -debug -J-Dnss.lib=/usr/lib64/libsoftokn3.so -keystore NONE -storetype PKCS11 -providerName SunPKCS11-nss -providerClass sun.security.pkcs11.SunPKCS11 -providerArg p11-nss.txt -storepass test12 -list [2025-06-11T00:15:52.171Z] The command result should be OK, but it's not. Try run the command manually and type these input into it: [2025-06-11T00:15:52.171Z] [2025-06-11T00:15:52.171Z] ERR is: [2025-06-11T00:15:52.171Z] [2025-06-11T00:15:52.171Z] OUT is: [2025-06-11T00:15:52.171Z] keytool error: java.io.IOException: load failed [2025-06-11T00:15:52.171Z] [2025-06-11T00:15:52.171Z] Exception in thread "main" java.io.IOException: load failed [2025-06-11T00:15:52.171Z] at sun.security.pkcs11.P11KeyStore.engineLoad(P11KeyStore.java:764) [2025-06-11T00:15:52.171Z] at java.security.KeyStore.load(KeyStore.java:1445) [2025-06-11T00:15:52.171Z] at sun.security.tools.keytool.Main.doCommands(Main.java:869) [2025-06-11T00:15:52.171Z] at sun.security.tools.keytool.Main.run(Main.java:378) [2025-06-11T00:15:52.171Z] at sun.security.tools.keytool.Main.main(Main.java:371) [2025-06-11T00:15:52.171Z] at KeyToolTest.test(KeyToolTest.java:159) [2025-06-11T00:15:52.171Z] at KeyToolTest.test(KeyToolTest.java:127) [2025-06-11T00:15:52.171Z] at KeyToolTest.testOK(KeyToolTest.java:182) [2025-06-11T00:15:52.171Z] at KeyToolTest.testPKCS11(KeyToolTest.java:525) [2025-06-11T00:15:52.171Z] at KeyToolTest.main(KeyToolTest.java:1345) [2025-06-11T00:15:52.171Z] Caused by: javax.security.auth.login.LoginException [2025-06-11T00:15:52.171Z] at sun.security.pkcs11.SunPKCS11.login(SunPKCS11.java:1333) [2025-06-11T00:15:52.171Z] at sun.security.pkcs11.P11KeyStore.login(P11KeyStore.java:864) [2025-06-11T00:15:52.171Z] at sun.security.pkcs11.P11KeyStore.engineLoad(P11KeyStore.java:751) [2025-06-11T00:15:52.171Z] ... 9 more [2025-06-11T00:15:52.171Z] Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_USER_TYPE_INVALID [2025-06-11T00:15:52.171Z] at sun.security.pkcs11.wrapper.PKCS11.C_Login(Native Method) [2025-06-11T00:15:52.171Z] at sun.security.pkcs11.SunPKCS11.login(SunPKCS11.java:1317) [2025-06-11T00:15:52.171Z] ... 11 more [2025-06-11T00:15:52.171Z] rerun: [2025-06-11T00:15:52.171Z] cd /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17496009415344/jdk_custom_0/work/scratch/0 && \ [2025-06-11T00:15:52.171Z] DISPLAY=:0 \ [2025-06-11T00:15:52.171Z] HOME=/home/jenkins \ [2025-06-11T00:15:52.171Z] LANG=C.utf8 \ [2025-06-11T00:15:52.171Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-06-11T00:15:52.171Z] TESTFILE=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/tools/keytool/autotest.sh \ [2025-06-11T00:15:52.171Z] TESTSRC=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/tools/keytool \ [2025-06-11T00:15:52.171Z] TESTSRCPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/tools/keytool \ [2025-06-11T00:15:52.171Z] TESTCLASSES=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17496009415344/jdk_custom_0/work/classes/0/sun/security/tools/keytool \ [2025-06-11T00:15:52.171Z] TESTCLASSPATH=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17496009415344/jdk_custom_0/work/classes/0/sun/security/tools/keytool \ [2025-06-11T00:15:52.171Z] COMPILEJAVA=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image \ [2025-06-11T00:15:52.171Z] TESTJAVA=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/jdkbinary/j2sdk-image \ [2025-06-11T00:15:52.171Z] TESTVMOPTS='-ea -esa -Xmx512m' \ [2025-06-11T00:15:52.171Z] TESTTOOLVMOPTS='-J-ea -J-esa -J-Xmx512m' \ [2025-06-11T00:15:52.171Z] TESTJAVACOPTS= \ [2025-06-11T00:15:52.171Z] TESTJAVAOPTS= \ [2025-06-11T00:15:52.171Z] TESTTIMEOUTFACTOR=8.0 \ [2025-06-11T00:15:52.171Z] TESTROOT=/home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/jdk/test \ [2025-06-11T00:15:52.171Z] FS=/ \ [2025-06-11T00:15:52.171Z] PS=: \ [2025-06-11T00:15:52.171Z] NULL=/dev/null \ [2025-06-11T00:15:52.171Z] sh \ [2025-06-11T00:15:52.171Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/openjdk/openjdk-jdk/jdk/test/sun/security/tools/keytool/autotest.sh [2025-06-11T00:15:52.171Z] [2025-06-11T00:15:52.171Z] TEST RESULT: Failed. Execution failed: exit code 1 [2025-06-11T00:15:52.171Z] -------------------------------------------------- [2025-06-11T00:15:52.171Z] Test results: failed: 2 [2025-06-11T00:16:11.309Z] Report written to /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17496009415344/jdk_custom_0/report/html/report.html [2025-06-11T00:16:11.309Z] Results written to /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_rerun/aqa-tests/TKG/output_17496009415344/jdk_custom_0/work [2025-06-11T00:16:11.309Z] Error: Some tests failed or other problems occurred. [2025-06-11T00:16:11.309Z] ----------------------------------- [2025-06-11T00:16:11.309Z] jdk_custom_0_FAILED [2025-06-11T00:16:11.309Z] ----------------------------------- [2025-06-11T00:16:11.309Z] [2025-06-11T00:16:11.309Z] TEST TEARDOWN: [2025-06-11T00:16:11.309Z] Nothing to be done for teardown. [2025-06-11T00:16:11.309Z] jdk_custom_0 Finish Time: Wed Jun 11 00:16:08 2025 Epoch Time (ms): 1749600968657