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