juju plugins which exit > 0 report a subprocess ERROR

Bug #1503029 reported by Marco Ceppi
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Casey Marshall

Bug Description

When running a plugin via `juju <plugin>` if the plugin exits with a code greater than 0 juju prints

ERROR subprocess encountered error code #

where # is the error code. This creates a confused user experience. To reproduce:

$ cd /tmp
$ sudo apt-get install charm-tools
$ juju charm create -t bash foo
$ juju charm proof foo
[ Error is produced ]
$ charm proof foo
[ Error line isn't included]

---

marco@galago:/tmp⟫ charm proof foo
I: No icon.svg file.
W: no copyright file
W: no README file

marco@galago:/tmp⟫ juju charm proof foo
I: No icon.svg file.
W: no copyright file
W: no README file
ERROR subprocess encountered error code 100

Tags: charmers
Casey Marshall (cmars)
Changed in juju-core:
assignee: charmers (charmers) → Casey Marshall (cmars)
Marco Ceppi (marcoceppi)
tags: added: charmers
Revision history for this message
Casey Marshall (cmars) wrote :
Curtis Hovey (sinzui)
Changed in juju-core:
status: New → Triaged
importance: Undecided → High
milestone: none → 1.26-alpha1
Casey Marshall (cmars)
Changed in juju-core:
status: Triaged → In Progress
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 1.26-alpha1 → 1.26-alpha2
Changed in juju-core:
milestone: 1.26-alpha2 → 1.26-beta1
Changed in juju-core:
milestone: 1.26-beta1 → 2.0-alpha2
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-alpha2 → 2.0-beta1
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta1 → 2.0-beta2
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta2 → 2.0-beta3
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta3 → 2.0-beta4
Revision history for this message
Cheryl Jennings (cherylj) wrote :

This was fixed in 1.25.0, but the bug was never moved to Fix Committed.

Changed in juju-core:
status: In Progress → Fix Released
milestone: 2.0-beta4 → none
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.