Description of problem:
When a distributor has it's publish_repo method called and the publish report return indicates a failure the task is marked as completing successfully. If the publish_repo method raises an exception the task is marked properly as failed.
*** Bug 1193131 has been marked as a duplicate of this bug. ***
Moved to https://pulp.plan.io/issues/682