return value of check_call wrapper is ignored

Bug #1867985 reported by Paul Collins
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Mirror Charm
New
Undecided
Unassigned

Bug Description

This charm wraps subprocess.check_call in a function called check_call, and uses the latter exclusively.

The wrapper catches CalledProcessError, logs on failure, and returns CalledProcessError.returncode.

None of the charm code checks the return value of the check_call wrapper, so many potential problems are silently ignored.

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.