| OLD | NEW |
| (Empty) |
| 1 [ | |
| 2 { | |
| 3 "cmd": [ | |
| 4 "python", | |
| 5 "-u", | |
| 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", | |
| 7 "--spec", | |
| 8 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag
ed': False, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/sr
c.git'}, {'custom_deps': {'src/chrome/test/data/firefox2_profile/searchplugins':
None, 'src/chrome/test/data/firefox2_searchplugins': None, 'src/chrome/test/dat
a/firefox3_profile/searchplugins': None, 'src/chrome/test/data/firefox3_searchpl
ugins': None, 'src/chrome/test/data/osdd': None, 'src/chrome/test/data/perf/fram
e_rate/private': None, 'src/chrome/test/data/plugin': None, 'src/chrome/test/dat
a/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_test
s': None, 'src/data/selenium_core': None, 'src/data/tab_switching': None, 'src/t
ools/grit/grit/test/data': None, 'src/webkit/data/bmp_decoder': None, 'src/webki
t/data/ico_decoder': None, 'src/webkit/data/test_shell/plugins': None, 'src/webk
it/data/xbm_decoder': None}, 'deps_file': '.DEPS.git', 'managed': False, 'name':
'src-internal', 'url': 'https://chrome-internal.googlesource.com/chrome/src-int
ernal.git'}]\ntarget_os = ['android']", | |
| 9 "--patch_root", | |
| 10 "src", | |
| 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\"}", | |
| 13 "--git-cache-dir", | |
| 14 "[GIT_CACHE]", | |
| 15 "--output_json", | |
| 16 "/path/to/tmp/json", | |
| 17 "--revision", | |
| 18 "src@deadbeef", | |
| 19 "--output_manifest" | |
| 20 ], | |
| 21 "env": { | |
| 22 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | |
| 23 }, | |
| 24 "name": "bot_update", | |
| 25 "~followup_annotations": [ | |
| 26 "@@@STEP_TEXT@Some step text@@@", | |
| 27 "@@@STEP_LOG_LINE@json.output@{@@@", | |
| 28 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | |
| 29 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | |
| 30 "@@@STEP_LOG_LINE@json.output@ \"src\": \"deadbeef\"@@@", | |
| 31 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 32 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", | |
| 33 "@@@STEP_LOG_LINE@json.output@ \"src\": {@@@", | |
| 34 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
.git\", @@@", | |
| 35 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e
86ddfd4ebd0fe58cb9\"@@@", | |
| 36 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 37 "@@@STEP_LOG_LINE@json.output@ \"src/buildtools\": {@@@", | |
| 38 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/buildtools.git\", @@@", | |
| 39 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f0319a328b280987691635
3cb994259692140934\"@@@", | |
| 40 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 41 "@@@STEP_LOG_LINE@json.output@ \"src/native_client\": {@@@", | |
| 42 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/native_client.git\", @@@", | |
| 43 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"d998e125e8253980d76e26
9b7982aeeefc1b9b50\"@@@", | |
| 44 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 45 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/angle\": {@@@", | |
| 46 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/third_party/angle.git\", @@@", | |
| 47 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"fac9503c46405f77757b9a
728eb85b8d7bc6080c\"@@@", | |
| 48 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 49 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/webrtc\": {@@@", | |
| 50 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/third_party/webrtc.git\", @@@", | |
| 51 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"0f90628433546e61d92685
96da93418c623137f4\"@@@", | |
| 52 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 53 "@@@STEP_LOG_LINE@json.output@ \"src/tools/swarming_client\": {@@@", | |
| 54 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/tools/swarming_client.git\", @@@", | |
| 55 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"a0ee5d99f1d4b38ddaa4c7
59c837980b63b99566\"@@@", | |
| 56 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 57 "@@@STEP_LOG_LINE@json.output@ \"src/v8\": {@@@", | |
| 58 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/v8.git\", @@@", | |
| 59 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"801ada225ddc271c132c3a
35f03975671d43e399\"@@@", | |
| 60 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
| 61 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 62 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", | |
| 63 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", | |
| 64 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", | |
| 65 "@@@STEP_LOG_LINE@json.output@ \"got_angle_revision\": \"fac9503c46405f
77757b9a728eb85b8d7bc6080c\", @@@", | |
| 66 "@@@STEP_LOG_LINE@json.output@ \"got_angle_revision_cp\": \"refs/heads/
master@{#297276}\", @@@", | |
| 67 "@@@STEP_LOG_LINE@json.output@ \"got_buildtools_revision\": \"f0319a328
b2809876916353cb994259692140934\", @@@", | |
| 68 "@@@STEP_LOG_LINE@json.output@ \"got_buildtools_revision_cp\": \"refs/h
eads/master@{#182578}\", @@@", | |
| 69 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398
0d76e269b7982aeeefc1b9b50\", @@@", | |
| 70 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m
aster@{#274981}\", @@@", | |
| 71 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"f27fede2220bcd326aee
3e86ddfd4ebd0fe58cb9\", @@@", | |
| 72 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master
@{#170242}\", @@@", | |
| 73 "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision\": \"a0ee
5d99f1d4b38ddaa4c759c837980b63b99566\", @@@", | |
| 74 "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision_cp\": \"r
efs/heads/master@{#276089}\", @@@", | |
| 75 "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision\": \"801ada225ddc271c1
32c3a35f03975671d43e399\", @@@", | |
| 76 "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision_cp\": \"refs/heads/mas
ter@{#43426}\", @@@", | |
| 77 "@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision\": \"0f90628433546
e61d9268596da93418c623137f4\", @@@", | |
| 78 "@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision_cp\": \"refs/heads
/master@{#120644}\"@@@", | |
| 79 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 80 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@", | |
| 81 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", | |
| 82 "@@@STEP_LOG_LINE@json.output@}@@@", | |
| 83 "@@@STEP_LOG_END@json.output@@@", | |
| 84 "@@@SET_BUILD_PROPERTY@got_nacl_revision@\"d998e125e8253980d76e269b7982aee
efc1b9b50\"@@@", | |
| 85 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@\"a0ee5d99f1d4b38ddaa4
c759c837980b63b99566\"@@@", | |
| 86 "@@@SET_BUILD_PROPERTY@got_buildtools_revision_cp@\"refs/heads/master@{#18
2578}\"@@@", | |
| 87 "@@@SET_BUILD_PROPERTY@got_webrtc_revision@\"0f90628433546e61d9268596da934
18c623137f4\"@@@", | |
| 88 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5
8cb9\"@@@", | |
| 89 "@@@SET_BUILD_PROPERTY@got_nacl_revision_cp@\"refs/heads/master@{#274981}\
"@@@", | |
| 90 "@@@SET_BUILD_PROPERTY@got_angle_revision@\"fac9503c46405f77757b9a728eb85b
8d7bc6080c\"@@@", | |
| 91 "@@@SET_BUILD_PROPERTY@got_v8_revision@\"801ada225ddc271c132c3a35f03975671
d43e399\"@@@", | |
| 92 "@@@SET_BUILD_PROPERTY@got_v8_revision_cp@\"refs/heads/master@{#43426}\"@@
@", | |
| 93 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision_cp@\"refs/heads/master
@{#276089}\"@@@", | |
| 94 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", | |
| 95 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
, | |
| 96 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@", | |
| 97 "@@@SET_BUILD_PROPERTY@got_buildtools_revision@\"f0319a328b2809876916353cb
994259692140934\"@@@" | |
| 98 ] | |
| 99 }, | |
| 100 { | |
| 101 "cmd": [ | |
| 102 "python", | |
| 103 "-u", | |
| 104 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
| 105 "[SLAVE_BUILD]/src/testing/buildbot/chromium.perf.json", | |
| 106 "/path/to/tmp/json" | |
| 107 ], | |
| 108 "name": "read test spec (chromium.perf.json)", | |
| 109 "~followup_annotations": [ | |
| 110 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.perf.json@
@@", | |
| 111 "@@@STEP_LOG_LINE@json.output@{}@@@", | |
| 112 "@@@STEP_LOG_END@json.output@@@" | |
| 113 ] | |
| 114 }, | |
| 115 { | |
| 116 "cmd": [ | |
| 117 "python", | |
| 118 "-u", | |
| 119 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py", | |
| 120 "--output", | |
| 121 "/path/to/tmp/json", | |
| 122 "--", | |
| 123 "--build-config-fs", | |
| 124 "Release", | |
| 125 "--paths", | |
| 126 "{\"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\"}", | |
| 127 "--properties", | |
| 128 "{\"buildername\": \"Android Nexus5 Perf (1)\", \"buildnumber\": 571, \"ma
stername\": \"chromium.perf\", \"perf-id\": \"android-nexus5\", \"results-url\":
\"https://chromeperf.appspot.com\", \"slavename\": \"slavename\", \"target_plat
form\": \"android\"}" | |
| 129 ], | |
| 130 "name": "get compile targets for scripts", | |
| 131 "~followup_annotations": [ | |
| 132 "@@@STEP_LOG_LINE@json.output@{}@@@", | |
| 133 "@@@STEP_LOG_END@json.output@@@" | |
| 134 ] | |
| 135 }, | |
| 136 { | |
| 137 "cmd": [ | |
| 138 "python", | |
| 139 "-u", | |
| 140 "\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", | |
| 141 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", | |
| 142 "[SLAVE_BUILD]/src/out/Release/test_logs", | |
| 143 "[SLAVE_BUILD]/src/out/build_product.zip", | |
| 144 "[SLAVE_BUILD]/src" | |
| 145 ], | |
| 146 "name": "clean local files", | |
| 147 "~followup_annotations": [ | |
| 148 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 149 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", | |
| 150 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", | |
| 151 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", | |
| 152 "@@@STEP_LOG_LINE@python.inline@try:@@@", | |
| 153 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", | |
| 154 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", | |
| 155 "@@@STEP_LOG_LINE@python.inline@ pass@@@", | |
| 156 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", | |
| 157 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", | |
| 158 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", | |
| 159 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, | |
| 160 "@@@STEP_LOG_END@python.inline@@@" | |
| 161 ] | |
| 162 }, | |
| 163 { | |
| 164 "cmd": [ | |
| 165 "python", | |
| 166 "-u", | |
| 167 "\nimport sys\nsys.path.append(sys.argv[1])\nfrom devil import devil_env\n
devil_env.config.Initialize()\ndevil_env.config.PrefetchPaths(dependencies=['adb
'])\n", | |
| 168 "[SLAVE_BUILD]/src/third_party/catapult/devil" | |
| 169 ], | |
| 170 "name": "initialize devil", | |
| 171 "~followup_annotations": [ | |
| 172 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 173 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
| 174 "@@@STEP_LOG_LINE@python.inline@sys.path.append(sys.argv[1])@@@", | |
| 175 "@@@STEP_LOG_LINE@python.inline@from devil import devil_env@@@", | |
| 176 "@@@STEP_LOG_LINE@python.inline@devil_env.config.Initialize()@@@", | |
| 177 "@@@STEP_LOG_LINE@python.inline@devil_env.config.PrefetchPaths(dependencie
s=['adb'])@@@", | |
| 178 "@@@STEP_LOG_END@python.inline@@@" | |
| 179 ] | |
| 180 }, | |
| 181 { | |
| 182 "cmd": [ | |
| 183 "python", | |
| 184 "-u", | |
| 185 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | |
| 186 "--", | |
| 187 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | |
| 188 "--force-version", | |
| 189 "4.7", | |
| 190 "----", | |
| 191 "cp", | |
| 192 "gs://chrome-perf/Android Builder/full-build-linux_deadbeef.zip", | |
| 193 "[SLAVE_BUILD]/src/out/build_product.zip" | |
| 194 ], | |
| 195 "name": "gsutil download_build_product" | |
| 196 }, | |
| 197 { | |
| 198 "cmd": [ | |
| 199 "unzip", | |
| 200 "-o", | |
| 201 "[SLAVE_BUILD]/src/out/build_product.zip" | |
| 202 ], | |
| 203 "cwd": "[SLAVE_BUILD]/src", | |
| 204 "name": "unzip_build_product" | |
| 205 }, | |
| 206 { | |
| 207 "cmd": [ | |
| 208 "python", | |
| 209 "-u", | |
| 210 "[SLAVE_BUILD]/src/build/symlink.py", | |
| 211 "-f", | |
| 212 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db", | |
| 213 "~/adb" | |
| 214 ], | |
| 215 "name": "create adb symlink" | |
| 216 }, | |
| 217 { | |
| 218 "cmd": [ | |
| 219 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | |
| 220 "--", | |
| 221 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", | |
| 222 "[SLAVE_BUILD]/src/out/logcat", | |
| 223 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db" | |
| 224 ], | |
| 225 "env": { | |
| 226 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 227 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 228 }, | |
| 229 "name": "spawn_logcat_monitor" | |
| 230 }, | |
| 231 { | |
| 232 "cmd": [ | |
| 233 "python", | |
| 234 "-u", | |
| 235 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | |
| 236 "--action", | |
| 237 "restart", | |
| 238 "--pid-file-path", | |
| 239 "/tmp/device_monitor.pid", | |
| 240 "--", | |
| 241 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_m
onitor.py", | |
| 242 "--adb-path", | |
| 243 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db", | |
| 244 "--blacklist-file", | |
| 245 "[SLAVE_BUILD]/src/out/bad_devices.json" | |
| 246 ], | |
| 247 "name": "spawn_device_monitor" | |
| 248 }, | |
| 249 { | |
| 250 "cmd": [ | |
| 251 "python", | |
| 252 "-u", | |
| 253 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py
", | |
| 254 "--verbose", | |
| 255 "--adb-path", | |
| 256 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db" | |
| 257 ], | |
| 258 "env": { | |
| 259 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 260 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 261 }, | |
| 262 "name": "authorize_adb_devices" | |
| 263 }, | |
| 264 { | |
| 265 "cmd": [ | |
| 266 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_r
ecovery.py", | |
| 267 "--blacklist-file", | |
| 268 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 269 "--known-devices-file", | |
| 270 "[HOME]/.android/known_devices.json", | |
| 271 "--adb-path", | |
| 272 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db", | |
| 273 "-v", | |
| 274 "--enable-usb-reset" | |
| 275 ], | |
| 276 "env": { | |
| 277 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 278 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 279 }, | |
| 280 "name": "device_recovery" | |
| 281 }, | |
| 282 { | |
| 283 "cmd": [ | |
| 284 "python", | |
| 285 "-u", | |
| 286 "[SLAVE_BUILD]/src/build/android/provision_devices.py", | |
| 287 "--adb-path", | |
| 288 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db", | |
| 289 "--blacklist-file", | |
| 290 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 291 "--output-device-blacklist", | |
| 292 "/path/to/tmp/json", | |
| 293 "-t", | |
| 294 "Release", | |
| 295 "--min-battery-level", | |
| 296 "95", | |
| 297 "--disable-network", | |
| 298 "--disable-java-debug", | |
| 299 "--max-battery-temp", | |
| 300 "350" | |
| 301 ], | |
| 302 "env": { | |
| 303 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 304 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 305 }, | |
| 306 "name": "provision_devices" | |
| 307 }, | |
| 308 { | |
| 309 "cmd": [ | |
| 310 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_s
tatus.py", | |
| 311 "--json-output", | |
| 312 "/path/to/tmp/json", | |
| 313 "--blacklist-file", | |
| 314 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 315 "--known-devices-file", | |
| 316 "[HOME]/.android/known_devices.json", | |
| 317 "--buildbot-path", | |
| 318 "/home/chrome-bot/.adb_device_info", | |
| 319 "--adb-path", | |
| 320 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db", | |
| 321 "-v", | |
| 322 "--overwrite-known-devices-files" | |
| 323 ], | |
| 324 "env": { | |
| 325 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 326 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 327 }, | |
| 328 "name": "device_status", | |
| 329 "~followup_annotations": [ | |
| 330 "@@@STEP_TEXT@Online devices: 1@@@", | |
| 331 "@@@STEP_LOG_LINE@json.output@[@@@", | |
| 332 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
| 333 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", | |
| 334 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | |
| 335 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | |
| 336 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", | |
| 337 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", | |
| 338 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", | |
| 339 "@@@STEP_LOG_LINE@json.output@ \"level\": \"100\", @@@", | |
| 340 "@@@STEP_LOG_LINE@json.output@ \"present\": \"true\", @@@", | |
| 341 "@@@STEP_LOG_LINE@json.output@ \"scale\": \"100\", @@@", | |
| 342 "@@@STEP_LOG_LINE@json.output@ \"status\": \"5\", @@@", | |
| 343 "@@@STEP_LOG_LINE@json.output@ \"technology\": \"Li-ion\", @@@", | |
| 344 "@@@STEP_LOG_LINE@json.output@ \"temperature\": \"249\", @@@", | |
| 345 "@@@STEP_LOG_LINE@json.output@ \"voltage\": \"4286\"@@@", | |
| 346 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 347 "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": false, @@@", | |
| 348 "@@@STEP_LOG_LINE@json.output@ \"build_detail\": \"google/razor/flo:5.0
/LRX21O/1570415:userdebug/dev-keys\", @@@", | |
| 349 "@@@STEP_LOG_LINE@json.output@ \"imei_slice\": \"Unknown\", @@@", | |
| 350 "@@@STEP_LOG_LINE@json.output@ \"ro.build.id\": \"LRX21O\", @@@", | |
| 351 "@@@STEP_LOG_LINE@json.output@ \"ro.build.product\": \"product_name\",
@@@", | |
| 352 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"07a00ca4\", @@@", | |
| 353 "@@@STEP_LOG_LINE@json.output@ \"usb_status\": true, @@@", | |
| 354 "@@@STEP_LOG_LINE@json.output@ \"wifi_ip\": \"\"@@@", | |
| 355 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 356 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
| 357 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"offline\", @@@", | |
| 358 "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": true, @@@", | |
| 359 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"03e0363a003c6ad4\", @@@", | |
| 360 "@@@STEP_LOG_LINE@json.output@ \"usb_status\": false@@@", | |
| 361 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 362 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
| 363 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"unauthorized\", @@@", | |
| 364 "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": true, @@@", | |
| 365 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"03e0363a003c6ad5\", @@@", | |
| 366 "@@@STEP_LOG_LINE@json.output@ \"usb_status\": true@@@", | |
| 367 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 368 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
| 369 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", | |
| 370 "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": true, @@@", | |
| 371 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"03e0363a003c6ad6\", @@@", | |
| 372 "@@@STEP_LOG_LINE@json.output@ \"usb_status\": true@@@", | |
| 373 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
| 374 "@@@STEP_LOG_LINE@json.output@]@@@", | |
| 375 "@@@STEP_LOG_END@json.output@@@", | |
| 376 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@{@@@", | |
| 377 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"adb_status\": \"device\
", @@@", | |
| 378 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"battery\": {@@@", | |
| 379 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"AC powered\": \"false
\", @@@", | |
| 380 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"USB powered\": \"true
\", @@@", | |
| 381 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"Wireless powered\": \
"false\", @@@", | |
| 382 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"health\": \"2\", @@@"
, | |
| 383 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"level\": \"100\", @@@
", | |
| 384 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"present\": \"true\",
@@@", | |
| 385 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"scale\": \"100\", @@@
", | |
| 386 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"status\": \"5\", @@@"
, | |
| 387 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"technology\": \"Li-io
n\", @@@", | |
| 388 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"temperature\": \"249\
", @@@", | |
| 389 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"voltage\": \"4286\"@@
@", | |
| 390 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ }, @@@", | |
| 391 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"blacklisted\": false, @
@@", | |
| 392 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"build_detail\": \"googl
e/razor/flo:5.0/LRX21O/1570415:userdebug/dev-keys\", @@@", | |
| 393 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"imei_slice\": \"Unknown
\", @@@", | |
| 394 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"ro.build.id\": \"LRX21O
\", @@@", | |
| 395 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"ro.build.product\": \"p
roduct_name\", @@@", | |
| 396 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"serial\": \"07a00ca4\",
@@@", | |
| 397 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"usb_status\": true, @@@
", | |
| 398 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"wifi_ip\": \"\"@@@", | |
| 399 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@}@@@", | |
| 400 "@@@STEP_LOG_END@product_name LRX21O 07a00ca4@@@", | |
| 401 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@{@@@", | |
| 402 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@ \"adb_status\": \"offline\",
@@@", | |
| 403 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@ \"blacklisted\": true, @@@", | |
| 404 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@ \"serial\": \"03e0363a003c6a
d4\", @@@", | |
| 405 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@ \"usb_status\": false@@@", | |
| 406 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@}@@@", | |
| 407 "@@@STEP_LOG_END@03e0363a003c6ad4: missing@@@", | |
| 408 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@{@@@", | |
| 409 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@ \"adb_status
\": \"unauthorized\", @@@", | |
| 410 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@ \"blackliste
d\": true, @@@", | |
| 411 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@ \"serial\":
\"03e0363a003c6ad5\", @@@", | |
| 412 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@ \"usb_status
\": true@@@", | |
| 413 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@}@@@", | |
| 414 "@@@STEP_LOG_END@03e0363a003c6ad5: adb status unauthorized@@@", | |
| 415 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@{@@@", | |
| 416 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"adb_status\": \"device
\", @@@", | |
| 417 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"blacklisted\": true, @
@@", | |
| 418 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", | |
| 419 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, | |
| 420 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", | |
| 421 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" | |
| 422 ] | |
| 423 }, | |
| 424 { | |
| 425 "cmd": [ | |
| 426 "python", | |
| 427 "-u", | |
| 428 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
| 429 "[SLAVE_BUILD]/src/chrome/VERSION", | |
| 430 "/path/to/tmp/" | |
| 431 ], | |
| 432 "name": "get version" | |
| 433 }, | |
| 434 { | |
| 435 "cmd": [ | |
| 436 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", | |
| 437 "ChromePublic.apk", | |
| 438 "-v", | |
| 439 "--blacklist-file", | |
| 440 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 441 "--adb-path", | |
| 442 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db", | |
| 443 "--release" | |
| 444 ], | |
| 445 "env": { | |
| 446 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 447 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 448 }, | |
| 449 "name": "install ChromePublic.apk" | |
| 450 }, | |
| 451 { | |
| 452 "cmd": [ | |
| 453 "[SLAVE_BUILD]/src/testing/scripts/host_info.py", | |
| 454 "--build-config-fs", | |
| 455 "Release", | |
| 456 "--paths", | |
| 457 "{\"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\"}", | |
| 458 "--properties", | |
| 459 "{\"buildername\": \"Android Nexus5 Perf (1)\", \"buildnumber\": 571, \"ma
stername\": \"chromium.perf\", \"perf-id\": \"android-nexus5\", \"results-url\":
\"https://chromeperf.appspot.com\", \"slavename\": \"slavename\", \"target_plat
form\": \"android\"}", | |
| 460 "--args", | |
| 461 "[\"--known-devices-file\", \"[HOME]/.android/known_devices.json\"]", | |
| 462 "run", | |
| 463 "--output", | |
| 464 "/path/to/tmp/json" | |
| 465 ], | |
| 466 "env": { | |
| 467 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 468 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 469 }, | |
| 470 "name": "Host Info", | |
| 471 "~followup_annotations": [ | |
| 472 "@@@STEP_LOG_LINE@json.output@{@@@", | |
| 473 "@@@STEP_LOG_LINE@json.output@ \"_host_info\": {@@@", | |
| 474 "@@@STEP_LOG_LINE@json.output@ \"devices\": [@@@", | |
| 475 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
| 476 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", | |
| 477 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | |
| 478 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | |
| 479 "@@@STEP_LOG_LINE@json.output@ \"Max charging current\": \"500000
\", @@@", | |
| 480 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", | |
| 481 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @
@@", | |
| 482 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", | |
| 483 "@@@STEP_LOG_LINE@json.output@ \"level\": \"100\", @@@", | |
| 484 "@@@STEP_LOG_LINE@json.output@ \"present\": \"true\", @@@", | |
| 485 "@@@STEP_LOG_LINE@json.output@ \"scale\": \"100\", @@@", | |
| 486 "@@@STEP_LOG_LINE@json.output@ \"status\": \"5\", @@@", | |
| 487 "@@@STEP_LOG_LINE@json.output@ \"technology\": \"Li-ion\", @@@", | |
| 488 "@@@STEP_LOG_LINE@json.output@ \"temperature\": \"240\", @@@", | |
| 489 "@@@STEP_LOG_LINE@json.output@ \"voltage\": \"4302\"@@@", | |
| 490 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 491 "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": null, @@@", | |
| 492 "@@@STEP_LOG_LINE@json.output@ \"imei_slice\": \"\", @@@", | |
| 493 "@@@STEP_LOG_LINE@json.output@ \"ro.build.fingerprint\": \"fingerpr
int\", @@@", | |
| 494 "@@@STEP_LOG_LINE@json.output@ \"ro.build.id\": \"MDB08Q\", @@@", | |
| 495 "@@@STEP_LOG_LINE@json.output@ \"ro.build.product\": \"bullhead\",
@@@", | |
| 496 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"00d0d567893340f4\", @@
@", | |
| 497 "@@@STEP_LOG_LINE@json.output@ \"usb_status\": true, @@@", | |
| 498 "@@@STEP_LOG_LINE@json.output@ \"wifi_ip\": \"\"@@@", | |
| 499 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
| 500 "@@@STEP_LOG_LINE@json.output@ ], @@@", | |
| 501 "@@@STEP_LOG_LINE@json.output@ \"free_disk_space\": \"free_disk_space\"
, @@@", | |
| 502 "@@@STEP_LOG_LINE@json.output@ \"num_cpus\": \"num_cpus\", @@@", | |
| 503 "@@@STEP_LOG_LINE@json.output@ \"os_release\": \"os_release\", @@@", | |
| 504 "@@@STEP_LOG_LINE@json.output@ \"os_system\": \"os_system\", @@@", | |
| 505 "@@@STEP_LOG_LINE@json.output@ \"processor\": \"processor\", @@@", | |
| 506 "@@@STEP_LOG_LINE@json.output@ \"python_path\": \"python_path\", @@@", | |
| 507 "@@@STEP_LOG_LINE@json.output@ \"python_version\": \"python_version\"@@
@", | |
| 508 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 509 "@@@STEP_LOG_LINE@json.output@ \"failures\": [], @@@", | |
| 510 "@@@STEP_LOG_LINE@json.output@ \"valid\": true@@@", | |
| 511 "@@@STEP_LOG_LINE@json.output@}@@@", | |
| 512 "@@@STEP_LOG_END@json.output@@@" | |
| 513 ] | |
| 514 }, | |
| 515 { | |
| 516 "cmd": [ | |
| 517 "python", | |
| 518 "-u", | |
| 519 "[SLAVE_BUILD]/src/tools/perf/run_benchmark", | |
| 520 "list", | |
| 521 "--browser", | |
| 522 "android-chromium", | |
| 523 "--json-output", | |
| 524 "/path/to/tmp/json", | |
| 525 "--num-shards", | |
| 526 "21", | |
| 527 "--device", | |
| 528 "07a00ca4" | |
| 529 ], | |
| 530 "name": "List Perf Tests", | |
| 531 "~followup_annotations": [ | |
| 532 "@@@STEP_LOG_LINE@json.output@{@@@", | |
| 533 "@@@STEP_LOG_LINE@json.output@ \"steps\": {@@@", | |
| 534 "@@@STEP_LOG_LINE@json.output@ \"blink_perf.all.exact\": {@@@", | |
| 535 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/usr/bin/python /path/to/ru
n_benchmark --a=1 -v --b=2\", @@@", | |
| 536 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 1, @@@", | |
| 537 "@@@STEP_LOG_LINE@json.output@ \"perf_dashboard_id\": \"blink_perf.al
l\"@@@", | |
| 538 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 539 "@@@STEP_LOG_LINE@json.output@ \"blink_perf.all.release\": {@@@", | |
| 540 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/usr/bin/python /path/to/ru
n_benchmark --a=1 -v --b=2\", @@@", | |
| 541 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@", | |
| 542 "@@@STEP_LOG_LINE@json.output@ \"perf_dashboard_id\": \"blink_perf.al
l\"@@@", | |
| 543 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 544 "@@@STEP_LOG_LINE@json.output@ \"blink_perf.dom\": {@@@", | |
| 545 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/path/to/run_benchmark -v -
-upload-results blink_perf.dom\", @@@", | |
| 546 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 1, @@@", | |
| 547 "@@@STEP_LOG_LINE@json.output@ \"perf_dashboard_id\": \"blink_perf.do
m\"@@@", | |
| 548 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 549 "@@@STEP_LOG_LINE@json.output@ \"dromaeo.cssqueryjquery\": {@@@", | |
| 550 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/path/to/run_benchmark\", @
@@", | |
| 551 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 13@@@", | |
| 552 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 553 "@@@STEP_LOG_LINE@json.output@ \"dromaeo.cssqueryjquery.release\": {@@@
", | |
| 554 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/path/to/run_benchmark\", @
@@", | |
| 555 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 11, @@@", | |
| 556 "@@@STEP_LOG_LINE@json.output@ \"perf_dashboard_id\": \"dromaeo.cssqu
eryjquery\"@@@", | |
| 557 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
| 558 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 559 "@@@STEP_LOG_LINE@json.output@ \"version\": 2@@@", | |
| 560 "@@@STEP_LOG_LINE@json.output@}@@@", | |
| 561 "@@@STEP_LOG_END@json.output@@@" | |
| 562 ] | |
| 563 }, | |
| 564 { | |
| 565 "cmd": [ | |
| 566 "python", | |
| 567 "-u", | |
| 568 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
| 569 "perf", | |
| 570 "--release", | |
| 571 "--verbose", | |
| 572 "--steps", | |
| 573 "{\"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}", | |
| 574 "--blacklist-file", | |
| 575 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 576 "--num-retries", | |
| 577 "0", | |
| 578 "--collect-chartjson-data", | |
| 579 "--max-battery-temp", | |
| 580 "350", | |
| 581 "--known-devices-file", | |
| 582 "[HOME]/.android/known_devices.json", | |
| 583 "--enable-platform-mode", | |
| 584 "--adb-path", | |
| 585 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db" | |
| 586 ], | |
| 587 "cwd": "[SLAVE_BUILD]/src", | |
| 588 "env": { | |
| 589 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | |
| 590 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 591 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 592 }, | |
| 593 "name": "Sharded Perf Tests" | |
| 594 }, | |
| 595 { | |
| 596 "cmd": [ | |
| 597 "python", | |
| 598 "-u", | |
| 599 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
| 600 "perf", | |
| 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 "--output-json-list", | |
| 604 "/path/to/tmp/json", | |
| 605 "--blacklist-file", | |
| 606 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 607 "--adb-path", | |
| 608 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db" | |
| 609 ], | |
| 610 "env": { | |
| 611 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | |
| 612 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 613 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 614 }, | |
| 615 "name": "get perf test list", | |
| 616 "~followup_annotations": [ | |
| 617 "@@@STEP_LOG_LINE@json.output@[@@@", | |
| 618 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
| 619 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@", | |
| 620 "@@@STEP_LOG_LINE@json.output@ \"end_time\": 1443438432.949711, @@@", | |
| 621 "@@@STEP_LOG_LINE@json.output@ \"has_archive\": true, @@@", | |
| 622 "@@@STEP_LOG_LINE@json.output@ \"test\": \"perf_test.foo\"@@@", | |
| 623 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 624 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
| 625 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@", | |
| 626 "@@@STEP_LOG_LINE@json.output@ \"test\": \"page_cycler.foo\"@@@", | |
| 627 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
| 628 "@@@STEP_LOG_LINE@json.output@]@@@", | |
| 629 "@@@STEP_LOG_END@json.output@@@" | |
| 630 ] | |
| 631 }, | |
| 632 { | |
| 633 "allow_subannotations": true, | |
| 634 "cmd": [ | |
| 635 "python", | |
| 636 "-u", | |
| 637 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py", | |
| 638 "--target", | |
| 639 "Release", | |
| 640 "--test-platform", | |
| 641 "android", | |
| 642 "--no-xvfb", | |
| 643 "--factory-properties", | |
| 644 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
buildername\": \"Android Nexus5 Perf (1)\", \"buildnumber\": 571, \"mastername\"
: \"chromium.perf\", \"parent_buildername\": \"parent_buildername\", \"parent_bu
ildnumber\": \"1729\", \"parent_revision\": \"deadbeef\", \"path_config\": \"kit
chen\", \"recipe\": \"android/perf\", \"repo_name\": \"src\", \"repo_url\": \"ht
tps://chromium.googlesource.com/chromium/src.git\", \"revision\": \"deadbeef\",
\"slavename\": \"slavename\", \"target\": \"Release\", \"workdir\": \"/path/to/w
orkdir/TestSlavename\"}", | |
| 645 "--build-properties", | |
| 646 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
buildername\": \"Android Nexus5 Perf (1)\", \"buildnumber\": 571, \"mastername\"
: \"chromium.perf\", \"parent_buildername\": \"parent_buildername\", \"parent_bu
ildnumber\": \"1729\", \"parent_revision\": \"deadbeef\", \"path_config\": \"kit
chen\", \"recipe\": \"android/perf\", \"repo_name\": \"src\", \"repo_url\": \"ht
tps://chromium.googlesource.com/chromium/src.git\", \"revision\": \"deadbeef\",
\"slavename\": \"slavename\", \"target\": \"Release\", \"workdir\": \"/path/to/w
orkdir/TestSlavename\"}", | |
| 647 "--annotate=graphing", | |
| 648 "--results-url=https://chromeperf.appspot.com", | |
| 649 "--perf-dashboard-id=page_cycler.foo", | |
| 650 "--perf-id=android-nexus5", | |
| 651 "--test-type=page_cycler.foo", | |
| 652 "--step-name=page_cycler.foo", | |
| 653 "--chartjson-file", | |
| 654 "/path/to/tmp/json", | |
| 655 "--builder-name=Android Nexus5 Perf (1)", | |
| 656 "--slave-name=slavename", | |
| 657 "--build-number=571", | |
| 658 "--run-python-script", | |
| 659 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
| 660 "perf", | |
| 661 "--print-step", | |
| 662 "page_cycler.foo", | |
| 663 "--verbose", | |
| 664 "--adb-path", | |
| 665 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db", | |
| 666 "--blacklist-file", | |
| 667 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 668 "--enable-platform-mode" | |
| 669 ], | |
| 670 "env": { | |
| 671 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | |
| 672 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 673 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 674 }, | |
| 675 "name": "page_cycler.foo", | |
| 676 "~followup_annotations": [ | |
| 677 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@", | |
| 678 "@@@STEP_LOG_LINE@json.output@[]@@@", | |
| 679 "@@@STEP_LOG_END@json.output@@@", | |
| 680 "@@@STEP_LOG_LINE@device affinity@0@@@", | |
| 681 "@@@STEP_LOG_END@device affinity@@@" | |
| 682 ] | |
| 683 }, | |
| 684 { | |
| 685 "allow_subannotations": true, | |
| 686 "cmd": [ | |
| 687 "python", | |
| 688 "-u", | |
| 689 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py", | |
| 690 "--target", | |
| 691 "Release", | |
| 692 "--test-platform", | |
| 693 "android", | |
| 694 "--no-xvfb", | |
| 695 "--factory-properties", | |
| 696 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
buildername\": \"Android Nexus5 Perf (1)\", \"buildnumber\": 571, \"mastername\"
: \"chromium.perf\", \"parent_buildername\": \"parent_buildername\", \"parent_bu
ildnumber\": \"1729\", \"parent_revision\": \"deadbeef\", \"path_config\": \"kit
chen\", \"recipe\": \"android/perf\", \"repo_name\": \"src\", \"repo_url\": \"ht
tps://chromium.googlesource.com/chromium/src.git\", \"revision\": \"deadbeef\",
\"slavename\": \"slavename\", \"target\": \"Release\", \"workdir\": \"/path/to/w
orkdir/TestSlavename\"}", | |
| 697 "--build-properties", | |
| 698 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
buildername\": \"Android Nexus5 Perf (1)\", \"buildnumber\": 571, \"mastername\"
: \"chromium.perf\", \"parent_buildername\": \"parent_buildername\", \"parent_bu
ildnumber\": \"1729\", \"parent_revision\": \"deadbeef\", \"path_config\": \"kit
chen\", \"recipe\": \"android/perf\", \"repo_name\": \"src\", \"repo_url\": \"ht
tps://chromium.googlesource.com/chromium/src.git\", \"revision\": \"deadbeef\",
\"slavename\": \"slavename\", \"target\": \"Release\", \"workdir\": \"/path/to/w
orkdir/TestSlavename\"}", | |
| 699 "--annotate=graphing", | |
| 700 "--results-url=https://chromeperf.appspot.com", | |
| 701 "--perf-dashboard-id=perf_test.foo", | |
| 702 "--perf-id=android-nexus5", | |
| 703 "--test-type=perf_test.foo", | |
| 704 "--step-name=perf_test.foo", | |
| 705 "--chartjson-file", | |
| 706 "/path/to/tmp/json", | |
| 707 "--builder-name=Android Nexus5 Perf (1)", | |
| 708 "--slave-name=slavename", | |
| 709 "--build-number=571", | |
| 710 "--run-python-script", | |
| 711 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
| 712 "perf", | |
| 713 "--print-step", | |
| 714 "perf_test.foo", | |
| 715 "--verbose", | |
| 716 "--adb-path", | |
| 717 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db", | |
| 718 "--blacklist-file", | |
| 719 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 720 "--enable-platform-mode" | |
| 721 ], | |
| 722 "env": { | |
| 723 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | |
| 724 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 725 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 726 }, | |
| 727 "name": "perf_test.foo", | |
| 728 "~followup_annotations": [ | |
| 729 "step returned non-zero exit code: 1", | |
| 730 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@", | |
| 731 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | |
| 732 "@@@STEP_LOG_END@json.output (invalid)@@@", | |
| 733 "@@@STEP_LOG_LINE@device affinity@0@@@", | |
| 734 "@@@STEP_LOG_END@device affinity@@@", | |
| 735 "@@@STEP_FAILURE@@@" | |
| 736 ] | |
| 737 }, | |
| 738 { | |
| 739 "cmd": [ | |
| 740 "python", | |
| 741 "-u", | |
| 742 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | |
| 743 "--action", | |
| 744 "stop", | |
| 745 "--pid-file-path", | |
| 746 "/tmp/device_monitor.pid" | |
| 747 ], | |
| 748 "name": "shutdown_device_monitor" | |
| 749 }, | |
| 750 { | |
| 751 "cmd": [ | |
| 752 "python", | |
| 753 "-u", | |
| 754 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", | |
| 755 "--output-path", | |
| 756 "[SLAVE_BUILD]/src/out/Release/full_log", | |
| 757 "[SLAVE_BUILD]/src/out/logcat" | |
| 758 ], | |
| 759 "name": "logcat_dump" | |
| 760 }, | |
| 761 { | |
| 762 "cmd": [ | |
| 763 "python", | |
| 764 "-u", | |
| 765 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | |
| 766 "--", | |
| 767 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | |
| 768 "--force-version", | |
| 769 "4.7", | |
| 770 "-o", | |
| 771 "GSUtil:parallel_composite_upload_threshold=50M", | |
| 772 "----", | |
| 773 "cp", | |
| 774 "[SLAVE_BUILD]/src/out/Release/full_log", | |
| 775 "gs://chromium-android/logcat_dumps/Android Nexus5 Perf (1)/571" | |
| 776 ], | |
| 777 "name": "gsutil upload", | |
| 778 "~followup_annotations": [ | |
| 779 "@@@STEP_LINK@logcat dump@https://storage.cloud.google.com/chromium-androi
d/logcat_dumps/Android Nexus5 Perf (1)/571@@@" | |
| 780 ] | |
| 781 }, | |
| 782 { | |
| 783 "cmd": [ | |
| 784 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack"
, | |
| 785 "--arch", | |
| 786 "arm", | |
| 787 "--more-info", | |
| 788 "[SLAVE_BUILD]/src/out/Release/full_log" | |
| 789 ], | |
| 790 "env": { | |
| 791 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | |
| 792 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 793 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 794 }, | |
| 795 "name": "stack_tool_with_logcat_dump" | |
| 796 }, | |
| 797 { | |
| 798 "cmd": [ | |
| 799 "python", | |
| 800 "-u", | |
| 801 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
| 802 "[SLAVE_BUILD]/src/chrome/VERSION", | |
| 803 "/path/to/tmp/" | |
| 804 ], | |
| 805 "name": "get version (2)" | |
| 806 }, | |
| 807 { | |
| 808 "cmd": [ | |
| 809 "[SLAVE_BUILD]/src/build/android/tombstones.py", | |
| 810 "-a", | |
| 811 "-s", | |
| 812 "-w" | |
| 813 ], | |
| 814 "env": { | |
| 815 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | |
| 816 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 817 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 818 }, | |
| 819 "name": "stack_tool_for_tombstones" | |
| 820 }, | |
| 821 { | |
| 822 "cmd": [ | |
| 823 "python", | |
| 824 "-u", | |
| 825 "\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", | |
| 826 "[SLAVE_BUILD]/src/out/Release/test_logs/*.log" | |
| 827 ], | |
| 828 "name": "test_report", | |
| 829 "~followup_annotations": [ | |
| 830 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 831 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | |
| 832 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | |
| 833 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", | |
| 834 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | |
| 835 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | |
| 836 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | |
| 837 "@@@STEP_LOG_END@python.inline@@@" | |
| 838 ] | |
| 839 }, | |
| 840 { | |
| 841 "name": "$result", | |
| 842 "reason": "sharded perf tests failed [StepFailure(\"Step('perf_test.foo') fa
iled with return_code 1\",)]", | |
| 843 "recipe_result": null, | |
| 844 "status_code": 1 | |
| 845 } | |
| 846 ] | |
| OLD | NEW |