[
https://issues.apache.org/jira/browse/NIFI-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14573090#comment-14573090
]
Aldrin Piri commented on NIFI-650:
----------------------------------
Ubuntu LTS has very low open file/proc limits by default. Adjusting these to
be inline with those in the Administrator guide allowed me to build
successfully. Provided this guidance to the associated dev list thread.
{quote}
All,
Looks like the reported failures were a bit of a red herring, but provides some
interesting points of consideration for our Quickstart guide.
Pat,
After some inspection, it seems that the default settings for both open files
and processes in 12.04 LTS is quite low which lead to the test failures. It
was only while watching over the tests running did I see the notification about
too many open files. I would speculate this is the problem you are
experiencing.
I was able to resolve the issue by applying the best practices laid out in the
administration guide [1] to my VM running the version of Ubuntu in question.
Please give those settings a go when you have the opportunity and let us know
if that resolves your build issues.
[1]
http://nifi.incubator.apache.org/docs/nifi-docs/html/administration-guide.html#configuration-best-practices
{quote}
> TestExecuteStreamCommand tests failing on Ubuntu 12.04.5 LTS
> -------------------------------------------------------------
>
> Key: NIFI-650
> URL: https://issues.apache.org/jira/browse/NIFI-650
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 0.1.0
> Reporter: Aldrin Piri
> Assignee: Aldrin Piri
>
> Reported errors on the mailing list:
> {code}
> ...
> 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.
> {code}
> Full thread is available at:
> http://apache-nifi-incubating-developer-list.39713.n7.nabble.com/mvn-fail-td1716.html
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)