Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-9841

Intermittent Failures in PasswordBasedEncryptorGroovyTest

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.17.0, 1.16.1
    • Tools and Build
    • None

    Description

      The PasswordBasedEncryptorGroovyTest has methods can occasionally fail when evaluating for a particular exception.

      Error:  org.apache.nifi.security.util.crypto.PasswordBasedEncryptorGroovyTest.testDecryptShouldHandleCipherStreamMissingSaltDelimiter  Time elapsed: 0.482 s  <<< FAILURE!
      org.codehaus.groovy.runtime.powerassert.PowerAssertionError: 
      assert exception.getCause() instanceof BytePatternNotFoundException
             |         |          |
             |         null       false
             org.apache.nifi.stream.io.exception.BytePatternNotFoundException: Did not encounter any byte pattern that was expected; data does not appear to be in the expected format
      	at org.apache.nifi.security.util.crypto.PasswordBasedEncryptorGroovyTest.testDecryptShouldHandleCipherStreamMissingSaltDelimiter(PasswordBasedEncryptorGroovyTest.groovy:584)
      

      Attachments

        Issue Links

          Activity

            People

              emilio.setiadarma Emilio Setiadarma
              exceptionfactory David Handermann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m