<commit_before># Copyright 2013 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 chromium_notifier
from master import master_utils

# This is the list of the builder categories and the corresponding critical
# steps. If one critical step fails, the blame list will be notified.
# 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.
categories_steps = {
  '': [
    'update',
    'runhooks',
    'compile',
    'Presubmit',
    'Static-Initializers',
    'Check',
    'OptimizeForSize',
    'Mjsunit',
    'Webkit',
    'Test262',
    'Mozilla',
    'GCMole',
    'Fuzz',
    'Deopt Fuzz',
    'webkit_tests',
    'interactive_ui_tests',
    'heapcheck test: base_unittests',
    'heapcheck test: unit',
    'heapcheck test: net',
  ],
}

exclusions = {
  'V8 Linux - full debug': ['Mozilla'],
  'V8 Linux - nosnap - full debug ': ['Mozilla'],
  'V8 Win32 - full debug ': ['Mozilla'],
  'V8 Mac - full debug': ['Mozilla'],
  'V8 Linux - mips - sim': ['compile'],
  'V8 Linux - recipe': [],
  'NaCl V8 Linux': ['Check'],
  'NaCl V8 Linux64 - stable': ['Check'],
  'NaCl V8 Linux64 - canary': ['Check'],
  'Webkit - dbg': ['webkit_tests'],
  'Webkit Mac - dbg': ['webkit_tests'],
}

forgiving_steps = ['update_scripts', 'update', 'svnkill', 'taskkill',
                   'gclient_revert']

def Update(config, active_master, c):
  c['status'].append(chromium_notifier.ChromiumNotifier(
      fromaddr=active_master.from_address,
      categories_steps=categories_steps,<commit_msg>V8 Buildbot: Don't notify for build warnings.<commit_after># Copyright 2013 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 buildbot.status.builder import FAILURE
from master import chromium_notifier
from master import master_utils

# This is the list of the builder categories and the corresponding critical
# steps. If one critical step fails, the blame list will be notified.
# 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.
categories_steps = {
  '': [
    'update',
    'runhooks',
    'compile',
    'Presubmit',
    'Static-Initializers',
    'Check',
    'OptimizeForSize',
    'Mjsunit',
    'Webkit',
    'Test262',
    'Mozilla',
    'GCMole',
    'Fuzz',
    'Deopt Fuzz',
    'webkit_tests',
    'interactive_ui_tests',
    'heapcheck test: base_unittests',
    'heapcheck test: unit',
    'heapcheck test: net',
  ],
}

exclusions = {
  'V8 Linux - full debug': ['Mozilla'],
  'V8 Linux - nosnap - full debug ': ['Mozilla'],
  'V8 Win32 - full debug ': ['Mozilla'],
  'V8 Mac - full debug': ['Mozilla'],
  'V8 Linux - mips - sim': ['compile'],
  'V8 Linux - recipe': [],
  'NaCl V8 Linux': ['Check'],
  'NaCl V8 Linux64 - stable': ['Check'],
  'NaCl V8 Linux64 - canary': ['Check'],
  'Webkit - dbg': ['webkit_tests'],
  'Webkit Mac - dbg': ['webkit_tests'],
}

forgiving_steps = ['update_scripts', 'update', 'svnkill', 'taskkill',
                   'gclient_revert']


class V8Notifier(chromium_notifier.ChromiumNotifier):
  def isInterestingStep(self, build_status, step_status, results):
    """Watch only failing steps."""
    return results[0] == FAILURE


def Update(config, active_master, c):
  c['status'].append(V8Notifier(
      fromaddr=active_master.from_address,
      categories_steps=categories_steps,
{'fraction_non_alphanumeric': 0.13521048229718427, 'fraction_numerical': 0.013381655979927517, 'mean_word_length': 3.629677419354839, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4323568', 'n_tokens_mistral': 1211, 'n_tokens_neox': 1154, 'n_words': 369}