Index: scripts/slave/recipe_modules/amp/example.expected/no_device_os_basic.json |
diff --git a/scripts/slave/recipe_modules/amp/example.expected/no_device_os_basic.json b/scripts/slave/recipe_modules/amp/example.expected/no_device_os_basic.json |
index ea9592a5d4097a492ebaef0c17b935a647ca7aea..c6ca566b242f338e7287b15e3535f7edc58320db 100644 |
--- a/scripts/slave/recipe_modules/amp/example.expected/no_device_os_basic.json |
+++ b/scripts/slave/recipe_modules/amp/example.expected/no_device_os_basic.json |
@@ -5,12 +5,13 @@ |
"-u", |
"RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
"--", |
- "[ROOT]/b/depot_tools/gsutil.py", |
+ "[DEPOT_TOOLS]/gsutil.py", |
"----", |
"cp", |
"gs://chrome-amp-keys/main_pool/api_key", |
- "[ROOT]/b/build/site_config/.amp_main_pool_key" |
+ "[BUILD]/site_config/.amp_main_pool_key" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "gsutil download amp api key" |
}, |
{ |
@@ -19,19 +20,20 @@ |
"-u", |
"RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
"--", |
- "[ROOT]/b/depot_tools/gsutil.py", |
+ "[DEPOT_TOOLS]/gsutil.py", |
"----", |
"cp", |
"gs://chrome-amp-keys/main_pool/api_secret", |
- "[ROOT]/b/build/site_config/.amp_main_pool_secret" |
+ "[BUILD]/site_config/.amp_main_pool_secret" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "gsutil download amp api secret" |
}, |
{ |
"cmd": [ |
"python", |
"-u", |
- "[CWD]/src/build/android/test_runner.py", |
+ "[SLAVE_BUILD]/src/build/android/test_runner.py", |
"gtest", |
"-s", |
"example_gtest_suite", |
@@ -39,9 +41,9 @@ |
"-e", |
"remote_device", |
"--api-key-file", |
- "[ROOT]/b/build/site_config/.amp_main_pool_key", |
+ "[BUILD]/site_config/.amp_main_pool_key", |
"--api-secret-file", |
- "[ROOT]/b/build/site_config/.amp_main_pool_secret", |
+ "[BUILD]/site_config/.amp_main_pool_secret", |
"--api-address", |
"127.0.0.1", |
"--api-port", |
@@ -56,8 +58,9 @@ |
"/path/to/tmp/json", |
"--verbose" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
- "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Debug" |
+ "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug" |
}, |
"name": "[trigger] example_gtest_suite", |
"~followup_annotations": [ |
@@ -83,15 +86,16 @@ |
"-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]/amp_trigger_tmp_1/T35TRUN1D.json" |
+ "[TMP_BASE]/amp_trigger_tmp_1/T35TRUN1D.json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "[trigger] save example_gtest_suite" |
}, |
{ |
"cmd": [ |
"python", |
"-u", |
- "[CWD]/src/build/android/test_runner.py", |
+ "[SLAVE_BUILD]/src/build/android/test_runner.py", |
"instrumentation", |
"--apk-under-test", |
"ApkUnderTest.apk", |
@@ -109,9 +113,9 @@ |
"-e", |
"remote_device", |
"--api-key-file", |
- "[ROOT]/b/build/site_config/.amp_main_pool_key", |
+ "[BUILD]/site_config/.amp_main_pool_key", |
"--api-secret-file", |
- "[ROOT]/b/build/site_config/.amp_main_pool_secret", |
+ "[BUILD]/site_config/.amp_main_pool_secret", |
"--api-address", |
"127.0.0.1", |
"--api-port", |
@@ -126,8 +130,9 @@ |
"/path/to/tmp/json", |
"--verbose" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
- "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Debug" |
+ "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug" |
}, |
"name": "[trigger] example_instrumentation_suite", |
"~followup_annotations": [ |
@@ -153,15 +158,16 @@ |
"-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]/amp_trigger_tmp_1/T35TRUN1D.json" |
+ "[TMP_BASE]/amp_trigger_tmp_1/T35TRUN1D.json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "[trigger] save example_instrumentation_suite" |
}, |
{ |
"cmd": [ |
"python", |
"-u", |
- "[CWD]/src/build/android/test_runner.py", |
+ "[SLAVE_BUILD]/src/build/android/test_runner.py", |
"uirobot", |
"--minutes", |
"5", |
@@ -171,9 +177,9 @@ |
"-e", |
"remote_device", |
"--api-key-file", |
- "[ROOT]/b/build/site_config/.amp_main_pool_key", |
+ "[BUILD]/site_config/.amp_main_pool_key", |
"--api-secret-file", |
- "[ROOT]/b/build/site_config/.amp_main_pool_secret", |
+ "[BUILD]/site_config/.amp_main_pool_secret", |
"--api-address", |
"127.0.0.1", |
"--api-port", |
@@ -188,8 +194,9 @@ |
"/path/to/tmp/json", |
"--verbose" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
- "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Debug" |
+ "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug" |
}, |
"name": "[trigger] example_uirobot_suite", |
"~followup_annotations": [ |
@@ -215,8 +222,9 @@ |
"-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]/amp_trigger_tmp_1/T35TRUN1D.json" |
+ "[TMP_BASE]/amp_trigger_tmp_1/T35TRUN1D.json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "[trigger] save example_uirobot_suite" |
}, |
{ |
@@ -224,9 +232,10 @@ |
"python", |
"-u", |
"\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
- "[TMP]/amp_trigger_tmp_1/T35TRUN1D.json", |
+ "[TMP_BASE]/amp_trigger_tmp_1/T35TRUN1D.json", |
"/path/to/tmp/json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "[collect] load example_gtest_suite", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@json.output@{@@@", |
@@ -245,7 +254,7 @@ |
"cmd": [ |
"python", |
"-u", |
- "[CWD]/src/build/android/test_runner.py", |
+ "[SLAVE_BUILD]/src/build/android/test_runner.py", |
"gtest", |
"-s", |
"example_gtest_suite", |
@@ -253,9 +262,9 @@ |
"-e", |
"remote_device", |
"--api-key-file", |
- "[ROOT]/b/build/site_config/.amp_main_pool_key", |
+ "[BUILD]/site_config/.amp_main_pool_key", |
"--api-secret-file", |
- "[ROOT]/b/build/site_config/.amp_main_pool_secret", |
+ "[BUILD]/site_config/.amp_main_pool_secret", |
"--api-address", |
"127.0.0.1", |
"--api-port", |
@@ -265,13 +274,14 @@ |
"--device-type", |
"Android", |
"--collect", |
- "[TMP]/amp_trigger_tmp_1/T35TRUN1D.json", |
+ "[TMP_BASE]/amp_trigger_tmp_1/T35TRUN1D.json", |
"--results-path", |
- "[TMP]/amp_results_tmp_2/T35TRUN1D/results.zip", |
+ "[TMP_BASE]/amp_results_tmp_2/T35TRUN1D/results.zip", |
"--verbose" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
- "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Debug" |
+ "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug" |
}, |
"name": "[collect] example_gtest_suite", |
"~followup_annotations": [ |
@@ -283,9 +293,10 @@ |
"python", |
"-u", |
"\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
- "[TMP]/amp_trigger_tmp_1/T35TRUN1D.json", |
+ "[TMP_BASE]/amp_trigger_tmp_1/T35TRUN1D.json", |
"/path/to/tmp/json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "[upload logcat] load example_gtest_suite data", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@json.output@{@@@", |
@@ -302,8 +313,9 @@ |
"-u", |
"RECIPE_MODULE[build::zip]/resources/unzip.py" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "[upload logcat] unzip results for example_gtest_suite", |
- "stdin": "{\"output\": \"[TMP]/amp_results_tmp_2/T35TRUN1D/unzipped_results\", \"zip_file\": \"[TMP]/amp_results_tmp_2/T35TRUN1D/results.zip\"}" |
+ "stdin": "{\"output\": \"[TMP_BASE]/amp_results_tmp_2/T35TRUN1D/unzipped_results\", \"zip_file\": \"[TMP_BASE]/amp_results_tmp_2/T35TRUN1D/results.zip\"}" |
}, |
{ |
"cmd": [ |
@@ -311,12 +323,13 @@ |
"-u", |
"RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
"--", |
- "[ROOT]/b/depot_tools/gsutil.py", |
+ "[DEPOT_TOOLS]/gsutil.py", |
"----", |
"cp", |
- "[TMP]/amp_results_tmp_2/T35TRUN1D/unzipped_results/appurify_results/logcat.txt", |
+ "[TMP_BASE]/amp_results_tmp_2/T35TRUN1D/unzipped_results/appurify_results/logcat.txt", |
"gs://chrome-amp-results/logcats/logcat_example_gtest_suite_T35TRUN1D.txt" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"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@@@" |
@@ -327,9 +340,10 @@ |
"python", |
"-u", |
"\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
- "[TMP]/amp_trigger_tmp_1/T35TRUN1D.json", |
+ "[TMP_BASE]/amp_trigger_tmp_1/T35TRUN1D.json", |
"/path/to/tmp/json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "[collect] load example_instrumentation_suite", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@json.output@{@@@", |
@@ -348,7 +362,7 @@ |
"cmd": [ |
"python", |
"-u", |
- "[CWD]/src/build/android/test_runner.py", |
+ "[SLAVE_BUILD]/src/build/android/test_runner.py", |
"instrumentation", |
"--apk-under-test", |
"ApkUnderTest.apk", |
@@ -358,9 +372,9 @@ |
"-e", |
"remote_device", |
"--api-key-file", |
- "[ROOT]/b/build/site_config/.amp_main_pool_key", |
+ "[BUILD]/site_config/.amp_main_pool_key", |
"--api-secret-file", |
- "[ROOT]/b/build/site_config/.amp_main_pool_secret", |
+ "[BUILD]/site_config/.amp_main_pool_secret", |
"--api-address", |
"127.0.0.1", |
"--api-port", |
@@ -370,13 +384,14 @@ |
"--device-type", |
"Android", |
"--collect", |
- "[TMP]/amp_trigger_tmp_1/T35TRUN1D.json", |
+ "[TMP_BASE]/amp_trigger_tmp_1/T35TRUN1D.json", |
"--results-path", |
- "[TMP]/amp_results_tmp_2/T35TRUN1D/results.zip", |
+ "[TMP_BASE]/amp_results_tmp_2/T35TRUN1D/results.zip", |
"--verbose" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
- "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Debug" |
+ "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug" |
}, |
"name": "[collect] example_instrumentation_suite", |
"~followup_annotations": [ |
@@ -388,9 +403,10 @@ |
"python", |
"-u", |
"\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
- "[TMP]/amp_trigger_tmp_1/T35TRUN1D.json", |
+ "[TMP_BASE]/amp_trigger_tmp_1/T35TRUN1D.json", |
"/path/to/tmp/json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "[upload logcat] load example_instrumentation_suite data", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@json.output@{@@@", |
@@ -407,8 +423,9 @@ |
"-u", |
"RECIPE_MODULE[build::zip]/resources/unzip.py" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "[upload logcat] unzip results for example_instrumentation_suite", |
- "stdin": "{\"output\": \"[TMP]/amp_results_tmp_2/T35TRUN1D/unzipped_results\", \"zip_file\": \"[TMP]/amp_results_tmp_2/T35TRUN1D/results.zip\"}" |
+ "stdin": "{\"output\": \"[TMP_BASE]/amp_results_tmp_2/T35TRUN1D/unzipped_results\", \"zip_file\": \"[TMP_BASE]/amp_results_tmp_2/T35TRUN1D/results.zip\"}" |
}, |
{ |
"cmd": [ |
@@ -416,12 +433,13 @@ |
"-u", |
"RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
"--", |
- "[ROOT]/b/depot_tools/gsutil.py", |
+ "[DEPOT_TOOLS]/gsutil.py", |
"----", |
"cp", |
- "[TMP]/amp_results_tmp_2/T35TRUN1D/unzipped_results/appurify_results/logcat.txt", |
+ "[TMP_BASE]/amp_results_tmp_2/T35TRUN1D/unzipped_results/appurify_results/logcat.txt", |
"gs://chrome-amp-results/logcats/logcat_example_instrumentation_suite_T35TRUN1D.txt" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"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@@@" |
@@ -432,9 +450,10 @@ |
"python", |
"-u", |
"\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
- "[TMP]/amp_trigger_tmp_1/T35TRUN1D.json", |
+ "[TMP_BASE]/amp_trigger_tmp_1/T35TRUN1D.json", |
"/path/to/tmp/json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "[collect] load example_uirobot_suite", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@json.output@{@@@", |
@@ -453,7 +472,7 @@ |
"cmd": [ |
"python", |
"-u", |
- "[CWD]/src/build/android/test_runner.py", |
+ "[SLAVE_BUILD]/src/build/android/test_runner.py", |
"uirobot", |
"--minutes", |
"5", |
@@ -461,9 +480,9 @@ |
"-e", |
"remote_device", |
"--api-key-file", |
- "[ROOT]/b/build/site_config/.amp_main_pool_key", |
+ "[BUILD]/site_config/.amp_main_pool_key", |
"--api-secret-file", |
- "[ROOT]/b/build/site_config/.amp_main_pool_secret", |
+ "[BUILD]/site_config/.amp_main_pool_secret", |
"--api-address", |
"127.0.0.1", |
"--api-port", |
@@ -473,13 +492,14 @@ |
"--device-type", |
"Android", |
"--collect", |
- "[TMP]/amp_trigger_tmp_1/T35TRUN1D.json", |
+ "[TMP_BASE]/amp_trigger_tmp_1/T35TRUN1D.json", |
"--results-path", |
- "[TMP]/amp_results_tmp_2/T35TRUN1D/results.zip", |
+ "[TMP_BASE]/amp_results_tmp_2/T35TRUN1D/results.zip", |
"--verbose" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
- "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Debug" |
+ "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug" |
}, |
"name": "[collect] example_uirobot_suite", |
"~followup_annotations": [ |
@@ -491,9 +511,10 @@ |
"python", |
"-u", |
"\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
- "[TMP]/amp_trigger_tmp_1/T35TRUN1D.json", |
+ "[TMP_BASE]/amp_trigger_tmp_1/T35TRUN1D.json", |
"/path/to/tmp/json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "[upload logcat] load example_uirobot_suite data", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@json.output@{@@@", |
@@ -510,8 +531,9 @@ |
"-u", |
"RECIPE_MODULE[build::zip]/resources/unzip.py" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "[upload logcat] unzip results for example_uirobot_suite", |
- "stdin": "{\"output\": \"[TMP]/amp_results_tmp_2/T35TRUN1D/unzipped_results\", \"zip_file\": \"[TMP]/amp_results_tmp_2/T35TRUN1D/results.zip\"}" |
+ "stdin": "{\"output\": \"[TMP_BASE]/amp_results_tmp_2/T35TRUN1D/unzipped_results\", \"zip_file\": \"[TMP_BASE]/amp_results_tmp_2/T35TRUN1D/results.zip\"}" |
}, |
{ |
"cmd": [ |
@@ -519,12 +541,13 @@ |
"-u", |
"RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
"--", |
- "[ROOT]/b/depot_tools/gsutil.py", |
+ "[DEPOT_TOOLS]/gsutil.py", |
"----", |
"cp", |
- "[TMP]/amp_results_tmp_2/T35TRUN1D/unzipped_results/appurify_results/logcat.txt", |
+ "[TMP_BASE]/amp_results_tmp_2/T35TRUN1D/unzipped_results/appurify_results/logcat.txt", |
"gs://chrome-amp-results/logcats/logcat_example_uirobot_suite_T35TRUN1D.txt" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"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@@@" |