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

sun/security/mscapi/ShortRSAKey1024.sh fails intermittently

    Details

    • Subcomponent:
    • Resolved In Build:
      b71
    • CPU:
      x86
    • OS:
      windows

      Backports

        Description

        TESTFAIL:sun/security/mscapi/ShortRSAKey1024.sh

        ACTION: shell -- Passed. Execution successful
        REASON: User specified action: run shell ShortRSAKey1024.sh 1024
        TIME: 3.265 seconds
        messages:
        command: shell ShortRSAKey1024.sh [1024]
        reason: User specified action: run shell ShortRSAKey1024.sh 1024
        elapsed time (seconds): 3.265
        STDOUT:
        Removing the keypair if it already exists (for unknown reason)...
        keytool error: java.lang.Exception: Alias <7106773.1024> does not exist
        Creating a temporary RSA keypair in the Windows-My store...

        Running the test...
        Loaded keystore: Windows-MY
        Loaded entry: 7106773.1024
        serverPort = 3065
        Loaded keystore: Windows-MY

        Removing the temporary RSA keypair from the Windows-My store...
        Done.
        STDERR:
        Exception in thread "main" java.lang.Exception: Alias <7106773.1024> does not exist
        at sun.security.tools.keytool.Main.doDeleteEntry(Main.java:1329)
        at sun.security.tools.keytool.Main.doCommands(Main.java:932)
        at sun.security.tools.keytool.Main.run(Main.java:334)
        at sun.security.tools.keytool.Main.main(Main.java:327)


        ACTION: shell -- Passed. Execution successful
        REASON: User specified action: run shell ShortRSAKey1024.sh 768
        TIME: 3.235 seconds
        messages:
        command: shell ShortRSAKey1024.sh [768]
        reason: User specified action: run shell ShortRSAKey1024.sh 768
        elapsed time (seconds): 3.235
        STDOUT:
        Removing the keypair if it already exists (for unknown reason)...
        keytool error: java.lang.Exception: Alias <7106773.768> does not exist
        Creating a temporary RSA keypair in the Windows-My store...

        Running the test...
        Loaded keystore: Windows-MY
        Loaded entry: 7106773.768
        serverPort = 3067
        Loaded keystore: Windows-MY

        Removing the temporary RSA keypair from the Windows-My store...
        Done.
        STDERR:
        Exception in thread "main" java.lang.Exception: Alias <7106773.768> does not exist
        at sun.security.tools.keytool.Main.doDeleteEntry(Main.java:1329)
        at sun.security.tools.keytool.Main.doCommands(Main.java:932)
        at sun.security.tools.keytool.Main.run(Main.java:334)
        at sun.security.tools.keytool.Main.main(Main.java:327)

        ACTION: shell -- Failed. Execution failed: exit code 1
        REASON: User specified action: run shell ShortRSAKey1024.sh 512
        TIME: 1.031 seconds
        messages:
        command: shell ShortRSAKey1024.sh [512]
        reason: User specified action: run shell ShortRSAKey1024.sh 512
        elapsed time (seconds): 1.031
        STDOUT:
        Removing the keypair if it already exists (for unknown reason)...
        keytool error: java.lang.Exception: Alias <7106773.512> does not exist
        Creating a temporary RSA keypair in the Windows-My store...
        keytool error: java.security.KeyStoreException: Invalid Signature.

        Unable to generate key pair in Windows-My keystore
        STDERR:
        Exception in thread "main" java.lang.Exception: Alias <7106773.512> does not exist
        at sun.security.tools.keytool.Main.doDeleteEntry(Main.java:1329)
        at sun.security.tools.keytool.Main.doCommands(Main.java:932)
        at sun.security.tools.keytool.Main.run(Main.java:334)
        at sun.security.tools.keytool.Main.main(Main.java:327)
        Exception in thread "main" java.security.KeyStoreException: Invalid Signature.

        at sun.security.mscapi.KeyStore.storePrivateKey(Native Method)
        at sun.security.mscapi.KeyStore.access$100(KeyStore.java:58)
        at sun.security.mscapi.KeyStore$KeyEntry.setPrivateKey(KeyStore.java:145)
        at sun.security.mscapi.KeyStore.engineSetKeyEntry(KeyStore.java:409)
        at sun.security.mscapi.KeyStore$MY.engineSetKeyEntry(KeyStore.java:60)
        at java.security.KeyStore.setKeyEntry(KeyStore.java:1271)
        at sun.security.tools.keytool.Main.doGenKeyPair(Main.java:1547)
        at sun.security.tools.keytool.Main.doCommands(Main.java:953)
        at sun.security.tools.keytool.Main.run(Main.java:334)
        at sun.security.tools.keytool.Main.main(Main.java:327)

        TEST RESULT: Failed. Execution failed: exit code 1

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  weijun Weijun Wang
                  Reporter:
                  dfuchs Daniel Fuchs
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  12 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: