You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Arpit Agarwal (Jira)" <ji...@apache.org> on 2020/06/02 17:55:00 UTC

[jira] [Commented] (HDDS-1563) Freon error when running blockade test in maven

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

Arpit Agarwal commented on HDDS-1563:
-------------------------------------

[~nanda] are we able to run blockade tests using Maven now?

> Freon error when running blockade test in maven
> -----------------------------------------------
>
>                 Key: HDDS-1563
>                 URL: https://issues.apache.org/jira/browse/HDDS-1563
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>            Reporter: Eric Yang
>            Assignee: Nilotpal Nandi
>            Priority: Major
>
> When using python -m pytest -s blockade/ in a terminal, there is a terminal connected to stdin of the testing program.  When running the python test in maven, there is no stdin forwarded to python or down stream code logic.  Some blockade tests fails using mvn clean verify -Pit command.  
> {code}
> >       assert exit_code == 0, "freon run failed with output=[%s]" % output
> E       AssertionError: freon run failed with output=[the input device is not a TTY]
> E       assert 1 == 0
> {code}
> The required change is in freon for popen, also setup a [pseudo terminal|https://stackoverflow.com/questions/41542960/run-interactive-bash-with-popen-and-a-dedicated-tty-python] to ensure that stdin is handled correctly for docker-compose and downstream processes.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org