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