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.webkit", | 8 "chromium.webkit", |
9 "--builder", | 9 "--builder", |
10 "WebKit Android (Nexus4)", | 10 "WebKit Android (Nexus4)", |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 "name": "get compile targets for scripts", | 113 "name": "get compile targets for scripts", |
114 "~followup_annotations": [ | 114 "~followup_annotations": [ |
115 "@@@STEP_LOG_LINE@json.output@{}@@@", | 115 "@@@STEP_LOG_LINE@json.output@{}@@@", |
116 "@@@STEP_LOG_END@json.output@@@" | 116 "@@@STEP_LOG_END@json.output@@@" |
117 ] | 117 ] |
118 }, | 118 }, |
119 { | 119 { |
120 "cmd": [ | 120 "cmd": [ |
121 "python", | 121 "python", |
122 "-u", | 122 "-u", |
123 "[BUILD]/scripts/slave/cleanup_temp.py" | |
124 ], | |
125 "cwd": "[SLAVE_BUILD]", | |
126 "name": "cleanup_temp" | |
127 }, | |
128 { | |
129 "cmd": [ | |
130 "python", | |
131 "-u", | |
132 "\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", | |
133 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", | |
134 "[SLAVE_BUILD]/src/out/Release/test_logs", | |
135 "[SLAVE_BUILD]/src/out/build_product.zip", | |
136 "[SLAVE_BUILD]/src" | |
137 ], | |
138 "cwd": "[SLAVE_BUILD]", | |
139 "name": "clean local files", | |
140 "~followup_annotations": [ | |
141 "@@@STEP_LOG_LINE@python.inline@@@@", | |
142 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", | |
143 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", | |
144 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", | |
145 "@@@STEP_LOG_LINE@python.inline@try:@@@", | |
146 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", | |
147 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", | |
148 "@@@STEP_LOG_LINE@python.inline@ pass@@@", | |
149 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", | |
150 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", | |
151 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", | |
152 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, | |
153 "@@@STEP_LOG_END@python.inline@@@" | |
154 ] | |
155 }, | |
156 { | |
157 "allow_subannotations": false, | |
158 "cmd": [ | |
159 "[SLAVE_BUILD]/src/build/tree_truth.sh", | |
160 "[SLAVE_BUILD]/src", | |
161 "src" | |
162 ], | |
163 "cwd": "[SLAVE_BUILD]", | |
164 "name": "tree truth steps" | |
165 }, | |
166 { | |
167 "cmd": [ | |
168 "python", | |
169 "-u", | |
170 "\nimport os, sys\nfrom common import chromium_utils\n\nif os.path.exists(
sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n", | 123 "\nimport os, sys\nfrom common import chromium_utils\n\nif os.path.exists(
sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n", |
171 "[SLAVE_BUILD]/src/out/Release" | 124 "[SLAVE_BUILD]/src/out/Release" |
172 ], | 125 ], |
173 "cwd": "[SLAVE_BUILD]", | 126 "cwd": "[SLAVE_BUILD]", |
174 "name": "rmtree build directory", | 127 "name": "rmtree build directory", |
175 "~followup_annotations": [ | 128 "~followup_annotations": [ |
176 "@@@STEP_LOG_LINE@python.inline@@@@", | 129 "@@@STEP_LOG_LINE@python.inline@@@@", |
177 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 130 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
178 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils@@@", | 131 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils@@@", |
179 "@@@STEP_LOG_LINE@python.inline@@@@", | 132 "@@@STEP_LOG_LINE@python.inline@@@@", |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 185 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
233 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", | 186 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", |
234 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", | 187 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", |
235 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'root'])@@@", | 188 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'root'])@@@", |
236 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'wait-for-device'])@@@", | 189 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'wait-for-device'])@@@", |
237 "@@@STEP_LOG_END@python.inline@@@" | 190 "@@@STEP_LOG_END@python.inline@@@" |
238 ] | 191 ] |
239 }, | 192 }, |
240 { | 193 { |
241 "cmd": [ | 194 "cmd": [ |
| 195 "python", |
| 196 "-u", |
| 197 "[BUILD]/scripts/slave/cleanup_temp.py" |
| 198 ], |
| 199 "cwd": "[SLAVE_BUILD]", |
| 200 "name": "cleanup_temp" |
| 201 }, |
| 202 { |
| 203 "cmd": [ |
| 204 "python", |
| 205 "-u", |
| 206 "\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", |
| 207 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", |
| 208 "[SLAVE_BUILD]/src/out/Release/test_logs", |
| 209 "[SLAVE_BUILD]/src/out/build_product.zip", |
| 210 "[SLAVE_BUILD]/src" |
| 211 ], |
| 212 "cwd": "[SLAVE_BUILD]", |
| 213 "name": "clean local files", |
| 214 "~followup_annotations": [ |
| 215 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 216 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", |
| 217 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", |
| 218 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", |
| 219 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 220 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", |
| 221 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", |
| 222 "@@@STEP_LOG_LINE@python.inline@ pass@@@", |
| 223 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", |
| 224 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", |
| 225 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", |
| 226 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, |
| 227 "@@@STEP_LOG_END@python.inline@@@" |
| 228 ] |
| 229 }, |
| 230 { |
| 231 "allow_subannotations": false, |
| 232 "cmd": [ |
| 233 "[SLAVE_BUILD]/src/build/tree_truth.sh", |
| 234 "[SLAVE_BUILD]/src", |
| 235 "src" |
| 236 ], |
| 237 "cwd": "[SLAVE_BUILD]", |
| 238 "name": "tree truth steps" |
| 239 }, |
| 240 { |
| 241 "cmd": [ |
242 "[BUILD]/scripts/slave/daemonizer.py", | 242 "[BUILD]/scripts/slave/daemonizer.py", |
243 "--", | 243 "--", |
244 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", | 244 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", |
245 "[SLAVE_BUILD]/src/out/logcat" | 245 "[SLAVE_BUILD]/src/out/logcat" |
246 ], | 246 ], |
247 "cwd": "[SLAVE_BUILD]", | 247 "cwd": "[SLAVE_BUILD]", |
248 "env": { | 248 "env": { |
249 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 249 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
250 }, | 250 }, |
251 "name": "spawn_logcat_monitor" | 251 "name": "spawn_logcat_monitor" |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
503 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | 503 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
504 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | 504 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", |
505 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", | 505 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
506 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | 506 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
507 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | 507 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
508 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 508 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
509 "@@@STEP_LOG_END@python.inline@@@" | 509 "@@@STEP_LOG_END@python.inline@@@" |
510 ] | 510 ] |
511 } | 511 } |
512 ] | 512 ] |
OLD | NEW |