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