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

Side by Side Diff: scripts/slave/recipes/chromium_trybot.expected/swarming_missing_isolated.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@}@@@",
169 "@@@STEP_LOG_END@json.output@@@",
170 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"base_unittests\": \"[dummy hash for base_unittests]\"}@@@"
171 ]
172 },
173 {
155 "allow_subannotations": true, 174 "allow_subannotations": true,
156 "always_run": true, 175 "always_run": true,
157 "cmd": [ 176 "cmd": [
158 "python", 177 "python",
159 "-u", 178 "-u",
160 "[BUILD]/scripts/slave/runtest.py", 179 "[BUILD]/scripts/slave/runtest.py",
161 "--target", 180 "--target",
162 "Release", 181 "Release",
163 "--xvfb", 182 "--xvfb",
164 "--factory-properties", 183 "--factory-properties",
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 "--builder-name=linux_chromium_rel", 218 "--builder-name=linux_chromium_rel",
200 "--slave-name=TestSlavename", 219 "--slave-name=TestSlavename",
201 "--build-number=571", 220 "--build-number=571",
202 "--run-python-script", 221 "--run-python-script",
203 "[SLAVE_BUILD]/src/tools/perf/run_tests", 222 "[SLAVE_BUILD]/src/tools/perf/run_tests",
204 "--browser=release" 223 "--browser=release"
205 ], 224 ],
206 "name": "telemetry_perf_unittests" 225 "name": "telemetry_perf_unittests"
207 }, 226 },
208 { 227 {
228 "always_run": true,
229 "cmd": [
230 "python",
231 "-u",
232 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py",
233 "trigger",
234 "--swarming",
235 "https://chromium-swarm.appspot.com",
236 "--isolate-server",
237 "https://isolateserver.appspot.com",
238 "--priority",
239 "200",
240 "--shards",
241 "1",
242 "--task-name",
243 "base_unittests (with patch)/Linux/[dummy hash for base_unittests]/linux_c hromium_rel/571",
244 "--dimension",
245 "os",
246 "Linux",
247 "[dummy hash for base_unittests]",
248 "--",
249 "--test-launcher-summary-output=${ISOLATED_OUTDIR}/output.json"
250 ],
251 "name": "[trigger] base_unittests (with patch)"
252 },
253 {
254 "always_run": true,
255 "cmd": [
256 "python",
257 "-u",
258 "\nimport sys\nprint '*.isolated file for target %s is missing' % sys.argv [1]\nsys.exit(1)\n",
259 "browser_tests"
260 ],
261 "name": "[error] browser_tests (with patch)",
262 "~followup_annotations": [
263 "@@@STEP_LOG_LINE@python.inline@@@@",
264 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
265 "@@@STEP_LOG_LINE@python.inline@print '*.isolated file for target %s is mi ssing' % sys.argv[1]@@@",
266 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@",
267 "@@@STEP_LOG_END@python.inline@@@"
268 ]
269 },
270 {
209 "can_fail_build": false, 271 "can_fail_build": false,
210 "cmd": [ 272 "cmd": [
211 "python", 273 "python",
212 "-u", 274 "-u",
213 "[SLAVE_BUILD]/src/tools/checkdeps/checkdeps.py", 275 "[SLAVE_BUILD]/src/tools/checkdeps/checkdeps.py",
214 "--json", 276 "--json",
215 "/path/to/tmp/json" 277 "/path/to/tmp/json"
216 ], 278 ],
217 "name": "checkdeps (with patch)", 279 "name": "checkdeps (with patch)",
218 "~followup_annotations": [ 280 "~followup_annotations": [
(...skipping 29 matching lines...) Expand all
248 "cmd": [ 310 "cmd": [
249 "python", 311 "python",
250 "-u", 312 "-u",
251 "[SLAVE_BUILD]/src/tools/deps2git/deps2submodules.py", 313 "[SLAVE_BUILD]/src/tools/deps2git/deps2submodules.py",
252 "--gitless", 314 "--gitless",
253 "[SLAVE_BUILD]/src/.DEPS.git" 315 "[SLAVE_BUILD]/src/.DEPS.git"
254 ], 316 ],
255 "name": "deps2submodules" 317 "name": "deps2submodules"
256 }, 318 },
257 { 319 {
258 "allow_subannotations": true,
259 "always_run": true,
260 "can_fail_build": false, 320 "can_fail_build": false,
261 "cmd": [ 321 "cmd": [
262 "python", 322 "python",
263 "-u", 323 "-u",
264 "[BUILD]/scripts/slave/runtest.py", 324 "[SLAVE_BUILD]/src/chrome/test/nacl_test_injection/buildbot_nacl_integrati on.py",
265 "--target", 325 "--mode",
266 "Release", 326 "Release",
267 "--xvfb", 327 "--json_build_results_output_file",
268 "--factory-properties", 328 "/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 ], 329 ],
281 "name": "base_unittests (with patch)" 330 "name": "nacl_integration (with patch)",
331 "~followup_annotations": [
332 "@@@STEP_LOG_LINE@json.output@[]@@@",
333 "@@@STEP_LOG_END@json.output@@@"
334 ]
282 }, 335 },
283 { 336 {
284 "allow_subannotations": true, 337 "allow_subannotations": true,
285 "always_run": true, 338 "always_run": true,
286 "can_fail_build": false, 339 "can_fail_build": false,
287 "cmd": [ 340 "cmd": [
288 "python", 341 "python",
289 "-u", 342 "-u",
290 "[BUILD]/scripts/slave/runtest.py", 343 "[BUILD]/scripts/slave/recipe_modules/swarming/resources/collect_gtest_tas k.py",
291 "--target", 344 "--swarming-client-dir",
292 "Release", 345 "[SLAVE_BUILD]/src/tools/swarming_client",
293 "--xvfb", 346 "--temp-root-dir",
294 "--factory-properties", 347 "[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\"}", 348 "--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", 349 "/path/to/tmp/json",
301 "--builder-name=linux_chromium_rel", 350 "--",
302 "--slave-name=TestSlavename", 351 "collect",
303 "--build-number=571", 352 "--swarming",
304 "--parallel", 353 "https://chromium-swarm.appspot.com",
305 "mojo_common_unittests" 354 "--shards",
355 "1",
356 "--decorate",
357 "--print-status-updates",
358 "base_unittests (with patch)/Linux/[dummy hash for base_unittests]/linux_c hromium_rel/571"
306 ], 359 ],
307 "name": "mojo_common_unittests (with patch)" 360 "name": "[swarming] base_unittests (with patch)"
308 }, 361 },
309 { 362 {
310 "allow_subannotations": true,
311 "always_run": true, 363 "always_run": true,
312 "can_fail_build": false,
313 "cmd": [ 364 "cmd": [
314 "python", 365 "python",
315 "-u", 366 "-u",
316 "[BUILD]/scripts/slave/runtest.py", 367 "\nimport sys\nprint 'TEST RESULTS WERE INVALID'\nsys.exit(1)\n"
317 "--target",
318 "Release",
319 "--xvfb",
320 "--factory-properties",
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\"}",
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",
327 "--builder-name=linux_chromium_rel",
328 "--slave-name=TestSlavename",
329 "--build-number=571",
330 "--parallel",
331 "browser_tests"
332 ], 368 ],
333 "name": "browser_tests (with patch)" 369 "name": "browser_tests",
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": [ 370 "~followup_annotations": [
348 "@@@STEP_LOG_LINE@json.output@[]@@@", 371 "@@@STEP_LOG_LINE@python.inline@@@@",
349 "@@@STEP_LOG_END@json.output@@@" 372 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
373 "@@@STEP_LOG_LINE@python.inline@print 'TEST RESULTS WERE INVALID'@@@",
374 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@",
375 "@@@STEP_LOG_END@python.inline@@@"
350 ] 376 ]
351 } 377 }
352 ] 378 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698