Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Unified Diff: scripts/slave/recipe_modules/amp/example.expected/no_device_name_basic.json

Issue 2142923002: Remove amp recipe module and related code (unused) (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipe_modules/amp/example.expected/no_device_name_basic.json
diff --git a/scripts/slave/recipe_modules/amp/example.expected/no_device_name_basic.json b/scripts/slave/recipe_modules/amp/example.expected/no_device_name_basic.json
deleted file mode 100644
index a17222a1d655675706757ce23211ad1cf20b97ad..0000000000000000000000000000000000000000
--- a/scripts/slave/recipe_modules/amp/example.expected/no_device_name_basic.json
+++ /dev/null
@@ -1,550 +0,0 @@
-[
- {
- "cmd": [
- "python",
- "-u",
- "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
- "--",
- "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
- "----",
- "cp",
- "gs://chrome-amp-keys/main_pool/api_key",
- "[BUILD]/site_config/.amp_main_pool_key"
- ],
- "name": "gsutil download amp api key"
- },
- {
- "cmd": [
- "python",
- "-u",
- "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
- "--",
- "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
- "----",
- "cp",
- "gs://chrome-amp-keys/main_pool/api_secret",
- "[BUILD]/site_config/.amp_main_pool_secret"
- ],
- "name": "gsutil download amp api secret"
- },
- {
- "cmd": [
- "python",
- "-u",
- "[SLAVE_BUILD]/src/build/android/test_runner.py",
- "gtest",
- "-s",
- "example_gtest_suite",
- "--enable-platform-mode",
- "-e",
- "remote_device",
- "--api-key-file",
- "[BUILD]/site_config/.amp_main_pool_key",
- "--api-secret-file",
- "[BUILD]/site_config/.amp_main_pool_secret",
- "--api-address",
- "127.0.0.1",
- "--api-port",
- "80",
- "--api-protocol",
- "http",
- "--device-type",
- "Android",
- "--remote-device-os",
- "SampleDeviceOS",
- "--trigger",
- "/path/to/tmp/json",
- "--verbose",
- "--adb-path",
- "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
- ],
- "env": {
- "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug"
- },
- "name": "[trigger] example_gtest_suite",
- "~followup_annotations": [
- "@@@STEP_TEXT@on Foo Fone 1.2.3@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"device\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"brand\": \"Foo\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"name\": \"Fone\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"os_version\": \"1.2.3\"@@@",
- "@@@STEP_LOG_LINE@json.output@ }@@@",
- "@@@STEP_LOG_LINE@json.output@ }, @@@",
- "@@@STEP_LOG_LINE@json.output@ \"test_run\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"test_run_id\": \"T35TRUN1D\"@@@",
- "@@@STEP_LOG_LINE@json.output@ }@@@",
- "@@@STEP_LOG_LINE@json.output@}@@@",
- "@@@STEP_LOG_END@json.output@@@"
- ]
- },
- {
- "cmd": [
- "python",
- "-u",
- "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
- "{\"env\": {\"device\": {\"brand\": \"Foo\", \"name\": \"Fone\", \"os_version\": \"1.2.3\"}}, \"test_run\": {\"test_run_id\": \"T35TRUN1D\"}}",
- "[TMP_BASE]/amp_trigger_tmp_1/T35TRUN1D.json"
- ],
- "name": "[trigger] save example_gtest_suite"
- },
- {
- "cmd": [
- "python",
- "-u",
- "[SLAVE_BUILD]/src/build/android/test_runner.py",
- "instrumentation",
- "--apk-under-test",
- "ApkUnderTest.apk",
- "--test-apk",
- "TestApk.apk",
- "--isolate-file-path",
- "isolate_file.isolate",
- "--annotation",
- "SmallTest",
- "--additional-apk",
- "ExtraApk1.apk",
- "--additional-apk",
- "ExtraApk2.apk",
- "--enable-platform-mode",
- "-e",
- "remote_device",
- "--api-key-file",
- "[BUILD]/site_config/.amp_main_pool_key",
- "--api-secret-file",
- "[BUILD]/site_config/.amp_main_pool_secret",
- "--api-address",
- "127.0.0.1",
- "--api-port",
- "80",
- "--api-protocol",
- "http",
- "--device-type",
- "Android",
- "--remote-device-os",
- "SampleDeviceOS",
- "--trigger",
- "/path/to/tmp/json",
- "--verbose",
- "--adb-path",
- "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
- ],
- "env": {
- "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug"
- },
- "name": "[trigger] example_instrumentation_suite",
- "~followup_annotations": [
- "@@@STEP_TEXT@on Foo Fone 1.2.3@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"device\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"brand\": \"Foo\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"name\": \"Fone\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"os_version\": \"1.2.3\"@@@",
- "@@@STEP_LOG_LINE@json.output@ }@@@",
- "@@@STEP_LOG_LINE@json.output@ }, @@@",
- "@@@STEP_LOG_LINE@json.output@ \"test_run\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"test_run_id\": \"T35TRUN1D\"@@@",
- "@@@STEP_LOG_LINE@json.output@ }@@@",
- "@@@STEP_LOG_LINE@json.output@}@@@",
- "@@@STEP_LOG_END@json.output@@@"
- ]
- },
- {
- "cmd": [
- "python",
- "-u",
- "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
- "{\"env\": {\"device\": {\"brand\": \"Foo\", \"name\": \"Fone\", \"os_version\": \"1.2.3\"}}, \"test_run\": {\"test_run_id\": \"T35TRUN1D\"}}",
- "[TMP_BASE]/amp_trigger_tmp_1/T35TRUN1D.json"
- ],
- "name": "[trigger] save example_instrumentation_suite"
- },
- {
- "cmd": [
- "python",
- "-u",
- "[SLAVE_BUILD]/src/build/android/test_runner.py",
- "uirobot",
- "--minutes",
- "5",
- "--app-under-test",
- "Example.apk",
- "--enable-platform-mode",
- "-e",
- "remote_device",
- "--api-key-file",
- "[BUILD]/site_config/.amp_main_pool_key",
- "--api-secret-file",
- "[BUILD]/site_config/.amp_main_pool_secret",
- "--api-address",
- "127.0.0.1",
- "--api-port",
- "80",
- "--api-protocol",
- "http",
- "--device-type",
- "Android",
- "--remote-device-os",
- "SampleDeviceOS",
- "--trigger",
- "/path/to/tmp/json",
- "--verbose",
- "--adb-path",
- "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
- ],
- "env": {
- "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug"
- },
- "name": "[trigger] example_uirobot_suite",
- "~followup_annotations": [
- "@@@STEP_TEXT@on Foo Fone 1.2.3@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"device\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"brand\": \"Foo\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"name\": \"Fone\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"os_version\": \"1.2.3\"@@@",
- "@@@STEP_LOG_LINE@json.output@ }@@@",
- "@@@STEP_LOG_LINE@json.output@ }, @@@",
- "@@@STEP_LOG_LINE@json.output@ \"test_run\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"test_run_id\": \"T35TRUN1D\"@@@",
- "@@@STEP_LOG_LINE@json.output@ }@@@",
- "@@@STEP_LOG_LINE@json.output@}@@@",
- "@@@STEP_LOG_END@json.output@@@"
- ]
- },
- {
- "cmd": [
- "python",
- "-u",
- "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
- "{\"env\": {\"device\": {\"brand\": \"Foo\", \"name\": \"Fone\", \"os_version\": \"1.2.3\"}}, \"test_run\": {\"test_run_id\": \"T35TRUN1D\"}}",
- "[TMP_BASE]/amp_trigger_tmp_1/T35TRUN1D.json"
- ],
- "name": "[trigger] save example_uirobot_suite"
- },
- {
- "cmd": [
- "python",
- "-u",
- "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
- "[TMP_BASE]/amp_trigger_tmp_1/T35TRUN1D.json",
- "/path/to/tmp/json"
- ],
- "name": "[collect] load example_gtest_suite",
- "~followup_annotations": [
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"device\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"brand\": \"Foo\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"name\": \"Fone\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"os_version\": \"1.2.3\"@@@",
- "@@@STEP_LOG_LINE@json.output@ }@@@",
- "@@@STEP_LOG_LINE@json.output@ }@@@",
- "@@@STEP_LOG_LINE@json.output@}@@@",
- "@@@STEP_LOG_END@json.output@@@"
- ]
- },
- {
- "cmd": [
- "python",
- "-u",
- "[SLAVE_BUILD]/src/build/android/test_runner.py",
- "gtest",
- "-s",
- "example_gtest_suite",
- "--enable-platform-mode",
- "-e",
- "remote_device",
- "--api-key-file",
- "[BUILD]/site_config/.amp_main_pool_key",
- "--api-secret-file",
- "[BUILD]/site_config/.amp_main_pool_secret",
- "--api-address",
- "127.0.0.1",
- "--api-port",
- "80",
- "--api-protocol",
- "http",
- "--device-type",
- "Android",
- "--collect",
- "[TMP_BASE]/amp_trigger_tmp_1/T35TRUN1D.json",
- "--results-path",
- "[TMP_BASE]/amp_results_tmp_2/T35TRUN1D/results.zip",
- "--verbose",
- "--adb-path",
- "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
- ],
- "env": {
- "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug"
- },
- "name": "[collect] example_gtest_suite",
- "~followup_annotations": [
- "@@@STEP_TEXT@on Foo Fone 1.2.3@@@"
- ]
- },
- {
- "cmd": [
- "python",
- "-u",
- "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
- "[TMP_BASE]/amp_trigger_tmp_1/T35TRUN1D.json",
- "/path/to/tmp/json"
- ],
- "name": "[upload logcat] load example_gtest_suite data",
- "~followup_annotations": [
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"test_run\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"test_run_id\": \"12345abcde\"@@@",
- "@@@STEP_LOG_LINE@json.output@ }@@@",
- "@@@STEP_LOG_LINE@json.output@}@@@",
- "@@@STEP_LOG_END@json.output@@@"
- ]
- },
- {
- "cmd": [
- "python",
- "-u",
- "RECIPE_MODULE[build::zip]/resources/unzip.py"
- ],
- "name": "[upload logcat] unzip results for example_gtest_suite",
- "stdin": "{\"output\": \"[TMP_BASE]/amp_results_tmp_2/T35TRUN1D/unzipped_results\", \"zip_file\": \"[TMP_BASE]/amp_results_tmp_2/T35TRUN1D/results.zip\"}"
- },
- {
- "cmd": [
- "python",
- "-u",
- "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
- "--",
- "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
- "----",
- "cp",
- "[TMP_BASE]/amp_results_tmp_2/T35TRUN1D/unzipped_results/appurify_results/logcat.txt",
- "gs://chrome-amp-results/logcats/logcat_example_gtest_suite_T35TRUN1D.txt"
- ],
- "name": "gsutil [upload logcat] example_gtest_suite",
- "~followup_annotations": [
- "@@@STEP_LINK@logcat@https://storage.cloud.google.com/chrome-amp-results/logcats/logcat_example_gtest_suite_T35TRUN1D.txt@@@"
- ]
- },
- {
- "cmd": [
- "python",
- "-u",
- "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
- "[TMP_BASE]/amp_trigger_tmp_1/T35TRUN1D.json",
- "/path/to/tmp/json"
- ],
- "name": "[collect] load example_instrumentation_suite",
- "~followup_annotations": [
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"device\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"brand\": \"Foo\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"name\": \"Fone\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"os_version\": \"1.2.3\"@@@",
- "@@@STEP_LOG_LINE@json.output@ }@@@",
- "@@@STEP_LOG_LINE@json.output@ }@@@",
- "@@@STEP_LOG_LINE@json.output@}@@@",
- "@@@STEP_LOG_END@json.output@@@"
- ]
- },
- {
- "cmd": [
- "python",
- "-u",
- "[SLAVE_BUILD]/src/build/android/test_runner.py",
- "instrumentation",
- "--apk-under-test",
- "ApkUnderTest.apk",
- "--test-apk",
- "TestApk.apk",
- "--enable-platform-mode",
- "-e",
- "remote_device",
- "--api-key-file",
- "[BUILD]/site_config/.amp_main_pool_key",
- "--api-secret-file",
- "[BUILD]/site_config/.amp_main_pool_secret",
- "--api-address",
- "127.0.0.1",
- "--api-port",
- "80",
- "--api-protocol",
- "http",
- "--device-type",
- "Android",
- "--collect",
- "[TMP_BASE]/amp_trigger_tmp_1/T35TRUN1D.json",
- "--results-path",
- "[TMP_BASE]/amp_results_tmp_2/T35TRUN1D/results.zip",
- "--verbose",
- "--adb-path",
- "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
- ],
- "env": {
- "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug"
- },
- "name": "[collect] example_instrumentation_suite",
- "~followup_annotations": [
- "@@@STEP_TEXT@on Foo Fone 1.2.3@@@"
- ]
- },
- {
- "cmd": [
- "python",
- "-u",
- "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
- "[TMP_BASE]/amp_trigger_tmp_1/T35TRUN1D.json",
- "/path/to/tmp/json"
- ],
- "name": "[upload logcat] load example_instrumentation_suite data",
- "~followup_annotations": [
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"test_run\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"test_run_id\": \"12345abcde\"@@@",
- "@@@STEP_LOG_LINE@json.output@ }@@@",
- "@@@STEP_LOG_LINE@json.output@}@@@",
- "@@@STEP_LOG_END@json.output@@@"
- ]
- },
- {
- "cmd": [
- "python",
- "-u",
- "RECIPE_MODULE[build::zip]/resources/unzip.py"
- ],
- "name": "[upload logcat] unzip results for example_instrumentation_suite",
- "stdin": "{\"output\": \"[TMP_BASE]/amp_results_tmp_2/T35TRUN1D/unzipped_results\", \"zip_file\": \"[TMP_BASE]/amp_results_tmp_2/T35TRUN1D/results.zip\"}"
- },
- {
- "cmd": [
- "python",
- "-u",
- "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
- "--",
- "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
- "----",
- "cp",
- "[TMP_BASE]/amp_results_tmp_2/T35TRUN1D/unzipped_results/appurify_results/logcat.txt",
- "gs://chrome-amp-results/logcats/logcat_example_instrumentation_suite_T35TRUN1D.txt"
- ],
- "name": "gsutil [upload logcat] example_instrumentation_suite",
- "~followup_annotations": [
- "@@@STEP_LINK@logcat@https://storage.cloud.google.com/chrome-amp-results/logcats/logcat_example_instrumentation_suite_T35TRUN1D.txt@@@"
- ]
- },
- {
- "cmd": [
- "python",
- "-u",
- "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
- "[TMP_BASE]/amp_trigger_tmp_1/T35TRUN1D.json",
- "/path/to/tmp/json"
- ],
- "name": "[collect] load example_uirobot_suite",
- "~followup_annotations": [
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"device\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"brand\": \"Foo\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"name\": \"Fone\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"os_version\": \"1.2.3\"@@@",
- "@@@STEP_LOG_LINE@json.output@ }@@@",
- "@@@STEP_LOG_LINE@json.output@ }@@@",
- "@@@STEP_LOG_LINE@json.output@}@@@",
- "@@@STEP_LOG_END@json.output@@@"
- ]
- },
- {
- "cmd": [
- "python",
- "-u",
- "[SLAVE_BUILD]/src/build/android/test_runner.py",
- "uirobot",
- "--minutes",
- "5",
- "--enable-platform-mode",
- "-e",
- "remote_device",
- "--api-key-file",
- "[BUILD]/site_config/.amp_main_pool_key",
- "--api-secret-file",
- "[BUILD]/site_config/.amp_main_pool_secret",
- "--api-address",
- "127.0.0.1",
- "--api-port",
- "80",
- "--api-protocol",
- "http",
- "--device-type",
- "Android",
- "--collect",
- "[TMP_BASE]/amp_trigger_tmp_1/T35TRUN1D.json",
- "--results-path",
- "[TMP_BASE]/amp_results_tmp_2/T35TRUN1D/results.zip",
- "--verbose",
- "--adb-path",
- "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
- ],
- "env": {
- "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug"
- },
- "name": "[collect] example_uirobot_suite",
- "~followup_annotations": [
- "@@@STEP_TEXT@on Foo Fone 1.2.3@@@"
- ]
- },
- {
- "cmd": [
- "python",
- "-u",
- "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
- "[TMP_BASE]/amp_trigger_tmp_1/T35TRUN1D.json",
- "/path/to/tmp/json"
- ],
- "name": "[upload logcat] load example_uirobot_suite data",
- "~followup_annotations": [
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"test_run\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"test_run_id\": \"12345abcde\"@@@",
- "@@@STEP_LOG_LINE@json.output@ }@@@",
- "@@@STEP_LOG_LINE@json.output@}@@@",
- "@@@STEP_LOG_END@json.output@@@"
- ]
- },
- {
- "cmd": [
- "python",
- "-u",
- "RECIPE_MODULE[build::zip]/resources/unzip.py"
- ],
- "name": "[upload logcat] unzip results for example_uirobot_suite",
- "stdin": "{\"output\": \"[TMP_BASE]/amp_results_tmp_2/T35TRUN1D/unzipped_results\", \"zip_file\": \"[TMP_BASE]/amp_results_tmp_2/T35TRUN1D/results.zip\"}"
- },
- {
- "cmd": [
- "python",
- "-u",
- "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
- "--",
- "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
- "----",
- "cp",
- "[TMP_BASE]/amp_results_tmp_2/T35TRUN1D/unzipped_results/appurify_results/logcat.txt",
- "gs://chrome-amp-results/logcats/logcat_example_uirobot_suite_T35TRUN1D.txt"
- ],
- "name": "gsutil [upload logcat] example_uirobot_suite",
- "~followup_annotations": [
- "@@@STEP_LINK@logcat@https://storage.cloud.google.com/chrome-amp-results/logcats/logcat_example_uirobot_suite_T35TRUN1D.txt@@@"
- ]
- },
- {
- "name": "$result",
- "recipe_result": null,
- "status_code": 0
- }
-]

Powered by Google App Engine
This is Rietveld 408576698