Hide Forgot
These are the ones I've noticed: * distros-edit-version * job-cancel * task-add It might be worth checking each of the bkr commands and making sure their exit status is always sensible and indicative of errors.
This snippet from kobo.cli.CommandOptionParser is problematic: def run(self, args=None, values=None): """parse arguments and run a command""" cmd, cmd_opts, cmd_args = self.parse_args(args, values) cmd_kwargs = cmd_opts.__dict__ try: cmd.run(*cmd_args, **cmd_kwargs) except Fault, ex: print "Exception: %s" % ex.faultString except Exception, ex: raise print "Exception: %s" % ex This is the method we eventually call to do all the work when bkr is invoked. So whenever we get an XMLRPC fault, the error is printed to stdout and then discarded, leaving us with an exit status of 0.