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

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

Issue 666023004: Use src-side launcher for telemetry_unittests in chromium_trybot recipe (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: rebase & add TODO Created 6 years, 2 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 "python", 4 "python",
5 "-u", 5 "-u",
6 "[BUILD]/scripts/slave/bot_update.py", 6 "[BUILD]/scripts/slave/bot_update.py",
7 "--master", 7 "--master",
8 "tryserver.chromium.linux", 8 "tryserver.chromium.linux",
9 "--builder", 9 "--builder",
10 "linux_chromium_rel_swarming", 10 "linux_chromium_rel_swarming",
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 "@@@STEP_LOG_LINE@json.output@ }@@@", 106 "@@@STEP_LOG_LINE@json.output@ }@@@",
107 "@@@STEP_LOG_LINE@json.output@ ]@@@", 107 "@@@STEP_LOG_LINE@json.output@ ]@@@",
108 "@@@STEP_LOG_LINE@json.output@}@@@", 108 "@@@STEP_LOG_LINE@json.output@}@@@",
109 "@@@STEP_LOG_END@json.output@@@" 109 "@@@STEP_LOG_END@json.output@@@"
110 ] 110 ]
111 }, 111 },
112 { 112 {
113 "cmd": [ 113 "cmd": [
114 "python", 114 "python",
115 "-u", 115 "-u",
116 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py",
117 "--output",
118 "/path/to/tmp/json",
119 "--",
120 "--build-config-fs",
121 "Release",
122 "--paths",
123 "{\"build\": \"[BUILD]\"}",
124 "--properties",
125 "{\"buildername\": \"linux_chromium_rel_swarming\", \"buildnumber\": 571, \"slavename\": \"TestSlavename\"}"
126 ],
127 "name": "get compile targets for scripts",
128 "~followup_annotations": [
129 "@@@STEP_LOG_LINE@json.output@{}@@@",
130 "@@@STEP_LOG_END@json.output@@@"
131 ]
132 },
133 {
134 "cmd": [
135 "python",
136 "-u",
116 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 137 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
117 "[SLAVE_BUILD]/src/testing/buildbot/trybot_analyze_config.json", 138 "[SLAVE_BUILD]/src/testing/buildbot/trybot_analyze_config.json",
118 "/path/to/tmp/json" 139 "/path/to/tmp/json"
119 ], 140 ],
120 "name": "read filter exclusion spec", 141 "name": "read filter exclusion spec",
121 "~followup_annotations": [ 142 "~followup_annotations": [
122 "@@@STEP_TEXT@path: 'testing/buildbot/trybot_analyze_config.json'@@@", 143 "@@@STEP_TEXT@path: 'testing/buildbot/trybot_analyze_config.json'@@@",
123 "@@@STEP_LOG_LINE@json.output@{@@@", 144 "@@@STEP_LOG_LINE@json.output@{@@@",
124 "@@@STEP_LOG_LINE@json.output@ \"base\": {@@@", 145 "@@@STEP_LOG_LINE@json.output@ \"base\": {@@@",
125 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": [@@@", 146 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": [@@@",
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 "@@@STEP_LOG_LINE@json.output@}@@@", 390 "@@@STEP_LOG_LINE@json.output@}@@@",
370 "@@@STEP_LOG_END@json.output@@@", 391 "@@@STEP_LOG_END@json.output@@@",
371 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@" 392 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@"
372 ] 393 ]
373 }, 394 },
374 { 395 {
375 "cmd": [ 396 "cmd": [
376 "python", 397 "python",
377 "-u", 398 "-u",
378 "[SLAVE_BUILD]/src/testing/scripts/checkdeps.py", 399 "[SLAVE_BUILD]/src/testing/scripts/checkdeps.py",
400 "--build-config-fs",
401 "Release",
402 "--paths",
403 "{\"build\": \"[BUILD]\"}",
404 "--properties",
405 "{\"buildername\": \"linux_chromium_rel_swarming\", \"buildnumber\": 571, \"slavename\": \"TestSlavename\"}",
379 "run", 406 "run",
380 "--output", 407 "--output",
381 "/path/to/tmp/json" 408 "/path/to/tmp/json"
382 ], 409 ],
383 "name": "checkdeps (with patch)", 410 "name": "checkdeps (with patch)",
384 "~followup_annotations": [ 411 "~followup_annotations": [
385 "@@@STEP_LOG_LINE@json.output@{@@@", 412 "@@@STEP_LOG_LINE@json.output@{@@@",
386 "@@@STEP_LOG_LINE@json.output@ \"failures\": [], @@@", 413 "@@@STEP_LOG_LINE@json.output@ \"failures\": [], @@@",
387 "@@@STEP_LOG_LINE@json.output@ \"valid\": true@@@", 414 "@@@STEP_LOG_LINE@json.output@ \"valid\": true@@@",
388 "@@@STEP_LOG_LINE@json.output@}@@@", 415 "@@@STEP_LOG_LINE@json.output@}@@@",
(...skipping 26 matching lines...) Expand all
415 "--json", 442 "--json",
416 "/path/to/tmp/json" 443 "/path/to/tmp/json"
417 ], 444 ],
418 "name": "checklicenses (with patch)", 445 "name": "checklicenses (with patch)",
419 "~followup_annotations": [ 446 "~followup_annotations": [
420 "@@@STEP_LOG_LINE@json.output@[]@@@", 447 "@@@STEP_LOG_LINE@json.output@[]@@@",
421 "@@@STEP_LOG_END@json.output@@@" 448 "@@@STEP_LOG_END@json.output@@@"
422 ] 449 ]
423 }, 450 },
424 { 451 {
452 "cmd": [
453 "python",
454 "-u",
455 "[SLAVE_BUILD]/src/testing/scripts/telemetry_unittests.py",
456 "--build-config-fs",
457 "Release",
458 "--paths",
459 "{\"build\": \"[BUILD]\"}",
460 "--properties",
461 "{\"buildername\": \"linux_chromium_rel_swarming\", \"buildnumber\": 571, \"slavename\": \"TestSlavename\"}",
462 "run",
463 "--output",
464 "/path/to/tmp/json"
465 ],
466 "name": "telemetry_unittests (with patch)",
467 "~followup_annotations": [
468 "@@@STEP_LOG_LINE@json.output@{@@@",
469 "@@@STEP_LOG_LINE@json.output@ \"failures\": [], @@@",
470 "@@@STEP_LOG_LINE@json.output@ \"valid\": true@@@",
471 "@@@STEP_LOG_LINE@json.output@}@@@",
472 "@@@STEP_LOG_END@json.output@@@"
473 ]
474 },
475 {
425 "allow_subannotations": true, 476 "allow_subannotations": true,
426 "cmd": [
427 "python",
428 "-u",
429 "[BUILD]/scripts/slave/runtest.py",
430 "--target",
431 "Release",
432 "--xvfb",
433 "--factory-properties",
434 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"\", \"build_config\": \"Release\", \"buildername\": \"linux_chromium _rel_swarming\", \"buildnumber\": 571, \"issue\": 12853011, \"mastername\": \"tr yserver.chromium.linux\", \"patchset\": 1, \"project\": \"chrome\", \"recipe\": \"chromium_trybot\", \"repository\": \"\", \"requester\": \"commit-bot@chromium. org\", \"revision\": null, \"rietveld\": \"https://codereview.chromium.org\", \" root\": \"src\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workd ir/TestSlavename\"}",
435 "--build-properties",
436 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"\", \"build_config\": \"Release\", \"buildername\": \"linux_chromium _rel_swarming\", \"buildnumber\": 571, \"issue\": 12853011, \"mastername\": \"tr yserver.chromium.linux\", \"patchset\": 1, \"project\": \"chrome\", \"recipe\": \"chromium_trybot\", \"repository\": \"\", \"requester\": \"commit-bot@chromium. org\", \"revision\": null, \"rietveld\": \"https://codereview.chromium.org\", \" root\": \"src\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workd ir/TestSlavename\"}",
437 "--annotate=gtest",
438 "--test-type=telemetry_unittests",
439 "--builder-name=linux_chromium_rel_swarming",
440 "--slave-name=TestSlavename",
441 "--build-number=571",
442 "--run-python-script",
443 "[SLAVE_BUILD]/src/tools/telemetry/run_tests",
444 "--browser=release",
445 "--retry-limit=3",
446 "--write-full-results-to",
447 "/path/to/tmp/json"
448 ],
449 "name": "telemetry_unittests (with patch)"
450 },
451 {
452 "allow_subannotations": true,
453 "cmd": [ 477 "cmd": [
454 "python", 478 "python",
455 "-u", 479 "-u",
456 "[BUILD]/scripts/slave/runtest.py", 480 "[BUILD]/scripts/slave/runtest.py",
457 "--target", 481 "--target",
458 "Release", 482 "Release",
459 "--xvfb", 483 "--xvfb",
460 "--factory-properties", 484 "--factory-properties",
461 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"\", \"build_config\": \"Release\", \"buildername\": \"linux_chromium _rel_swarming\", \"buildnumber\": 571, \"issue\": 12853011, \"mastername\": \"tr yserver.chromium.linux\", \"patchset\": 1, \"project\": \"chrome\", \"recipe\": \"chromium_trybot\", \"repository\": \"\", \"requester\": \"commit-bot@chromium. org\", \"revision\": null, \"rietveld\": \"https://codereview.chromium.org\", \" root\": \"src\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workd ir/TestSlavename\"}", 485 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"\", \"build_config\": \"Release\", \"buildername\": \"linux_chromium _rel_swarming\", \"buildnumber\": 571, \"issue\": 12853011, \"mastername\": \"tr yserver.chromium.linux\", \"patchset\": 1, \"project\": \"chrome\", \"recipe\": \"chromium_trybot\", \"repository\": \"\", \"requester\": \"commit-bot@chromium. org\", \"revision\": null, \"rietveld\": \"https://codereview.chromium.org\", \" root\": \"src\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workd ir/TestSlavename\"}",
462 "--build-properties", 486 "--build-properties",
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 "@@@STEP_LOG_LINE@python.inline@ print 'Ignored failures:'@@@", 810 "@@@STEP_LOG_LINE@python.inline@ print 'Ignored failures:'@@@",
787 "@@@STEP_LOG_LINE@python.inline@ for f in failures['ignored']:@@@", 811 "@@@STEP_LOG_LINE@python.inline@ for f in failures['ignored']:@@@",
788 "@@@STEP_LOG_LINE@python.inline@ print f@@@", 812 "@@@STEP_LOG_LINE@python.inline@ print f@@@",
789 "@@@STEP_LOG_LINE@python.inline@@@@", 813 "@@@STEP_LOG_LINE@python.inline@@@@",
790 "@@@STEP_LOG_LINE@python.inline@sys.exit(0 if success else 1)@@@", 814 "@@@STEP_LOG_LINE@python.inline@sys.exit(0 if success else 1)@@@",
791 "@@@STEP_LOG_END@python.inline@@@", 815 "@@@STEP_LOG_END@python.inline@@@",
792 "@@@STEP_FAILURE@@@" 816 "@@@STEP_FAILURE@@@"
793 ] 817 ]
794 } 818 }
795 ] 819 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698