| OLD | NEW |
| (Empty) |
| 1 [ | |
| 2 { | |
| 3 "cmd": [ | |
| 4 "python", | |
| 5 "-u", | |
| 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat
h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files
:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi
n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove
(path_to_file)\n", | |
| 7 "[SLAVE_BUILD]" | |
| 8 ], | |
| 9 "name": "cleanup index.lock", | |
| 10 "~followup_annotations": [ | |
| 11 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 12 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | |
| 13 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 14 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", | |
| 15 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", | |
| 16 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_
path):@@@", | |
| 17 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", | |
| 18 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@
@@", | |
| 19 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path,
cur_file)@@@", | |
| 20 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file
@@@", | |
| 21 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", | |
| 22 "@@@STEP_LOG_END@python.inline@@@" | |
| 23 ] | |
| 24 }, | |
| 25 { | |
| 26 "cmd": [ | |
| 27 "python", | |
| 28 "-u", | |
| 29 "[BUILD]/scripts/slave/bot_update.py", | |
| 30 "--master", | |
| 31 "chromium.testing.master", | |
| 32 "--builder", | |
| 33 "tester", | |
| 34 "--slave", | |
| 35 "tehslave", | |
| 36 "--spec", | |
| 37 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True
, 'name': 'src/repo', 'url': 'svn://svn.chromium.org/chrome/trunk/src'}]\ntarget
_os = ['android']", | |
| 38 "--root", | |
| 39 "src/repo", | |
| 40 "--revision_mapping_file", | |
| 41 "{}", | |
| 42 "--patch_url", | |
| 43 "https://the.patch.url/the.patch", | |
| 44 "--output_json", | |
| 45 "/path/to/tmp/json", | |
| 46 "--revision", | |
| 47 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00" | |
| 48 ], | |
| 49 "name": "bot_update", | |
| 50 "~followup_annotations": [ | |
| 51 "@@@STEP_LOG_LINE@json.output@{@@@", | |
| 52 "@@@STEP_LOG_LINE@json.output@ \"did_run\": false, @@@", | |
| 53 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false@@@", | |
| 54 "@@@STEP_LOG_LINE@json.output@}@@@", | |
| 55 "@@@STEP_LOG_END@json.output@@@" | |
| 56 ] | |
| 57 }, | |
| 58 { | |
| 59 "cmd": [ | |
| 60 "python", | |
| 61 "-u", | |
| 62 "[DEPOT_TOOLS]/gclient.py", | |
| 63 "config", | |
| 64 "--spec", | |
| 65 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True
, 'name': 'src/repo', 'url': 'svn://svn.chromium.org/chrome/trunk/src'}]\ntarget
_os = ['android']" | |
| 66 ], | |
| 67 "name": "gclient setup" | |
| 68 }, | |
| 69 { | |
| 70 "cmd": [ | |
| 71 "python", | |
| 72 "-u", | |
| 73 "[BUILD]/scripts/slave/gclient_safe_revert.py", | |
| 74 ".", | |
| 75 "[DEPOT_TOOLS]/gclient" | |
| 76 ], | |
| 77 "name": "gclient revert" | |
| 78 }, | |
| 79 { | |
| 80 "cmd": [ | |
| 81 "python", | |
| 82 "-u", | |
| 83 "[DEPOT_TOOLS]/gclient.py", | |
| 84 "sync", | |
| 85 "--nohooks", | |
| 86 "--force", | |
| 87 "--verbose", | |
| 88 "--delete_unversioned_trees", | |
| 89 "--revision", | |
| 90 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", | |
| 91 "--output-json", | |
| 92 "/path/to/tmp/json" | |
| 93 ], | |
| 94 "name": "gclient sync", | |
| 95 "~followup_annotations": [ | |
| 96 "@@@STEP_LOG_LINE@json.output@{@@@", | |
| 97 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | |
| 98 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", | |
| 99 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@", | |
| 100 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 101 "@@@STEP_LOG_LINE@json.output@ \"src/native_client/\": {@@@", | |
| 102 "@@@STEP_LOG_LINE@json.output@ \"revision\": 274981@@@", | |
| 103 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 104 "@@@STEP_LOG_LINE@json.output@ \"src/repo/\": {@@@", | |
| 105 "@@@STEP_LOG_LINE@json.output@ \"revision\": 126336@@@", | |
| 106 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 107 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/WebKit/\": {@@@", | |
| 108 "@@@STEP_LOG_LINE@json.output@ \"revision\": 124383@@@", | |
| 109 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 110 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/webrtc/\": {@@@", | |
| 111 "@@@STEP_LOG_LINE@json.output@ \"revision\": 120644@@@", | |
| 112 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 113 "@@@STEP_LOG_LINE@json.output@ \"src/tools/swarming_client/\": {@@@", | |
| 114 "@@@STEP_LOG_LINE@json.output@ \"revision\": 276089@@@", | |
| 115 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 116 "@@@STEP_LOG_LINE@json.output@ \"src/v8/\": {@@@", | |
| 117 "@@@STEP_LOG_LINE@json.output@ \"revision\": 43426@@@", | |
| 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 "@@@SET_BUILD_PROPERTY@got_nacl_revision@274981@@@", | |
| 123 "@@@SET_BUILD_PROPERTY@got_webkit_revision@124383@@@", | |
| 124 "@@@SET_BUILD_PROPERTY@got_src_revision@170242@@@", | |
| 125 "@@@SET_BUILD_PROPERTY@got_webrtc_revision@120644@@@", | |
| 126 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@276089@@@", | |
| 127 "@@@SET_BUILD_PROPERTY@got_v8_revision@43426@@@" | |
| 128 ] | |
| 129 }, | |
| 130 { | |
| 131 "cmd": [ | |
| 132 "python", | |
| 133 "-u", | |
| 134 "\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", | |
| 135 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", | |
| 136 "[SLAVE_BUILD]/src/out/Release/test_logs", | |
| 137 "[SLAVE_BUILD]/src/out/build_product.zip", | |
| 138 "[SLAVE_BUILD]/src" | |
| 139 ], | |
| 140 "name": "clean local files", | |
| 141 "~followup_annotations": [ | |
| 142 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 143 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", | |
| 144 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", | |
| 145 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", | |
| 146 "@@@STEP_LOG_LINE@python.inline@try:@@@", | |
| 147 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", | |
| 148 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", | |
| 149 "@@@STEP_LOG_LINE@python.inline@ pass@@@", | |
| 150 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", | |
| 151 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", | |
| 152 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", | |
| 153 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, | |
| 154 "@@@STEP_LOG_END@python.inline@@@" | |
| 155 ] | |
| 156 }, | |
| 157 { | |
| 158 "cmd": [ | |
| 159 "python", | |
| 160 "-u", | |
| 161 "[DEPOT_TOOLS]/gclient.py", | |
| 162 "runhooks" | |
| 163 ], | |
| 164 "env": { | |
| 165 "GYP_CROSSCOMPILE": "1", | |
| 166 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 target_arc
h=arm", | |
| 167 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 168 }, | |
| 169 "name": "gclient runhooks" | |
| 170 }, | |
| 171 { | |
| 172 "allow_subannotations": false, | |
| 173 "cmd": [ | |
| 174 "[SLAVE_BUILD]/src/build/tree_truth.sh", | |
| 175 "[SLAVE_BUILD]/src", | |
| 176 "src", | |
| 177 "foo", | |
| 178 "src/repo" | |
| 179 ], | |
| 180 "name": "tree truth steps" | |
| 181 }, | |
| 182 { | |
| 183 "cmd": [ | |
| 184 "cat", | |
| 185 "[SLAVE_BUILD]/src/chrome/VERSION" | |
| 186 ], | |
| 187 "name": "get version", | |
| 188 "stdout": "/path/to/tmp/version" | |
| 189 }, | |
| 190 { | |
| 191 "cmd": [ | |
| 192 "python", | |
| 193 "-u", | |
| 194 "[BUILD]/scripts/slave/recipe_modules/gsutil/resources/gsutil_wrapper.py", | |
| 195 "--", | |
| 196 "[DEPOT_TOOLS]/third_party/gsutil/gsutil", | |
| 197 "cp", | |
| 198 "gs://build-bucket/build_product.zip", | |
| 199 "[SLAVE_BUILD]/src/out/build_product.zip" | |
| 200 ], | |
| 201 "name": "gsutil download_build_product" | |
| 202 }, | |
| 203 { | |
| 204 "cmd": [ | |
| 205 "unzip", | |
| 206 "-o", | |
| 207 "[SLAVE_BUILD]/src/out/build_product.zip" | |
| 208 ], | |
| 209 "cwd": "[SLAVE_BUILD]/src", | |
| 210 "name": "unzip_build_product" | |
| 211 }, | |
| 212 { | |
| 213 "cmd": [ | |
| 214 "[DEPOT_TOOLS]/git_number.py" | |
| 215 ], | |
| 216 "cwd": "[SLAVE_BUILD]/src", | |
| 217 "name": "git_number", | |
| 218 "stdout": "/path/to/tmp/" | |
| 219 }, | |
| 220 { | |
| 221 "cmd": [ | |
| 222 "python", | |
| 223 "-u", | |
| 224 "[BUILD]/scripts/slave/recipe_modules/adb/resources/list_devices.py", | |
| 225 "['[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb', 'd
evices']", | |
| 226 "/path/to/tmp/json" | |
| 227 ], | |
| 228 "name": "List adb devices", | |
| 229 "~followup_annotations": [ | |
| 230 "@@@STEP_LOG_LINE@json.output@[@@@", | |
| 231 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", | |
| 232 "@@@STEP_LOG_LINE@json.output@]@@@", | |
| 233 "@@@STEP_LOG_END@json.output@@@" | |
| 234 ] | |
| 235 }, | |
| 236 { | |
| 237 "cmd": [ | |
| 238 "python", | |
| 239 "-u", | |
| 240 "\nimport subprocess\nimport sys\nadb_path = sys.argv[1]\nfor device in sy
s.argv[2:]:\n subprocess.check_call([adb_path, '-s', device, 'root'])\n subpro
cess.check_call([adb_path, '-s', device, 'wait-for-device'])\n", | |
| 241 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | |
| 242 "014E1F310401C009" | |
| 243 ], | |
| 244 "name": "Root devices", | |
| 245 "~followup_annotations": [ | |
| 246 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 247 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", | |
| 248 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
| 249 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", | |
| 250 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", | |
| 251 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'root'])@@@", | |
| 252 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'wait-for-device'])@@@", | |
| 253 "@@@STEP_LOG_END@python.inline@@@" | |
| 254 ] | |
| 255 }, | |
| 256 { | |
| 257 "cmd": [ | |
| 258 "[BUILD]/scripts/slave/daemonizer.py", | |
| 259 "--", | |
| 260 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", | |
| 261 "[SLAVE_BUILD]/src/out/logcat" | |
| 262 ], | |
| 263 "env": { | |
| 264 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 265 }, | |
| 266 "name": "spawn_logcat_monitor" | |
| 267 }, | |
| 268 { | |
| 269 "cmd": [ | |
| 270 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py" | |
| 271 ], | |
| 272 "env": { | |
| 273 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 274 }, | |
| 275 "name": "device_status_check", | |
| 276 "~followup_annotations": [ | |
| 277 "step returned non-zero exit code: 2", | |
| 278 "@@@STEP_LINK@report a bug@https://code.google.com/p/chromium/issues/entry
?comment=Buildbot%3A+tester%0A%28Please+do+not+change+any+labels%29&labels=Restr
ict-View-Google%2COS-Android%2CInfra%2CInfra-Labs&summary=Device+Offline+on+chro
mium.testing.master+tehslave@@@", | |
| 279 "@@@STEP_EXCEPTION@@@" | |
| 280 ] | |
| 281 }, | |
| 282 { | |
| 283 "cmd": [ | |
| 284 "python", | |
| 285 "-u", | |
| 286 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
| 287 "monkey", | |
| 288 "-v", | |
| 289 "--package=chrome", | |
| 290 "--event-count=50000" | |
| 291 ], | |
| 292 "env": { | |
| 293 "BUILDTYPE": "Release" | |
| 294 }, | |
| 295 "name": "Monkey Test" | |
| 296 }, | |
| 297 { | |
| 298 "cmd": [ | |
| 299 "python", | |
| 300 "-u", | |
| 301 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
| 302 "instrumentation", | |
| 303 "--test-apk", | |
| 304 "AndroidWebViewTest", | |
| 305 "--test_data", | |
| 306 "webview:android_webview/test/data/device_files", | |
| 307 "--flakiness-dashboard-server", | |
| 308 "test-results.appspot.com", | |
| 309 "-A", | |
| 310 "SmallTest", | |
| 311 "-E", | |
| 312 "FlakyTest", | |
| 313 "--screenshot", | |
| 314 "--release", | |
| 315 "--host-driven-root", | |
| 316 "[SLAVE_BUILD]/src/chrome/test", | |
| 317 "--official-build" | |
| 318 ], | |
| 319 "name": "Instrumentation test SmallTest" | |
| 320 }, | |
| 321 { | |
| 322 "cmd": [ | |
| 323 "python", | |
| 324 "-u", | |
| 325 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
| 326 "gtest", | |
| 327 "-s", | |
| 328 "unittests", | |
| 329 "--verbose", | |
| 330 "--release", | |
| 331 "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate", | |
| 332 "--gtest_filter=WebRtc*", | |
| 333 "--tool=asan" | |
| 334 ], | |
| 335 "env": { | |
| 336 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 337 }, | |
| 338 "name": "unittests" | |
| 339 }, | |
| 340 { | |
| 341 "cmd": [ | |
| 342 "python", | |
| 343 "-u", | |
| 344 "[BUILD]/scripts/slave/tee.py", | |
| 345 "[SLAVE_BUILD]/src/out/Release/full_log", | |
| 346 "--", | |
| 347 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", | |
| 348 "[SLAVE_BUILD]/src/out/logcat" | |
| 349 ], | |
| 350 "name": "logcat_dump" | |
| 351 }, | |
| 352 { | |
| 353 "cmd": [ | |
| 354 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack"
, | |
| 355 "--arch", | |
| 356 "arm", | |
| 357 "--more-info", | |
| 358 "[SLAVE_BUILD]/src/out/Release/full_log" | |
| 359 ], | |
| 360 "env": { | |
| 361 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 362 }, | |
| 363 "name": "stack_tool_with_logcat_dump" | |
| 364 }, | |
| 365 { | |
| 366 "cmd": [ | |
| 367 "[SLAVE_BUILD]/src/build/android/tombstones.py", | |
| 368 "-a", | |
| 369 "-s", | |
| 370 "-w" | |
| 371 ], | |
| 372 "env": { | |
| 373 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 374 }, | |
| 375 "name": "stack_tool_for_tombstones" | |
| 376 }, | |
| 377 { | |
| 378 "cmd": [ | |
| 379 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py", | |
| 380 "-l", | |
| 381 "[SLAVE_BUILD]/src/out/Release/full_log" | |
| 382 ], | |
| 383 "env": { | |
| 384 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 385 }, | |
| 386 "name": "stack_tool_for_asan" | |
| 387 }, | |
| 388 { | |
| 389 "name": "$final_result", | |
| 390 "reason": "Infra Failure: Step('device_status_check') returned 2", | |
| 391 "status_code": 2 | |
| 392 } | |
| 393 ] | |
| OLD | NEW |