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

Koji Kawamura commented on NIFI-2936:
-------------------------------------

The root cause of this test failure was the difference of native 
UnixProcess.init method implementation.  This test case uses "cd 
does-not-exist" command to test ExecuteProcess behavior in failure scenario. On 
some environment (e.g. OS X), the command is executed and error stream can be 
read, but on others (e.g. CentOS, Travis CI) the command fails immediately with 
an IOException.

I modified the test so that it can pass on both environments. PR-1162 Travis CI 
build has succeeded.

> TestExecuteProcess errors in Travis CI environment
> --------------------------------------------------
>
>                 Key: NIFI-2936
>                 URL: https://issues.apache.org/jira/browse/NIFI-2936
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Tools and Build
>            Reporter: Aldrin Piri
>            Assignee: Koji Kawamura
>            Priority: Blocker
>             Fix For: 1.1.0
>
>
> The introduction of redirecting error stream and the accompanying tests for 
> TestExecuteProcess [1] are causing Travis to have issues with the build 
> fairly consistently starting with the initial travis build #4109 [2]. 
> [1] 
> https://github.com/apache/nifi/commit/27dba60f27579ca9f33aa1afbf4bb46182d57df4
> [2] https://travis-ci.org/apache/nifi/builds/168776478



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

Reply via email to