prints to stdout and amulet.raise_status() messages don't get displayed on terminal

Bug #1320357 reported by Corey Bryant
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Amulet
Confirmed
High
Unassigned

Bug Description

Messages sent to stdout don't get displayed, however stderr messages are displayed.

Additionally, and possibly related, calls such as the following will exit an amulet test but the message doesn't get displayed:
    amulet.raise_status(amulet.FAIL, msg="something bad happened")

Revision history for this message
Corey Bryant (corey.bryant) wrote :

Using 'juju -v' allows everything to flow to stdout. I think Amulet should be sending the raise_status() message to stderr so that regardless of the juju verbosity the error message will be displayed.

Revision history for this message
Charles Butler (lazypower) wrote :

I'm inclined to agree. As it stands now you have to run the test harness 'charm test' with the -v flag to receive the failure messages.

Marco Ceppi (marcoceppi)
Changed in amulet:
status: New → Confirmed
milestone: none → 1.5.1
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.