OLD | NEW |
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 "chromium.perf", | 8 "chromium.perf", |
9 "--builder", | 9 "--builder", |
10 "Android Nexus5 Perf", | 10 "Android Nexus5 Perf", |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 "@@@SET_BUILD_PROPERTY@got_v8_revision_cp@\"refs/heads/master@{#43426}\"@@
@", | 57 "@@@SET_BUILD_PROPERTY@got_v8_revision_cp@\"refs/heads/master@{#43426}\"@@
@", |
58 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision_cp@\"refs/heads/master
@{#276089}\"@@@", | 58 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision_cp@\"refs/heads/master
@{#276089}\"@@@", |
59 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", | 59 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", |
60 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" | 60 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" |
61 ] | 61 ] |
62 }, | 62 }, |
63 { | 63 { |
64 "cmd": [ | 64 "cmd": [ |
65 "python", | 65 "python", |
66 "-u", | 66 "-u", |
| 67 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 68 "[SLAVE_BUILD]/src/testing/buildbot/chromium.perf.json", |
| 69 "/path/to/tmp/json" |
| 70 ], |
| 71 "name": "read test spec", |
| 72 "~followup_annotations": [ |
| 73 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.perf.json@
@@", |
| 74 "@@@STEP_LOG_LINE@json.output@{}@@@", |
| 75 "@@@STEP_LOG_END@json.output@@@" |
| 76 ] |
| 77 }, |
| 78 { |
| 79 "cmd": [ |
| 80 "python", |
| 81 "-u", |
| 82 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py", |
| 83 "--output", |
| 84 "/path/to/tmp/json", |
| 85 "--", |
| 86 "--build-config-fs", |
| 87 "Release", |
| 88 "--paths", |
| 89 "{\"build\": \"[BUILD]\", \"checkout\": \"[SLAVE_BUILD]/src\"}", |
| 90 "--properties", |
| 91 "{\"buildername\": \"Android Nexus5 Perf\", \"buildnumber\": 571, \"master
name\": \"chromium.perf\", \"perf-id\": \"android-nexus5\", \"results-url\": \"h
ttps://chromeperf.appspot.com\", \"slavename\": \"slavename\", \"target_platform
\": \"android\"}" |
| 92 ], |
| 93 "name": "get compile targets for scripts", |
| 94 "~followup_annotations": [ |
| 95 "@@@STEP_LOG_LINE@json.output@{}@@@", |
| 96 "@@@STEP_LOG_END@json.output@@@" |
| 97 ] |
| 98 }, |
| 99 { |
| 100 "cmd": [ |
| 101 "python", |
| 102 "-u", |
67 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree
(sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo
r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw
ith('.pyc'):\n os.remove(os.path.join(base, f))\n", | 103 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree
(sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo
r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw
ith('.pyc'):\n os.remove(os.path.join(base, f))\n", |
68 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", | 104 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", |
69 "[SLAVE_BUILD]/src/out/Release/test_logs", | 105 "[SLAVE_BUILD]/src/out/Release/test_logs", |
70 "[SLAVE_BUILD]/src/out/build_product.zip", | 106 "[SLAVE_BUILD]/src/out/build_product.zip", |
71 "[SLAVE_BUILD]/src" | 107 "[SLAVE_BUILD]/src" |
72 ], | 108 ], |
73 "name": "clean local files", | 109 "name": "clean local files", |
74 "~followup_annotations": [ | 110 "~followup_annotations": [ |
75 "@@@STEP_LOG_LINE@python.inline@@@@", | 111 "@@@STEP_LOG_LINE@python.inline@@@@", |
76 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", | 112 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", |
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | 448 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
413 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | 449 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", |
414 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", | 450 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
415 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | 451 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
416 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | 452 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
417 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 453 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
418 "@@@STEP_LOG_END@python.inline@@@" | 454 "@@@STEP_LOG_END@python.inline@@@" |
419 ] | 455 ] |
420 } | 456 } |
421 ] | 457 ] |
OLD | NEW |