Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bug 830316 - Print failures at the end of manage_masters.py - always.…

… r=bhearsum

--HG--
extra : rebase_source : 8d910c887c9dbe1936592ec8669680f87a86a64b
  • Loading branch information...
commit 6dbf11c809dd778079d293796c22149932fbf32a 1 parent 906d18a
@Callek Callek authored
Showing with 7 additions and 3 deletions.
  1. +7 −3 buildfarm/maintenance/manage_masters.py
View
10 buildfarm/maintenance/manage_masters.py
@@ -12,9 +12,10 @@
import util.fabric.actions
def print_status(remaining, failed_masters):
- print "=" * 30, "Remaining masters", "=" * 30
- for m in remaining:
- print m
+ if remaining:
+ print "=" * 30, "Remaining masters", "=" * 30
+ for m in remaining:
+ print m
if failed_masters:
print "=" * 30, "failed masters", "=" * 30
for m in failed_masters:
@@ -158,5 +159,8 @@ def run_action_on_master(action, master):
time.sleep(1)
p.join()
+ # One final print before we exit, to be sure that results are not missed
+ print_status([m['name'] for (m, r) in results],
+ failed_masters)
if failed:
sys.exit(1)
Please sign in to comment.
Something went wrong with that request. Please try again.