old_contents: # Copyright (c) 2012 The Chromium Authors. All rights reserved.
  # Use of this source code is governed by a BSD-style license that can be
  # found in the LICENSE file.
  
  from master import gatekeeper
  from master import master_utils
  
  # This is the list of the builder categories and the corresponding critical
  # steps. If one critical step fails, gatekeeper will close the tree
  # automatically.
  # Note: don't include 'update scripts' since we can't do much about it when
  # it's failing and the tree is still technically fine.
  # TODO(glider): browser_tests and content_browsertests timeouts have become
  # annoying since the number of bots increased. Disable them until the failure
  # rate drops.
  categories_steps = {
    '': ['update'],
    'testers': [
      'base_unittests',
      #'browser_tests',
      'cacheinvalidation_unittests',
      #'content_browsertests',
      'content_unittests',
      'courgette_unittests',
      'crypto_unittests',
      'device_unittests',
      'googleurl_unittests',
      'ipc_tests',
      'installer_util_unittests',
      'jingle_unittests',
      'media_unittests',
      'mini_installer_test',
      'nacl_integration',
      'net_unittests',
      'ppapi_unittests',
      'printing_unittests',
      'remoting_unittests',
      'sql_unittests',
      'test_shell_tests',
      'unit_tests',
     ],
    'compile': ['compile'],
    # Usually we don't close based on archive failures, but ASAN bots
    # detect memory failures in the logs during the Archive stage.
    'crosasantest': ['Archive'],
  }
  
  exclusions = {
  }
  
  forgiving_steps = ['update_scripts', 'update']
  
  def Update(config, active_master, c):
    c['status'].append(gatekeeper.GateKeeper(
        fromaddr=active_master.from_address,
        categories_steps=categories_steps,
        exclusions=exclusions,
        relayhost=config.Master.smtp,
        subject='buildbot %(result)s in %(projectName)s on %(builder)s, '
                'revision %(revision)s',
        extraRecipients=active_master.tree_closing_notification_recipients,
        lookup=master_utils.FilterDomain(),
        forgiving_steps=forgiving_steps,
        public_html='../master.chromium/public_html',
        sheriffs=['sheriff'],
        tree_status_url=active_master.tree_status_url,
        use_getname=True))
  
new_contents: # Copyright (c) 2012 The Chromium Authors. All rights reserved.
  # Use of this source code is governed by a BSD-style license that can be
  # found in the LICENSE file.
  
  from master import gatekeeper
  from master import master_utils
  
  # This is the list of the builder categories and the corresponding critical
  # steps. If one critical step fails, gatekeeper will close the tree
  # automatically.
  # Note: don't include 'update scripts' since we can't do much about it when
  # it's failing and the tree is still technically fine.
  # TODO(glider): browser_tests and content_browsertests timeouts have become
  # annoying since the number of bots increased. Disable them until the failure
  # rate drops.
  # TODO(glider): disabled all the tests because of the ASan regression. Need to
  # re-enable them after next Clang roll. See http://crbug.com/177235.
  categories_steps = {
    '': ['update'],
    'testers': [
      #'base_unittests',
      #'browser_tests',
      #'cacheinvalidation_unittests',
      #'content_browsertests',
      #'content_unittests',
      #'courgette_unittests',
      #'crypto_unittests',
      #'device_unittests',
      #'googleurl_unittests',
      #'ipc_tests',
      #'installer_util_unittests',
      #'jingle_unittests',
      #'media_unittests',
      #'mini_installer_test',
      #'nacl_integration',
      #'net_unittests',
      #'ppapi_unittests',
      #'printing_unittests',
      #'remoting_unittests',
      #'sql_unittests',
      #'test_shell_tests',
      #'unit_tests',
     ],
    'compile': ['compile'],
    # Usually we don't close based on archive failures, but ASAN bots
    # detect memory failures in the logs during the Archive stage.
    'crosasantest': ['Archive'],
  }
  
  exclusions = {
  }
  
  forgiving_steps = ['update_scripts', 'update']
  
  def Update(config, active_master, c):
    c['status'].append(gatekeeper.GateKeeper(
        fromaddr=active_master.from_address,
        categories_steps=categories_steps,
        exclusions=exclusions,
        relayhost=config.Master.smtp,
        subject='buildbot %(result)s in %(projectName)s on %(builder)s, '
                'revision %(revision)s',
        extraRecipients=active_master.tree_closing_notification_recipients,
        lookup=master_utils.FilterDomain(),
        forgiving_steps=forgiving_steps,
        public_html='../master.chromium/public_html',
        sheriffs=['sheriff'],
        tree_status_url=active_master.tree_status_url,
        use_getname=True))
  
subject: Mark all the tests on ASan bots non-critical due to a regression in the ASan runtime.