Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: masters/master.tryserver.chromium.linux/master.cfg

Issue 2128843002: tryserver.chromium.linux: disable time-without-output timeout when build timeout is used (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # -*- python -*- 1 # -*- python -*-
2 # ex: set syntax=python: 2 # ex: set syntax=python:
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # READ THIS: 7 # READ THIS:
8 # See http://dev.chromium.org/developers/testing/chromium-build-infrastructure 8 # See http://dev.chromium.org/developers/testing/chromium-build-infrastructure
9 9
10 import os 10 import os
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 pools = BuildersPools('chrome') 50 pools = BuildersPools('chrome')
51 51
52 chromium_builders = [] 52 chromium_builders = []
53 chromeos_boards = ('x86-generic', 'amd64-generic', 'daisy') 53 chromeos_boards = ('x86-generic', 'amd64-generic', 'daisy')
54 54
55 def baseFactory(recipe, factory_properties=None, **kwargs): 55 def baseFactory(recipe, factory_properties=None, **kwargs):
56 fp = factory_properties or {} 56 fp = factory_properties or {}
57 fp.update({ 57 fp.update({
58 '$recipe_engine': {'mode_flags': {'use_subprocess42': True}} 58 '$recipe_engine': {'mode_flags': {'use_subprocess42': True}}
59 }) 59 })
60
61 # Disable "max time without output" timeout if total build timeout
62 # is in effect.
63 if 'max_time' in kwargs and 'timeout' not in kwargs:
Sergiy Byelozyorov 2016/07/08 08:20:43 The comment and statement is confusing. Comment sa
64 kwargs['timeout'] = None
65
60 return m_annotator.BaseFactory(recipe, factory_properties=fp, **kwargs) 66 return m_annotator.BaseFactory(recipe, factory_properties=fp, **kwargs)
61 67
62 for targ in ('_rel', '_dbg'): 68 for targ in ('_rel', '_dbg'):
63 chromium_builders.extend([{ 69 chromium_builders.extend([{
64 'name': 'linux_chromium_compile%s_ng' % targ, 70 'name': 'linux_chromium_compile%s_ng' % targ,
65 'factory': baseFactory('chromium_trybot', timeout=3600), 71 'factory': baseFactory('chromium_trybot', timeout=3600),
66 # Share build directory with compatible existing builders to save space. 72 # Share build directory with compatible existing builders to save space.
67 'slavebuilddir': 'linux' 73 'slavebuilddir': 'linux'
68 }, { 74 }, {
69 'name': 'linux_chromium%s_ng' % targ, 75 'name': 'linux_chromium%s_ng' % targ,
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 # base.make_stop_form = hack_stop(base.make_stop_form) 531 # base.make_stop_form = hack_stop(base.make_stop_form)
526 532
527 533
528 ####### PROJECT IDENTITY 534 ####### PROJECT IDENTITY
529 535
530 # The 'projectURL' string will be used to provide a link 536 # The 'projectURL' string will be used to provide a link
531 # from buildbot HTML pages to your project's home page. 537 # from buildbot HTML pages to your project's home page.
532 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' 538 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage'
533 539
534 # vi: set ts=4 sts=2 sw=2 et: 540 # vi: set ts=4 sts=2 sw=2 et:
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698