OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 | 5 |
6 # Recipe module for Skia Swarming compile. | 6 # Recipe module for Skia Swarming compile. |
7 | 7 |
8 | 8 |
9 DEPS = [ | 9 DEPS = [ |
10 'recipe_engine/json', | 10 'recipe_engine/json', |
11 'recipe_engine/path', | 11 'recipe_engine/path', |
12 'recipe_engine/platform', | 12 'recipe_engine/platform', |
13 'recipe_engine/properties', | 13 'recipe_engine/properties', |
14 'skia', | 14 'skia', |
15 ] | 15 ] |
16 | 16 |
17 | 17 |
18 TEST_BUILDERS = { | 18 TEST_BUILDERS = { |
19 'client.skia.compile': { | 19 'client.skia.compile': { |
20 'skiabot-linux-swarm-000': [ | 20 'skiabot-linux-swarm-000': [ |
21 'Build-Mac-Clang-Arm7-Debug-Android', | 21 'Build-Mac-Clang-Arm7-Debug-Android', |
22 'Build-Mac-Clang-Arm7-Release-iOS', | 22 'Build-Mac-Clang-Arm7-Release-iOS', |
23 'Build-Mac-Clang-x86_64-Debug-CommandBuffer', | 23 'Build-Mac-Clang-x86_64-Debug-CommandBuffer', |
24 'Build-Mac-Clang-x86_64-Release-CMake', | 24 'Build-Mac-Clang-x86_64-Release-CMake', |
25 'Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot', | 25 'Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot', |
26 'Build-Ubuntu-GCC-Arm7-Release-Android', | 26 'Build-Ubuntu-GCC-Arm7-Release-Android', |
27 'Build-Ubuntu-GCC-Arm7-Release-Android_Vulkan', | 27 'Build-Ubuntu-GCC-Arm7-Release-Android_Vulkan', |
| 28 'Build-Ubuntu-GCC-x86-Debug', |
28 'Build-Ubuntu-GCC-x86_64-Debug-MSAN', | 29 'Build-Ubuntu-GCC-x86_64-Debug-MSAN', |
29 'Build-Ubuntu-GCC-x86_64-Release-CMake', | 30 'Build-Ubuntu-GCC-x86_64-Release-CMake', |
30 'Build-Ubuntu-GCC-x86_64-Release-PDFium', | 31 'Build-Ubuntu-GCC-x86_64-Release-PDFium', |
31 'Build-Ubuntu-GCC-x86_64-Release-Shared', | 32 'Build-Ubuntu-GCC-x86_64-Release-Shared', |
32 'Build-Ubuntu-GCC-x86_64-Release-Valgrind', | 33 'Build-Ubuntu-GCC-x86_64-Release-Valgrind', |
33 'Build-Win-MSVC-x86-Debug', | 34 'Build-Win-MSVC-x86-Debug', |
34 'Build-Win-MSVC-x86_64-Release-Vulkan', | 35 'Build-Win-MSVC-x86_64-Release-Vulkan', |
35 ], | 36 ], |
36 }, | 37 }, |
37 } | 38 } |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 retcode=1) | 77 retcode=1) |
77 if 'Trybot' in builder: | 78 if 'Trybot' in builder: |
78 test += api.properties(issue=500, | 79 test += api.properties(issue=500, |
79 patchset=1, | 80 patchset=1, |
80 rietveld='https://codereview.chromium.org') | 81 rietveld='https://codereview.chromium.org') |
81 | 82 |
82 yield test | 83 yield test |
83 | 84 |
84 mastername = 'client.skia.compile' | 85 mastername = 'client.skia.compile' |
85 slavename = 'skiabot-win-compile-000' | 86 slavename = 'skiabot-win-compile-000' |
| 87 buildername = 'Build-Ubuntu-GCC-x86-Debug' |
| 88 yield ( |
| 89 api.test('failed_compile') + |
| 90 api.properties(buildername=buildername, |
| 91 mastername=mastername, |
| 92 slavename=slavename, |
| 93 buildnumber=5, |
| 94 revision='abc123', |
| 95 path_config='kitchen', |
| 96 swarm_out_dir='[SWARM_OUT_DIR]') + |
| 97 api.path.exists( |
| 98 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') |
| 99 ) + |
| 100 api.step_data('build most', retcode=1) |
| 101 ) |
| 102 |
86 buildername = 'Build-Win-MSVC-x86-Debug' | 103 buildername = 'Build-Win-MSVC-x86-Debug' |
87 yield ( | 104 yield ( |
88 api.test('win_retry_failed_compile') + | 105 api.test('win_retry_failed_compile') + |
89 api.properties(buildername=buildername, | 106 api.properties(buildername=buildername, |
90 mastername=mastername, | 107 mastername=mastername, |
91 slavename=slavename, | 108 slavename=slavename, |
92 buildnumber=5, | 109 buildnumber=5, |
93 revision='abc123', | 110 revision='abc123', |
94 path_config='kitchen', | 111 path_config='kitchen', |
95 swarm_out_dir='[SWARM_OUT_DIR]') + | 112 swarm_out_dir='[SWARM_OUT_DIR]') + |
(...skipping 14 matching lines...) Expand all Loading... |
110 path_config='kitchen', | 127 path_config='kitchen', |
111 swarm_out_dir='[SWARM_OUT_DIR]', | 128 swarm_out_dir='[SWARM_OUT_DIR]', |
112 rietveld='https://codereview.chromium.org', | 129 rietveld='https://codereview.chromium.org', |
113 patchset=1, | 130 patchset=1, |
114 issue=2147533002L) + | 131 issue=2147533002L) + |
115 api.path.exists( | 132 api.path.exists( |
116 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') | 133 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') |
117 ) + | 134 ) + |
118 api.platform('win', 64) | 135 api.platform('win', 64) |
119 ) | 136 ) |
OLD | NEW |