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