Index: scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android_tests__kk_nexus5__dbg_.json |
diff --git a/scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android_tests__kk_nexus5__dbg_.json b/scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android_tests__kk_nexus5__dbg_.json |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f1803ffeb87d2372c3eff1b6a162752d9352d708 |
--- /dev/null |
+++ b/scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android_tests__kk_nexus5__dbg_.json |
@@ -0,0 +1,431 @@ |
+[ |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "[DEPOT_TOOLS]/gclient.py", |
+ "config", |
+ "--spec", |
+ "cache_dir = None\nsolutions = [{'custom_vars': {'root_dir': 'src'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.golo.chromium.org/webrtc/trunk'}, {'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'}]\ntarget_os = ['android']" |
+ ], |
+ "name": "gclient setup" |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "[DEPOT_TOOLS]/gclient.py", |
+ "sync", |
+ "--nohooks", |
+ "--delete_unversioned_trees", |
+ "--force", |
+ "--verbose", |
+ "--revision", |
+ "src@12345", |
+ "--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@ \"webrtc-limited/\": {@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"revision\": 24644@@@", |
+ "@@@STEP_LOG_LINE@json.output@ }@@@", |
+ "@@@STEP_LOG_LINE@json.output@ }@@@", |
+ "@@@STEP_LOG_LINE@json.output@}@@@", |
+ "@@@STEP_LOG_END@json.output@@@", |
+ "@@@SET_BUILD_PROPERTY@got_revision@170242@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "[DEPOT_TOOLS]/gclient.py", |
+ "runhooks" |
+ ], |
+ "env": { |
+ "GYP_CROSSCOMPILE": "1", |
+ "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[BUILD]/goma' target_arch=arm use_goma=1" |
+ }, |
+ "name": "gclient runhooks" |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "\nimport os, sys\nfrom common import chromium_utils\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n", |
+ "[SLAVE_BUILD]/src/out/Debug" |
+ ], |
+ "name": "rmtree build directory", |
+ "~followup_annotations": [ |
+ "@@@STEP_LOG_LINE@python.inline@@@@", |
+ "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
+ "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils@@@", |
+ "@@@STEP_LOG_LINE@python.inline@@@@", |
+ "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
+ "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", |
+ "@@@STEP_LOG_END@python.inline@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "[BUILD]/scripts/slave/extract_build.py", |
+ "--target", |
+ "Debug", |
+ "--build-url", |
+ "gs://chromium-webrtc/android_dbg", |
+ "--build_revision", |
+ "12345", |
+ "--factory-properties", |
+ "{\"BUILD_CONFIG\": \"Debug\", \"buildername\": \"Android Tests (KK Nexus5)(dbg)\", \"mastername\": \"client.webrtc\", \"parent_buildername\": \"Android Builder (dbg)\", \"parent_got_revision\": \"12345\", \"recipe\": \"webrtc/standalone\", \"revision\": \"12345\", \"slavename\": \"slavename\"}", |
+ "--build-properties", |
+ "{\"BUILD_CONFIG\": \"Debug\", \"buildername\": \"Android Tests (KK Nexus5)(dbg)\", \"mastername\": \"client.webrtc\", \"parent_buildername\": \"Android Builder (dbg)\", \"parent_got_revision\": \"12345\", \"recipe\": \"webrtc/standalone\", \"revision\": \"12345\", \"slavename\": \"slavename\"}" |
+ ], |
+ "name": "extract build" |
+ }, |
+ { |
+ "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": [ |
+ "[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", |
+ "--isolate-file-path", |
+ "webrtc/modules/audio_coding/neteq/audio_decoder_unittests.isolate" |
+ ], |
+ "env": { |
+ "CHECKOUT_SOURCE_ROOT": "[SLAVE_BUILD]/src" |
+ }, |
+ "name": "audio_decoder_unittests" |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "[SLAVE_BUILD]/src/build/android/test_runner.py", |
+ "gtest", |
+ "-s", |
+ "common_audio_unittests", |
+ "--verbose", |
+ "--isolate-file-path", |
+ "webrtc/common_audio/common_audio_unittests.isolate" |
+ ], |
+ "env": { |
+ "CHECKOUT_SOURCE_ROOT": "[SLAVE_BUILD]/src" |
+ }, |
+ "name": "common_audio_unittests" |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "[SLAVE_BUILD]/src/build/android/test_runner.py", |
+ "gtest", |
+ "-s", |
+ "common_video_unittests", |
+ "--verbose", |
+ "--isolate-file-path", |
+ "webrtc/common_video/common_video_unittests.isolate" |
+ ], |
+ "env": { |
+ "CHECKOUT_SOURCE_ROOT": "[SLAVE_BUILD]/src" |
+ }, |
+ "name": "common_video_unittests" |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "[SLAVE_BUILD]/src/build/android/test_runner.py", |
+ "gtest", |
+ "-s", |
+ "modules_tests", |
+ "--verbose", |
+ "--isolate-file-path", |
+ "webrtc/modules/modules_tests.isolate" |
+ ], |
+ "env": { |
+ "CHECKOUT_SOURCE_ROOT": "[SLAVE_BUILD]/src" |
+ }, |
+ "name": "modules_tests" |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "[SLAVE_BUILD]/src/build/android/test_runner.py", |
+ "gtest", |
+ "-s", |
+ "modules_unittests", |
+ "--verbose", |
+ "--isolate-file-path", |
+ "webrtc/modules/modules_unittests.isolate" |
+ ], |
+ "env": { |
+ "CHECKOUT_SOURCE_ROOT": "[SLAVE_BUILD]/src" |
+ }, |
+ "name": "modules_unittests" |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "[SLAVE_BUILD]/src/build/android/test_runner.py", |
+ "gtest", |
+ "-s", |
+ "system_wrappers_unittests", |
+ "--verbose", |
+ "--isolate-file-path", |
+ "webrtc/system_wrappers/source/system_wrappers_unittests.isolate" |
+ ], |
+ "env": { |
+ "CHECKOUT_SOURCE_ROOT": "[SLAVE_BUILD]/src" |
+ }, |
+ "name": "system_wrappers_unittests" |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "[SLAVE_BUILD]/src/build/android/test_runner.py", |
+ "gtest", |
+ "-s", |
+ "test_support_unittests", |
+ "--verbose", |
+ "--isolate-file-path", |
+ "webrtc/test/test_support_unittests.isolate" |
+ ], |
+ "env": { |
+ "CHECKOUT_SOURCE_ROOT": "[SLAVE_BUILD]/src" |
+ }, |
+ "name": "test_support_unittests" |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "[SLAVE_BUILD]/src/build/android/test_runner.py", |
+ "gtest", |
+ "-s", |
+ "tools_unittests", |
+ "--verbose", |
+ "--isolate-file-path", |
+ "webrtc/tools/tools_unittests.isolate" |
+ ], |
+ "env": { |
+ "CHECKOUT_SOURCE_ROOT": "[SLAVE_BUILD]/src" |
+ }, |
+ "name": "tools_unittests" |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "[SLAVE_BUILD]/src/build/android/test_runner.py", |
+ "gtest", |
+ "-s", |
+ "video_capture_tests", |
+ "--verbose", |
+ "--isolate-file-path", |
+ "webrtc/modules/video_capture/video_capture_tests.isolate" |
+ ], |
+ "env": { |
+ "CHECKOUT_SOURCE_ROOT": "[SLAVE_BUILD]/src" |
+ }, |
+ "name": "video_capture_tests" |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "[SLAVE_BUILD]/src/build/android/test_runner.py", |
+ "gtest", |
+ "-s", |
+ "video_engine_core_unittests", |
+ "--verbose", |
+ "--isolate-file-path", |
+ "webrtc/video_engine/video_engine_core_unittests.isolate" |
+ ], |
+ "env": { |
+ "CHECKOUT_SOURCE_ROOT": "[SLAVE_BUILD]/src" |
+ }, |
+ "name": "video_engine_core_unittests" |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "[SLAVE_BUILD]/src/build/android/test_runner.py", |
+ "gtest", |
+ "-s", |
+ "video_engine_tests", |
+ "--verbose", |
+ "--isolate-file-path", |
+ "webrtc/video_engine_tests.isolate" |
+ ], |
+ "env": { |
+ "CHECKOUT_SOURCE_ROOT": "[SLAVE_BUILD]/src" |
+ }, |
+ "name": "video_engine_tests" |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "[SLAVE_BUILD]/src/build/android/test_runner.py", |
+ "gtest", |
+ "-s", |
+ "voice_engine_unittests", |
+ "--verbose", |
+ "--isolate-file-path", |
+ "webrtc/voice_engine/voice_engine_unittests.isolate" |
+ ], |
+ "env": { |
+ "CHECKOUT_SOURCE_ROOT": "[SLAVE_BUILD]/src" |
+ }, |
+ "name": "voice_engine_unittests" |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "[SLAVE_BUILD]/src/build/android/test_runner.py", |
+ "gtest", |
+ "-s", |
+ "webrtc_perf_tests", |
+ "--verbose", |
+ "--isolate-file-path", |
+ "webrtc/webrtc_perf_tests.isolate" |
+ ], |
+ "env": { |
+ "CHECKOUT_SOURCE_ROOT": "[SLAVE_BUILD]/src" |
+ }, |
+ "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@@@" |
+ ] |
+ } |
+] |