You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Chung En Lee (Jira)" <ji...@apache.org> on 2025/10/21 20:56:01 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 ]

Chung En Lee updated HDDS-1563:
-------------------------------
    Target Version/s: 2.2.0  (was: 1.2.0)
                      2.2.0  (was: 2.1.0)

<<Bulk update>>
Apache Ozone 2.1.0 release is in progress. I'm updating all unresolved jiras targeting 2.1.0 to retarget 2.2.0.

> 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.20.10#820010)

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