Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8284356

Test sun/security/pkcs11/Signature/TestDSAKeyLength.java always fails on Ubuntu 21.10

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 19
    • security-libs
    • None

      {{linux-x86_64-server-fastdebug}}

      make test TEST="sun/security/pkcs11/Signature/TestDSAKeyLength.java"


      STDOUT:
      Beginning test run TestDSAKeyLength...
      Cannot resolve artifact, please check if JIB jar is present in classpath.
      nssLibDir: /usr/lib/x86_64-linux-gnu/nss/
      Cannot resolve artifact, please check if JIB jar is present in classpath.
      libsoftokn3 version not found, set to 0.0: /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.so
      Running test with provider SunPKCS11-NSS (security manager disabled) ...
      STDERR:
      java.lang.Exception: Test Failed - expected IKE not thrown
      at TestDSAKeyLength.main(TestDSAKeyLength.java:82)
      at PKCS11Test.premain(PKCS11Test.java:174)
      at PKCS11Test.testNSS(PKCS11Test.java:550)
      at PKCS11Test.main(PKCS11Test.java:210)
      at TestDSAKeyLength.main(TestDSAKeyLength.java:46)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:577)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:828)

            Unassigned Unassigned
            aturbanov Andrey Turbanov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: