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

CryptoUtilsTest testShouldNotValidateUnreadableFileBasedKeyProvider test failure on Docker maven:latest

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.0, 1.3.0
    • Fix Version/s: None
    • Component/s: Tools and Build
    • Labels:
    • Environment:
      maven:latest (b5ab9b7ecf5a) on Docker for Mac 17.03.1-ce-mac5 (16048)

      Description

      Running `mvn clean install` on Docker consistently fails with:

      Tests run: 16, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.65 sec <<< FAILURE! - in org.apache.nifi.provenance.CryptoUtilsTest
      testShouldNotValidateUnreadableFileBasedKeyProvider(org.apache.nifi.provenance.CryptoUtilsTest)  Time elapsed: 0.111 sec  <<< FAILURE!
      org.codehaus.groovy.runtime.powerassert.PowerAssertionError: assert !unreadableKeyProviderIsValid
             ||
             |true
             false
      	at org.codehaus.groovy.runtime.InvokerHelper.assertFailed(InvokerHelper.java:402)
      	at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.assertFailed(ScriptBytecodeAdapter.java:650)
      	at org.apache.nifi.provenance.CryptoUtilsTest.testShouldNotValidateUnreadableFileBasedKeyProvider(CryptoUtilsTest.groovy:214)
      
      Running org.apache.nifi.provenance.AESProvenanceEventEncryptorTest
      Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.285 sec - in org.apache.nifi.provenance.AESProvenanceEventEncryptorTest
      
      Results :
      
      Failed tests: 
        CryptoUtilsTest.testShouldNotValidateUnreadableFileBasedKeyProvider:214 assert !unreadableKeyProviderIsValid
             ||
             |true
             false
      

        Attachments

          Activity

            People

            • Assignee:
              alopresto Andy LoPresto
              Reporter:
              jfrazee Joey Frazee
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: