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

TestExecuteStreamCommand tests failing on Ubuntu 12.04.5 LTS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 0.1.0
    • None
    • Extensions
    • None

    Description

      Reported errors on the mailing list:

      ...
      Running org.apache.nifi.processors.standard.TestExecuteStreamCommand
      Tests run: 5, Failures: 4, Errors: 0, Skipped: 1, Time elapsed: 1.144 sec
      <<< FAILURE! - in org.apache.nifi.processors.standard.TestE
      xecuteStreamCommand
      testExecuteIngestAndUpdateWithWorkingDir(org.apache.nifi.processors.standard.TestExecuteStreamCommand)
      Time elapsed: 0.112 sec  <<<
      FAILURE!
      java.lang.AssertionError: null
              at org.junit.Assert.fail(Assert.java:86)
              at org.junit.Assert.assertTrue(Assert.java:41)
              at org.junit.Assert.assertTrue(Assert.java:52)
              at
      org.apache.nifi.processors.standard.TestExecuteStreamCommand.testExecuteIngestAndUpdateWithWorkingDir(TestExecuteStreamCommand.java:156)
      
      testExecuteJarWithBadPath(org.apache.nifi.processors.standard.TestExecuteStreamCommand)
      Time elapsed: 0.006 sec  <<< FAILURE!
      org.junit.ComparisonFailure: expected:<[Error: Unable to access jarfile]>
      but was:<[Unable to access jarfile /home/]>
              at org.junit.Assert.assertEquals(Assert.java:115)
              at org.junit.Assert.assertEquals(Assert.java:144)
              at
      org.apache.nifi.processors.standard.TestExecuteStreamCommand.testExecuteJarWithBadPath(TestExecuteStreamCommand.java:103)
      
      testExecuteJar(org.apache.nifi.processors.standard.TestExecuteStreamCommand)
      Time elapsed: 0.1 sec  <<< FAILURE!
      java.lang.AssertionError: null
              at org.junit.Assert.fail(Assert.java:86)
              at org.junit.Assert.assertTrue(Assert.java:41)
              at org.junit.Assert.assertTrue(Assert.java:52)
              at
      org.apache.nifi.processors.standard.TestExecuteStreamCommand.testExecuteJar(TestExecuteStreamCommand.java:73)
      
      testExecuteIngestAndUpdate(org.apache.nifi.processors.standard.TestExecuteStreamCommand)
      Time elapsed: 0.925 sec  <<< FAILURE!
      java.lang.AssertionError: null
              at org.junit.Assert.fail(Assert.java:86)
              at org.junit.Assert.assertTrue(Assert.java:41)
              at org.junit.Assert.assertTrue(Assert.java:52)
              at
      org.apache.nifi.processors.standard.TestExecuteStreamCommand.testExecuteIngestAndUpdate(TestExecuteStreamCommand.java:134)
      
      ...
      
      [INFO] BUILD FAILURE
      [INFO]
      ------------------------------------------------------------------------
      [INFO] Total time: 7:46.419s
      [INFO] Finished at: Wed Jun 03 14:02:07 EDT 2015
      [INFO] Final Memory: 141M/1477M
      [INFO]
      ------------------------------------------------------------------------
      [ERROR] Failed to execute goal
      org.apache.maven.plugins:maven-surefire-plugin:2.18:test (default-test) on
      project nifi-standard-processors: There are test failures.
      

      Full thread is available at: http://apache-nifi-incubating-developer-list.39713.n7.nabble.com/mvn-fail-td1716.html

      Attachments

        Issue Links

          Activity

            People

              aldrin Aldrin Piri
              aldrin Aldrin Piri
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: