Index: scripts/slave/recipes/find_annotated_tests.expected/find_annotated_tests_basic.json |
diff --git a/scripts/slave/recipes/find_annotated_tests.expected/find_annotated_tests_basic.json b/scripts/slave/recipes/find_annotated_tests.expected/find_annotated_tests_basic.json |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c8617f3c8575b9fa6b2a62c4d11aa7d7ad59a664 |
--- /dev/null |
+++ b/scripts/slave/recipes/find_annotated_tests.expected/find_annotated_tests_basic.json |
@@ -0,0 +1,164 @@ |
+[ |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
+ "--master", |
+ "InfraCron", |
+ "--builder", |
+ "Chromium Android Find Annotated Tests", |
+ "--slave", |
+ "TestSlavename", |
+ "--spec", |
+ "cache_dir = '[GIT_CACHE]'\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'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.golo.chromium.org/chrome/trunk/src'}]\ntarget_os = ['android']", |
+ "--root", |
+ "src", |
+ "--revision_mapping_file", |
+ "{\"src\": \"got_revision\", \"src/buildtools\": \"got_buildtools_revision\", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/angle\": \"got_angle_revision\", \"src/third_party/webrtc\": \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_revision\", \"src/v8\": \"got_v8_revision\"}", |
+ "--git-cache-dir", |
+ "[GIT_CACHE]", |
+ "--output_json", |
+ "/path/to/tmp/json", |
+ "--revision", |
+ "src@HEAD", |
+ "--output_manifest" |
+ ], |
+ "env": { |
+ "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
+ }, |
+ "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", |
+ "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
+ "config", |
+ "--spec", |
+ "cache_dir = '[GIT_CACHE]'\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'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.golo.chromium.org/chrome/trunk/src'}]\ntarget_os = ['android']" |
+ ], |
+ "env": { |
+ "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
+ }, |
+ "name": "gclient setup" |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
+ "sync", |
+ "--nohooks", |
+ "--force", |
+ "--verbose", |
+ "--delete_unversioned_trees", |
+ "--output-json", |
+ "/path/to/tmp/json" |
+ ], |
+ "env": { |
+ "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
+ }, |
+ "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/buildtools/\": {@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"revision\": 182578@@@", |
+ "@@@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/third_party/angle/\": {@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"revision\": 297276@@@", |
+ "@@@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_swarming_client_revision@276089@@@", |
+ "@@@SET_BUILD_PROPERTY@got_webrtc_revision@120644@@@", |
+ "@@@SET_BUILD_PROPERTY@got_revision@170242@@@", |
+ "@@@SET_BUILD_PROPERTY@got_angle_revision@297276@@@", |
+ "@@@SET_BUILD_PROPERTY@got_v8_revision@43426@@@", |
+ "@@@SET_BUILD_PROPERTY@got_buildtools_revision@182578@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "[SLAVE_BUILD]/src/tools/android/find_annotated_tests.py", |
+ "--test-apks", |
+ "ChromePublicApk", |
+ "--apk-output-dir", |
+ "[SLAVE_BUILD]/src/out/Release", |
+ "--json-output-dir", |
+ "[TMP_BASE]/annotated_tests_json_temp_tmp_1", |
+ "--script_runtime_string", |
+ "20160614T221324", |
+ "-v" |
+ ], |
+ "name": "run find_annotated_tests.py" |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
+ "--", |
+ "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
+ "----", |
+ "cp", |
+ "[TMP_BASE]/annotated_tests_json_temp_tmp_1/20160614T221324-android-chrome.json", |
+ "gs://chromium-annotated-tests/android" |
+ ], |
+ "name": "gsutil upload", |
+ "~followup_annotations": [ |
+ "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chromium-annotated-tests/android@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "\nimport os, sys\nfrom common import chromium_utils # Error? See https://crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n", |
+ "[TMP_BASE]/annotated_tests_json_temp_tmp_1" |
+ ], |
+ "name": "rmtree Delete temp out 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 # Error? See https://crbug.com/584783.@@@", |
+ "@@@STEP_LOG_LINE@python.inline@@@@", |
+ "@@@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@@@" |
+ ] |
+ }, |
+ { |
+ "name": "$result", |
+ "recipe_result": null, |
+ "status_code": 0 |
+ } |
+] |