OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat
h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files
:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi
n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove
(path_to_file)\n", | 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat
h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files
:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi
n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove
(path_to_file)\n", |
7 "[CWD]" | 7 "[SLAVE_BUILD]" |
8 ], | 8 ], |
| 9 "cwd": "[SLAVE_BUILD]", |
9 "name": "cleanup index.lock", | 10 "name": "cleanup index.lock", |
10 "~followup_annotations": [ | 11 "~followup_annotations": [ |
11 "@@@STEP_LOG_LINE@python.inline@@@@", | 12 "@@@STEP_LOG_LINE@python.inline@@@@", |
12 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 13 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
13 "@@@STEP_LOG_LINE@python.inline@@@@", | 14 "@@@STEP_LOG_LINE@python.inline@@@@", |
14 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", | 15 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", |
15 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", | 16 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", |
16 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_
path):@@@", | 17 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_
path):@@@", |
17 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", | 18 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", |
18 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@
@@", | 19 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@
@@", |
19 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path,
cur_file)@@@", | 20 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path,
cur_file)@@@", |
20 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file
@@@", | 21 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file
@@@", |
21 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", | 22 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", |
22 "@@@STEP_LOG_END@python.inline@@@" | 23 "@@@STEP_LOG_END@python.inline@@@" |
23 ] | 24 ] |
24 }, | 25 }, |
25 { | 26 { |
26 "cmd": [ | 27 "cmd": [ |
27 "python", | 28 "python", |
28 "-u", | 29 "-u", |
29 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", | 30 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
30 "--master", | 31 "--master", |
31 "chromium.testing.master", | 32 "chromium.testing.master", |
32 "--builder", | 33 "--builder", |
33 "local_test", | 34 "local_test", |
34 "--slave", | 35 "--slave", |
35 "TestSlavename", | 36 "TestSlavename", |
36 "--spec", | 37 "--spec", |
37 "cache_dir = '[ROOT]/b/build/slave/cache_dir'\nsolutions = [{'deps_file':
'.DEPS.git', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesour
ce.com/chromium/src.git'}]\ntarget_os = ['android']", | 38 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag
ed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src
.git'}]\ntarget_os = ['android']", |
38 "--root", | 39 "--root", |
39 "src", | 40 "src", |
40 "--revision_mapping_file", | 41 "--revision_mapping_file", |
41 "{\"src\": \"got_src_revision\", \"src/native_client\": \"got_nacl_revisio
n\", \"src/third_party/angle\": \"got_angle_revision\", \"src/third_party/webrtc
\": \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_clien
t_revision\", \"src/v8\": \"got_v8_revision\"}", | 42 "{\"src\": \"got_src_revision\", \"src/native_client\": \"got_nacl_revisio
n\", \"src/third_party/angle\": \"got_angle_revision\", \"src/third_party/webrtc
\": \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_clien
t_revision\", \"src/v8\": \"got_v8_revision\"}", |
42 "--git-cache-dir", | 43 "--git-cache-dir", |
43 "[ROOT]/b/build/slave/cache_dir", | 44 "[GIT_CACHE]", |
44 "--output_json", | 45 "--output_json", |
45 "/path/to/tmp/json", | 46 "/path/to/tmp/json", |
46 "--revision", | 47 "--revision", |
47 "src@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", | 48 "src@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", |
48 "--force", | 49 "--force", |
49 "--output_manifest" | 50 "--output_manifest" |
50 ], | 51 ], |
| 52 "cwd": "[SLAVE_BUILD]", |
51 "env": { | 53 "env": { |
52 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 54 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
53 }, | 55 }, |
54 "name": "bot_update", | 56 "name": "bot_update", |
55 "~followup_annotations": [ | 57 "~followup_annotations": [ |
56 "@@@STEP_TEXT@Some step text@@@", | 58 "@@@STEP_TEXT@Some step text@@@", |
57 "@@@STEP_LOG_LINE@json.output@{@@@", | 59 "@@@STEP_LOG_LINE@json.output@{@@@", |
58 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | 60 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
59 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | 61 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", |
60 "@@@STEP_LOG_LINE@json.output@ \"src\": \"4f4b02f6b7fa20a3a25682c457bbc
8ad589c8a00\"@@@", | 62 "@@@STEP_LOG_LINE@json.output@ \"src\": \"4f4b02f6b7fa20a3a25682c457bbc
8ad589c8a00\"@@@", |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", | 119 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", |
118 "@@@SET_BUILD_PROPERTY@got_src_revision_cp@\"refs/heads/master@{#170242}\"
@@@", | 120 "@@@SET_BUILD_PROPERTY@got_src_revision_cp@\"refs/heads/master@{#170242}\"
@@@", |
119 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@" | 121 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@" |
120 ] | 122 ] |
121 }, | 123 }, |
122 { | 124 { |
123 "cmd": [ | 125 "cmd": [ |
124 "python", | 126 "python", |
125 "-u", | 127 "-u", |
126 "\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", | 128 "\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", |
127 "[CWD]/src/out/Debug/debug_info_dumps", | 129 "[SLAVE_BUILD]/src/out/Debug/debug_info_dumps", |
128 "[CWD]/src/out/Debug/test_logs", | 130 "[SLAVE_BUILD]/src/out/Debug/test_logs", |
129 "[CWD]/src/out/build_product.zip", | 131 "[SLAVE_BUILD]/src/out/build_product.zip", |
130 "[CWD]/src" | 132 "[SLAVE_BUILD]/src" |
131 ], | 133 ], |
| 134 "cwd": "[SLAVE_BUILD]", |
132 "name": "clean local files", | 135 "name": "clean local files", |
133 "~followup_annotations": [ | 136 "~followup_annotations": [ |
134 "@@@STEP_LOG_LINE@python.inline@@@@", | 137 "@@@STEP_LOG_LINE@python.inline@@@@", |
135 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", | 138 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", |
136 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", | 139 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", |
137 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", | 140 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", |
138 "@@@STEP_LOG_LINE@python.inline@try:@@@", | 141 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
139 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", | 142 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", |
140 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", | 143 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", |
141 "@@@STEP_LOG_LINE@python.inline@ pass@@@", | 144 "@@@STEP_LOG_LINE@python.inline@ pass@@@", |
142 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", | 145 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", |
143 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", | 146 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", |
144 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", | 147 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", |
145 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, | 148 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, |
146 "@@@STEP_LOG_END@python.inline@@@" | 149 "@@@STEP_LOG_END@python.inline@@@" |
147 ] | 150 ] |
148 }, | 151 }, |
149 { | 152 { |
150 "cmd": [ | 153 "cmd": [ |
151 "python", | 154 "python", |
152 "-u", | 155 "-u", |
153 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 156 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
154 "runhooks" | 157 "runhooks" |
155 ], | 158 ], |
| 159 "cwd": "[SLAVE_BUILD]", |
156 "env": { | 160 "env": { |
157 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 161 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
158 "GYP_CHROMIUM_NO_ACTION": "1", | 162 "GYP_CHROMIUM_NO_ACTION": "1", |
159 "GYP_CROSSCOMPILE": "1", | 163 "GYP_CROSSCOMPILE": "1", |
160 "GYP_DEFINES": "OS=android component=static_library disable_brotli_filter=
1 disable_file_support=1 disable_ftp_support=1 enable_bidirectional_stream=1 ena
ble_websockets=0 fastbuild=1 gomadir='[ROOT]/b/build/goma' target_arch=arm use_g
oma=0 use_platform_icu_alternatives=1", | 164 "GYP_DEFINES": "OS=android component=static_library disable_brotli_filter=
1 disable_file_support=1 disable_ftp_support=1 enable_bidirectional_stream=1 ena
ble_websockets=0 fastbuild=1 gomadir='[BUILD]/goma' target_arch=arm use_goma=0 u
se_platform_icu_alternatives=1", |
161 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 165 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
162 }, | 166 }, |
163 "name": "gclient runhooks" | 167 "name": "gclient runhooks" |
164 }, | 168 }, |
165 { | 169 { |
166 "cmd": [ | 170 "cmd": [ |
167 "python", | 171 "python", |
168 "-u", | 172 "-u", |
169 "[CWD]/src/tools/mb/mb.py", | 173 "[SLAVE_BUILD]/src/tools/mb/mb.py", |
170 "gen", | 174 "gen", |
171 "-m", | 175 "-m", |
172 "chromium.testing.master", | 176 "chromium.testing.master", |
173 "-b", | 177 "-b", |
174 "local_test", | 178 "local_test", |
175 "--config-file", | 179 "--config-file", |
176 "[CWD]/src/tools/mb/mb_config.pyl", | 180 "[SLAVE_BUILD]/src/tools/mb/mb_config.pyl", |
177 "--goma-dir", | 181 "--goma-dir", |
178 "[ROOT]/b/build/goma", | 182 "[BUILD]/goma", |
179 "//out/Debug" | 183 "//out/Debug" |
180 ], | 184 ], |
| 185 "cwd": "[SLAVE_BUILD]", |
181 "name": "generate_build_files" | 186 "name": "generate_build_files" |
182 }, | 187 }, |
183 { | 188 { |
184 "cmd": [ | 189 "cmd": [ |
185 "python", | 190 "python", |
186 "-u", | 191 "-u", |
187 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 192 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
188 "--show-path", | 193 "--show-path", |
189 "python", | 194 "python", |
190 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", | 195 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", |
191 "--gsutil-py-path", | 196 "--gsutil-py-path", |
192 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | 197 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
193 "--ninja-path", | 198 "--ninja-path", |
194 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 199 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
195 "--target", | 200 "--target", |
196 "Debug", | 201 "Debug", |
197 "--src-dir", | 202 "--src-dir", |
198 "[CWD]/src", | 203 "[SLAVE_BUILD]/src", |
199 "--goma-cache-dir", | 204 "--goma-cache-dir", |
200 "[ROOT]/b/build/slave/goma_cache", | 205 "[GOMA_CACHE]", |
201 "--build-tool", | 206 "--build-tool", |
202 "ninja", | 207 "ninja", |
203 "--compiler", | 208 "--compiler", |
204 "goma", | 209 "goma", |
205 "--goma-jsonstatus", | 210 "--goma-jsonstatus", |
206 "/path/to/tmp/json", | 211 "/path/to/tmp/json", |
207 "--goma-service-account-json-file", | 212 "--goma-service-account-json-file", |
208 "/creds/service_accounts/service-account-goma-client.json", | 213 "/creds/service_accounts/service-account-goma-client.json", |
209 "--goma-dir", | 214 "--goma-dir", |
210 "[ROOT]/b/build/goma", | 215 "[BUILD]/goma", |
211 "--clobber", | 216 "--clobber", |
212 "--", | 217 "--", |
213 "cronet_package", | 218 "cronet_package", |
214 "cronet_sample_test_apk", | 219 "cronet_sample_test_apk", |
215 "cronet_test_instrumentation_apk", | 220 "cronet_test_instrumentation_apk", |
216 "cronet_unittests", | 221 "cronet_unittests", |
217 "cronet_unittests_apk", | 222 "cronet_unittests_apk", |
218 "net_unittests", | 223 "net_unittests", |
219 "net_unittests_apk" | 224 "net_unittests_apk" |
220 ], | 225 ], |
| 226 "cwd": "[SLAVE_BUILD]", |
221 "env": { | 227 "env": { |
222 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 228 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
223 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 229 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
224 }, | 230 }, |
225 "name": "compile", | 231 "name": "compile", |
226 "~followup_annotations": [ | 232 "~followup_annotations": [ |
227 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | 233 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
228 "@@@STEP_LOG_END@json.output (invalid)@@@" | 234 "@@@STEP_LOG_END@json.output (invalid)@@@" |
229 ] | 235 ] |
230 }, | 236 }, |
231 { | 237 { |
232 "allow_subannotations": true, | 238 "allow_subannotations": true, |
233 "cmd": [ | 239 "cmd": [ |
(...skipping 15 matching lines...) Expand all Loading... |
249 "--annotate=graphing", | 255 "--annotate=graphing", |
250 "--results-url=https://chromeperf.appspot.com", | 256 "--results-url=https://chromeperf.appspot.com", |
251 "--perf-dashboard-id=sizes", | 257 "--perf-dashboard-id=sizes", |
252 "--perf-id=android_cronet_local_test_builder", | 258 "--perf-id=android_cronet_local_test_builder", |
253 "RECIPE_PACKAGE_REPO[build]/scripts/slave/chromium/sizes.py", | 259 "RECIPE_PACKAGE_REPO[build]/scripts/slave/chromium/sizes.py", |
254 "--target", | 260 "--target", |
255 "Debug", | 261 "Debug", |
256 "--platform", | 262 "--platform", |
257 "android-cronet" | 263 "android-cronet" |
258 ], | 264 ], |
| 265 "cwd": "[SLAVE_BUILD]", |
259 "name": "sizes" | 266 "name": "sizes" |
260 }, | 267 }, |
261 { | 268 { |
262 "cmd": [ | 269 "cmd": [ |
263 "python", | 270 "python", |
264 "-u", | 271 "-u", |
265 "[CWD]/src/build/symlink.py", | 272 "[SLAVE_BUILD]/src/build/symlink.py", |
266 "-f", | 273 "-f", |
267 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb", | 274 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
268 "~/adb" | 275 "~/adb" |
269 ], | 276 ], |
| 277 "cwd": "[SLAVE_BUILD]", |
270 "name": "create adb symlink" | 278 "name": "create adb symlink" |
271 }, | 279 }, |
272 { | 280 { |
273 "cmd": [ | 281 "cmd": [ |
274 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 282 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
275 "--", | 283 "--", |
276 "[CWD]/src/build/android/adb_logcat_monitor.py", | 284 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", |
277 "[CWD]/src/out/logcat" | 285 "[SLAVE_BUILD]/src/out/logcat" |
278 ], | 286 ], |
| 287 "cwd": "[SLAVE_BUILD]", |
279 "env": { | 288 "env": { |
280 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 289 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
281 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 290 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
282 }, | 291 }, |
283 "name": "spawn_logcat_monitor" | 292 "name": "spawn_logcat_monitor" |
284 }, | 293 }, |
285 { | 294 { |
286 "cmd": [ | 295 "cmd": [ |
287 "python", | 296 "python", |
288 "-u", | 297 "-u", |
289 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py
", | 298 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py
", |
290 "--verbose", | 299 "--verbose", |
291 "--adb-path", | 300 "--adb-path", |
292 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb" | 301 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
293 ], | 302 ], |
| 303 "cwd": "[SLAVE_BUILD]", |
294 "env": { | 304 "env": { |
295 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 305 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
296 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 306 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
297 }, | 307 }, |
298 "name": "authorize_adb_devices" | 308 "name": "authorize_adb_devices" |
299 }, | 309 }, |
300 { | 310 { |
301 "cmd": [ | 311 "cmd": [ |
302 "[CWD]/src/build/android/buildbot/bb_device_status_check.py", | 312 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
303 "--json-output", | 313 "--json-output", |
304 "/path/to/tmp/json", | 314 "/path/to/tmp/json", |
305 "--blacklist-file", | 315 "--blacklist-file", |
306 "[CWD]/src/out/bad_devices.json", | 316 "[SLAVE_BUILD]/src/out/bad_devices.json", |
307 "--known-devices-file", | 317 "--known-devices-file", |
308 "[ROOT]/b/build/site_config/.known_devices" | 318 "[BUILD]/site_config/.known_devices" |
309 ], | 319 ], |
| 320 "cwd": "[SLAVE_BUILD]", |
310 "env": { | 321 "env": { |
311 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 322 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
312 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 323 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
313 }, | 324 }, |
314 "name": "device_status_check", | 325 "name": "device_status_check", |
315 "~followup_annotations": [ | 326 "~followup_annotations": [ |
316 "@@@STEP_TEXT@Online devices: 1@@@", | 327 "@@@STEP_TEXT@Online devices: 1@@@", |
317 "@@@STEP_LOG_LINE@json.output@[@@@", | 328 "@@@STEP_LOG_LINE@json.output@[@@@", |
318 "@@@STEP_LOG_LINE@json.output@ {@@@", | 329 "@@@STEP_LOG_LINE@json.output@ {@@@", |
319 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", | 330 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
320 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | 331 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
321 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | 332 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
322 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", | 333 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", | 415 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", |
405 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, | 416 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, |
406 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", | 417 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", |
407 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" | 418 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" |
408 ] | 419 ] |
409 }, | 420 }, |
410 { | 421 { |
411 "cmd": [ | 422 "cmd": [ |
412 "python", | 423 "python", |
413 "-u", | 424 "-u", |
414 "[CWD]/src/build/android/provision_devices.py", | 425 "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
415 "-t", | 426 "-t", |
416 "Debug", | 427 "Debug", |
417 "--blacklist-file", | 428 "--blacklist-file", |
418 "[CWD]/src/out/bad_devices.json", | 429 "[SLAVE_BUILD]/src/out/bad_devices.json", |
419 "--output-device-blacklist", | 430 "--output-device-blacklist", |
420 "/path/to/tmp/json" | 431 "/path/to/tmp/json" |
421 ], | 432 ], |
| 433 "cwd": "[SLAVE_BUILD]", |
422 "env": { | 434 "env": { |
423 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 435 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
424 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 436 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
425 }, | 437 }, |
426 "name": "provision_devices" | 438 "name": "provision_devices" |
427 }, | 439 }, |
428 { | 440 { |
429 "cmd": [ | 441 "cmd": [ |
430 "python", | 442 "python", |
431 "-u", | 443 "-u", |
432 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 444 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
433 "--action", | 445 "--action", |
434 "restart", | 446 "restart", |
435 "--pid-file-path", | 447 "--pid-file-path", |
436 "/tmp/device_monitor.pid", | 448 "/tmp/device_monitor.pid", |
437 "--", | 449 "--", |
438 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py"
, | 450 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py"
, |
439 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb", | 451 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
440 "[\"07a00ca4\"]", | 452 "[\"07a00ca4\"]", |
441 "chromium.testing.master", | 453 "chromium.testing.master", |
442 "local_test", | 454 "local_test", |
443 "--blacklist-file", | 455 "--blacklist-file", |
444 "[CWD]/src/out/bad_devices.json" | 456 "[SLAVE_BUILD]/src/out/bad_devices.json" |
445 ], | 457 ], |
| 458 "cwd": "[SLAVE_BUILD]", |
446 "name": "spawn_device_monitor" | 459 "name": "spawn_device_monitor" |
447 }, | 460 }, |
448 { | 461 { |
449 "cmd": [ | 462 "cmd": [ |
450 "python", | 463 "python", |
451 "-u", | 464 "-u", |
452 "[CWD]/src/out/Debug/bin/run_cronet_unittests", | 465 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_unittests", |
453 "--blacklist-file", | 466 "--blacklist-file", |
454 "[CWD]/src/out/bad_devices.json", | 467 "[SLAVE_BUILD]/src/out/bad_devices.json", |
455 "--verbose", | 468 "--verbose", |
456 "-t", | 469 "-t", |
457 "180" | 470 "180" |
458 ], | 471 ], |
| 472 "cwd": "[SLAVE_BUILD]", |
459 "env": { | 473 "env": { |
460 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 474 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
461 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 475 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
462 }, | 476 }, |
463 "name": "cronet_unittests" | 477 "name": "cronet_unittests" |
464 }, | 478 }, |
465 { | 479 { |
466 "cmd": [ | 480 "cmd": [ |
467 "python", | 481 "python", |
468 "-u", | 482 "-u", |
469 "[CWD]/src/out/Debug/bin/run_net_unittests", | 483 "[SLAVE_BUILD]/src/out/Debug/bin/run_net_unittests", |
470 "--blacklist-file", | 484 "--blacklist-file", |
471 "[CWD]/src/out/bad_devices.json", | 485 "[SLAVE_BUILD]/src/out/bad_devices.json", |
472 "--verbose", | 486 "--verbose", |
473 "-t", | 487 "-t", |
474 "180" | 488 "180" |
475 ], | 489 ], |
| 490 "cwd": "[SLAVE_BUILD]", |
476 "env": { | 491 "env": { |
477 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 492 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
478 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 493 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
479 }, | 494 }, |
480 "name": "net_unittests" | 495 "name": "net_unittests" |
481 }, | 496 }, |
482 { | 497 { |
483 "cmd": [ | 498 "cmd": [ |
484 "python", | 499 "python", |
485 "-u", | 500 "-u", |
486 "[CWD]/src/out/Debug/bin/run_cronet_sample_test_apk", | 501 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_sample_test_apk", |
487 "--blacklist-file", | 502 "--blacklist-file", |
488 "[CWD]/src/out/bad_devices.json", | 503 "[SLAVE_BUILD]/src/out/bad_devices.json", |
489 "--verbose", | 504 "--verbose", |
490 "--num-retries", | 505 "--num-retries", |
491 "0" | 506 "0" |
492 ], | 507 ], |
| 508 "cwd": "[SLAVE_BUILD]", |
493 "name": "Instrumentation test cronet_sample_test_apk" | 509 "name": "Instrumentation test cronet_sample_test_apk" |
494 }, | 510 }, |
495 { | 511 { |
496 "cmd": [ | 512 "cmd": [ |
497 "python", | 513 "python", |
498 "-u", | 514 "-u", |
499 "[CWD]/src/out/Debug/bin/run_cronet_test_instrumentation_apk", | 515 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_test_instrumentation_apk", |
500 "--blacklist-file", | 516 "--blacklist-file", |
501 "[CWD]/src/out/bad_devices.json", | 517 "[SLAVE_BUILD]/src/out/bad_devices.json", |
502 "--verbose", | 518 "--verbose", |
503 "--num-retries", | 519 "--num-retries", |
504 "0" | 520 "0" |
505 ], | 521 ], |
| 522 "cwd": "[SLAVE_BUILD]", |
506 "name": "Instrumentation test cronet_test_instrumentation_apk" | 523 "name": "Instrumentation test cronet_test_instrumentation_apk" |
507 }, | 524 }, |
508 { | 525 { |
509 "cmd": [ | 526 "cmd": [ |
510 "python", | 527 "python", |
511 "-u", | 528 "-u", |
512 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 529 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
513 "--action", | 530 "--action", |
514 "stop", | 531 "stop", |
515 "--pid-file-path", | 532 "--pid-file-path", |
516 "/tmp/device_monitor.pid" | 533 "/tmp/device_monitor.pid" |
517 ], | 534 ], |
| 535 "cwd": "[SLAVE_BUILD]", |
518 "name": "shutdown_device_monitor" | 536 "name": "shutdown_device_monitor" |
519 }, | 537 }, |
520 { | 538 { |
521 "cmd": [ | 539 "cmd": [ |
522 "python", | 540 "python", |
523 "-u", | 541 "-u", |
524 "[CWD]/src/build/android/adb_logcat_printer.py", | 542 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", |
525 "--output-path", | 543 "--output-path", |
526 "[CWD]/src/out/Debug/full_log", | 544 "[SLAVE_BUILD]/src/out/Debug/full_log", |
527 "[CWD]/src/out/logcat" | 545 "[SLAVE_BUILD]/src/out/logcat" |
528 ], | 546 ], |
| 547 "cwd": "[SLAVE_BUILD]", |
529 "name": "logcat_dump" | 548 "name": "logcat_dump" |
530 }, | 549 }, |
531 { | 550 { |
532 "cmd": [ | 551 "cmd": [ |
533 "python", | 552 "python", |
534 "-u", | 553 "-u", |
535 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | 554 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
536 "--", | 555 "--", |
537 "[ROOT]/b/depot_tools/gsutil.py", | 556 "[DEPOT_TOOLS]/gsutil.py", |
538 "--force-version", | 557 "--force-version", |
539 "4.7", | 558 "4.7", |
540 "-o", | 559 "-o", |
541 "GSUtil:parallel_composite_upload_threshold=50M", | 560 "GSUtil:parallel_composite_upload_threshold=50M", |
542 "----", | 561 "----", |
543 "cp", | 562 "cp", |
544 "[CWD]/src/out/Debug/full_log", | 563 "[SLAVE_BUILD]/src/out/Debug/full_log", |
545 "gs://chromium-android/logcat_dumps/local_test/571" | 564 "gs://chromium-android/logcat_dumps/local_test/571" |
546 ], | 565 ], |
| 566 "cwd": "[SLAVE_BUILD]", |
547 "name": "gsutil upload", | 567 "name": "gsutil upload", |
548 "~followup_annotations": [ | 568 "~followup_annotations": [ |
549 "@@@STEP_LINK@logcat dump@https://storage.cloud.google.com/chromium-androi
d/logcat_dumps/local_test/571@@@" | 569 "@@@STEP_LINK@logcat dump@https://storage.cloud.google.com/chromium-androi
d/logcat_dumps/local_test/571@@@" |
550 ] | 570 ] |
551 }, | 571 }, |
552 { | 572 { |
553 "cmd": [ | 573 "cmd": [ |
554 "[CWD]/src/third_party/android_platform/development/scripts/stack", | 574 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack"
, |
555 "--arch", | 575 "--arch", |
556 "arm", | 576 "arm", |
557 "--more-info", | 577 "--more-info", |
558 "[CWD]/src/out/Debug/full_log" | 578 "[SLAVE_BUILD]/src/out/Debug/full_log" |
559 ], | 579 ], |
| 580 "cwd": "[SLAVE_BUILD]", |
560 "env": { | 581 "env": { |
561 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Debug", | 582 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug", |
562 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 583 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
563 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 584 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
564 }, | 585 }, |
565 "name": "stack_tool_with_logcat_dump" | 586 "name": "stack_tool_with_logcat_dump" |
566 }, | 587 }, |
567 { | 588 { |
568 "cmd": [ | 589 "cmd": [ |
569 "[CWD]/src/build/android/tombstones.py", | 590 "[SLAVE_BUILD]/src/build/android/tombstones.py", |
570 "-a", | 591 "-a", |
571 "-s", | 592 "-s", |
572 "-w" | 593 "-w" |
573 ], | 594 ], |
| 595 "cwd": "[SLAVE_BUILD]", |
574 "env": { | 596 "env": { |
575 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Debug", | 597 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug", |
576 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 598 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
577 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 599 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
578 }, | 600 }, |
579 "name": "stack_tool_for_tombstones" | 601 "name": "stack_tool_for_tombstones" |
580 }, | 602 }, |
581 { | 603 { |
582 "cmd": [ | 604 "cmd": [ |
583 "python", | 605 "python", |
584 "-u", | 606 "-u", |
585 "\nimport glob, os, sys\nfor report in glob.glob(sys.argv[1]):\n with ope
n(report, 'r') as f:\n for l in f.readlines():\n print l\n os.remove(re
port)\n", | 607 "\nimport glob, os, sys\nfor report in glob.glob(sys.argv[1]):\n with ope
n(report, 'r') as f:\n for l in f.readlines():\n print l\n os.remove(re
port)\n", |
586 "[CWD]/src/out/Debug/test_logs/*.log" | 608 "[SLAVE_BUILD]/src/out/Debug/test_logs/*.log" |
587 ], | 609 ], |
| 610 "cwd": "[SLAVE_BUILD]", |
588 "name": "test_report", | 611 "name": "test_report", |
589 "~followup_annotations": [ | 612 "~followup_annotations": [ |
590 "@@@STEP_LOG_LINE@python.inline@@@@", | 613 "@@@STEP_LOG_LINE@python.inline@@@@", |
591 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | 614 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
592 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | 615 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", |
593 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", | 616 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
594 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | 617 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
595 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | 618 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
596 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 619 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
597 "@@@STEP_LOG_END@python.inline@@@" | 620 "@@@STEP_LOG_END@python.inline@@@" |
598 ] | 621 ] |
599 }, | 622 }, |
600 { | 623 { |
601 "name": "$result", | 624 "name": "$result", |
602 "recipe_result": null, | 625 "recipe_result": null, |
603 "status_code": 0 | 626 "status_code": 0 |
604 } | 627 } |
605 ] | 628 ] |
OLD | NEW |