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

Side by Side Diff: scripts/slave/recipe_modules/auto_bisect/example.expected/failed_build_test.json

Issue 1339613005: Refactoring scripts that wait for buildbot jobs to complete. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@hax
Patch Set: removing blank line Created 5 years, 3 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
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "git", 4 "git",
5 "update-ref", 5 "update-ref",
6 "refs/heads/master", 6 "refs/heads/master",
7 "refs/remotes/origin/master" 7 "refs/remotes/origin/master"
8 ], 8 ],
9 "cwd": "[TMP_BASE]/fake_checkout_tmp_1", 9 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
10 "name": "git update-ref" 10 "name": "git update-ref"
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 ], 107 ],
108 "cwd": "[SLAVE_BUILD]/src", 108 "cwd": "[SLAVE_BUILD]/src",
109 "name": "Expanding revision range.for revisions a6298e4afedbf2cd461755ea6f45 b0ad64222222:00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111", 109 "name": "Expanding revision range.for revisions a6298e4afedbf2cd461755ea6f45 b0ad64222222:00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111",
110 "stdout": "/path/to/tmp/", 110 "stdout": "/path/to/tmp/",
111 "~followup_annotations": [ 111 "~followup_annotations": [
112 "@@@STEP_NEST_LEVEL@1@@@" 112 "@@@STEP_NEST_LEVEL@1@@@"
113 ] 113 ]
114 }, 114 },
115 { 115 {
116 "cmd": [ 116 "cmd": [
117 "git",
118 "footers",
119 "--position",
120 "dcdcdc0ff1122212323134879ddceeb1240b0988"
121 ],
122 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
123 "name": "Expanding revision range.resolving hash dcdcdc0ff1122212323134879dd ceeb1240b0988",
124 "stdout": "/path/to/tmp/",
125 "~followup_annotations": [
126 "@@@STEP_NEST_LEVEL@1@@@"
127 ]
128 },
129 {
130 "cmd": [
131 "git",
132 "log",
133 "--format=hash:%H",
134 "--grep",
135 "Cr-Commit-Position: refs/heads/master@{#314016}",
136 "-1",
137 "origin/master"
138 ],
139 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
140 "name": "Expanding revision range.resolving commit_pos 314016",
141 "stdout": "/path/to/tmp/",
142 "~followup_annotations": [
143 "@@@STEP_NEST_LEVEL@1@@@"
144 ]
145 },
146 {
147 "cmd": [
148 "python", 117 "python",
149 "-u", 118 "-u",
150 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", 119 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
151 "--", 120 "--",
152 "[DEPOT_TOOLS]/gsutil.py", 121 "[DEPOT_TOOLS]/gsutil.py",
153 "--force-version", 122 "--force-version",
154 "3.25", 123 "3.25",
155 "----", 124 "----",
156 "ls", 125 "ls",
157 "gs://chrome-perf/Linux Builder/full-build-linux_a6298e4afedbf2cd461755ea6 f45b0ad64222222.zip" 126 "gs://chrome-perf/Linux Builder/full-build-linux_a6298e4afedbf2cd461755ea6 f45b0ad64222222.zip"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 "/dev/null" 182 "/dev/null"
214 ], 183 ],
215 "cwd": "[TMP_BASE]/fake_checkout_tmp_1", 184 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
216 "name": "Requesting build for 00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111 via g it try." 185 "name": "Requesting build for 00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111 via g it try."
217 }, 186 },
218 { 187 {
219 "cmd": [ 188 "cmd": [
220 "python", 189 "python",
221 "-u", 190 "-u",
222 "RECIPE_MODULE[auto_bisect]/resources/wait_for_any.py", 191 "RECIPE_MODULE[auto_bisect]/resources/wait_for_any.py",
223 "[DEPOT_TOOLS]/gsutil.py", 192 "[DEPOT_TOOLS]/gsutil.py"
224 "gs://chrome-perf/Linux Builder/full-build-linux_00316c9ddfb9d7b4e1ed2fff9 fe6d964d2111111.zip",
225 "gs://chrome-perf/Linux Builder/full-build-linux_a6298e4afedbf2cd461755ea6 f45b0ad64222222.zip",
226 "bb:tryserver.chromium.perf:linux_perf_bisect_builder:00316c9ddfb9d7b4e1ed 2fff9fe6d964d2111111-build",
227 "bb:tryserver.chromium.perf:linux_perf_bisect_builder:a6298e4afedbf2cd4617 55ea6f45b0ad64222222-build",
228 "--timeout=7200"
229 ], 193 ],
230 "cwd": "[SLAVE_BUILD]", 194 "cwd": "[SLAVE_BUILD]",
231 "name": "Waiting for revision 314015 and 1 other revision(s).", 195 "name": "Waiting for revision 314015 and 1 other revision(s).",
232 "stdout": "/path/to/tmp/" 196 "stdin": "{\"jobs\": [{\"builder\": \"linux_perf_bisect_builder\", \"job_nam e\": \"a6298e4afedbf2cd461755ea6f45b0ad64222222-build\", \"master\": \"tryserver .chromium.perf\", \"type\": \"buildbot\"}, {\"builder\": \"linux_perf_bisect_bui lder\", \"job_name\": \"00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111-build\", \"mast er\": \"tryserver.chromium.perf\", \"type\": \"buildbot\"}, {\"location\": \"gs: //chrome-perf/Linux Builder/full-build-linux_a6298e4afedbf2cd461755ea6f45b0ad642 22222.zip\", \"type\": \"gs\"}, {\"location\": \"gs://chrome-perf/Linux Builder/ full-build-linux_00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111.zip\", \"type\": \"gs\ "}]}",
197 "stdout": "/path/to/tmp/json",
198 "~followup_annotations": [
199 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
200 "@@@STEP_LOG_END@json.output (invalid)@@@"
201 ]
233 }, 202 },
234 { 203 {
235 "cmd": [ 204 "cmd": [
236 "python", 205 "python",
237 "-u", 206 "-u",
238 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", 207 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
239 "--", 208 "--",
240 "[DEPOT_TOOLS]/gsutil.py", 209 "[DEPOT_TOOLS]/gsutil.py",
241 "--force-version", 210 "--force-version",
242 "3.25", 211 "3.25",
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 "revision": "00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111" 278 "revision": "00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111"
310 } 279 }
311 } 280 }
312 ] 281 ]
313 }, 282 },
314 { 283 {
315 "cmd": [ 284 "cmd": [
316 "python", 285 "python",
317 "-u", 286 "-u",
318 "RECIPE_MODULE[auto_bisect]/resources/wait_for_any.py", 287 "RECIPE_MODULE[auto_bisect]/resources/wait_for_any.py",
319 "[DEPOT_TOOLS]/gsutil.py", 288 "[DEPOT_TOOLS]/gsutil.py"
320 "gs://chrome-perf/bisect-results/00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111- test.results",
321 "gs://chrome-perf/bisect-results/a6298e4afedbf2cd461755ea6f45b0ad64222222- test.results",
322 "bb:tryserver.chromium.perf:linux_perf_tester:a6298e4afedbf2cd461755ea6f45 b0ad64222222-test",
323 "bb:tryserver.chromium.perf:linux_perf_tester:00316c9ddfb9d7b4e1ed2fff9fe6 d964d2111111-test",
324 "--timeout=7200"
325 ], 289 ],
326 "cwd": "[SLAVE_BUILD]", 290 "cwd": "[SLAVE_BUILD]",
327 "name": "Waiting for revision 314015 and 1 other revision(s). (2)", 291 "name": "Waiting for revision 314015 and 1 other revision(s). (2)",
328 "stdout": "/path/to/tmp/" 292 "stdin": "{\"jobs\": [{\"builder\": \"linux_perf_tester\", \"job_name\": \"a 6298e4afedbf2cd461755ea6f45b0ad64222222-test\", \"master\": \"tryserver.chromium .perf\", \"type\": \"buildbot\"}, {\"builder\": \"linux_perf_tester\", \"job_nam e\": \"00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111-test\", \"master\": \"tryserver. chromium.perf\", \"type\": \"buildbot\"}, {\"location\": \"gs://chrome-perf/bise ct-results/a6298e4afedbf2cd461755ea6f45b0ad64222222-test.results\", \"type\": \" gs\"}, {\"location\": \"gs://chrome-perf/bisect-results/00316c9ddfb9d7b4e1ed2fff 9fe6d964d2111111-test.results\", \"type\": \"gs\"}]}",
329 }, 293 "stdout": "/path/to/tmp/json",
330 { 294 "~followup_annotations": [
331 "cmd": [ 295 "@@@STEP_LOG_LINE@json.output@{@@@",
332 "python", 296 "@@@STEP_LOG_LINE@json.output@ \"failed\": [@@@",
333 "-u", 297 "@@@STEP_LOG_LINE@json.output@ {@@@",
334 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", 298 "@@@STEP_LOG_LINE@json.output@ \"builder\": \"linux_perf_tester\", @@ @",
335 "--", 299 "@@@STEP_LOG_LINE@json.output@ \"job_name\": \"a6298e4afedbf2cd461755 ea6f45b0ad64222222-test\", @@@",
336 "[DEPOT_TOOLS]/gsutil.py", 300 "@@@STEP_LOG_LINE@json.output@ \"job_url\": \"http://tempuri.org/log\ ", @@@",
337 "--force-version", 301 "@@@STEP_LOG_LINE@json.output@ \"master\": \"tryserver.chromium.perf\ ", @@@",
338 "3.25", 302 "@@@STEP_LOG_LINE@json.output@ \"type\": \"buildbot\"@@@",
339 "----", 303 "@@@STEP_LOG_LINE@json.output@ }@@@",
340 "ls", 304 "@@@STEP_LOG_LINE@json.output@ ]@@@",
341 "gs://chrome-perf/bisect-results/a6298e4afedbf2cd461755ea6f45b0ad64222222- test.results" 305 "@@@STEP_LOG_LINE@json.output@}@@@",
342 ], 306 "@@@STEP_LOG_END@json.output@@@",
343 "cwd": "[SLAVE_BUILD]", 307 "@@@STEP_LINK@Failed build@http://tempuri.org/log@@@",
344 "name": "gsutil ls (5)" 308 "@@@STEP_FAILURE@@@"
345 }, 309 ]
346 {
347 "cmd": [
348 "python",
349 "-u",
350 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
351 "--",
352 "[DEPOT_TOOLS]/gsutil.py",
353 "--force-version",
354 "3.25",
355 "----",
356 "cat",
357 "gs://chrome-perf/bisect-results/a6298e4afedbf2cd461755ea6f45b0ad64222222- test.results"
358 ],
359 "cwd": "[SLAVE_BUILD]",
360 "name": "gsutil Get test results for build a6298e4afedbf2cd461755ea6f45b0ad6 4222222",
361 "stdout": "/path/to/tmp/"
362 }, 310 },
363 { 311 {
364 "cmd": [ 312 "cmd": [
365 "python", 313 "python",
366 "-u", 314 "-u",
367 "RECIPE_MODULE[auto_bisect]/resources/wait_for_any.py", 315 "RECIPE_MODULE[auto_bisect]/resources/wait_for_any.py",
368 "[DEPOT_TOOLS]/gsutil.py", 316 "[DEPOT_TOOLS]/gsutil.py"
369 "gs://chrome-perf/bisect-results/00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111- test.results",
370 "bb:tryserver.chromium.perf:linux_perf_tester:00316c9ddfb9d7b4e1ed2fff9fe6 d964d2111111-test",
371 "--timeout=7200"
372 ], 317 ],
373 "cwd": "[SLAVE_BUILD]", 318 "cwd": "[SLAVE_BUILD]",
374 "name": "Waiting for revision 314017", 319 "name": "Waiting for revision 314017",
375 "stdout": "/path/to/tmp/" 320 "stdin": "{\"jobs\": [{\"builder\": \"linux_perf_tester\", \"job_name\": \"0 0316c9ddfb9d7b4e1ed2fff9fe6d964d2111111-test\", \"master\": \"tryserver.chromium .perf\", \"type\": \"buildbot\"}, {\"location\": \"gs://chrome-perf/bisect-resul ts/00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111-test.results\", \"type\": \"gs\"}]}" ,
321 "stdout": "/path/to/tmp/json",
322 "~followup_annotations": [
323 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
324 "@@@STEP_LOG_END@json.output (invalid)@@@"
325 ]
376 }, 326 },
377 { 327 {
378 "cmd": [ 328 "cmd": [
379 "python", 329 "python",
380 "-u", 330 "-u",
381 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", 331 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
382 "--", 332 "--",
383 "[DEPOT_TOOLS]/gsutil.py", 333 "[DEPOT_TOOLS]/gsutil.py",
384 "--force-version", 334 "--force-version",
385 "3.25", 335 "3.25",
386 "----", 336 "----",
387 "ls", 337 "ls",
388 "gs://chrome-perf/bisect-results/00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111- test.results" 338 "gs://chrome-perf/bisect-results/00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111- test.results"
389 ], 339 ],
390 "cwd": "[SLAVE_BUILD]", 340 "cwd": "[SLAVE_BUILD]",
391 "name": "gsutil ls (6)" 341 "name": "gsutil ls (5)"
392 }, 342 },
393 { 343 {
394 "cmd": [ 344 "cmd": [
395 "python", 345 "python",
396 "-u", 346 "-u",
397 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", 347 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
398 "--", 348 "--",
399 "[DEPOT_TOOLS]/gsutil.py", 349 "[DEPOT_TOOLS]/gsutil.py",
400 "--force-version", 350 "--force-version",
401 "3.25", 351 "3.25",
402 "----", 352 "----",
403 "cat", 353 "cat",
404 "gs://chrome-perf/bisect-results/00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111- test.results" 354 "gs://chrome-perf/bisect-results/00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111- test.results"
405 ], 355 ],
406 "cwd": "[SLAVE_BUILD]", 356 "cwd": "[SLAVE_BUILD]",
407 "name": "gsutil Get test results for build 00316c9ddfb9d7b4e1ed2fff9fe6d964d 2111111", 357 "name": "gsutil Get test results for build 00316c9ddfb9d7b4e1ed2fff9fe6d964d 2111111",
408 "stdout": "/path/to/tmp/" 358 "stdout": "/path/to/tmp/"
409 },
410 {
411 "cmd": [
412 "python",
413 "-u",
414 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
415 "--",
416 "[DEPOT_TOOLS]/gsutil.py",
417 "--force-version",
418 "3.25",
419 "----",
420 "ls",
421 "gs://chrome-perf/Linux Builder/full-build-linux_dcdcdc0ff1122212323134879 ddceeb1240b0988.zip"
422 ],
423 "cwd": "[SLAVE_BUILD]",
424 "name": "gsutil ls (7)"
425 },
426 {
427 "cmd": [
428 "git",
429 "-c",
430 "user.email=FAKE_PERF_PUMPKIN@chromium.org",
431 "try",
432 "--bot",
433 "linux_perf_bisect_builder",
434 "--revision",
435 "dcdcdc0ff1122212323134879ddceeb1240b0988",
436 "--name",
437 "dcdcdc0ff1122212323134879ddceeb1240b0988-build",
438 "--svn_repo",
439 "svn://svn.chromium.org/chrome-try/try-perf",
440 "--diff",
441 "/dev/null"
442 ],
443 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
444 "name": "Requesting build for dcdcdc0ff1122212323134879ddceeb1240b0988 via g it try."
445 },
446 {
447 "cmd": [
448 "python",
449 "-u",
450 "RECIPE_MODULE[auto_bisect]/resources/wait_for_any.py",
451 "[DEPOT_TOOLS]/gsutil.py",
452 "gs://chrome-perf/Linux Builder/full-build-linux_dcdcdc0ff1122212323134879 ddceeb1240b0988.zip",
453 "bb:tryserver.chromium.perf:linux_perf_bisect_builder:dcdcdc0ff11222123231 34879ddceeb1240b0988-build",
454 "--timeout=7200"
455 ],
456 "cwd": "[SLAVE_BUILD]",
457 "name": "Waiting for revision dcdcdc0ff1122212323134879ddceeb1240b0988",
458 "stdout": "/path/to/tmp/"
459 },
460 {
461 "cmd": [
462 "python",
463 "-u",
464 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
465 "--",
466 "[DEPOT_TOOLS]/gsutil.py",
467 "--force-version",
468 "3.25",
469 "----",
470 "ls",
471 "gs://chrome-perf/Linux Builder/full-build-linux_dcdcdc0ff1122212323134879 ddceeb1240b0988.zip"
472 ],
473 "cwd": "[SLAVE_BUILD]",
474 "name": "gsutil ls (8)"
475 },
476 {
477 "cmd": [],
478 "cwd": "[SLAVE_BUILD]",
479 "name": "Triggering test job for dcdcdc0ff1122212323134879ddceeb1240b0988",
480 "trigger_specs": [
481 {
482 "builder_name": "linux_perf_tester",
483 "properties": {
484 "bisect_config": {
485 "command": "src/tools/perf/run_benchmark -v --browser=release smooth ness.tough_scrolling_cases",
486 "max_time_minutes": "5",
487 "metric": "mean_input_event_latency/mean_input_event_latency",
488 "repeat_count": "2",
489 "test_type": "perf",
490 "truncate_percent": "0"
491 },
492 "job_name": "dcdcdc0ff1122212323134879ddceeb1240b0988-test",
493 "parent_build_archive_url": "gs://chrome-perf/Linux Builder/full-build -linux_dcdcdc0ff1122212323134879ddceeb1240b0988.zip",
494 "parent_got_revision": "dcdcdc0ff1122212323134879ddceeb1240b0988",
495 "revision": "dcdcdc0ff1122212323134879ddceeb1240b0988"
496 }
497 }
498 ]
499 },
500 {
501 "cmd": [
502 "python",
503 "-u",
504 "RECIPE_MODULE[auto_bisect]/resources/wait_for_any.py",
505 "[DEPOT_TOOLS]/gsutil.py",
506 "gs://chrome-perf/bisect-results/dcdcdc0ff1122212323134879ddceeb1240b0988- test.results",
507 "bb:tryserver.chromium.perf:linux_perf_tester:dcdcdc0ff1122212323134879ddc eeb1240b0988-test",
508 "--timeout=7200"
509 ],
510 "cwd": "[SLAVE_BUILD]",
511 "name": "Waiting for revision dcdcdc0ff1122212323134879ddceeb1240b0988 (2)",
512 "stdout": "/path/to/tmp/"
513 },
514 {
515 "cmd": [
516 "python",
517 "-u",
518 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
519 "--",
520 "[DEPOT_TOOLS]/gsutil.py",
521 "--force-version",
522 "3.25",
523 "----",
524 "ls",
525 "gs://chrome-perf/bisect-results/dcdcdc0ff1122212323134879ddceeb1240b0988- test.results"
526 ],
527 "cwd": "[SLAVE_BUILD]",
528 "name": "gsutil ls (9)"
529 },
530 {
531 "cmd": [
532 "python",
533 "-u",
534 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
535 "--",
536 "[DEPOT_TOOLS]/gsutil.py",
537 "--force-version",
538 "3.25",
539 "----",
540 "cat",
541 "gs://chrome-perf/bisect-results/dcdcdc0ff1122212323134879ddceeb1240b0988- test.results"
542 ],
543 "cwd": "[SLAVE_BUILD]",
544 "name": "gsutil Get test results for build dcdcdc0ff1122212323134879ddceeb12 40b0988",
545 "stdout": "/path/to/tmp/"
546 },
547 {
548 "name": "$final_result",
549 "reason": "Expected revisions to check.",
550 "status_code": 1
551 } 359 }
552 ] 360 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698