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

Side by Side Diff: scripts/slave/recipes/chromium_trybot.expected/swarming_basic.json

Issue 313693003: Swarming: conditionally run tests on swarming in chromium_trybot recipe. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 6 years, 6 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
OLDNEW
1 [ 1 [
2 { 2 {
3 "abort_on_failure": true, 3 "abort_on_failure": true,
4 "cmd": [ 4 "cmd": [
5 "python", 5 "python",
6 "-u", 6 "-u",
7 "[BUILD]/scripts/slave/bot_update.py", 7 "[BUILD]/scripts/slave/bot_update.py",
8 "--master", 8 "--master",
9 "tryserver.chromium", 9 "tryserver.chromium",
10 "--builder", 10 "--builder",
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 "cmd": [ 72 "cmd": [
73 "python", 73 "python",
74 "-u", 74 "-u",
75 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 75 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
76 "[SLAVE_BUILD]/src/testing/buildbot/chromium_trybot.json", 76 "[SLAVE_BUILD]/src/testing/buildbot/chromium_trybot.json",
77 "/path/to/tmp/json" 77 "/path/to/tmp/json"
78 ], 78 ],
79 "name": "read test spec", 79 "name": "read test spec",
80 "~followup_annotations": [ 80 "~followup_annotations": [
81 "@@@STEP_TEXT@path: testing/buildbot/chromium_trybot.json@@@", 81 "@@@STEP_TEXT@path: testing/buildbot/chromium_trybot.json@@@",
82 "@@@STEP_LOG_LINE@json.output@[@@@", 82 "@@@STEP_LOG_LINE@json.output@{@@@",
83 "@@@STEP_LOG_LINE@json.output@ \"base_unittests\", @@@", 83 "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@",
84 "@@@STEP_LOG_LINE@json.output@ {@@@", 84 "@@@STEP_LOG_LINE@json.output@ {@@@",
85 "@@@STEP_LOG_LINE@json.output@ \"platforms\": [@@@", 85 "@@@STEP_LOG_LINE@json.output@ \"swarming\": true, @@@",
86 "@@@STEP_LOG_LINE@json.output@ \"linux\", @@@", 86 "@@@STEP_LOG_LINE@json.output@ \"test\": \"base_unittests\"@@@",
87 "@@@STEP_LOG_LINE@json.output@ \"mac\"@@@", 87 "@@@STEP_LOG_LINE@json.output@ }, @@@",
88 "@@@STEP_LOG_LINE@json.output@ ], @@@", 88 "@@@STEP_LOG_LINE@json.output@ {@@@",
89 "@@@STEP_LOG_LINE@json.output@ \"test\": \"mojo_common_unittests\"@@@", 89 "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@",
90 "@@@STEP_LOG_LINE@json.output@ }, @@@", 90 "@@@STEP_LOG_LINE@json.output@ \"platforms\": [@@@",
91 "@@@STEP_LOG_LINE@json.output@ {@@@", 91 "@@@STEP_LOG_LINE@json.output@ \"linux\"@@@",
92 "@@@STEP_LOG_LINE@json.output@ \"args\": [@@@", 92 "@@@STEP_LOG_LINE@json.output@ ]@@@",
93 "@@@STEP_LOG_LINE@json.output@ \"--test-launcher-print-test-stdio=alw ays\"@@@", 93 "@@@STEP_LOG_LINE@json.output@ }, @@@",
94 "@@@STEP_LOG_LINE@json.output@ ], @@@", 94 "@@@STEP_LOG_LINE@json.output@ \"test\": \"browser_tests\"@@@",
95 "@@@STEP_LOG_LINE@json.output@ \"chromium_configs\": [@@@", 95 "@@@STEP_LOG_LINE@json.output@ }@@@",
96 "@@@STEP_LOG_LINE@json.output@ \"chromium_chromeos\", @@@", 96 "@@@STEP_LOG_LINE@json.output@ ]@@@",
97 "@@@STEP_LOG_LINE@json.output@ \"chromium_chromeos_clang\"@@@", 97 "@@@STEP_LOG_LINE@json.output@}@@@",
98 "@@@STEP_LOG_LINE@json.output@ ], @@@",
99 "@@@STEP_LOG_LINE@json.output@ \"platforms\": [@@@",
100 "@@@STEP_LOG_LINE@json.output@ \"linux\"@@@",
101 "@@@STEP_LOG_LINE@json.output@ ], @@@",
102 "@@@STEP_LOG_LINE@json.output@ \"test\": \"sandbox_linux_unittests\"@@@ ",
103 "@@@STEP_LOG_LINE@json.output@ }, @@@",
104 "@@@STEP_LOG_LINE@json.output@ {@@@",
105 "@@@STEP_LOG_LINE@json.output@ \"exclude_builders\": [@@@",
106 "@@@STEP_LOG_LINE@json.output@ \"tryserver.chromium:win_chromium_x64_ rel\"@@@",
107 "@@@STEP_LOG_LINE@json.output@ ], @@@",
108 "@@@STEP_LOG_LINE@json.output@ \"test\": \"browser_tests\"@@@",
109 "@@@STEP_LOG_LINE@json.output@ }@@@",
110 "@@@STEP_LOG_LINE@json.output@]@@@",
111 "@@@STEP_LOG_END@json.output@@@" 98 "@@@STEP_LOG_END@json.output@@@"
112 ] 99 ]
113 }, 100 },
114 { 101 {
115 "abort_on_failure": false, 102 "abort_on_failure": false,
116 "can_fail_build": false, 103 "can_fail_build": false,
117 "cmd": [ 104 "cmd": [
118 "python", 105 "python",
119 "-u", 106 "-u",
120 "[DEPOT_TOOLS]/gclient.py", 107 "[DEPOT_TOOLS]/gclient.py",
121 "runhooks" 108 "runhooks"
122 ], 109 ],
123 "env": { 110 "env": {
124 "GYP_DEFINES": "component=static_library dcheck_always_on=1 fastbuild=1 go madir='[BUILD]/goma' target_arch=x64 use_goma=1" 111 "GYP_DEFINES": "component=static_library dcheck_always_on=1 fastbuild=1 go madir='[BUILD]/goma' target_arch=x64 test_isolation_mode=archive test_isolation_ outdir=https://isolateserver.appspot.com use_goma=1"
125 }, 112 },
126 "name": "gclient runhooks" 113 "name": "gclient runhooks"
127 }, 114 },
128 { 115 {
116 "cmd": [
117 "python",
118 "-u",
119 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py",
120 "--version"
121 ],
122 "name": "swarming.py --version",
123 "stdout": "/path/to/tmp/",
124 "~followup_annotations": [
125 "@@@STEP_TEXT@0.4.8@@@"
126 ]
127 },
128 {
129 "abort_on_failure": false, 129 "abort_on_failure": false,
130 "can_fail_build": false, 130 "can_fail_build": false,
131 "cmd": [ 131 "cmd": [
132 "python", 132 "python",
133 "-u", 133 "-u",
134 "[BUILD]/scripts/slave/compile.py", 134 "[BUILD]/scripts/slave/compile.py",
135 "--target", 135 "--target",
136 "Release", 136 "Release",
137 "--src-dir", 137 "--src-dir",
138 "[SLAVE_BUILD]/src", 138 "[SLAVE_BUILD]/src",
139 "--build-tool", 139 "--build-tool",
140 "ninja", 140 "ninja",
141 "--compiler", 141 "--compiler",
142 "goma", 142 "goma",
143 "--goma-dir", 143 "--goma-dir",
144 "[BUILD]/goma", 144 "[BUILD]/goma",
145 "--", 145 "--",
146 "all", 146 "all",
147 "base_unittests", 147 "base_unittests_run",
148 "mojo_common_unittests", 148 "browser_tests_run",
149 "browser_tests",
150 "chrome" 149 "chrome"
151 ], 150 ],
152 "name": "compile (with patch)" 151 "name": "compile (with patch)"
153 }, 152 },
154 { 153 {
154 "abort_on_failure": true,
155 "cmd": [
156 "python",
157 "-u",
158 "[BUILD]/scripts/slave/recipe_modules/isolate/resources/find_isolated_test s.py",
159 "--build-dir",
160 "[SLAVE_BUILD]/src/out/Release",
161 "--output-json",
162 "/path/to/tmp/json"
163 ],
164 "name": "find isolated tests",
165 "~followup_annotations": [
166 "@@@STEP_LOG_LINE@json.output@{@@@",
167 "@@@STEP_LOG_LINE@json.output@ \"base_unittests\": \"[dummy hash for base _unittests]\", @@@",
168 "@@@STEP_LOG_LINE@json.output@ \"browser_tests\": \"[dummy hash for brows er_tests]\"@@@",
169 "@@@STEP_LOG_LINE@json.output@}@@@",
170 "@@@STEP_LOG_END@json.output@@@",
171 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"base_unittests\": \"[dummy hash for base_unittests]\", \"browser_tests\": \"[dummy hash for browser_tests]\"}@@@"
172 ]
173 },
174 {
155 "allow_subannotations": true, 175 "allow_subannotations": true,
156 "always_run": true, 176 "always_run": true,
157 "cmd": [ 177 "cmd": [
158 "python", 178 "python",
159 "-u", 179 "-u",
160 "[BUILD]/scripts/slave/runtest.py", 180 "[BUILD]/scripts/slave/runtest.py",
161 "--target", 181 "--target",
162 "Release", 182 "Release",
163 "--xvfb", 183 "--xvfb",
164 "--factory-properties", 184 "--factory-properties",
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 "--builder-name=linux_chromium_rel", 219 "--builder-name=linux_chromium_rel",
200 "--slave-name=TestSlavename", 220 "--slave-name=TestSlavename",
201 "--build-number=571", 221 "--build-number=571",
202 "--run-python-script", 222 "--run-python-script",
203 "[SLAVE_BUILD]/src/tools/perf/run_tests", 223 "[SLAVE_BUILD]/src/tools/perf/run_tests",
204 "--browser=release" 224 "--browser=release"
205 ], 225 ],
206 "name": "telemetry_perf_unittests" 226 "name": "telemetry_perf_unittests"
207 }, 227 },
208 { 228 {
229 "always_run": true,
230 "cmd": [
231 "python",
232 "-u",
233 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py",
234 "trigger",
235 "--swarming",
236 "https://chromium-swarm.appspot.com",
237 "--isolate-server",
238 "https://isolateserver.appspot.com",
239 "--priority",
240 "200",
241 "--shards",
242 "1",
243 "--task-name",
244 "base_unittests (with patch)/Linux/[dummy hash for base_unittests]/linux_c hromium_rel/571",
245 "--dimension",
246 "os",
247 "Linux",
248 "[dummy hash for base_unittests]",
249 "--",
250 "--test-launcher-summary-output=${ISOLATED_OUTDIR}/output.json"
251 ],
252 "name": "[trigger] base_unittests (with patch)"
253 },
254 {
255 "always_run": true,
256 "cmd": [
257 "python",
258 "-u",
259 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py",
260 "trigger",
261 "--swarming",
262 "https://chromium-swarm.appspot.com",
263 "--isolate-server",
264 "https://isolateserver.appspot.com",
265 "--priority",
266 "200",
267 "--shards",
268 "1",
269 "--task-name",
270 "browser_tests (with patch)/Linux/[dummy hash for browser_tests]/linux_chr omium_rel/571",
271 "--dimension",
272 "os",
273 "Linux",
274 "[dummy hash for browser_tests]",
275 "--",
276 "--test-launcher-summary-output=${ISOLATED_OUTDIR}/output.json"
277 ],
278 "name": "[trigger] browser_tests (with patch)"
279 },
280 {
209 "can_fail_build": false, 281 "can_fail_build": false,
210 "cmd": [ 282 "cmd": [
211 "python", 283 "python",
212 "-u", 284 "-u",
213 "[SLAVE_BUILD]/src/tools/checkdeps/checkdeps.py", 285 "[SLAVE_BUILD]/src/tools/checkdeps/checkdeps.py",
214 "--json", 286 "--json",
215 "/path/to/tmp/json" 287 "/path/to/tmp/json"
216 ], 288 ],
217 "name": "checkdeps (with patch)", 289 "name": "checkdeps (with patch)",
218 "~followup_annotations": [ 290 "~followup_annotations": [
(...skipping 29 matching lines...) Expand all
248 "cmd": [ 320 "cmd": [
249 "python", 321 "python",
250 "-u", 322 "-u",
251 "[SLAVE_BUILD]/src/tools/deps2git/deps2submodules.py", 323 "[SLAVE_BUILD]/src/tools/deps2git/deps2submodules.py",
252 "--gitless", 324 "--gitless",
253 "[SLAVE_BUILD]/src/.DEPS.git" 325 "[SLAVE_BUILD]/src/.DEPS.git"
254 ], 326 ],
255 "name": "deps2submodules" 327 "name": "deps2submodules"
256 }, 328 },
257 { 329 {
258 "allow_subannotations": true,
259 "always_run": true,
260 "can_fail_build": false, 330 "can_fail_build": false,
261 "cmd": [ 331 "cmd": [
262 "python", 332 "python",
263 "-u", 333 "-u",
264 "[BUILD]/scripts/slave/runtest.py", 334 "[SLAVE_BUILD]/src/chrome/test/nacl_test_injection/buildbot_nacl_integrati on.py",
265 "--target", 335 "--mode",
266 "Release", 336 "Release",
267 "--xvfb", 337 "--json_build_results_output_file",
268 "--factory-properties", 338 "/path/to/tmp/json"
269 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"\", \"build_config\": \"Release\", \"buildername\": \"linux_chromium _rel\", \"buildnumber\": 571, \"issue\": 12853011, \"mastername\": \"tryserver.c hromium\", \"patchset\": 1, \"project\": \"chrome\", \"recipe\": \"chromium_tryb ot\", \"repository\": \"\", \"requester\": \"commit-bot@chromium.org\", \"revisi on\": null, \"rietveld\": \"https://codereview.chromium.org\", \"root\": \"src\" , \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavenam e\"}",
270 "--build-properties",
271 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"\", \"build_config\": \"Release\", \"buildername\": \"linux_chromium _rel\", \"buildnumber\": 571, \"issue\": 12853011, \"mastername\": \"tryserver.c hromium\", \"patchset\": 1, \"project\": \"chrome\", \"recipe\": \"chromium_tryb ot\", \"repository\": \"\", \"requester\": \"commit-bot@chromium.org\", \"revisi on\": null, \"rietveld\": \"https://codereview.chromium.org\", \"root\": \"src\" , \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavenam e\"}",
272 "--annotate=gtest",
273 "--test-launcher-summary-output",
274 "/path/to/tmp/json",
275 "--builder-name=linux_chromium_rel",
276 "--slave-name=TestSlavename",
277 "--build-number=571",
278 "--parallel",
279 "base_unittests"
280 ], 339 ],
281 "name": "base_unittests (with patch)" 340 "name": "nacl_integration (with patch)",
341 "~followup_annotations": [
342 "@@@STEP_LOG_LINE@json.output@[]@@@",
343 "@@@STEP_LOG_END@json.output@@@"
344 ]
282 }, 345 },
283 { 346 {
284 "allow_subannotations": true, 347 "allow_subannotations": true,
285 "always_run": true, 348 "always_run": true,
286 "can_fail_build": false, 349 "can_fail_build": false,
287 "cmd": [ 350 "cmd": [
288 "python", 351 "python",
289 "-u", 352 "-u",
290 "[BUILD]/scripts/slave/runtest.py", 353 "[BUILD]/scripts/slave/recipe_modules/swarming/resources/collect_gtest_tas k.py",
291 "--target", 354 "--swarming-client-dir",
292 "Release", 355 "[SLAVE_BUILD]/src/tools/swarming_client",
293 "--xvfb", 356 "--temp-root-dir",
294 "--factory-properties", 357 "[TMP_BASE]",
295 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"\", \"build_config\": \"Release\", \"buildername\": \"linux_chromium _rel\", \"buildnumber\": 571, \"issue\": 12853011, \"mastername\": \"tryserver.c hromium\", \"patchset\": 1, \"project\": \"chrome\", \"recipe\": \"chromium_tryb ot\", \"repository\": \"\", \"requester\": \"commit-bot@chromium.org\", \"revisi on\": null, \"rietveld\": \"https://codereview.chromium.org\", \"root\": \"src\" , \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavenam e\"}", 358 "--merged-test-output",
296 "--build-properties",
297 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"\", \"build_config\": \"Release\", \"buildername\": \"linux_chromium _rel\", \"buildnumber\": 571, \"issue\": 12853011, \"mastername\": \"tryserver.c hromium\", \"patchset\": 1, \"project\": \"chrome\", \"recipe\": \"chromium_tryb ot\", \"repository\": \"\", \"requester\": \"commit-bot@chromium.org\", \"revisi on\": null, \"rietveld\": \"https://codereview.chromium.org\", \"root\": \"src\" , \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavenam e\"}",
298 "--annotate=gtest",
299 "--test-launcher-summary-output",
300 "/path/to/tmp/json", 359 "/path/to/tmp/json",
301 "--builder-name=linux_chromium_rel", 360 "--",
302 "--slave-name=TestSlavename", 361 "collect",
303 "--build-number=571", 362 "--swarming",
304 "--parallel", 363 "https://chromium-swarm.appspot.com",
305 "mojo_common_unittests" 364 "--shards",
365 "1",
366 "--decorate",
367 "--print-status-updates",
368 "base_unittests (with patch)/Linux/[dummy hash for base_unittests]/linux_c hromium_rel/571"
306 ], 369 ],
307 "name": "mojo_common_unittests (with patch)" 370 "name": "[swarming] base_unittests (with patch)"
308 }, 371 },
309 { 372 {
310 "allow_subannotations": true, 373 "allow_subannotations": true,
311 "always_run": true, 374 "always_run": true,
312 "can_fail_build": false, 375 "can_fail_build": false,
313 "cmd": [ 376 "cmd": [
314 "python", 377 "python",
315 "-u", 378 "-u",
316 "[BUILD]/scripts/slave/runtest.py", 379 "[BUILD]/scripts/slave/recipe_modules/swarming/resources/collect_gtest_tas k.py",
317 "--target", 380 "--swarming-client-dir",
318 "Release", 381 "[SLAVE_BUILD]/src/tools/swarming_client",
319 "--xvfb", 382 "--temp-root-dir",
320 "--factory-properties", 383 "[TMP_BASE]",
321 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"\", \"build_config\": \"Release\", \"buildername\": \"linux_chromium _rel\", \"buildnumber\": 571, \"issue\": 12853011, \"mastername\": \"tryserver.c hromium\", \"patchset\": 1, \"project\": \"chrome\", \"recipe\": \"chromium_tryb ot\", \"repository\": \"\", \"requester\": \"commit-bot@chromium.org\", \"revisi on\": null, \"rietveld\": \"https://codereview.chromium.org\", \"root\": \"src\" , \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavenam e\"}", 384 "--merged-test-output",
322 "--build-properties",
323 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"\", \"build_config\": \"Release\", \"buildername\": \"linux_chromium _rel\", \"buildnumber\": 571, \"issue\": 12853011, \"mastername\": \"tryserver.c hromium\", \"patchset\": 1, \"project\": \"chrome\", \"recipe\": \"chromium_tryb ot\", \"repository\": \"\", \"requester\": \"commit-bot@chromium.org\", \"revisi on\": null, \"rietveld\": \"https://codereview.chromium.org\", \"root\": \"src\" , \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavenam e\"}",
324 "--annotate=gtest",
325 "--test-launcher-summary-output",
326 "/path/to/tmp/json", 385 "/path/to/tmp/json",
327 "--builder-name=linux_chromium_rel", 386 "--",
328 "--slave-name=TestSlavename", 387 "collect",
329 "--build-number=571", 388 "--swarming",
330 "--parallel", 389 "https://chromium-swarm.appspot.com",
331 "browser_tests" 390 "--shards",
391 "1",
392 "--decorate",
393 "--print-status-updates",
394 "browser_tests (with patch)/Linux/[dummy hash for browser_tests]/linux_chr omium_rel/571"
332 ], 395 ],
333 "name": "browser_tests (with patch)" 396 "name": "[swarming] browser_tests (with patch)"
334 },
335 {
336 "can_fail_build": false,
337 "cmd": [
338 "python",
339 "-u",
340 "[SLAVE_BUILD]/src/chrome/test/nacl_test_injection/buildbot_nacl_integrati on.py",
341 "--mode",
342 "Release",
343 "--json_build_results_output_file",
344 "/path/to/tmp/json"
345 ],
346 "name": "nacl_integration (with patch)",
347 "~followup_annotations": [
348 "@@@STEP_LOG_LINE@json.output@[]@@@",
349 "@@@STEP_LOG_END@json.output@@@"
350 ]
351 } 397 }
352 ] 398 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698