Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

bug 812727 - make summary an optional action. r=rail

  • Loading branch information...
commit 096596244b387159b653ea11465a28e8981bfcf0 1 parent fb5e95a
Aki Sasaki authored December 20, 2012
1  configs/multi_locale/standalone_mozilla-central.py
@@ -46,5 +46,6 @@
46 46
         "restore-objdir",
47 47
         "add-locales",
48 48
         "package-multi",
  49
+        "summary",
49 50
     ],
50 51
 }
2  configs/partner_repacks/release_mozilla-release_android.py
@@ -33,7 +33,7 @@
33 33
 
34 34
     "release_config_file": "buildbot-configs/mozilla/release-fennec-mozilla-release.py",
35 35
 
36  
-    "default_actions": ["clobber", "pull", "download", "repack", "upload-unsigned-bits"],
  36
+    "default_actions": ["clobber", "pull", "download", "repack", "upload-unsigned-bits", "summary"],
37 37
 
38 38
     # signing (optional)
39 39
     "keystore": KEYSTORE,
2  configs/partner_repacks/staging_release_mozilla-release_android.py
@@ -38,7 +38,7 @@
38 38
 
39 39
     "release_config_file": "buildbot-configs/mozilla/release-fennec-mozilla-release.py",
40 40
 
41  
-    "default_actions": ["clobber", "pull", "download", "repack", "upload-unsigned-bits"],
  41
+    "default_actions": ["clobber", "pull", "download", "repack", "upload-unsigned-bits", "summary"],
42 42
 
43 43
     # signing (optional)
44 44
     "keystore": KEYSTORE,
1  configs/signing/android_mozilla-beta.py
@@ -99,6 +99,7 @@
99 99
                 "sign",
100 100
                 "verify-signatures",
101 101
                 "upload-signed-bits",
  102
+                "summary",
102 103
                ],
103 104
 
104 105
     "keystore": KEYSTORE,
1  configs/signing/android_mozilla-release.py
@@ -102,6 +102,7 @@
102 102
                 "sign",
103 103
                 "verify-signatures",
104 104
                 "upload-signed-bits",
  105
+                "summary",
105 106
                ],
106 107
 
107 108
     "keystore": KEYSTORE,
1  configs/single_locale/release_mozilla-beta_android.py
@@ -73,6 +73,7 @@
73 73
         "setup",
74 74
         "repack",
75 75
         "upload-repacks",
  76
+        "summary",
76 77
     ],
77 78
     # Mock
78 79
     "mock_target": "mozilla-centos6-i386",
1  configs/single_locale/release_mozilla-release_android.py
@@ -73,5 +73,6 @@
73 73
         "setup",
74 74
         "repack",
75 75
         "upload-repacks",
  76
+        "summary",
76 77
     ],
77 78
 }
1  configs/single_locale/staging_release_mozilla-beta_android.py
@@ -72,6 +72,7 @@
72 72
         "setup",
73 73
         "repack",
74 74
         "upload-repacks",
  75
+        "summary",
75 76
     ],
76 77
 
77 78
     # Mock
1  configs/single_locale/staging_release_mozilla-release_android.py
@@ -72,5 +72,6 @@
72 72
         "setup",
73 73
         "repack",
74 74
         "upload-repacks",
  75
+        "summary",
75 76
     ],
76 77
 }
3  mozharness/base/script.py
@@ -716,8 +716,6 @@ def run(self):
716 716
 
717 717
         Postflight is quick testing for success after an action.
718 718
 
719  
-        Run self.summary() at the end.
720  
-
721 719
         """
722 720
         self.dump_config()
723 721
         for action in self.all_actions:
@@ -729,7 +727,6 @@ def run(self):
729 727
                 self._possibly_run_method("preflight_%s" % method_name)
730 728
                 self._possibly_run_method(method_name, error_if_missing=True)
731 729
                 self._possibly_run_method("postflight_%s" % method_name)
732  
-        self.summary()
733 730
         self.copy_logs_to_upload_dir()
734 731
         sys.exit(self.return_code)
735 732
 
2  mozharness/mozilla/l10n/multi_locale_build.py
@@ -103,7 +103,7 @@ def __init__(self, require_config_file=True):
103 103
                                               'backup-objdir',
104 104
                                               'restore-objdir',
105 105
                                               'add-locales', 'package-multi',
106  
-                                              'upload-multi'],
  106
+                                              'upload-multi', 'summary'],
107 107
                                  require_config_file=require_config_file)
108 108
 
109 109
     def clobber(self):
1  scripts/b2g_desktop_multilocale.py
@@ -75,6 +75,7 @@ def __init__(self, require_config_file=False):
75 75
                             all_actions=[
76 76
                                 'pull',
77 77
                                 'build',
  78
+                                'summary',
78 79
                             ],
79 80
                             require_config_file=require_config_file,
80 81
 
5  scripts/b2g_emulator_unittest.py
@@ -368,9 +368,8 @@ def run_tests(self):
368 368
         parser.append_tinderboxprint_line(suite_name)
369 369
 
370 370
         self.buildbot_status(tbpl_status, level=log_level)
371  
-        self.add_summary("The %s suite: %s ran with return status: %s" %
372  
-                         (suite_name, suite, tbpl_status),
373  
-                         level=log_level)
  371
+        self.log("The %s suite: %s ran with return status: %s" %
  372
+                 (suite_name, suite, tbpl_status), level=log_level)
374 373
 
375 374
 if __name__ == '__main__':
376 375
     emulatorTest = B2GEmulatorTest()
5  scripts/configtest.py
@@ -40,9 +40,12 @@ def __init__(self, require_config_file=False):
40 40
                             all_actions=['list-config-files',
41 41
                                          'test-json-configs',
42 42
                                          'test-python-configs',
  43
+                                         'summary',
43 44
                                          ],
44 45
                             default_actions=['test-json-configs',
45  
-                                             'test-python-configs'],
  46
+                                             'test-python-configs',
  47
+                                             'summary',
  48
+                                            ],
46 49
                             require_config_file=require_config_file)
47 50
 
48 51
     def query_config_files(self):
5  scripts/desktop_unittest.py
@@ -351,9 +351,8 @@ def _run_category_suites(self, suite_category, preflight_run_method=None):
351 351
                 parser.append_tinderboxprint_line(suite_name)
352 352
 
353 353
                 self.buildbot_status(tbpl_status, level=log_level)
354  
-                self.add_summary("The %s suite: %s ran with return status: %s" %
355  
-                                 (suite_category, suite, tbpl_status),
356  
-                                 level=log_level)
  354
+                self.log("The %s suite: %s ran with return status: %s" %
  355
+                         (suite_category, suite, tbpl_status), level=log_level)
357 356
         else:
358 357
             self.debug('There were no suites to run for %s' % suite_category)
359 358
 
5  scripts/marionette.py
@@ -260,9 +260,8 @@ def run_marionette(self):
260 260
 
261 261
         self.info("TinderboxPrint: marionette<br/>%s\n" % tsummary)
262 262
 
263  
-        self.add_summary("Marionette exited with return code %s: %s" % (code,
264  
-                                                                        status),
265  
-                         level=level)
  263
+        self.log("Marionette exited with return code %s: %s" % (code, status),
  264
+                 level=level)
266 265
         self.buildbot_status(tbpl_status)
267 266
 
268 267
 
1  scripts/mobile_l10n.py
@@ -110,6 +110,7 @@ def __init__(self, require_config_file=True):
110 110
                 "upload-repacks",
111 111
                 "create-nightly-snippets",
112 112
                 "upload-nightly-snippets",
  113
+                "summary",
113 114
             ],
114 115
             require_config_file=require_config_file
115 116
         )
1  scripts/mobile_partner_repack.py
@@ -112,6 +112,7 @@ def __init__(self, require_config_file=True):
112 112
                 "upload-unsigned-bits",
113 113
                 "sign",
114 114
                 "upload-signed-bits",
  115
+                "summary",
115 116
             ],
116 117
             require_config_file=require_config_file
117 118
         )
2  scripts/mozmill_updates.py
@@ -73,11 +73,13 @@ def __init__(self, require_config_file=False):
73 73
 # TODO
74 74
 #                      'upload',
75 75
 #                      'notify',
  76
+                      'summary',
76 77
                       ],
77 78
          default_actions=['preclean',
78 79
                           'pull',
79 80
                           'download',
80 81
                           'run-mozmill',
  82
+                          'summary',
81 83
                           ],
82 84
          require_config_file=require_config_file,
83 85
          config={"virtualenv_modules": ["mercurial", "mozmill"]},
6  scripts/peptest.py
@@ -274,10 +274,8 @@ def run_peptest(self):
274 274
 
275 275
         # TODO create a better summary for peptest
276 276
         #      for now just display return code
277  
-        self.add_summary("%s exited with return code %s: %s" % (cmd[0],
278  
-                                                                code,
279  
-                                                                status),
280  
-                         level=level)
  277
+        self.log("%s exited with return code %s: %s" % (cmd[0], code, status),
  278
+                 level=level)
281 279
         self.buildbot_status(tbpl_status)
282 280
 
283 281
 
1  scripts/sign_android.py
@@ -136,6 +136,7 @@ def __init__(self, require_config_file=True):
136 136
                 "sign",
137 137
                 "verify-signatures",
138 138
                 "upload-signed-bits",
  139
+                "summary",
139 140
             ],
140 141
             require_config_file=require_config_file
141 142
         )
2  scripts/sourcetool.py
@@ -202,7 +202,7 @@ def source(self):
202 202
             self.fatal("I don't know how to handle vcs '%s'!" % self.config['vcs'])
203 203
         got_revision = vcs_obj.ensure_repo_and_revision()
204 204
 
205  
-        self.add_summary("Got revision %s\n" % got_revision)
  205
+        self.info("Got revision %s\n" % got_revision)
206 206
 
207 207
 # __main__ {{{1
208 208
 if __name__ == '__main__':

0 notes on commit 0965962

Please sign in to comment.
Something went wrong with that request. Please try again.