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

Side by Side Diff: bin/cbuildbot.py

Issue 6352027: Fix issue where full builders end prematurely. (Closed) Base URL: http://git.chromium.org/git/crosutils.git@master
Patch Set: Created 9 years, 10 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 #!/usr/bin/python 1 #!/usr/bin/python
2 2
3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2010 The Chromium OS 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 """CBuildbot is wrapper around the build process used by the pre-flight queue""" 7 """CBuildbot is wrapper around the build process used by the pre-flight queue"""
8 8
9 import errno 9 import errno
10 import heapq 10 import heapq
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 _SetupBoard(buildroot, board=buildconfig['board']) 739 _SetupBoard(buildroot, board=buildconfig['board'])
740 740
741 # Perform chrome uprev. 741 # Perform chrome uprev.
742 if options.chrome_rev: 742 if options.chrome_rev:
743 chrome_atom_to_build = _MarkChromeAsStable(buildroot, tracking_branch, 743 chrome_atom_to_build = _MarkChromeAsStable(buildroot, tracking_branch,
744 options.chrome_rev, board) 744 options.chrome_rev, board)
745 # Perform other uprevs. 745 # Perform other uprevs.
746 if buildconfig['uprev']: 746 if buildconfig['uprev']:
747 _UprevPackages(buildroot, tracking_branch, revisionfile, 747 _UprevPackages(buildroot, tracking_branch, revisionfile,
748 buildconfig['board'], rev_overlays) 748 buildconfig['board'], rev_overlays)
749 elif not chrome_atom_to_build: 749 elif options.chrome_rev and not chrome_atom_to_build:
750 # We found nothing to rev, we're done here. 750 # We found nothing to rev, we're done here.
751 return 751 return
752 752
753 _EnableLocalAccount(buildroot) 753 _EnableLocalAccount(buildroot)
754 754
755 if options.build: 755 if options.build:
756 _Build(buildroot, 756 _Build(buildroot,
757 emptytree, 757 emptytree,
758 build_autotest=(buildconfig['vm_tests'] and options.tests), 758 build_autotest=(buildconfig['vm_tests'] and options.tests),
759 usepkg=buildconfig['usepkg']) 759 usepkg=buildconfig['usepkg'])
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
805 except: 805 except:
806 # Send failure to master bot. 806 # Send failure to master bot.
807 if not buildconfig['master'] and buildconfig['important']: 807 if not buildconfig['master'] and buildconfig['important']:
808 cbuildbot_comm.PublishStatus(cbuildbot_comm.STATUS_BUILD_FAILED) 808 cbuildbot_comm.PublishStatus(cbuildbot_comm.STATUS_BUILD_FAILED)
809 809
810 raise 810 raise
811 811
812 812
813 if __name__ == '__main__': 813 if __name__ == '__main__':
814 main() 814 main()
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