You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ethan Rose (Jira)" <ji...@apache.org> on 2021/10/20 20:35:09 UTC

[jira] [Updated] (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:all-tabpanel ]

Ethan Rose updated HDDS-1563:
-----------------------------
    Target Version/s: 1.3.0  (was: 1.2.0)

I am managing the 1.2.0 release and we currently have more than 600 issues targeted for 1.2.0. I am moving the target field to 1.3.0.

If you are actively working on this jira and believe this should be targeted for the 1.2.0 release, Please reach out to me via Apache email or Slack.

> Freon error when running blockade test in maven
> -----------------------------------------------
>
>                 Key: HDDS-1563
>                 URL: https://issues.apache.org/jira/browse/HDDS-1563
>             Project: Apache Ozone
>          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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org