| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 from master import failures_notifier | 5 from master import failures_notifier |
| 6 from master import master_utils | 6 from master import master_utils |
| 7 | 7 |
| 8 # This is the list of the builder categories and the corresponding critical | 8 # This is the list of the builder categories and the corresponding critical |
| 9 # steps. If one critical step fails, gatekeeper will close the tree | 9 # steps. If one critical step fails, gatekeeper will close the tree |
| 10 # automatically. | 10 # automatically. |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 sheriffs=['sheriff_memory'], | 74 sheriffs=['sheriff_memory'], |
| 75 status_header='Failure notification for "%(steps)s" on "%(builder)s".\n' | 75 status_header='Failure notification for "%(steps)s" on "%(builder)s".\n' |
| 76 'Please see if the failures are related to your commit and take ' | 76 'Please see if the failures are related to your commit and take ' |
| 77 'appropriate actions (e.g. revert, update suppressions, notify ' | 77 'appropriate actions (e.g. revert, update suppressions, notify ' |
| 78 'sheriff, etc.).\n\n' | 78 'sheriff, etc.).\n\n' |
| 79 'For more info on the memory waterfall please see these links:\n' | 79 'For more info on the memory waterfall please see these links:\n' |
| 80 'http://dev.chromium.org/developers/tree-sheriffs/sheriff-details-chro
mium/memory-sheriff\n' | 80 'http://dev.chromium.org/developers/tree-sheriffs/sheriff-details-chro
mium/memory-sheriff\n' |
| 81 'http://dev.chromium.org/developers/how-tos/using-valgrind/threadsanit
izer\n' | 81 'http://dev.chromium.org/developers/how-tos/using-valgrind/threadsanit
izer\n' |
| 82 '\nBy the way, the current memory sheriff is on the CC list.' | 82 '\nBy the way, the current memory sheriff is on the CC list.' |
| 83 )) | 83 )) |
| 84 | |
| 85 # Set up a separate notifier for the Dr.Memory bots. | |
| 86 # TODO(timurrrr); merge this with the main notifier once DrMemory is verified | |
| 87 # to send few e-mails. | |
| 88 drm_categories_steps = { | |
| 89 'drmemory_tester': [ | |
| 90 # Please keep this list sorted. | |
| 91 'memory test: base_unittests', | |
| 92 'memory test: components', | |
| 93 'memory test: content', | |
| 94 'memory test: crypto', | |
| 95 'memory test: display_unittests', | |
| 96 'memory test: extensions_unittests', | |
| 97 'memory test: ipc_tests', | |
| 98 'memory test: media', | |
| 99 'memory test: net', | |
| 100 'memory test: printing', | |
| 101 'memory test: remoting', | |
| 102 'memory test: sql', | |
| 103 'memory test: sync', | |
| 104 'memory test: ui_base_unittests', | |
| 105 'memory test: unit', # unit_tests might be sharded | |
| 106 'memory test: unit_1', | |
| 107 'memory test: unit_2', | |
| 108 'memory test: url', | |
| 109 ], | |
| 110 } | |
| 111 c['status'].append(failures_notifier.FailuresNotifier( | |
| 112 fromaddr=active_master.from_address, | |
| 113 categories_steps=drm_categories_steps, | |
| 114 exclusions=exclusions, | |
| 115 relayhost=config.Master.smtp, | |
| 116 subject='drmemory buildbot %(result)s in %(projectName)s on ' | |
| 117 '%(builder)s, revision %(revision)s', | |
| 118 sendToInterestedUsers=True, | |
| 119 extraRecipients=( | |
| 120 active_master.tree_closing_notification_recipients + | |
| 121 # Also send e-mails to the Dr.Memory team. | |
| 122 ['bruening+drmfailure@google.com', | |
| 123 'zhaoqin+drmfailure@google.com', | |
| 124 ]), | |
| 125 lookup=master_utils.FilterDomain(), | |
| 126 forgiving_steps=forgiving_steps, | |
| 127 use_getname=True, | |
| 128 public_html='../master.chromium/public_html', | |
| 129 sheriffs=['sheriff_memory'], | |
| 130 status_header='Failure notification for "%(steps)s" on "%(builder)s".\n\n' | |
| 131 'NOTE: This bot is in testing mode, but most of the failures are ' | |
| 132 'expected to indicate real bugs.\n\n' | |
| 133 'Please see if the failures are related to your commit and take ' | |
| 134 'appropriate actions (e.g. revert, update suppressions, notify ' | |
| 135 'sheriff, etc.).\n\n' | |
| 136 'For more info on Dr.Memory waterfall please see these links:\n' | |
| 137 'http://dev.chromium.org/developers/tree-sheriffs/sheriff-details-chro
mium/memory-sheriff\n' | |
| 138 'http://dev.chromium.org/developers/how-tos/using-drmemory\n' | |
| 139 '\nBy the way, the current memory sheriff is on the CC list.' | |
| 140 )) | |
| OLD | NEW |