You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "George Seremetidis (JIRA)" <ji...@apache.org> on 2015/11/19 13:25:10 UTC

[jira] [Commented] (NIFI-1145) TestStandardFlowFileQueue#testDropSwappedFlowFiles fails in certain environments

    [ https://issues.apache.org/jira/browse/NIFI-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15013438#comment-15013438 ] 

George Seremetidis commented on NIFI-1145:
------------------------------------------

Not sure if my email got through on the dev mailing list...

I had the same problem with Centos 7 and Oracle JDK 8. Those exact unit tests would fail. Follow the instructions on https://nifi.apache.org/quickstart.html. I think you'll find that Centos sets max file handles to 1024 for a user.

I also had to increase net.core.rmem_max to 1,200,000 to pass one of the Syslog tests.

George

> TestStandardFlowFileQueue#testDropSwappedFlowFiles fails in certain environments
> --------------------------------------------------------------------------------
>
>                 Key: NIFI-1145
>                 URL: https://issues.apache.org/jira/browse/NIFI-1145
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework, Tools and Build
>    Affects Versions: 0.3.0
>            Reporter: Aldrin Piri
>
> This was first reported by Jeff on the dev mailing list using CentOS 7 and JDK 8 (both OpenJDK and Oracle, at times) and has since also been reproduced in the Travis CI environment (Ubuntu LTS 12.04 with Oracle JDK 8, JDK 7 is fine).
> The associated thread on the mailing list is available at https://mail-archives.apache.org/mod_mbox/nifi-dev/201511.mbox/%3C66915AAF-B7EE-4792-9CA0-1DB0583763AA@gmail.com%3E
> Limited sample size suggests it is a JDK 8 issue on Linux. 
> Failure is:
> {code}
> Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 29.094 sec <<< FAILURE! - in org.apache.nifi.controller.TestStandardFlowFileQueue
> testDropSwappedFlowFiles(org.apache.nifi.controller.TestStandardFlowFileQueue)  Time elapsed: 21.461 sec  <<< ERROR!
> org.junit.runners.model.TestTimedOutException: test timed out after 20000 milliseconds
> 	at java.lang.Throwable.fillInStackTrace(Native Method)
> 	at java.lang.Throwable.fillInStackTrace(Throwable.java:783)
> 	at java.lang.Throwable.<init>(Throwable.java:250)
> 	at org.mockito.internal.debugging.LocationImpl.<init>(LocationImpl.java:24)
> 	at org.mockito.internal.debugging.LocationImpl.<init>(LocationImpl.java:19)
> 	at org.mockito.internal.invocation.InvocationImpl.<init>(InvocationImpl.java:50)
> 	at org.mockito.internal.creation.cglib.MethodInterceptorFilter.intercept(MethodInterceptorFilter.java:58)
> 	at org.apache.nifi.connectable.Connection$$EnhancerByMockitoWithCGLIB$$f8cf731f.getDestination(<generated>)
> 	at org.apache.nifi.controller.StandardFlowFileQueue.put(StandardFlowFileQueue.java:316)
> 	at org.apache.nifi.controller.TestStandardFlowFileQueue.testDropSwappedFlowFiles(TestStandardFlowFileQueue.java:198)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)