Index: scripts/slave/recipe_modules/chromium_android/example.expected/tester_other_device_failure.json |
diff --git a/scripts/slave/recipe_modules/chromium_android/example.expected/tester_other_device_failure.json b/scripts/slave/recipe_modules/chromium_android/example.expected/tester_other_device_failure.json |
deleted file mode 100644 |
index 6edeebfd5e866750ebe4ebf3debaeaa007f9b3c2..0000000000000000000000000000000000000000 |
--- a/scripts/slave/recipe_modules/chromium_android/example.expected/tester_other_device_failure.json |
+++ /dev/null |
@@ -1,393 +0,0 @@ |
-[ |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_path):\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.join(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove(path_to_file)\n", |
- "[SLAVE_BUILD]" |
- ], |
- "name": "cleanup index.lock", |
- "~followup_annotations": [ |
- "@@@STEP_LOG_LINE@python.inline@@@@", |
- "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
- "@@@STEP_LOG_LINE@python.inline@@@@", |
- "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", |
- "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", |
- "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_path):@@@", |
- "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", |
- "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@@@", |
- "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path, cur_file)@@@", |
- "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file@@@", |
- "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", |
- "@@@STEP_LOG_END@python.inline@@@" |
- ] |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "[BUILD]/scripts/slave/bot_update.py", |
- "--master", |
- "chromium.testing.master", |
- "--builder", |
- "tester", |
- "--slave", |
- "tehslave", |
- "--spec", |
- "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'src/repo', 'url': 'svn://svn.chromium.org/chrome/trunk/src'}]\ntarget_os = ['android']", |
- "--root", |
- "src/repo", |
- "--revision_mapping_file", |
- "{}", |
- "--patch_url", |
- "https://the.patch.url/the.patch", |
- "--output_json", |
- "/path/to/tmp/json", |
- "--revision", |
- "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00" |
- ], |
- "name": "bot_update", |
- "~followup_annotations": [ |
- "@@@STEP_LOG_LINE@json.output@{@@@", |
- "@@@STEP_LOG_LINE@json.output@ \"did_run\": false, @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false@@@", |
- "@@@STEP_LOG_LINE@json.output@}@@@", |
- "@@@STEP_LOG_END@json.output@@@" |
- ] |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "[DEPOT_TOOLS]/gclient.py", |
- "config", |
- "--spec", |
- "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'src/repo', 'url': 'svn://svn.chromium.org/chrome/trunk/src'}]\ntarget_os = ['android']" |
- ], |
- "name": "gclient setup" |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "[BUILD]/scripts/slave/gclient_safe_revert.py", |
- ".", |
- "[DEPOT_TOOLS]/gclient" |
- ], |
- "name": "gclient revert" |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "[DEPOT_TOOLS]/gclient.py", |
- "sync", |
- "--nohooks", |
- "--force", |
- "--verbose", |
- "--delete_unversioned_trees", |
- "--revision", |
- "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", |
- "--output-json", |
- "/path/to/tmp/json" |
- ], |
- "name": "gclient sync", |
- "~followup_annotations": [ |
- "@@@STEP_LOG_LINE@json.output@{@@@", |
- "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
- "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", |
- "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@", |
- "@@@STEP_LOG_LINE@json.output@ }, @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"src/native_client/\": {@@@", |
- "@@@STEP_LOG_LINE@json.output@ \"revision\": 274981@@@", |
- "@@@STEP_LOG_LINE@json.output@ }, @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"src/repo/\": {@@@", |
- "@@@STEP_LOG_LINE@json.output@ \"revision\": 126336@@@", |
- "@@@STEP_LOG_LINE@json.output@ }, @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"src/third_party/WebKit/\": {@@@", |
- "@@@STEP_LOG_LINE@json.output@ \"revision\": 124383@@@", |
- "@@@STEP_LOG_LINE@json.output@ }, @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"src/third_party/webrtc/\": {@@@", |
- "@@@STEP_LOG_LINE@json.output@ \"revision\": 120644@@@", |
- "@@@STEP_LOG_LINE@json.output@ }, @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"src/tools/swarming_client/\": {@@@", |
- "@@@STEP_LOG_LINE@json.output@ \"revision\": 276089@@@", |
- "@@@STEP_LOG_LINE@json.output@ }, @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"src/v8/\": {@@@", |
- "@@@STEP_LOG_LINE@json.output@ \"revision\": 43426@@@", |
- "@@@STEP_LOG_LINE@json.output@ }@@@", |
- "@@@STEP_LOG_LINE@json.output@ }@@@", |
- "@@@STEP_LOG_LINE@json.output@}@@@", |
- "@@@STEP_LOG_END@json.output@@@", |
- "@@@SET_BUILD_PROPERTY@got_nacl_revision@274981@@@", |
- "@@@SET_BUILD_PROPERTY@got_webkit_revision@124383@@@", |
- "@@@SET_BUILD_PROPERTY@got_src_revision@170242@@@", |
- "@@@SET_BUILD_PROPERTY@got_webrtc_revision@120644@@@", |
- "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@276089@@@", |
- "@@@SET_BUILD_PROPERTY@got_v8_revision@43426@@@" |
- ] |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "\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\nfor base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endswith('.pyc'):\n os.remove(os.path.join(base, f))\n", |
- "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", |
- "[SLAVE_BUILD]/src/out/Release/test_logs", |
- "[SLAVE_BUILD]/src/out/build_product.zip", |
- "[SLAVE_BUILD]/src" |
- ], |
- "name": "clean local files", |
- "~followup_annotations": [ |
- "@@@STEP_LOG_LINE@python.inline@@@@", |
- "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", |
- "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", |
- "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", |
- "@@@STEP_LOG_LINE@python.inline@try:@@@", |
- "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", |
- "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", |
- "@@@STEP_LOG_LINE@python.inline@ pass@@@", |
- "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv[4]):@@@", |
- "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", |
- "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", |
- "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@", |
- "@@@STEP_LOG_END@python.inline@@@" |
- ] |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "[DEPOT_TOOLS]/gclient.py", |
- "runhooks" |
- ], |
- "env": { |
- "GYP_CROSSCOMPILE": "1", |
- "GYP_DEFINES": "OS=android component=static_library fastbuild=1 target_arch=arm", |
- "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s" |
- }, |
- "name": "gclient runhooks" |
- }, |
- { |
- "allow_subannotations": false, |
- "cmd": [ |
- "[SLAVE_BUILD]/src/build/tree_truth.sh", |
- "[SLAVE_BUILD]/src", |
- "src", |
- "foo", |
- "src/repo" |
- ], |
- "name": "tree truth steps" |
- }, |
- { |
- "cmd": [ |
- "cat", |
- "[SLAVE_BUILD]/src/chrome/VERSION" |
- ], |
- "name": "get version", |
- "stdout": "/path/to/tmp/version" |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "[BUILD]/scripts/slave/recipe_modules/gsutil/resources/gsutil_wrapper.py", |
- "--", |
- "[DEPOT_TOOLS]/third_party/gsutil/gsutil", |
- "cp", |
- "gs://build-bucket/build_product.zip", |
- "[SLAVE_BUILD]/src/out/build_product.zip" |
- ], |
- "name": "gsutil download_build_product" |
- }, |
- { |
- "cmd": [ |
- "unzip", |
- "-o", |
- "[SLAVE_BUILD]/src/out/build_product.zip" |
- ], |
- "cwd": "[SLAVE_BUILD]/src", |
- "name": "unzip_build_product" |
- }, |
- { |
- "cmd": [ |
- "[DEPOT_TOOLS]/git_number.py" |
- ], |
- "cwd": "[SLAVE_BUILD]/src", |
- "name": "git_number", |
- "stdout": "/path/to/tmp/" |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "[BUILD]/scripts/slave/recipe_modules/adb/resources/list_devices.py", |
- "['[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb', 'devices']", |
- "/path/to/tmp/json" |
- ], |
- "name": "List adb devices", |
- "~followup_annotations": [ |
- "@@@STEP_LOG_LINE@json.output@[@@@", |
- "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", |
- "@@@STEP_LOG_LINE@json.output@]@@@", |
- "@@@STEP_LOG_END@json.output@@@" |
- ] |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "\nimport subprocess\nimport sys\nadb_path = sys.argv[1]\nfor device in sys.argv[2:]:\n subprocess.check_call([adb_path, '-s', device, 'root'])\n subprocess.check_call([adb_path, '-s', device, 'wait-for-device'])\n", |
- "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
- "014E1F310401C009" |
- ], |
- "name": "Root devices", |
- "~followup_annotations": [ |
- "@@@STEP_LOG_LINE@python.inline@@@@", |
- "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", |
- "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
- "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", |
- "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", |
- "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', device, 'root'])@@@", |
- "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', device, 'wait-for-device'])@@@", |
- "@@@STEP_LOG_END@python.inline@@@" |
- ] |
- }, |
- { |
- "cmd": [ |
- "[BUILD]/scripts/slave/daemonizer.py", |
- "--", |
- "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", |
- "[SLAVE_BUILD]/src/out/logcat" |
- ], |
- "env": { |
- "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s" |
- }, |
- "name": "spawn_logcat_monitor" |
- }, |
- { |
- "cmd": [ |
- "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py" |
- ], |
- "env": { |
- "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s" |
- }, |
- "name": "device_status_check", |
- "~followup_annotations": [ |
- "step returned non-zero exit code: 2", |
- "@@@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=Restrict-View-Google%2COS-Android%2CInfra%2CInfra-Labs&summary=Device+Offline+on+chromium.testing.master+tehslave@@@", |
- "@@@STEP_EXCEPTION@@@" |
- ] |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "[SLAVE_BUILD]/src/build/android/test_runner.py", |
- "monkey", |
- "-v", |
- "--package=chrome", |
- "--event-count=50000" |
- ], |
- "env": { |
- "BUILDTYPE": "Release" |
- }, |
- "name": "Monkey Test" |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "[SLAVE_BUILD]/src/build/android/test_runner.py", |
- "instrumentation", |
- "--test-apk", |
- "AndroidWebViewTest", |
- "--test_data", |
- "webview:android_webview/test/data/device_files", |
- "--flakiness-dashboard-server", |
- "test-results.appspot.com", |
- "-A", |
- "SmallTest", |
- "-E", |
- "FlakyTest", |
- "--screenshot", |
- "--release", |
- "--host-driven-root", |
- "[SLAVE_BUILD]/src/chrome/test", |
- "--official-build" |
- ], |
- "name": "Instrumentation test SmallTest" |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "[SLAVE_BUILD]/src/build/android/test_runner.py", |
- "gtest", |
- "-s", |
- "unittests", |
- "--verbose", |
- "--release", |
- "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate", |
- "--gtest_filter=WebRtc*", |
- "--tool=asan" |
- ], |
- "env": { |
- "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s" |
- }, |
- "name": "unittests" |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "[BUILD]/scripts/slave/tee.py", |
- "[SLAVE_BUILD]/src/out/Release/full_log", |
- "--", |
- "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", |
- "[SLAVE_BUILD]/src/out/logcat" |
- ], |
- "name": "logcat_dump" |
- }, |
- { |
- "cmd": [ |
- "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack", |
- "--arch", |
- "arm", |
- "--more-info", |
- "[SLAVE_BUILD]/src/out/Release/full_log" |
- ], |
- "env": { |
- "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s" |
- }, |
- "name": "stack_tool_with_logcat_dump" |
- }, |
- { |
- "cmd": [ |
- "[SLAVE_BUILD]/src/build/android/tombstones.py", |
- "-a", |
- "-s", |
- "-w" |
- ], |
- "env": { |
- "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s" |
- }, |
- "name": "stack_tool_for_tombstones" |
- }, |
- { |
- "cmd": [ |
- "[SLAVE_BUILD]/src/build/android/asan_symbolize.py", |
- "-l", |
- "[SLAVE_BUILD]/src/out/Release/full_log" |
- ], |
- "env": { |
- "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s" |
- }, |
- "name": "stack_tool_for_asan" |
- }, |
- { |
- "name": "$final_result", |
- "reason": "Infra Failure: Step('device_status_check') returned 2", |
- "status_code": 2 |
- } |
-] |