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

          Issue Links

            Activity

            Hide
            vinnie Vincent Ryan added a comment -
            Non-critical test problem that occurs intermittently. Deferring past JDK8.
            Show
            vinnie Vincent Ryan added a comment - Non-critical test problem that occurs intermittently. Deferring past JDK8.
            Hide
            nisriniv Nithya Srinivasan (Inactive) added a comment -
            Adding notes for bug matching
            test sun/security/mscapi/ShortRSAKey1024.sh
            RULE sun/security/mscapi/ShortRSAKey1024.sh Exception java.lang.Exception: Alias <7106773.1024> does not exist
            RULE sun/security/mscapi/ShortRSAKey1024.sh Exception java.lang.Exception: Alias <7106773.768> does not exist
            RULE sun/security/mscapi/ShortRSAKey1024.sh Exception java.security.KeyStoreException: Bad Key.



            Show
            nisriniv Nithya Srinivasan (Inactive) added a comment - Adding notes for bug matching test sun/security/mscapi/ShortRSAKey1024.sh RULE sun/security/mscapi/ShortRSAKey1024.sh Exception java.lang.Exception: Alias <7106773.1024> does not exist RULE sun/security/mscapi/ShortRSAKey1024.sh Exception java.lang.Exception: Alias <7106773.768> does not exist RULE sun/security/mscapi/ShortRSAKey1024.sh Exception java.security.KeyStoreException: Bad Key.
            Hide
            nisriniv Nithya Srinivasan (Inactive) added a comment -
            sun/security/mscapi/PublicKeyInterop.sh fails in nightly run.
            ....
            keytool error: java.lang.Exception: Alias <6888925> does not exist.....

            RULE sun/security/mscapi/PublicKeyInterop.sh Exception java.lang.NullPointerException

            Show
            nisriniv Nithya Srinivasan (Inactive) added a comment - sun/security/mscapi/PublicKeyInterop.sh fails in nightly run. .... keytool error: java.lang.Exception: Alias <6888925> does not exist..... RULE sun/security/mscapi/PublicKeyInterop.sh Exception java.lang.NullPointerException
            Hide
            ggalimbe Gustavo Galimberti (Inactive) added a comment -
            14 times the test failed during a same binary run cycle.
            Show
            ggalimbe Gustavo Galimberti (Inactive) added a comment - 14 times the test failed during a same binary run cycle.
            Hide
            amlu Amy Lu added a comment -
            In recent 3 months (b29 to b38), this test failed 14 times out of the total 1794 runs
            Show
            amlu Amy Lu added a comment - In recent 3 months (b29 to b38), this test failed 14 times out of the total 1794 runs
            Hide
            mullan Sean Mullan added a comment -
            Raising priority to P3. This test fails too often periodically and needs to be resolved.
            Show
            mullan Sean Mullan added a comment - Raising priority to P3. This test fails too often periodically and needs to be resolved.
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/b65d176a9445
            User: weijun
            Date: 2015-06-25 01:04:26 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/b65d176a9445 User: weijun Date: 2015-06-25 01:04:26 +0000
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/b65d176a9445
            User: lana
            Date: 2015-07-01 21:31:59 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/b65d176a9445 User: lana Date: 2015-07-01 21:31:59 +0000

              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: