Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-7595

UpgradeSessionBeanTest.testUpgradeOcspExtensions6120 fails intermittently

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EJBCA 7.0.0, EJBCA 6.15.2
    • Component/s: None
    • Labels:

      Description

      This test is failing intermittently. It seems to happen independently of platform. It happens on:

      • Both old and new Jenkins,
      • Linux and Windows
      • JDK 7 and JDK 8
      • On NOHSM jobs also, so it can't be HSM related.
      org.cesecore.keys.token.CryptoTokenOfflineException: Can not instantiate BC. keyStore (-1744500625) == null.
      	at org.cesecore.keys.token.BaseCryptoToken.getKeyStore(BaseCryptoToken.java:99)
      	at org.cesecore.keys.token.SoftCryptoToken.generateKeyPair(SoftCryptoToken.java:305)
      	at org.cesecore.keys.token.CryptoTokenManagementSessionBean.createKeyPair(CryptoTokenManagementSessionBean.java:686)
      ...
      	at com.sun.proxy.$Proxy18.createKeyPair(Unknown Source)
      	at org.cesecore.certificates.ocsp.OcspTestUtils.createInternalKeyBinding(OcspTestUtils.java:109)
      	at org.ejbca.core.ejb.upgrade.UpgradeSessionBeanTest.testUpgradeOcspExtensions6120(UpgradeSessionBeanTest.java:906)
      

      I think I've seen test failures like these before, so it's probably an old bug.

        Attachments

          Activity

            People

            Assignee:
            samuel Samuel Lidén Borell
            Reporter:
            samuel Samuel Lidén Borell
            Verified by:
            Henrik Sunmark
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 days
                4d
                Remaining:
                Time Spent - 2 hours Remaining Estimate - 3 days, 6 hours
                3d 6h
                Logged:
                Time Spent - 2 hours Remaining Estimate - 3 days, 6 hours
                2h