Eric Yang created HDDS-1563:
-------------------------------

             Summary: 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


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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to