Index: scripts/slave/recipes/webrtc/android_apk.expected/tryserver_webrtc_android_apk.json |
diff --git a/scripts/slave/recipes/webrtc/android_apk.expected/tryserver_webrtc_android_apk.json b/scripts/slave/recipes/webrtc/android_apk.expected/tryserver_webrtc_android_apk.json |
deleted file mode 100644 |
index de30354e377a53fc2c5895aac0aa5f780762ad02..0000000000000000000000000000000000000000 |
--- a/scripts/slave/recipes/webrtc/android_apk.expected/tryserver_webrtc_android_apk.json |
+++ /dev/null |
@@ -1,496 +0,0 @@ |
-[ |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "[BUILD]/scripts/slave/bot_update.py", |
- "--master", |
- "tryserver.webrtc", |
- "--builder", |
- "android_apk", |
- "--slave", |
- "fake_slavename", |
- "--spec", |
- "cache_dir = None\nsolutions = [{'custom_vars': {'googlecode_url': 'svn://svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium.org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org/%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/trunk', 'webrtc_revision': '12345'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.golo.chromium.org/chrome/trunk/src'}, {'custom_vars': {'root_dir': 'src'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'webrtc-limited', 'url': 'svn://svn-mirror.golo.chromium.org/chrome-internal/trunk/webrtc-limited'}, {'deps_file': 'DEPS', 'managed': True, 'name': 'webrtc.DEPS', 'url': 'svn://svn-mirror.golo.chromium.org/chrome/trunk/deps/third_party/webrtc/webrtc.DEPS'}]\ntarget_os = ['android']", |
- "--revision_mapping_file", |
- "{\"src/native_client\": \"got_nacl_revision\", \"src/third_party/WebKit\": \"got_webkit_revision\", \"src/third_party/webrtc\": \"got_revision\", \"src/tools/swarming_client\": \"got_swarming_client_revision\", \"src/v8\": \"got_v8_revision\"}", |
- "--output_json", |
- "/path/to/tmp/json", |
- "--revision", |
- "src@HEAD", |
- "--revision", |
- "src/third_party/libjingle/source/talk@HEAD", |
- "--revision", |
- "src/third_party/webrtc@HEAD" |
- ], |
- "name": "bot_update (without patch)", |
- "~followup_annotations": [ |
- "@@@STEP_TEXT@Some step text@@@", |
- "@@@STEP_LOG_LINE@json.output@{@@@", |
- "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", |
- "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": 274981, @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_git\": \"d998e125e8253980d76e269b7982aeeefc1b9b50\", @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"got_revision\": 120644, @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"got_revision_git\": \"0f90628433546e61d9268596da93418c623137f4\", @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision\": 276089, @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision_git\": \"a0ee5d99f1d4b38ddaa4c759c837980b63b99566\", @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision\": 43426, @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision_git\": \"801ada225ddc271c132c3a35f03975671d43e399\", @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"got_webkit_revision\": 124383, @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"got_webkit_revision_git\": \"5e2293dffc3cd07d37fbedea3b500f0eb650614d\"@@@", |
- "@@@STEP_LOG_LINE@json.output@ }, @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", |
- "@@@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_swarming_client_revision@276089@@@", |
- "@@@SET_BUILD_PROPERTY@got_revision@120644@@@", |
- "@@@SET_BUILD_PROPERTY@got_v8_revision@43426@@@", |
- "@@@SET_BUILD_PROPERTY@got_nacl_revision_git@\"d998e125e8253980d76e269b7982aeeefc1b9b50\"@@@", |
- "@@@SET_BUILD_PROPERTY@got_webkit_revision_git@\"5e2293dffc3cd07d37fbedea3b500f0eb650614d\"@@@", |
- "@@@SET_BUILD_PROPERTY@got_v8_revision_git@\"801ada225ddc271c132c3a35f03975671d43e399\"@@@", |
- "@@@SET_BUILD_PROPERTY@got_swarming_client_revision_git@\"a0ee5d99f1d4b38ddaa4c759c837980b63b99566\"@@@", |
- "@@@SET_BUILD_PROPERTY@got_revision_git@\"0f90628433546e61d9268596da93418c623137f4\"@@@" |
- ] |
- }, |
- { |
- "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/Debug/debug_info_dumps", |
- "[SLAVE_BUILD]/src/out/Debug/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", |
- "[BUILD]/scripts/slave/apply_svn_patch.py", |
- "-p", |
- "try_job_svn_patch", |
- "-r", |
- "[SLAVE_BUILD]/src/third_party/webrtc", |
- "--filter-script", |
- "[BUILD]/scripts/slave/patch_path_filter.py", |
- "--strip-level", |
- "1", |
- "--", |
- "--path-filter", |
- "webrtc/" |
- ], |
- "name": "apply_patch" |
- }, |
- { |
- "cmd": [ |
- "[BUILD]/scripts/slave/env_dump.py", |
- "--output-json", |
- "/path/to/tmp/json", |
- "[SLAVE_BUILD]/src/build/android/envsetup.sh" |
- ], |
- "name": "envsetup", |
- "~followup_annotations": [ |
- "@@@STEP_LOG_LINE@json.output@{@@@", |
- "@@@STEP_LOG_LINE@json.output@ \"FOO\": \"bar\", @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"my_new_gyp_def=aaa\"@@@", |
- "@@@STEP_LOG_LINE@json.output@}@@@", |
- "@@@STEP_LOG_END@json.output@@@" |
- ] |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "[DEPOT_TOOLS]/gclient.py", |
- "runhooks" |
- ], |
- "env": { |
- "FOO": "bar", |
- "GYP_CROSSCOMPILE": "1", |
- "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[BUILD]/goma' include_tests=1 target_arch=arm use_goma=1", |
- "GYP_GENERATOR_FLAGS": "default_target=android_builder_webrtc" |
- }, |
- "name": "gclient runhooks" |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "[BUILD]/scripts/slave/cleanup_temp.py" |
- ], |
- "name": "cleanup_temp" |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "[BUILD]/scripts/slave/compile.py", |
- "--target", |
- "Debug", |
- "--src-dir", |
- "[SLAVE_BUILD]/src", |
- "--build-tool", |
- "ninja", |
- "--compiler", |
- "goma", |
- "--goma-dir", |
- "[BUILD]/goma", |
- "--", |
- "android_builder_webrtc" |
- ], |
- "env": { |
- "FOO": "bar", |
- "GYP_CROSSCOMPILE": "1", |
- "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[BUILD]/goma' include_tests=1 target_arch=arm use_goma=1", |
- "GYP_GENERATOR_FLAGS": "default_target=android_builder_webrtc" |
- }, |
- "name": "compile" |
- }, |
- { |
- "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" |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
- "-t", |
- "Debug" |
- ], |
- "env": { |
- "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s" |
- }, |
- "name": "provision_devices" |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "[SLAVE_BUILD]/src/build/android/test_runner.py", |
- "gtest", |
- "-s", |
- "audio_decoder_unittests", |
- "--verbose" |
- ], |
- "env": { |
- "FOO": "bar", |
- "GYP_CROSSCOMPILE": "1", |
- "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[BUILD]/goma' include_tests=1 target_arch=arm use_goma=1", |
- "GYP_GENERATOR_FLAGS": "default_target=android_builder_webrtc" |
- }, |
- "name": "audio_decoder_unittests" |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "[SLAVE_BUILD]/src/build/android/test_runner.py", |
- "gtest", |
- "-s", |
- "common_audio_unittests", |
- "--verbose" |
- ], |
- "env": { |
- "FOO": "bar", |
- "GYP_CROSSCOMPILE": "1", |
- "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[BUILD]/goma' include_tests=1 target_arch=arm use_goma=1", |
- "GYP_GENERATOR_FLAGS": "default_target=android_builder_webrtc" |
- }, |
- "name": "common_audio_unittests" |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "[SLAVE_BUILD]/src/build/android/test_runner.py", |
- "gtest", |
- "-s", |
- "common_video_unittests", |
- "--verbose" |
- ], |
- "env": { |
- "FOO": "bar", |
- "GYP_CROSSCOMPILE": "1", |
- "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[BUILD]/goma' include_tests=1 target_arch=arm use_goma=1", |
- "GYP_GENERATOR_FLAGS": "default_target=android_builder_webrtc" |
- }, |
- "name": "common_video_unittests" |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "[SLAVE_BUILD]/src/build/android/test_runner.py", |
- "gtest", |
- "-s", |
- "modules_tests", |
- "--verbose" |
- ], |
- "env": { |
- "FOO": "bar", |
- "GYP_CROSSCOMPILE": "1", |
- "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[BUILD]/goma' include_tests=1 target_arch=arm use_goma=1", |
- "GYP_GENERATOR_FLAGS": "default_target=android_builder_webrtc" |
- }, |
- "name": "modules_tests" |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "[SLAVE_BUILD]/src/build/android/test_runner.py", |
- "gtest", |
- "-s", |
- "modules_unittests", |
- "--verbose" |
- ], |
- "env": { |
- "FOO": "bar", |
- "GYP_CROSSCOMPILE": "1", |
- "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[BUILD]/goma' include_tests=1 target_arch=arm use_goma=1", |
- "GYP_GENERATOR_FLAGS": "default_target=android_builder_webrtc" |
- }, |
- "name": "modules_unittests" |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "[SLAVE_BUILD]/src/build/android/test_runner.py", |
- "gtest", |
- "-s", |
- "system_wrappers_unittests", |
- "--verbose" |
- ], |
- "env": { |
- "FOO": "bar", |
- "GYP_CROSSCOMPILE": "1", |
- "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[BUILD]/goma' include_tests=1 target_arch=arm use_goma=1", |
- "GYP_GENERATOR_FLAGS": "default_target=android_builder_webrtc" |
- }, |
- "name": "system_wrappers_unittests" |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "[SLAVE_BUILD]/src/build/android/test_runner.py", |
- "gtest", |
- "-s", |
- "test_support_unittests", |
- "--verbose" |
- ], |
- "env": { |
- "FOO": "bar", |
- "GYP_CROSSCOMPILE": "1", |
- "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[BUILD]/goma' include_tests=1 target_arch=arm use_goma=1", |
- "GYP_GENERATOR_FLAGS": "default_target=android_builder_webrtc" |
- }, |
- "name": "test_support_unittests" |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "[SLAVE_BUILD]/src/build/android/test_runner.py", |
- "gtest", |
- "-s", |
- "tools_unittests", |
- "--verbose" |
- ], |
- "env": { |
- "FOO": "bar", |
- "GYP_CROSSCOMPILE": "1", |
- "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[BUILD]/goma' include_tests=1 target_arch=arm use_goma=1", |
- "GYP_GENERATOR_FLAGS": "default_target=android_builder_webrtc" |
- }, |
- "name": "tools_unittests" |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "[SLAVE_BUILD]/src/build/android/test_runner.py", |
- "gtest", |
- "-s", |
- "video_engine_core_unittests", |
- "--verbose" |
- ], |
- "env": { |
- "FOO": "bar", |
- "GYP_CROSSCOMPILE": "1", |
- "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[BUILD]/goma' include_tests=1 target_arch=arm use_goma=1", |
- "GYP_GENERATOR_FLAGS": "default_target=android_builder_webrtc" |
- }, |
- "name": "video_engine_core_unittests" |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "[SLAVE_BUILD]/src/build/android/test_runner.py", |
- "gtest", |
- "-s", |
- "video_engine_tests", |
- "--verbose" |
- ], |
- "env": { |
- "FOO": "bar", |
- "GYP_CROSSCOMPILE": "1", |
- "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[BUILD]/goma' include_tests=1 target_arch=arm use_goma=1", |
- "GYP_GENERATOR_FLAGS": "default_target=android_builder_webrtc" |
- }, |
- "name": "video_engine_tests" |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "[SLAVE_BUILD]/src/build/android/test_runner.py", |
- "gtest", |
- "-s", |
- "voice_engine_unittests", |
- "--verbose" |
- ], |
- "env": { |
- "FOO": "bar", |
- "GYP_CROSSCOMPILE": "1", |
- "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[BUILD]/goma' include_tests=1 target_arch=arm use_goma=1", |
- "GYP_GENERATOR_FLAGS": "default_target=android_builder_webrtc" |
- }, |
- "name": "voice_engine_unittests" |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "[SLAVE_BUILD]/src/build/android/test_runner.py", |
- "gtest", |
- "-s", |
- "video_capture_tests", |
- "--verbose" |
- ], |
- "env": { |
- "FOO": "bar", |
- "GYP_CROSSCOMPILE": "1", |
- "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[BUILD]/goma' include_tests=1 target_arch=arm use_goma=1", |
- "GYP_GENERATOR_FLAGS": "default_target=android_builder_webrtc" |
- }, |
- "name": "video_capture_tests" |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "[SLAVE_BUILD]/src/build/android/test_runner.py", |
- "gtest", |
- "-s", |
- "webrtc_perf_tests", |
- "--verbose" |
- ], |
- "env": { |
- "FOO": "bar", |
- "GYP_CROSSCOMPILE": "1", |
- "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[BUILD]/goma' include_tests=1 target_arch=arm use_goma=1", |
- "GYP_GENERATOR_FLAGS": "default_target=android_builder_webrtc" |
- }, |
- "name": "webrtc_perf_tests" |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "[BUILD]/scripts/slave/tee.py", |
- "[SLAVE_BUILD]/src/out/Debug/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/Debug/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": [ |
- "python", |
- "-u", |
- "\nimport glob, os, sys\nfor report in glob.glob(sys.argv[1]):\n with open(report, 'r') as f:\n for l in f.readlines():\n print l\n os.remove(report)\n", |
- "[SLAVE_BUILD]/src/out/Debug/test_logs/*.log" |
- ], |
- "name": "test_report", |
- "~followup_annotations": [ |
- "@@@STEP_LOG_LINE@python.inline@@@@", |
- "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
- "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", |
- "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
- "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
- "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
- "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
- "@@@STEP_LOG_END@python.inline@@@" |
- ] |
- } |
-] |