| 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_LINE@json.output@ \"Android Nexus5 Perf (1)\": {@@@", | |
| 113 "@@@STEP_LOG_LINE@json.output@ \"scripts\": [@@@", | |
| 114 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
| 115 "@@@STEP_LOG_LINE@json.output@ \"name\": \"host_info\", @@@", | |
| 116 "@@@STEP_LOG_LINE@json.output@ \"script\": \"host_info.py\"@@@", | |
| 117 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
| 118 "@@@STEP_LOG_LINE@json.output@ ]@@@", | |
| 119 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
| 120 "@@@STEP_LOG_LINE@json.output@}@@@", | |
| 121 "@@@STEP_LOG_END@json.output@@@" | |
| 122 ] | |
| 123 }, | |
| 124 { | |
| 125 "cmd": [ | |
| 126 "python", | |
| 127 "-u", | |
| 128 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py", | |
| 129 "--output", | |
| 130 "/path/to/tmp/json", | |
| 131 "--", | |
| 132 "--build-config-fs", | |
| 133 "Release", | |
| 134 "--paths", | |
| 135 "{\"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\"}", | |
| 136 "--properties", | |
| 137 "{\"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\"}" | |
| 138 ], | |
| 139 "name": "get compile targets for scripts", | |
| 140 "~followup_annotations": [ | |
| 141 "@@@STEP_LOG_LINE@json.output@{}@@@", | |
| 142 "@@@STEP_LOG_END@json.output@@@" | |
| 143 ] | |
| 144 }, | |
| 145 { | |
| 146 "cmd": [ | |
| 147 "python", | |
| 148 "-u", | |
| 149 "\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", | |
| 150 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", | |
| 151 "[SLAVE_BUILD]/src/out/Release/test_logs", | |
| 152 "[SLAVE_BUILD]/src/out/build_product.zip", | |
| 153 "[SLAVE_BUILD]/src" | |
| 154 ], | |
| 155 "name": "clean local files", | |
| 156 "~followup_annotations": [ | |
| 157 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 158 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", | |
| 159 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", | |
| 160 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", | |
| 161 "@@@STEP_LOG_LINE@python.inline@try:@@@", | |
| 162 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", | |
| 163 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", | |
| 164 "@@@STEP_LOG_LINE@python.inline@ pass@@@", | |
| 165 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", | |
| 166 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", | |
| 167 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", | |
| 168 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, | |
| 169 "@@@STEP_LOG_END@python.inline@@@" | |
| 170 ] | |
| 171 }, | |
| 172 { | |
| 173 "cmd": [ | |
| 174 "python", | |
| 175 "-u", | |
| 176 "\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", | |
| 177 "[SLAVE_BUILD]/src/third_party/catapult/devil" | |
| 178 ], | |
| 179 "name": "initialize devil", | |
| 180 "~followup_annotations": [ | |
| 181 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 182 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
| 183 "@@@STEP_LOG_LINE@python.inline@sys.path.append(sys.argv[1])@@@", | |
| 184 "@@@STEP_LOG_LINE@python.inline@from devil import devil_env@@@", | |
| 185 "@@@STEP_LOG_LINE@python.inline@devil_env.config.Initialize()@@@", | |
| 186 "@@@STEP_LOG_LINE@python.inline@devil_env.config.PrefetchPaths(dependencie
s=['adb'])@@@", | |
| 187 "@@@STEP_LOG_END@python.inline@@@" | |
| 188 ] | |
| 189 }, | |
| 190 { | |
| 191 "cmd": [ | |
| 192 "python", | |
| 193 "-u", | |
| 194 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | |
| 195 "--", | |
| 196 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | |
| 197 "--force-version", | |
| 198 "4.7", | |
| 199 "----", | |
| 200 "cp", | |
| 201 "gs://chrome-perf/Android Builder/full-build-linux_deadbeef.zip", | |
| 202 "[SLAVE_BUILD]/src/out/build_product.zip" | |
| 203 ], | |
| 204 "name": "gsutil download_build_product" | |
| 205 }, | |
| 206 { | |
| 207 "cmd": [ | |
| 208 "unzip", | |
| 209 "-o", | |
| 210 "[SLAVE_BUILD]/src/out/build_product.zip" | |
| 211 ], | |
| 212 "cwd": "[SLAVE_BUILD]/src", | |
| 213 "name": "unzip_build_product" | |
| 214 }, | |
| 215 { | |
| 216 "cmd": [ | |
| 217 "python", | |
| 218 "-u", | |
| 219 "[SLAVE_BUILD]/src/build/symlink.py", | |
| 220 "-f", | |
| 221 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db", | |
| 222 "~/adb" | |
| 223 ], | |
| 224 "name": "create adb symlink" | |
| 225 }, | |
| 226 { | |
| 227 "cmd": [ | |
| 228 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | |
| 229 "--", | |
| 230 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", | |
| 231 "[SLAVE_BUILD]/src/out/logcat", | |
| 232 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db" | |
| 233 ], | |
| 234 "env": { | |
| 235 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 236 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 237 }, | |
| 238 "name": "spawn_logcat_monitor" | |
| 239 }, | |
| 240 { | |
| 241 "cmd": [ | |
| 242 "python", | |
| 243 "-u", | |
| 244 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | |
| 245 "--action", | |
| 246 "restart", | |
| 247 "--pid-file-path", | |
| 248 "/tmp/device_monitor.pid", | |
| 249 "--", | |
| 250 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_m
onitor.py", | |
| 251 "--adb-path", | |
| 252 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db", | |
| 253 "--blacklist-file", | |
| 254 "[SLAVE_BUILD]/src/out/bad_devices.json" | |
| 255 ], | |
| 256 "name": "spawn_device_monitor" | |
| 257 }, | |
| 258 { | |
| 259 "cmd": [ | |
| 260 "python", | |
| 261 "-u", | |
| 262 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py
", | |
| 263 "--verbose", | |
| 264 "--adb-path", | |
| 265 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db" | |
| 266 ], | |
| 267 "env": { | |
| 268 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 269 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 270 }, | |
| 271 "name": "authorize_adb_devices" | |
| 272 }, | |
| 273 { | |
| 274 "cmd": [ | |
| 275 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_r
ecovery.py", | |
| 276 "--blacklist-file", | |
| 277 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 278 "--known-devices-file", | |
| 279 "[HOME]/.android/known_devices.json", | |
| 280 "--adb-path", | |
| 281 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db", | |
| 282 "-v", | |
| 283 "--enable-usb-reset" | |
| 284 ], | |
| 285 "env": { | |
| 286 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 287 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 288 }, | |
| 289 "name": "device_recovery" | |
| 290 }, | |
| 291 { | |
| 292 "cmd": [ | |
| 293 "python", | |
| 294 "-u", | |
| 295 "[SLAVE_BUILD]/src/build/android/provision_devices.py", | |
| 296 "--adb-path", | |
| 297 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db", | |
| 298 "--blacklist-file", | |
| 299 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 300 "--output-device-blacklist", | |
| 301 "/path/to/tmp/json", | |
| 302 "-t", | |
| 303 "Release", | |
| 304 "--min-battery-level", | |
| 305 "95", | |
| 306 "--disable-network", | |
| 307 "--disable-java-debug", | |
| 308 "--max-battery-temp", | |
| 309 "350" | |
| 310 ], | |
| 311 "env": { | |
| 312 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 313 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 314 }, | |
| 315 "name": "provision_devices" | |
| 316 }, | |
| 317 { | |
| 318 "cmd": [ | |
| 319 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_s
tatus.py", | |
| 320 "--json-output", | |
| 321 "/path/to/tmp/json", | |
| 322 "--blacklist-file", | |
| 323 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 324 "--known-devices-file", | |
| 325 "[HOME]/.android/known_devices.json", | |
| 326 "--buildbot-path", | |
| 327 "/home/chrome-bot/.adb_device_info", | |
| 328 "--adb-path", | |
| 329 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db", | |
| 330 "-v", | |
| 331 "--overwrite-known-devices-files" | |
| 332 ], | |
| 333 "env": { | |
| 334 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 335 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 336 }, | |
| 337 "name": "device_status", | |
| 338 "~followup_annotations": [ | |
| 339 "@@@STEP_TEXT@Online devices: 1@@@", | |
| 340 "@@@STEP_LOG_LINE@json.output@[@@@", | |
| 341 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
| 342 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", | |
| 343 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | |
| 344 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | |
| 345 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", | |
| 346 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", | |
| 347 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", | |
| 348 "@@@STEP_LOG_LINE@json.output@ \"level\": \"100\", @@@", | |
| 349 "@@@STEP_LOG_LINE@json.output@ \"present\": \"true\", @@@", | |
| 350 "@@@STEP_LOG_LINE@json.output@ \"scale\": \"100\", @@@", | |
| 351 "@@@STEP_LOG_LINE@json.output@ \"status\": \"5\", @@@", | |
| 352 "@@@STEP_LOG_LINE@json.output@ \"technology\": \"Li-ion\", @@@", | |
| 353 "@@@STEP_LOG_LINE@json.output@ \"temperature\": \"249\", @@@", | |
| 354 "@@@STEP_LOG_LINE@json.output@ \"voltage\": \"4286\"@@@", | |
| 355 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 356 "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": false, @@@", | |
| 357 "@@@STEP_LOG_LINE@json.output@ \"build_detail\": \"google/razor/flo:5.0
/LRX21O/1570415:userdebug/dev-keys\", @@@", | |
| 358 "@@@STEP_LOG_LINE@json.output@ \"imei_slice\": \"Unknown\", @@@", | |
| 359 "@@@STEP_LOG_LINE@json.output@ \"ro.build.id\": \"LRX21O\", @@@", | |
| 360 "@@@STEP_LOG_LINE@json.output@ \"ro.build.product\": \"product_name\",
@@@", | |
| 361 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"07a00ca4\", @@@", | |
| 362 "@@@STEP_LOG_LINE@json.output@ \"usb_status\": true, @@@", | |
| 363 "@@@STEP_LOG_LINE@json.output@ \"wifi_ip\": \"\"@@@", | |
| 364 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 365 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
| 366 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"offline\", @@@", | |
| 367 "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": true, @@@", | |
| 368 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"03e0363a003c6ad4\", @@@", | |
| 369 "@@@STEP_LOG_LINE@json.output@ \"usb_status\": false@@@", | |
| 370 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 371 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
| 372 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"unauthorized\", @@@", | |
| 373 "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": true, @@@", | |
| 374 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"03e0363a003c6ad5\", @@@", | |
| 375 "@@@STEP_LOG_LINE@json.output@ \"usb_status\": true@@@", | |
| 376 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 377 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
| 378 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", | |
| 379 "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": true, @@@", | |
| 380 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"03e0363a003c6ad6\", @@@", | |
| 381 "@@@STEP_LOG_LINE@json.output@ \"usb_status\": true@@@", | |
| 382 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
| 383 "@@@STEP_LOG_LINE@json.output@]@@@", | |
| 384 "@@@STEP_LOG_END@json.output@@@", | |
| 385 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@{@@@", | |
| 386 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"adb_status\": \"device\
", @@@", | |
| 387 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"battery\": {@@@", | |
| 388 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"AC powered\": \"false
\", @@@", | |
| 389 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"USB powered\": \"true
\", @@@", | |
| 390 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"Wireless powered\": \
"false\", @@@", | |
| 391 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"health\": \"2\", @@@"
, | |
| 392 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"level\": \"100\", @@@
", | |
| 393 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"present\": \"true\",
@@@", | |
| 394 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"scale\": \"100\", @@@
", | |
| 395 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"status\": \"5\", @@@"
, | |
| 396 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"technology\": \"Li-io
n\", @@@", | |
| 397 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"temperature\": \"249\
", @@@", | |
| 398 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"voltage\": \"4286\"@@
@", | |
| 399 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ }, @@@", | |
| 400 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"blacklisted\": false, @
@@", | |
| 401 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"build_detail\": \"googl
e/razor/flo:5.0/LRX21O/1570415:userdebug/dev-keys\", @@@", | |
| 402 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"imei_slice\": \"Unknown
\", @@@", | |
| 403 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"ro.build.id\": \"LRX21O
\", @@@", | |
| 404 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"ro.build.product\": \"p
roduct_name\", @@@", | |
| 405 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"serial\": \"07a00ca4\",
@@@", | |
| 406 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"usb_status\": true, @@@
", | |
| 407 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@ \"wifi_ip\": \"\"@@@", | |
| 408 "@@@STEP_LOG_LINE@product_name LRX21O 07a00ca4@}@@@", | |
| 409 "@@@STEP_LOG_END@product_name LRX21O 07a00ca4@@@", | |
| 410 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@{@@@", | |
| 411 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@ \"adb_status\": \"offline\",
@@@", | |
| 412 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@ \"blacklisted\": true, @@@", | |
| 413 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@ \"serial\": \"03e0363a003c6a
d4\", @@@", | |
| 414 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@ \"usb_status\": false@@@", | |
| 415 "@@@STEP_LOG_LINE@03e0363a003c6ad4: missing@}@@@", | |
| 416 "@@@STEP_LOG_END@03e0363a003c6ad4: missing@@@", | |
| 417 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@{@@@", | |
| 418 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@ \"adb_status
\": \"unauthorized\", @@@", | |
| 419 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@ \"blackliste
d\": true, @@@", | |
| 420 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@ \"serial\":
\"03e0363a003c6ad5\", @@@", | |
| 421 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@ \"usb_status
\": true@@@", | |
| 422 "@@@STEP_LOG_LINE@03e0363a003c6ad5: adb status unauthorized@}@@@", | |
| 423 "@@@STEP_LOG_END@03e0363a003c6ad5: adb status unauthorized@@@", | |
| 424 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@{@@@", | |
| 425 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"adb_status\": \"device
\", @@@", | |
| 426 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"blacklisted\": true, @
@@", | |
| 427 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", | |
| 428 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, | |
| 429 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", | |
| 430 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" | |
| 431 ] | |
| 432 }, | |
| 433 { | |
| 434 "cmd": [ | |
| 435 "python", | |
| 436 "-u", | |
| 437 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
| 438 "[SLAVE_BUILD]/src/chrome/VERSION", | |
| 439 "/path/to/tmp/" | |
| 440 ], | |
| 441 "name": "get version" | |
| 442 }, | |
| 443 { | |
| 444 "cmd": [ | |
| 445 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", | |
| 446 "ChromePublic.apk", | |
| 447 "-v", | |
| 448 "--blacklist-file", | |
| 449 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 450 "--adb-path", | |
| 451 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db", | |
| 452 "--release" | |
| 453 ], | |
| 454 "env": { | |
| 455 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 456 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 457 }, | |
| 458 "name": "install ChromePublic.apk" | |
| 459 }, | |
| 460 { | |
| 461 "cmd": [ | |
| 462 "[SLAVE_BUILD]/src/testing/scripts/host_info.py", | |
| 463 "--build-config-fs", | |
| 464 "Release", | |
| 465 "--paths", | |
| 466 "{\"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\"}", | |
| 467 "--properties", | |
| 468 "{\"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\"}", | |
| 469 "--args", | |
| 470 "[\"--known-devices-file\", \"[HOME]/.android/known_devices.json\"]", | |
| 471 "run", | |
| 472 "--output", | |
| 473 "/path/to/tmp/json" | |
| 474 ], | |
| 475 "env": { | |
| 476 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 477 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 478 }, | |
| 479 "name": "Host Info", | |
| 480 "~followup_annotations": [ | |
| 481 "@@@STEP_LOG_LINE@json.output@{@@@", | |
| 482 "@@@STEP_LOG_LINE@json.output@ \"_host_info\": {@@@", | |
| 483 "@@@STEP_LOG_LINE@json.output@ \"devices\": [@@@", | |
| 484 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
| 485 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", | |
| 486 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | |
| 487 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | |
| 488 "@@@STEP_LOG_LINE@json.output@ \"Max charging current\": \"500000
\", @@@", | |
| 489 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", | |
| 490 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @
@@", | |
| 491 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", | |
| 492 "@@@STEP_LOG_LINE@json.output@ \"level\": \"100\", @@@", | |
| 493 "@@@STEP_LOG_LINE@json.output@ \"present\": \"true\", @@@", | |
| 494 "@@@STEP_LOG_LINE@json.output@ \"scale\": \"100\", @@@", | |
| 495 "@@@STEP_LOG_LINE@json.output@ \"status\": \"5\", @@@", | |
| 496 "@@@STEP_LOG_LINE@json.output@ \"technology\": \"Li-ion\", @@@", | |
| 497 "@@@STEP_LOG_LINE@json.output@ \"temperature\": \"240\", @@@", | |
| 498 "@@@STEP_LOG_LINE@json.output@ \"voltage\": \"4302\"@@@", | |
| 499 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 500 "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": null, @@@", | |
| 501 "@@@STEP_LOG_LINE@json.output@ \"imei_slice\": \"\", @@@", | |
| 502 "@@@STEP_LOG_LINE@json.output@ \"ro.build.fingerprint\": \"fingerpr
int\", @@@", | |
| 503 "@@@STEP_LOG_LINE@json.output@ \"ro.build.id\": \"MDB08Q\", @@@", | |
| 504 "@@@STEP_LOG_LINE@json.output@ \"ro.build.product\": \"bullhead\",
@@@", | |
| 505 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"00d0d567893340f4\", @@
@", | |
| 506 "@@@STEP_LOG_LINE@json.output@ \"usb_status\": true, @@@", | |
| 507 "@@@STEP_LOG_LINE@json.output@ \"wifi_ip\": \"\"@@@", | |
| 508 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
| 509 "@@@STEP_LOG_LINE@json.output@ ], @@@", | |
| 510 "@@@STEP_LOG_LINE@json.output@ \"free_disk_space\": \"free_disk_space\"
, @@@", | |
| 511 "@@@STEP_LOG_LINE@json.output@ \"num_cpus\": \"num_cpus\", @@@", | |
| 512 "@@@STEP_LOG_LINE@json.output@ \"os_release\": \"os_release\", @@@", | |
| 513 "@@@STEP_LOG_LINE@json.output@ \"os_system\": \"os_system\", @@@", | |
| 514 "@@@STEP_LOG_LINE@json.output@ \"processor\": \"processor\", @@@", | |
| 515 "@@@STEP_LOG_LINE@json.output@ \"python_path\": \"python_path\", @@@", | |
| 516 "@@@STEP_LOG_LINE@json.output@ \"python_version\": \"python_version\"@@
@", | |
| 517 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 518 "@@@STEP_LOG_LINE@json.output@ \"failures\": [], @@@", | |
| 519 "@@@STEP_LOG_LINE@json.output@ \"valid\": true@@@", | |
| 520 "@@@STEP_LOG_LINE@json.output@}@@@", | |
| 521 "@@@STEP_LOG_END@json.output@@@" | |
| 522 ] | |
| 523 }, | |
| 524 { | |
| 525 "cmd": [ | |
| 526 "python", | |
| 527 "-u", | |
| 528 "[SLAVE_BUILD]/src/testing/scripts/host_info.py", | |
| 529 "--build-config-fs", | |
| 530 "Release", | |
| 531 "--paths", | |
| 532 "{\"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\"}", | |
| 533 "--properties", | |
| 534 "{\"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\"}", | |
| 535 "run", | |
| 536 "--output", | |
| 537 "/path/to/tmp/json" | |
| 538 ], | |
| 539 "name": "host_info", | |
| 540 "~followup_annotations": [ | |
| 541 "step returned non-zero exit code: 1", | |
| 542 "@@@STEP_LOG_LINE@json.output@{@@@", | |
| 543 "@@@STEP_LOG_LINE@json.output@ \"failures\": [], @@@", | |
| 544 "@@@STEP_LOG_LINE@json.output@ \"valid\": true@@@", | |
| 545 "@@@STEP_LOG_LINE@json.output@}@@@", | |
| 546 "@@@STEP_LOG_END@json.output@@@", | |
| 547 "@@@STEP_FAILURE@@@" | |
| 548 ] | |
| 549 }, | |
| 550 { | |
| 551 "cmd": [ | |
| 552 "python", | |
| 553 "-u", | |
| 554 "[SLAVE_BUILD]/src/tools/perf/run_benchmark", | |
| 555 "list", | |
| 556 "--browser", | |
| 557 "android-chromium", | |
| 558 "--json-output", | |
| 559 "/path/to/tmp/json", | |
| 560 "--num-shards", | |
| 561 "21", | |
| 562 "--device", | |
| 563 "07a00ca4" | |
| 564 ], | |
| 565 "name": "List Perf Tests", | |
| 566 "~followup_annotations": [ | |
| 567 "@@@STEP_LOG_LINE@json.output@{@@@", | |
| 568 "@@@STEP_LOG_LINE@json.output@ \"steps\": {@@@", | |
| 569 "@@@STEP_LOG_LINE@json.output@ \"blink_perf.all.exact\": {@@@", | |
| 570 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/usr/bin/python /path/to/ru
n_benchmark --a=1 -v --b=2\", @@@", | |
| 571 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 1, @@@", | |
| 572 "@@@STEP_LOG_LINE@json.output@ \"perf_dashboard_id\": \"blink_perf.al
l\"@@@", | |
| 573 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 574 "@@@STEP_LOG_LINE@json.output@ \"blink_perf.all.release\": {@@@", | |
| 575 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/usr/bin/python /path/to/ru
n_benchmark --a=1 -v --b=2\", @@@", | |
| 576 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@", | |
| 577 "@@@STEP_LOG_LINE@json.output@ \"perf_dashboard_id\": \"blink_perf.al
l\"@@@", | |
| 578 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 579 "@@@STEP_LOG_LINE@json.output@ \"blink_perf.dom\": {@@@", | |
| 580 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/path/to/run_benchmark -v -
-upload-results blink_perf.dom\", @@@", | |
| 581 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 1, @@@", | |
| 582 "@@@STEP_LOG_LINE@json.output@ \"perf_dashboard_id\": \"blink_perf.do
m\"@@@", | |
| 583 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 584 "@@@STEP_LOG_LINE@json.output@ \"dromaeo.cssqueryjquery\": {@@@", | |
| 585 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/path/to/run_benchmark\", @
@@", | |
| 586 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 13@@@", | |
| 587 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 588 "@@@STEP_LOG_LINE@json.output@ \"dromaeo.cssqueryjquery.release\": {@@@
", | |
| 589 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/path/to/run_benchmark\", @
@@", | |
| 590 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 11, @@@", | |
| 591 "@@@STEP_LOG_LINE@json.output@ \"perf_dashboard_id\": \"dromaeo.cssqu
eryjquery\"@@@", | |
| 592 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
| 593 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 594 "@@@STEP_LOG_LINE@json.output@ \"version\": 2@@@", | |
| 595 "@@@STEP_LOG_LINE@json.output@}@@@", | |
| 596 "@@@STEP_LOG_END@json.output@@@" | |
| 597 ] | |
| 598 }, | |
| 599 { | |
| 600 "cmd": [ | |
| 601 "python", | |
| 602 "-u", | |
| 603 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
| 604 "perf", | |
| 605 "--release", | |
| 606 "--verbose", | |
| 607 "--steps", | |
| 608 "{\"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}", | |
| 609 "--blacklist-file", | |
| 610 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 611 "--num-retries", | |
| 612 "0", | |
| 613 "--collect-chartjson-data", | |
| 614 "--max-battery-temp", | |
| 615 "350", | |
| 616 "--known-devices-file", | |
| 617 "[HOME]/.android/known_devices.json", | |
| 618 "--enable-platform-mode", | |
| 619 "--adb-path", | |
| 620 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db" | |
| 621 ], | |
| 622 "cwd": "[SLAVE_BUILD]/src", | |
| 623 "env": { | |
| 624 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | |
| 625 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 626 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 627 }, | |
| 628 "name": "Sharded Perf Tests" | |
| 629 }, | |
| 630 { | |
| 631 "cmd": [ | |
| 632 "python", | |
| 633 "-u", | |
| 634 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
| 635 "perf", | |
| 636 "--steps", | |
| 637 "{\"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}", | |
| 638 "--output-json-list", | |
| 639 "/path/to/tmp/json", | |
| 640 "--blacklist-file", | |
| 641 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 642 "--adb-path", | |
| 643 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db" | |
| 644 ], | |
| 645 "env": { | |
| 646 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | |
| 647 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 648 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 649 }, | |
| 650 "name": "get perf test list", | |
| 651 "~followup_annotations": [ | |
| 652 "@@@STEP_LOG_LINE@json.output@[@@@", | |
| 653 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
| 654 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@", | |
| 655 "@@@STEP_LOG_LINE@json.output@ \"end_time\": 1443438432.949711, @@@", | |
| 656 "@@@STEP_LOG_LINE@json.output@ \"has_archive\": true, @@@", | |
| 657 "@@@STEP_LOG_LINE@json.output@ \"test\": \"perf_test.foo\"@@@", | |
| 658 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 659 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
| 660 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@", | |
| 661 "@@@STEP_LOG_LINE@json.output@ \"test\": \"page_cycler.foo\"@@@", | |
| 662 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
| 663 "@@@STEP_LOG_LINE@json.output@]@@@", | |
| 664 "@@@STEP_LOG_END@json.output@@@" | |
| 665 ] | |
| 666 }, | |
| 667 { | |
| 668 "allow_subannotations": true, | |
| 669 "cmd": [ | |
| 670 "python", | |
| 671 "-u", | |
| 672 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py", | |
| 673 "--target", | |
| 674 "Release", | |
| 675 "--test-platform", | |
| 676 "android", | |
| 677 "--no-xvfb", | |
| 678 "--factory-properties", | |
| 679 "{\"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\"}", | |
| 680 "--build-properties", | |
| 681 "{\"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\"}", | |
| 682 "--annotate=graphing", | |
| 683 "--results-url=https://chromeperf.appspot.com", | |
| 684 "--perf-dashboard-id=page_cycler.foo", | |
| 685 "--perf-id=android-nexus5", | |
| 686 "--test-type=page_cycler.foo", | |
| 687 "--step-name=page_cycler.foo", | |
| 688 "--chartjson-file", | |
| 689 "/path/to/tmp/json", | |
| 690 "--builder-name=Android Nexus5 Perf (1)", | |
| 691 "--slave-name=slavename", | |
| 692 "--build-number=571", | |
| 693 "--run-python-script", | |
| 694 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
| 695 "perf", | |
| 696 "--print-step", | |
| 697 "page_cycler.foo", | |
| 698 "--verbose", | |
| 699 "--adb-path", | |
| 700 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db", | |
| 701 "--blacklist-file", | |
| 702 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 703 "--enable-platform-mode" | |
| 704 ], | |
| 705 "env": { | |
| 706 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | |
| 707 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 708 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 709 }, | |
| 710 "name": "page_cycler.foo", | |
| 711 "~followup_annotations": [ | |
| 712 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@", | |
| 713 "@@@STEP_LOG_LINE@json.output@[]@@@", | |
| 714 "@@@STEP_LOG_END@json.output@@@", | |
| 715 "@@@STEP_LOG_LINE@device affinity@0@@@", | |
| 716 "@@@STEP_LOG_END@device affinity@@@" | |
| 717 ] | |
| 718 }, | |
| 719 { | |
| 720 "allow_subannotations": true, | |
| 721 "cmd": [ | |
| 722 "python", | |
| 723 "-u", | |
| 724 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py", | |
| 725 "--target", | |
| 726 "Release", | |
| 727 "--test-platform", | |
| 728 "android", | |
| 729 "--no-xvfb", | |
| 730 "--factory-properties", | |
| 731 "{\"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\"}", | |
| 732 "--build-properties", | |
| 733 "{\"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\"}", | |
| 734 "--annotate=graphing", | |
| 735 "--results-url=https://chromeperf.appspot.com", | |
| 736 "--perf-dashboard-id=perf_test.foo", | |
| 737 "--perf-id=android-nexus5", | |
| 738 "--test-type=perf_test.foo", | |
| 739 "--step-name=perf_test.foo", | |
| 740 "--chartjson-file", | |
| 741 "/path/to/tmp/json", | |
| 742 "--builder-name=Android Nexus5 Perf (1)", | |
| 743 "--slave-name=slavename", | |
| 744 "--build-number=571", | |
| 745 "--run-python-script", | |
| 746 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
| 747 "perf", | |
| 748 "--print-step", | |
| 749 "perf_test.foo", | |
| 750 "--verbose", | |
| 751 "--adb-path", | |
| 752 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a
db", | |
| 753 "--blacklist-file", | |
| 754 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 755 "--enable-platform-mode" | |
| 756 ], | |
| 757 "env": { | |
| 758 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | |
| 759 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 760 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 761 }, | |
| 762 "name": "perf_test.foo", | |
| 763 "~followup_annotations": [ | |
| 764 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@", | |
| 765 "@@@STEP_LOG_LINE@json.output@[]@@@", | |
| 766 "@@@STEP_LOG_END@json.output@@@", | |
| 767 "@@@STEP_LOG_LINE@device affinity@0@@@", | |
| 768 "@@@STEP_LOG_END@device affinity@@@" | |
| 769 ] | |
| 770 }, | |
| 771 { | |
| 772 "cmd": [ | |
| 773 "python", | |
| 774 "-u", | |
| 775 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | |
| 776 "--action", | |
| 777 "stop", | |
| 778 "--pid-file-path", | |
| 779 "/tmp/device_monitor.pid" | |
| 780 ], | |
| 781 "name": "shutdown_device_monitor" | |
| 782 }, | |
| 783 { | |
| 784 "cmd": [ | |
| 785 "python", | |
| 786 "-u", | |
| 787 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", | |
| 788 "--output-path", | |
| 789 "[SLAVE_BUILD]/src/out/Release/full_log", | |
| 790 "[SLAVE_BUILD]/src/out/logcat" | |
| 791 ], | |
| 792 "name": "logcat_dump" | |
| 793 }, | |
| 794 { | |
| 795 "cmd": [ | |
| 796 "python", | |
| 797 "-u", | |
| 798 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | |
| 799 "--", | |
| 800 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | |
| 801 "--force-version", | |
| 802 "4.7", | |
| 803 "-o", | |
| 804 "GSUtil:parallel_composite_upload_threshold=50M", | |
| 805 "----", | |
| 806 "cp", | |
| 807 "[SLAVE_BUILD]/src/out/Release/full_log", | |
| 808 "gs://chromium-android/logcat_dumps/Android Nexus5 Perf (1)/571" | |
| 809 ], | |
| 810 "name": "gsutil upload", | |
| 811 "~followup_annotations": [ | |
| 812 "@@@STEP_LINK@logcat dump@https://storage.cloud.google.com/chromium-androi
d/logcat_dumps/Android Nexus5 Perf (1)/571@@@" | |
| 813 ] | |
| 814 }, | |
| 815 { | |
| 816 "cmd": [ | |
| 817 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack"
, | |
| 818 "--arch", | |
| 819 "arm", | |
| 820 "--more-info", | |
| 821 "[SLAVE_BUILD]/src/out/Release/full_log" | |
| 822 ], | |
| 823 "env": { | |
| 824 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | |
| 825 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 826 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 827 }, | |
| 828 "name": "stack_tool_with_logcat_dump" | |
| 829 }, | |
| 830 { | |
| 831 "cmd": [ | |
| 832 "python", | |
| 833 "-u", | |
| 834 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
| 835 "[SLAVE_BUILD]/src/chrome/VERSION", | |
| 836 "/path/to/tmp/" | |
| 837 ], | |
| 838 "name": "get version (2)" | |
| 839 }, | |
| 840 { | |
| 841 "cmd": [ | |
| 842 "[SLAVE_BUILD]/src/build/android/tombstones.py", | |
| 843 "-a", | |
| 844 "-s", | |
| 845 "-w" | |
| 846 ], | |
| 847 "env": { | |
| 848 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | |
| 849 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 850 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 851 }, | |
| 852 "name": "stack_tool_for_tombstones" | |
| 853 }, | |
| 854 { | |
| 855 "cmd": [ | |
| 856 "python", | |
| 857 "-u", | |
| 858 "\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", | |
| 859 "[SLAVE_BUILD]/src/out/Release/test_logs/*.log" | |
| 860 ], | |
| 861 "name": "test_report", | |
| 862 "~followup_annotations": [ | |
| 863 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 864 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | |
| 865 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | |
| 866 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", | |
| 867 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | |
| 868 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | |
| 869 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | |
| 870 "@@@STEP_LOG_END@python.inline@@@" | |
| 871 ] | |
| 872 }, | |
| 873 { | |
| 874 "name": "$result", | |
| 875 "reason": "src-side perf tests failed [StepFailure(\"1 tests failed: ['host_
info']\",)]", | |
| 876 "recipe_result": null, | |
| 877 "status_code": 1 | |
| 878 } | |
| 879 ] | |
| OLD | NEW |