Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Side by Side Diff: scripts/slave/recipes/chromium.expected/dynamic_swarmed_sharded_passed_isolated_script_test.json

Issue 2444613002: Fix perf exception (WIP DO NOT COMMIT)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « scripts/slave/recipes/chromium.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
7 "--spec", 7 "--spec",
8 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag ed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src .git'}]", 8 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag ed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src .git'}, {'custom_deps': {'src/chrome/test/data/firefox2_profile/searchplugins': None, 'src/chrome/test/data/firefox2_searchplugins': None, 'src/chrome/test/data /firefox3_profile/searchplugins': None, 'src/chrome/test/data/firefox3_searchplu gins': None, 'src/chrome/test/data/osdd': None, 'src/chrome/test/data/perf/frame _rate/private': None, 'src/chrome/test/data/plugin': None, 'src/chrome/test/data /ssl/certs': None, 'src/data/autodiscovery': None, 'src/data/esctf': None, 'src/ data/mach_ports': None, 'src/data/memory_test': None, 'src/data/mozilla_js_tests ': None, 'src/data/page_cycler': None, 'src/data/selenium_core': None, 'src/data /tab_switching': None, 'src/tools/grit/grit/test/data': None, 'src/webkit/data/b mp_decoder': None, 'src/webkit/data/ico_decoder': None, 'src/webkit/data/test_sh ell/plugins': None, 'src/webkit/data/xbm_decoder': None}, 'deps_file': '.DEPS.gi t', 'managed': True, 'name': 'src-internal', 'url': 'https://chrome-internal.goo glesource.com/chrome/src-internal.git'}]\ntarget_os = ['android']",
9 "--patch_root", 9 "--patch_root",
10 "src", 10 "src",
11 "--revision_mapping_file", 11 "--revision_mapping_file",
12 "{\"src\": \"got_revision\", \"src/buildtools\": \"got_buildtools_revision \", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/angle\": \"g ot_angle_revision\", \"src/third_party/webrtc\": \"got_webrtc_revision\", \"src/ tools/swarming_client\": \"got_swarming_client_revision\", \"src/v8\": \"got_v8_ revision\"}", 12 "{\"src\": \"got_revision\", \"src/buildtools\": \"got_buildtools_revision \", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/angle\": \"g ot_angle_revision\", \"src/third_party/webrtc\": \"got_webrtc_revision\", \"src/ tools/swarming_client\": \"got_swarming_client_revision\", \"src/v8\": \"got_v8_ revision\"}",
13 "--git-cache-dir", 13 "--git-cache-dir",
14 "[GIT_CACHE]", 14 "[GIT_CACHE]",
15 "--output_json", 15 "--output_json",
16 "/path/to/tmp/json", 16 "/path/to/tmp/json",
17 "--revision", 17 "--revision",
18 "src@HEAD", 18 "src@HEAD",
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 "@@@STEP_LOG_LINE@json.output@ }@@@", 152 "@@@STEP_LOG_LINE@json.output@ }@@@",
153 "@@@STEP_LOG_LINE@json.output@ ]@@@", 153 "@@@STEP_LOG_LINE@json.output@ ]@@@",
154 "@@@STEP_LOG_LINE@json.output@}@@@", 154 "@@@STEP_LOG_LINE@json.output@}@@@",
155 "@@@STEP_LOG_END@json.output@@@" 155 "@@@STEP_LOG_END@json.output@@@"
156 ] 156 ]
157 }, 157 },
158 { 158 {
159 "cmd": [ 159 "cmd": [
160 "python", 160 "python",
161 "-u", 161 "-u",
162 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py",
163 "--version"
164 ],
165 "name": "swarming.py --version",
166 "stdout": "/path/to/tmp/",
167 "~followup_annotations": [
168 "@@@STEP_TEXT@0.8.6@@@"
169 ]
170 },
171 {
172 "cmd": [
173 "python",
174 "-u",
175 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 162 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
176 "runhooks" 163 "runhooks"
177 ], 164 ],
178 "cwd": "[SLAVE_BUILD]/src", 165 "cwd": "[SLAVE_BUILD]/src",
179 "env": { 166 "env": {
180 "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",
181 "GYP_CHROMIUM_NO_ACTION": "1", 168 "GYP_CHROMIUM_NO_ACTION": "1",
182 "GYP_DEFINES": "component=static_library gomadir='[CACHE]/cipd/goma' targe t_arch=x64 test_isolation_mode=prepare use_goma=1", 169 "GYP_CROSSCOMPILE": "1",
183 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 170 "GYP_DEFINES": "OS=android branding=Chrome buildtype=Official component=st atic_library fastbuild=1 gomadir='[CACHE]/cipd/goma' target_arch=arm use_goma=1" ,
171 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
184 }, 172 },
185 "name": "gclient runhooks" 173 "name": "gclient runhooks"
186 }, 174 },
187 { 175 {
188 "cmd": [ 176 "cmd": [
189 "python", 177 "python",
190 "-u", 178 "-u",
191 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py", 179 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py",
192 "--output", 180 "--output",
193 "/path/to/tmp/json", 181 "/path/to/tmp/json",
194 "--", 182 "--",
195 "--build-config-fs", 183 "--build-config-fs",
196 "Release", 184 "Release",
197 "--use-src-side-runtest-py",
198 "--paths", 185 "--paths",
199 "{\"checkout\": \"[SLAVE_BUILD]/src\", \"runit.py\": \"RECIPE_PACKAGE_REPO [build]/scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]/s cripts/slave/runtest.py\"}", 186 "{\"checkout\": \"[SLAVE_BUILD]/src\", \"runit.py\": \"RECIPE_PACKAGE_REPO [build]/scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]/s cripts/slave/runtest.py\"}",
200 "--properties", 187 "--properties",
201 "{\"buildername\": \"Linux Tests\", \"buildnumber\": \"1234\", \"masternam e\": \"chromium.linux\", \"slavename\": \"TestSlavename\", \"target_platform\": \"linux\"}" 188 "{\"buildername\": \"Android Nexus5 Perf (1)\", \"buildnumber\": \"1234\", \"mastername\": \"chromium.perf\", \"perf-id\": \"android-nexus5\", \"results-u rl\": \"https://chromeperf.appspot.com\", \"slavename\": \"TestSlavename\", \"ta rget_platform\": \"android\"}"
202 ], 189 ],
203 "name": "get compile targets for scripts", 190 "name": "get compile targets for scripts",
204 "~followup_annotations": [ 191 "~followup_annotations": [
205 "@@@STEP_LOG_LINE@json.output@{}@@@", 192 "@@@STEP_LOG_LINE@json.output@{}@@@",
206 "@@@STEP_LOG_END@json.output@@@" 193 "@@@STEP_LOG_END@json.output@@@"
207 ] 194 ]
208 }, 195 },
209 { 196 {
210 "cmd": [ 197 "cmd": [
211 "python", 198 "python",
212 "-u", 199 "-u",
213 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 200 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
214 "[SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json", 201 "[SLAVE_BUILD]/src/testing/buildbot/chromium.perf.json",
215 "/path/to/tmp/json" 202 "/path/to/tmp/json"
216 ], 203 ],
217 "name": "read test spec (chromium.linux.json)", 204 "name": "read test spec (chromium.perf.json)",
218 "~followup_annotations": [ 205 "~followup_annotations": [
219 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json @@@", 206 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.perf.json@ @@",
220 "@@@STEP_LOG_LINE@json.output@{@@@", 207 "@@@STEP_LOG_LINE@json.output@{@@@",
221 "@@@STEP_LOG_LINE@json.output@ \"Linux Tests\": {@@@", 208 "@@@STEP_LOG_LINE@json.output@ \"Android Nexus5 Perf\": {@@@",
222 "@@@STEP_LOG_LINE@json.output@ \"isolated_scripts\": [@@@", 209 "@@@STEP_LOG_LINE@json.output@ \"isolated_scripts\": [@@@",
223 "@@@STEP_LOG_LINE@json.output@ {@@@", 210 "@@@STEP_LOG_LINE@json.output@ {@@@",
224 "@@@STEP_LOG_LINE@json.output@ \"isolate_name\": \"telemetry_gpu_un ittests\", @@@", 211 "@@@STEP_LOG_LINE@json.output@ \"isolate_name\": \"telemetry_gpu_un ittests\", @@@",
225 "@@@STEP_LOG_LINE@json.output@ \"name\": \"telemetry_gpu_unittests\ ", @@@", 212 "@@@STEP_LOG_LINE@json.output@ \"name\": \"telemetry_gpu_unittests\ ", @@@",
226 "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@", 213 "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@",
227 "@@@STEP_LOG_LINE@json.output@ \"can_use_on_swarming_builders\": true, @@@", 214 "@@@STEP_LOG_LINE@json.output@ \"can_use_on_swarming_builders\": true, @@@",
228 "@@@STEP_LOG_LINE@json.output@ \"shards\": 2@@@", 215 "@@@STEP_LOG_LINE@json.output@ \"shards\": 2@@@",
229 "@@@STEP_LOG_LINE@json.output@ }@@@", 216 "@@@STEP_LOG_LINE@json.output@ }@@@",
230 "@@@STEP_LOG_LINE@json.output@ }@@@", 217 "@@@STEP_LOG_LINE@json.output@ }@@@",
231 "@@@STEP_LOG_LINE@json.output@ ]@@@", 218 "@@@STEP_LOG_LINE@json.output@ ]@@@",
(...skipping 10 matching lines...) Expand all
242 "--show-path", 229 "--show-path",
243 "python", 230 "python",
244 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" 231 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py"
245 ], 232 ],
246 "name": "cleanup_temp" 233 "name": "cleanup_temp"
247 }, 234 },
248 { 235 {
249 "cmd": [ 236 "cmd": [
250 "python", 237 "python",
251 "-u", 238 "-u",
239 "\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",
240 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps",
241 "[SLAVE_BUILD]/src/out/Release/test_logs",
242 "[SLAVE_BUILD]/src/out/build_product.zip",
243 "[SLAVE_BUILD]/src"
244 ],
245 "name": "clean local files",
246 "~followup_annotations": [
247 "@@@STEP_LOG_LINE@python.inline@@@@",
248 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@",
249 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@",
250 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@",
251 "@@@STEP_LOG_LINE@python.inline@try:@@@",
252 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@",
253 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@",
254 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
255 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@",
256 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
257 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
258 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" ,
259 "@@@STEP_LOG_END@python.inline@@@"
260 ]
261 },
262 {
263 "cmd": [
264 "[SLAVE_BUILD]/src/build/tree_truth.sh",
265 "[SLAVE_BUILD]/src",
266 "src"
267 ],
268 "name": "tree truth steps"
269 },
270 {
271 "cmd": [
272 "python",
273 "-u",
252 "\nimport os, sys\nfrom common import chromium_utils # Error? See https:// crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD irectory(sys.argv[1])\n", 274 "\nimport os, sys\nfrom common import chromium_utils # Error? See https:// crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD irectory(sys.argv[1])\n",
253 "[SLAVE_BUILD]/src/out/Release" 275 "[SLAVE_BUILD]/src/out/Release"
254 ], 276 ],
255 "name": "rmtree build directory", 277 "name": "rmtree build directory",
256 "~followup_annotations": [ 278 "~followup_annotations": [
257 "@@@STEP_LOG_LINE@python.inline@@@@", 279 "@@@STEP_LOG_LINE@python.inline@@@@",
258 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 280 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
259 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", 281 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
260 "@@@STEP_LOG_LINE@python.inline@@@@", 282 "@@@STEP_LOG_LINE@python.inline@@@@",
261 "@@@STEP_LOG_LINE@python.inline@@@@", 283 "@@@STEP_LOG_LINE@python.inline@@@@",
(...skipping 10 matching lines...) Expand all
272 "--show-path", 294 "--show-path",
273 "python", 295 "python",
274 "RECIPE_PACKAGE_REPO[build]/scripts/slave/extract_build.py", 296 "RECIPE_PACKAGE_REPO[build]/scripts/slave/extract_build.py",
275 "--gsutil-py-path", 297 "--gsutil-py-path",
276 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", 298 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
277 "--target", 299 "--target",
278 "Release", 300 "Release",
279 "--src-dir", 301 "--src-dir",
280 "[SLAVE_BUILD]/src", 302 "[SLAVE_BUILD]/src",
281 "--build-url", 303 "--build-url",
282 "gs://chromium-linux-archive/chromium.linux/Linux Builder/full-build-linux .zip", 304 "gs://chrome-perf/Android Builder/full-build-linux.zip",
283 "--build_revision", 305 "--build_revision",
284 "f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9", 306 "f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9",
285 "--master-name", 307 "--master-name",
286 "chromium.linux", 308 "chromium.perf",
287 "--build-number", 309 "--build-number",
288 "1234" 310 "1234"
289 ], 311 ],
290 "name": "extract build" 312 "name": "extract build"
291 }, 313 },
292 { 314 {
293 "cmd": [ 315 "cmd": [
294 "python", 316 "python",
295 "-u", 317 "-u",
296 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", 318 "[SLAVE_BUILD]/src/build/symlink.py",
297 "--build-dir", 319 "-f",
298 "[SLAVE_BUILD]/src/out/Release", 320 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
299 "--output-json", 321 "~/adb"
300 "/path/to/tmp/json" 322 ],
301 ], 323 "env": {
302 "env": { 324 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
303 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 325 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
304 }, 326 },
305 "name": "find isolated tests", 327 "name": "create adb symlink"
328 },
329 {
330 "cmd": [
331 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
332 "--",
333 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
334 "[SLAVE_BUILD]/src/out/logcat",
335 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
336 ],
337 "env": {
338 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
339 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
340 },
341 "name": "spawn_logcat_monitor"
342 },
343 {
344 "cmd": [
345 "python",
346 "-u",
347 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
348 "--action",
349 "restart",
350 "--pid-file-path",
351 "/tmp/device_monitor.pid",
352 "--",
353 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_m onitor.py",
354 "--adb-path",
355 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
356 "--blacklist-file",
357 "[SLAVE_BUILD]/src/out/bad_devices.json"
358 ],
359 "env": {
360 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
361 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
362 },
363 "name": "spawn_device_monitor"
364 },
365 {
366 "cmd": [
367 "python",
368 "-u",
369 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ",
370 "--verbose",
371 "--adb-path",
372 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
373 ],
374 "env": {
375 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
376 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
377 },
378 "name": "authorize_adb_devices"
379 },
380 {
381 "cmd": [
382 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_r ecovery.py",
383 "--blacklist-file",
384 "[SLAVE_BUILD]/src/out/bad_devices.json",
385 "--known-devices-file",
386 "[HOME]/.android/known_devices.json",
387 "--adb-path",
388 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
389 "-v",
390 "--enable-usb-reset"
391 ],
392 "env": {
393 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
394 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
395 },
396 "name": "device_recovery"
397 },
398 {
399 "cmd": [
400 "python",
401 "-u",
402 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
403 "--adb-path",
404 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
405 "--blacklist-file",
406 "[SLAVE_BUILD]/src/out/bad_devices.json",
407 "--output-device-blacklist",
408 "/path/to/tmp/json",
409 "-t",
410 "Release",
411 "--min-battery-level",
412 "95",
413 "--disable-network",
414 "--disable-java-debug",
415 "--max-battery-temp",
416 "350"
417 ],
418 "env": {
419 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
420 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
421 },
422 "name": "provision_devices"
423 },
424 {
425 "cmd": [
426 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_s tatus.py",
427 "--json-output",
428 "/path/to/tmp/json",
429 "--blacklist-file",
430 "[SLAVE_BUILD]/src/out/bad_devices.json",
431 "--known-devices-file",
432 "[HOME]/.android/known_devices.json",
433 "--buildbot-path",
434 "/home/chrome-bot/.adb_device_info",
435 "--adb-path",
436 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
437 "-v",
438 "--overwrite-known-devices-files"
439 ],
440 "env": {
441 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
442 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
443 },
444 "name": "device_status",
445 "~followup_annotations": [
446 "@@@STEP_TEXT@Online devices: 1@@@",
447 "@@@STEP_LOG_LINE@json.output@[@@@",
448 "@@@STEP_LOG_LINE@json.output@ {@@@",
449 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@",
450 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
451 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
452 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@",
453 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@",
454 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@",
455 "@@@STEP_LOG_LINE@json.output@ \"level\": \"100\", @@@",
456 "@@@STEP_LOG_LINE@json.output@ \"present\": \"true\", @@@",
457 "@@@STEP_LOG_LINE@json.output@ \"scale\": \"100\", @@@",
458 "@@@STEP_LOG_LINE@json.output@ \"status\": \"5\", @@@",
459 "@@@STEP_LOG_LINE@json.output@ \"technology\": \"Li-ion\", @@@",
460 "@@@STEP_LOG_LINE@json.output@ \"temperature\": \"249\", @@@",
461 "@@@STEP_LOG_LINE@json.output@ \"voltage\": \"4286\"@@@",
462 "@@@STEP_LOG_LINE@json.output@ }, @@@",
463 "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": false, @@@",
464 "@@@STEP_LOG_LINE@json.output@ \"build_detail\": \"google/razor/flo:5.0 /LRX21O/1570415:userdebug/dev-keys\", @@@",
465 "@@@STEP_LOG_LINE@json.output@ \"imei_slice\": \"Unknown\", @@@",
466 "@@@STEP_LOG_LINE@json.output@ \"ro.build.id\": \"LRX21O\", @@@",
467 "@@@STEP_LOG_LINE@json.output@ \"ro.build.product\": \"product_name\", @@@",
468 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"07a00ca4\", @@@",
469 "@@@STEP_LOG_LINE@json.output@ \"usb_status\": true, @@@",
470 "@@@STEP_LOG_LINE@json.output@ \"wifi_ip\": \"\"@@@",
471 "@@@STEP_LOG_LINE@json.output@ }, @@@",
472 "@@@STEP_LOG_LINE@json.output@ {@@@",
473 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"offline\", @@@",
474 "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": true, @@@",
475 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"03e0363a003c6ad4\", @@@",
476 "@@@STEP_LOG_LINE@json.output@ \"usb_status\": false@@@",
477 "@@@STEP_LOG_LINE@json.output@ }, @@@",
478 "@@@STEP_LOG_LINE@json.output@ {@@@",
479 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"unauthorized\", @@@",
480 "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": true, @@@",
481 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"03e0363a003c6ad5\", @@@",
482 "@@@STEP_LOG_LINE@json.output@ \"usb_status\": true@@@",
483 "@@@STEP_LOG_LINE@json.output@ }, @@@",
484 "@@@STEP_LOG_LINE@json.output@ {@@@",
485 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@",
486 "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": true, @@@",
487 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"03e0363a003c6ad6\", @@@",
488 "@@@STEP_LOG_LINE@json.output@ \"usb_status\": true@@@",
489 "@@@STEP_LOG_LINE@json.output@ }@@@",
490 "@@@STEP_LOG_LINE@json.output@]@@@",
491 "@@@STEP_LOG_END@json.output@@@",
492 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@{@@@",
493 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"adb_status\": \"device\ ", @@@",
494 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"battery\": {@@@",
495 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"AC powered\": \"false \", @@@",
496 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"USB powered\": \"true \", @@@",
497 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"Wireless powered\": \ "false\", @@@",
498 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"health\": \"2\", @@@" ,
499 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"level\": \"100\", @@@ ",
500 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"present\": \"true\", @@@",
501 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"scale\": \"100\", @@@ ",
502 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"status\": \"5\", @@@" ,
503 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"technology\": \"Li-io n\", @@@",
504 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"temperature\": \"249\ ", @@@",
505 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"voltage\": \"4286\"@@ @",
506 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ }, @@@",
507 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"blacklisted\": false, @ @@",
508 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"build_detail\": \"googl e/razor/flo:5.0/LRX21O/1570415:userdebug/dev-keys\", @@@",
509 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"imei_slice\": \"Unknown \", @@@",
510 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"ro.build.id\": \"LRX21O \", @@@",
511 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"ro.build.product\": \"p roduct_name\", @@@",
512 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"serial\": \"07a00ca4\", @@@",
513 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"usb_status\": true, @@@ ",
514 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"wifi_ip\": \"\"@@@",
515 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@}@@@",
516 "@@@STEP_LOG_END@product_name LRX21O 07a00ca4@@@",
517 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@{@@@",
518 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@ \"adb_status\": \"offline\", @@@",
519 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@ \"blacklisted\": true, @@@",
520 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@ \"serial\": \"03e0363a003c6a d4\", @@@",
521 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@ \"usb_status\": false@@@",
522 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@}@@@",
523 "@@@STEP_LOG_END@03e0363a003c6ad4: missing@@@",
524 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@{@@@",
525 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@ \"adb_status \": \"unauthorized\", @@@",
526 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@ \"blackliste d\": true, @@@",
527 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@ \"serial\": \"03e0363a003c6ad5\", @@@",
528 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@ \"usb_status \": true@@@",
529 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@}@@@",
530 "@@@STEP_LOG_END@03e0363a003c6ad5: adb status unauthorized@@@",
531 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@{@@@",
532 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"adb_status\": \"device \", @@@",
533 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"blacklisted\": true, @ @@",
534 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@",
535 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" ,
536 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@",
537 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@"
538 ]
539 },
540 {
541 "cmd": [
542 "python",
543 "-u",
544 "[SLAVE_BUILD]/src/tools/perf/run_benchmark",
545 "list",
546 "--browser",
547 "android-chromium",
548 "--json-output",
549 "/path/to/tmp/json",
550 "--num-shards",
551 "21",
552 "--device",
553 "07a00ca4"
554 ],
555 "env": {
556 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
557 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
558 },
559 "name": "List Perf Tests",
306 "~followup_annotations": [ 560 "~followup_annotations": [
307 "@@@STEP_LOG_LINE@json.output@{@@@", 561 "@@@STEP_LOG_LINE@json.output@{@@@",
308 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm y_target_1]\", @@@", 562 "@@@STEP_LOG_LINE@json.output@ \"steps\": {@@@",
309 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm y_target_2]\"@@@", 563 "@@@STEP_LOG_LINE@json.output@ \"blink_perf.all.exact\": {@@@",
564 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/usr/bin/python /path/to/ru n_benchmark --a=1 -v --b=2\", @@@",
565 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 1, @@@",
566 "@@@STEP_LOG_LINE@json.output@ \"perf_dashboard_id\": \"blink_perf.al l\"@@@",
567 "@@@STEP_LOG_LINE@json.output@ }, @@@",
568 "@@@STEP_LOG_LINE@json.output@ \"blink_perf.all.release\": {@@@",
569 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/usr/bin/python /path/to/ru n_benchmark --a=1 -v --b=2\", @@@",
570 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@",
571 "@@@STEP_LOG_LINE@json.output@ \"perf_dashboard_id\": \"blink_perf.al l\"@@@",
572 "@@@STEP_LOG_LINE@json.output@ }, @@@",
573 "@@@STEP_LOG_LINE@json.output@ \"blink_perf.dom\": {@@@",
574 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/path/to/run_benchmark -v - -upload-results blink_perf.dom\", @@@",
575 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 1, @@@",
576 "@@@STEP_LOG_LINE@json.output@ \"perf_dashboard_id\": \"blink_perf.do m\"@@@",
577 "@@@STEP_LOG_LINE@json.output@ }, @@@",
578 "@@@STEP_LOG_LINE@json.output@ \"dromaeo.cssqueryjquery\": {@@@",
579 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/path/to/run_benchmark\", @ @@",
580 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 13@@@",
581 "@@@STEP_LOG_LINE@json.output@ }, @@@",
582 "@@@STEP_LOG_LINE@json.output@ \"dromaeo.cssqueryjquery.release\": {@@@ ",
583 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/path/to/run_benchmark\", @ @@",
584 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 11, @@@",
585 "@@@STEP_LOG_LINE@json.output@ \"perf_dashboard_id\": \"dromaeo.cssqu eryjquery\"@@@",
586 "@@@STEP_LOG_LINE@json.output@ }@@@",
587 "@@@STEP_LOG_LINE@json.output@ }, @@@",
588 "@@@STEP_LOG_LINE@json.output@ \"version\": 2@@@",
310 "@@@STEP_LOG_LINE@json.output@}@@@", 589 "@@@STEP_LOG_LINE@json.output@}@@@",
590 "@@@STEP_LOG_END@json.output@@@"
591 ]
592 },
593 {
594 "cmd": [
595 "python",
596 "-u",
597 "[SLAVE_BUILD]/src/build/android/test_runner.py",
598 "perf",
599 "--release",
600 "--verbose",
601 "--steps",
602 "{\"steps\": {\"blink_perf.all.exact\": {\"cmd\": \"/usr/bin/python /path/ to/run_benchmark --a=1 -v --b=2\", \"device_affinity\": 1, \"perf_dashboard_id\" : \"blink_perf.all\"}, \"blink_perf.all.release\": {\"cmd\": \"/usr/bin/python / path/to/run_benchmark --a=1 -v --b=2\", \"device_affinity\": 0, \"perf_dashboard _id\": \"blink_perf.all\"}, \"blink_perf.dom\": {\"cmd\": \"/path/to/run_benchma rk -v --upload-results blink_perf.dom\", \"device_affinity\": 1, \"perf_dashboar d_id\": \"blink_perf.dom\"}}, \"version\": 2}",
603 "--blacklist-file",
604 "[SLAVE_BUILD]/src/out/bad_devices.json",
605 "--num-retries",
606 "0",
607 "--collect-chartjson-data",
608 "--max-battery-temp",
609 "350",
610 "--known-devices-file",
611 "[HOME]/.android/known_devices.json",
612 "--adb-path",
613 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
614 ],
615 "cwd": "[SLAVE_BUILD]/src",
616 "env": {
617 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
618 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
619 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
620 },
621 "name": "Sharded Perf Tests"
622 },
623 {
624 "cmd": [
625 "python",
626 "-u",
627 "[SLAVE_BUILD]/src/build/android/test_runner.py",
628 "perf",
629 "--steps",
630 "{\"steps\": {\"blink_perf.all.exact\": {\"cmd\": \"/usr/bin/python /path/ to/run_benchmark --a=1 -v --b=2\", \"device_affinity\": 1, \"perf_dashboard_id\" : \"blink_perf.all\"}, \"blink_perf.all.release\": {\"cmd\": \"/usr/bin/python / path/to/run_benchmark --a=1 -v --b=2\", \"device_affinity\": 0, \"perf_dashboard _id\": \"blink_perf.all\"}, \"blink_perf.dom\": {\"cmd\": \"/path/to/run_benchma rk -v --upload-results blink_perf.dom\", \"device_affinity\": 1, \"perf_dashboar d_id\": \"blink_perf.dom\"}}, \"version\": 2}",
631 "--output-json-list",
632 "/path/to/tmp/json",
633 "--blacklist-file",
634 "[SLAVE_BUILD]/src/out/bad_devices.json",
635 "--adb-path",
636 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
637 ],
638 "env": {
639 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
640 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
641 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
642 },
643 "name": "get perf test list",
644 "~followup_annotations": [
645 "@@@STEP_LOG_LINE@json.output@[@@@",
646 "@@@STEP_LOG_LINE@json.output@ {@@@",
647 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@",
648 "@@@STEP_LOG_LINE@json.output@ \"end_time\": 1443438432.949711, @@@",
649 "@@@STEP_LOG_LINE@json.output@ \"has_archive\": true, @@@",
650 "@@@STEP_LOG_LINE@json.output@ \"test\": \"perf_test.foo\"@@@",
651 "@@@STEP_LOG_LINE@json.output@ }, @@@",
652 "@@@STEP_LOG_LINE@json.output@ {@@@",
653 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@",
654 "@@@STEP_LOG_LINE@json.output@ \"test\": \"page_cycler.foo\"@@@",
655 "@@@STEP_LOG_LINE@json.output@ }@@@",
656 "@@@STEP_LOG_LINE@json.output@]@@@",
657 "@@@STEP_LOG_END@json.output@@@"
658 ]
659 },
660 {
661 "allow_subannotations": true,
662 "cmd": [
663 "python",
664 "-u",
665 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py",
666 "--target",
667 "Release",
668 "--test-platform",
669 "android",
670 "--no-xvfb",
671 "--factory-properties",
672 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" buildername\": \"Android Nexus5 Perf (1)\", \"buildnumber\": \"1234\", \"git_rev ision\": \"asdfawe2342\", \"got_revision_cp\": \"refs/heads/master@{#291141}\", \"got_v8_revision\": \"asdfadsfa4e3w\", \"got_webrtc_revision\": \"asdfas\", \"m astername\": \"chromium.perf\", \"parent_buildername\": \"Android Builder\", \"r ecipe\": \"chromium\", \"slavename\": \"TestSlavename\", \"swarm_hashes\": {\"te lemetry_gpu_unittests\": \"eeeeeeeeeeeeeeeeeeeeeeeeeeeeee\"}, \"version\": \"v23 523\", \"workdir\": \"/path/to/workdir/TestSlavename\"}",
673 "--build-properties",
674 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" buildername\": \"Android Nexus5 Perf (1)\", \"buildnumber\": \"1234\", \"git_rev ision\": \"asdfawe2342\", \"got_revision_cp\": \"refs/heads/master@{#291141}\", \"got_v8_revision\": \"asdfadsfa4e3w\", \"got_webrtc_revision\": \"asdfas\", \"m astername\": \"chromium.perf\", \"parent_buildername\": \"Android Builder\", \"r ecipe\": \"chromium\", \"slavename\": \"TestSlavename\", \"swarm_hashes\": {\"te lemetry_gpu_unittests\": \"eeeeeeeeeeeeeeeeeeeeeeeeeeeeee\"}, \"version\": \"v23 523\", \"workdir\": \"/path/to/workdir/TestSlavename\"}",
675 "--annotate=graphing",
676 "--results-url=https://chromeperf.appspot.com",
677 "--perf-dashboard-id=page_cycler.foo",
678 "--perf-id=android-nexus5",
679 "--test-type=page_cycler.foo",
680 "--step-name=page_cycler.foo",
681 "--chartjson-file",
682 "/path/to/tmp/json",
683 "--builder-name=Android Nexus5 Perf (1)",
684 "--slave-name=TestSlavename",
685 "--build-number=1234",
686 "--run-python-script",
687 "[SLAVE_BUILD]/src/build/android/test_runner.py",
688 "perf",
689 "--print-step",
690 "page_cycler.foo",
691 "--verbose",
692 "--adb-path",
693 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
694 "--blacklist-file",
695 "[SLAVE_BUILD]/src/out/bad_devices.json"
696 ],
697 "env": {
698 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
699 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
700 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
701 },
702 "name": "page_cycler.foo",
703 "~followup_annotations": [
704 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@",
705 "@@@STEP_LOG_LINE@json.output@[]@@@",
311 "@@@STEP_LOG_END@json.output@@@", 706 "@@@STEP_LOG_END@json.output@@@",
312 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" 707 "@@@STEP_LOG_LINE@device affinity@0@@@",
313 ] 708 "@@@STEP_LOG_END@device affinity@@@"
314 }, 709 ]
315 { 710 },
316 "cmd": [ 711 {
317 "python", 712 "allow_subannotations": true,
318 "-u", 713 "cmd": [
319 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py", 714 "python",
320 "trigger", 715 "-u",
321 "--swarming", 716 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py",
322 "https://chromium-swarm.appspot.com", 717 "--target",
323 "--isolate-server", 718 "Release",
324 "https://isolateserver.appspot.com", 719 "--test-platform",
325 "--priority", 720 "android",
326 "25", 721 "--no-xvfb",
327 "--shards", 722 "--factory-properties",
328 "2", 723 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" buildername\": \"Android Nexus5 Perf (1)\", \"buildnumber\": \"1234\", \"git_rev ision\": \"asdfawe2342\", \"got_revision_cp\": \"refs/heads/master@{#291141}\", \"got_v8_revision\": \"asdfadsfa4e3w\", \"got_webrtc_revision\": \"asdfas\", \"m astername\": \"chromium.perf\", \"parent_buildername\": \"Android Builder\", \"r ecipe\": \"chromium\", \"slavename\": \"TestSlavename\", \"swarm_hashes\": {\"te lemetry_gpu_unittests\": \"eeeeeeeeeeeeeeeeeeeeeeeeeeeeee\"}, \"version\": \"v23 523\", \"workdir\": \"/path/to/workdir/TestSlavename\"}",
329 "--task-name", 724 "--build-properties",
330 "telemetry_gpu_unittests/Ubuntu-12.04/eeeeeeeeee/Linux Tests/1234", 725 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" buildername\": \"Android Nexus5 Perf (1)\", \"buildnumber\": \"1234\", \"git_rev ision\": \"asdfawe2342\", \"got_revision_cp\": \"refs/heads/master@{#291141}\", \"got_v8_revision\": \"asdfadsfa4e3w\", \"got_webrtc_revision\": \"asdfas\", \"m astername\": \"chromium.perf\", \"parent_buildername\": \"Android Builder\", \"r ecipe\": \"chromium\", \"slavename\": \"TestSlavename\", \"swarm_hashes\": {\"te lemetry_gpu_unittests\": \"eeeeeeeeeeeeeeeeeeeeeeeeeeeeee\"}, \"version\": \"v23 523\", \"workdir\": \"/path/to/workdir/TestSlavename\"}",
331 "--dump-json", 726 "--annotate=graphing",
727 "--results-url=https://chromeperf.appspot.com",
728 "--perf-dashboard-id=perf_test.foo",
729 "--perf-id=android-nexus5",
730 "--test-type=perf_test.foo",
731 "--step-name=perf_test.foo",
732 "--chartjson-file",
332 "/path/to/tmp/json", 733 "/path/to/tmp/json",
333 "--expiration", 734 "--builder-name=Android Nexus5 Perf (1)",
334 "3600", 735 "--slave-name=TestSlavename",
335 "--io-timeout", 736 "--build-number=1234",
336 "1200", 737 "--run-python-script",
337 "--hard-timeout", 738 "[SLAVE_BUILD]/src/build/android/test_runner.py",
338 "3600", 739 "perf",
339 "--dimension", 740 "--print-step",
340 "cpu", 741 "perf_test.foo",
341 "x86-64", 742 "--verbose",
342 "--dimension", 743 "--adb-path",
343 "gpu", 744 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
344 "none", 745 "--blacklist-file",
345 "--dimension", 746 "[SLAVE_BUILD]/src/out/bad_devices.json"
346 "os", 747 ],
347 "Ubuntu-12.04", 748 "env": {
348 "--dimension", 749 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
349 "pool", 750 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
350 "Chrome", 751 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
351 "--tag", 752 },
352 "buildername:Linux Tests", 753 "name": "perf_test.foo",
353 "--tag", 754 "~followup_annotations": [
354 "buildnumber:1234", 755 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@",
355 "--tag", 756 "@@@STEP_LOG_LINE@json.output@[]@@@",
356 "data:eeeeeeeeeeeeeeeeeeeeeeeeeeeeee", 757 "@@@STEP_LOG_END@json.output@@@",
357 "--tag", 758 "@@@STEP_LOG_LINE@device affinity@0@@@",
358 "master:chromium.linux", 759 "@@@STEP_LOG_END@device affinity@@@"
359 "--tag", 760 ]
360 "name:telemetry_gpu_unittests", 761 },
361 "--tag", 762 {
362 "os:Ubuntu-12.04", 763 "cmd": [
363 "--tag", 764 "python",
364 "project:chromium", 765 "-u",
365 "--tag", 766 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
366 "purpose:CI", 767 "--action",
367 "--tag", 768 "stop",
368 "purpose:post-commit", 769 "--pid-file-path",
369 "--tag", 770 "/tmp/device_monitor.pid"
370 "slavename:TestSlavename", 771 ],
371 "--tag", 772 "env": {
372 "stepname:telemetry_gpu_unittests on Ubuntu-12.04", 773 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
373 "eeeeeeeeeeeeeeeeeeeeeeeeeeeeee", 774 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
775 },
776 "name": "shutdown_device_monitor"
777 },
778 {
779 "cmd": [
780 "python",
781 "-u",
782 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
783 "--output-path",
784 "[SLAVE_BUILD]/src/out/Release/full_log",
785 "[SLAVE_BUILD]/src/out/logcat"
786 ],
787 "env": {
788 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
789 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
790 },
791 "name": "logcat_dump"
792 },
793 {
794 "cmd": [
795 "python",
796 "-u",
797 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
374 "--", 798 "--",
375 "--isolated-script-test-output=${ISOLATED_OUTDIR}/output.json", 799 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
376 "--isolated-script-test-chartjson-output=${ISOLATED_OUTDIR}/chartjson-outp ut.json" 800 "--force-version",
377 ], 801 "4.7",
378 "env": { 802 "-o",
379 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 803 "GSUtil:parallel_composite_upload_threshold=50M",
380 }, 804 "----",
381 "name": "[trigger] telemetry_gpu_unittests on Ubuntu-12.04", 805 "cp",
382 "~followup_annotations": [ 806 "[SLAVE_BUILD]/src/out/Release/full_log",
383 "@@@STEP_LOG_LINE@json.output@{@@@", 807 "gs://chromium-android/logcat_dumps/Android Nexus5 Perf (1)/1234"
384 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"telemetry_gpu_unitte sts/Ubuntu-12.04/eeeeeeeeee/Linux Tests/1234\", @@@", 808 ],
385 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", 809 "env": {
386 "@@@STEP_LOG_LINE@json.output@ \"telemetry_gpu_unittests/Ubuntu-12.04/e eeeeeeeee/Linux Tests/1234:2:0\": {@@@", 810 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
387 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@", 811 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
388 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@", 812 },
389 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm .appspot.com/user/task/10000\"@@@", 813 "name": "gsutil upload",
390 "@@@STEP_LOG_LINE@json.output@ }, @@@", 814 "~followup_annotations": [
391 "@@@STEP_LOG_LINE@json.output@ \"telemetry_gpu_unittests/Ubuntu-12.04/e eeeeeeeee/Linux Tests/1234:2:1\": {@@@", 815 "@@@STEP_LINK@logcat dump@https://storage.cloud.google.com/chromium-androi d/logcat_dumps/Android Nexus5 Perf (1)/1234@@@"
392 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 1, @@@", 816 ]
393 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10100\", @@@", 817 },
394 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm .appspot.com/user/task/10100\"@@@", 818 {
395 "@@@STEP_LOG_LINE@json.output@ }@@@", 819 "cmd": [
396 "@@@STEP_LOG_LINE@json.output@ }@@@", 820 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" ,
397 "@@@STEP_LOG_LINE@json.output@}@@@", 821 "--arch",
398 "@@@STEP_LOG_END@json.output@@@", 822 "arm",
399 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@", 823 "--more-info",
400 "@@@STEP_LINK@shard #1@https://chromium-swarm.appspot.com/user/task/10100@ @@" 824 "[SLAVE_BUILD]/src/out/Release/full_log"
401 ] 825 ],
402 }, 826 "env": {
403 { 827 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
404 "cmd": [ 828 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
405 "python", 829 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
406 "-u", 830 },
407 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py", 831 "name": "stack_tool_with_logcat_dump"
408 "collect", 832 },
409 "--swarming", 833 {
410 "https://chromium-swarm.appspot.com", 834 "cmd": [
411 "--decorate", 835 "python",
412 "--print-status-updates", 836 "-u",
413 "--json", 837 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
414 "{\"base_task_name\": \"telemetry_gpu_unittests/Ubuntu-12.04/eeeeeeeeee/Li nux Tests/1234\", \"tasks\": {\"telemetry_gpu_unittests/Ubuntu-12.04/eeeeeeeeee/ Linux Tests/1234:2:0\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\ ": \"https://chromium-swarm.appspot.com/user/task/10000\"}, \"telemetry_gpu_unit tests/Ubuntu-12.04/eeeeeeeeee/Linux Tests/1234:2:1\": {\"shard_index\": 1, \"tas k_id\": \"10100\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/ 10100\"}}}", 838 "[SLAVE_BUILD]/src/chrome/VERSION",
415 "--task-output-dir",
416 "/path/to/tmp/" 839 "/path/to/tmp/"
417 ], 840 ],
418 "env": { 841 "env": {
419 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 842 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
420 }, 843 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
421 "name": "telemetry_gpu_unittests on Ubuntu-12.04", 844 },
422 "~followup_annotations": [ 845 "name": "get version"
423 "@@@STEP_LOG_LINE@outdir_json@{@@@", 846 },
424 "@@@STEP_LOG_LINE@outdir_json@ \"0/chartjson-output.json\": \"{\\\"dummy\ \\": \\\"dummy0\\\", \\\"enabled\\\": true, \\\"charts\\\": {\\\"entry2\\\": \\\ "chart2\\\", \\\"entry1\\\": \\\"chart1\\\"}}\", @@@", 847 {
425 "@@@STEP_LOG_LINE@outdir_json@ \"0/output.json\": \"{\\\"tests\\\": {\\\" test1\\\": {\\\"Test1\\\": {\\\"expected\\\": \\\"PASS\\\", \\\"actual\\\": \\\" PASS\\\"}, \\\"Test2\\\": {\\\"expected\\\": \\\"PASS TIMEOUT\\\", \\\"actual\\\ ": \\\"TIMEOUT\\\"}}, \\\"test_common\\\": {\\\"Test1\\\": {\\\"expected\\\": \\ \"PASS\\\", \\\"actual\\\": \\\"FAIL FAIL PASS\\\"}}}, \\\"interrupted\\\": fals e, \\\"path_delimiter\\\": \\\".\\\", \\\"version\\\": 3, \\\"seconds_since_epoc h\\\": 14000000, \\\"num_failures_by_type\\\": {\\\"FAIL\\\": 0, \\\"PASS\\\": 2 }}\", @@@", 848 "cmd": [
426 "@@@STEP_LOG_LINE@outdir_json@ \"1/chartjson-output.json\": \"{\\\"dummy\ \\": \\\"dummy1\\\", \\\"enabled\\\": true, \\\"charts\\\": {\\\"entry3\\\": \\\ "chart3\\\", \\\"entry4\\\": \\\"chart4\\\"}}\", @@@", 849 "[SLAVE_BUILD]/src/build/android/tombstones.py",
427 "@@@STEP_LOG_LINE@outdir_json@ \"1/output.json\": \"{\\\"tests\\\": {\\\" test3\\\": {\\\"Test3\\\": {\\\"expected\\\": \\\"PASS\\\", \\\"actual\\\": \\\" PASS\\\"}, \\\"Test4\\\": {\\\"expected\\\": \\\"PASS TIMEOUT\\\", \\\"actual\\\ ": \\\"TIMEOUT\\\"}}, \\\"test_common\\\": {\\\"Test3\\\": {\\\"expected\\\": \\ \"PASS\\\", \\\"actual\\\": \\\"FAIL FAIL PASS\\\"}}}, \\\"interrupted\\\": fals e, \\\"path_delimiter\\\": \\\".\\\", \\\"version\\\": 3, \\\"seconds_since_epoc h\\\": 14000001, \\\"num_failures_by_type\\\": {\\\"FAIL\\\": 0, \\\"PASS\\\": 2 }}\", @@@", 850 "-a",
428 "@@@STEP_LOG_LINE@outdir_json@ \"summary.json\": \"{\\\"shards\\\": [{\\\ "internal_failure\\\": false, \\\"failure\\\": false, \\\"exit_code\\\": \\\"0\\ \"}, {\\\"internal_failure\\\": false, \\\"failure\\\": false, \\\"exit_code\\\" : \\\"0\\\"}]}\"@@@", 851 "-s",
429 "@@@STEP_LOG_LINE@outdir_json@}@@@", 852 "-w"
430 "@@@STEP_LOG_END@outdir_json@@@", 853 ],
431 "@@@STEP_LOG_LINE@chartjson_info@Info: Setting up arguments for perf dashb oard@@@", 854 "env": {
432 "@@@STEP_LOG_END@chartjson_info@@@", 855 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
433 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@", 856 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
434 "@@@STEP_LINK@shard #1@https://chromium-swarm.appspot.com/user/task/10100@ @@" 857 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
435 ] 858 },
436 }, 859 "name": "stack_tool_for_tombstones"
437 { 860 },
438 "cmd": [ 861 {
439 "python", 862 "cmd": [
440 "-u", 863 "python",
441 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 864 "-u",
442 "{\"dummy\": \"dummy0\", \"enabled\": true, \"charts\": {\"entry2\": \"cha rt2\", \"entry3\": \"chart3\", \"entry1\": \"chart1\", \"entry4\": \"chart4\"}}" , 865 "\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",
443 "[TMP_BASE]/chartjson_results_output_tmp_1/chartjson-results.json" 866 "[SLAVE_BUILD]/src/out/Release/test_logs/*.log"
444 ], 867 ],
445 "env": { 868 "env": {
446 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 869 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
447 }, 870 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
448 "name": "write results to file" 871 },
449 }, 872 "name": "test_report",
450 { 873 "~followup_annotations": [
451 "cmd": [ 874 "@@@STEP_LOG_LINE@python.inline@@@@",
452 "python", 875 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@",
453 "-u", 876 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@",
454 "RECIPE_MODULE[recipe_engine::shutil]/resources/rmtree.py", 877 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@",
455 "[TMP_BASE]/chartjson_results_output_tmp_1" 878 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@",
456 ], 879 "@@@STEP_LOG_LINE@python.inline@ print l@@@",
457 "env": { 880 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
458 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 881 "@@@STEP_LOG_END@python.inline@@@"
459 }, 882 ]
460 "name": "rmtree [TMP_BASE]/chartjson_results_output_tmp_1"
461 }, 883 },
462 { 884 {
463 "name": "$result", 885 "name": "$result",
464 "recipe_result": null, 886 "recipe_result": null,
465 "status_code": 0 887 "status_code": 0
466 } 888 }
467 ] 889 ]
OLDNEW
« no previous file with comments | « scripts/slave/recipes/chromium.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698