| Index: scripts/slave/recipes/bisection/android_bisect_staging.expected/basic_perf_tryjob_with_metric_android_s5_perf_bisect.json
|
| diff --git a/scripts/slave/recipes/bisection/android_bisect_staging.expected/basic_perf_tryjob_with_metric_android_s5_perf_bisect.json b/scripts/slave/recipes/bisection/android_bisect_staging.expected/basic_perf_tryjob_with_metric_android_s5_perf_bisect.json
|
| index e7b4cd4fa06480465b481dbe8b575dc8987e2c46..7ebd3367d1e366c437c23f75c6599a867d938b8f 100644
|
| --- a/scripts/slave/recipes/bisection/android_bisect_staging.expected/basic_perf_tryjob_with_metric_android_s5_perf_bisect.json
|
| +++ b/scripts/slave/recipes/bisection/android_bisect_staging.expected/basic_perf_tryjob_with_metric_android_s5_perf_bisect.json
|
| @@ -715,6 +715,29 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| + "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
|
| + "[SLAVE_BUILD]/bisect_results/dummy",
|
| + "511"
|
| + ],
|
| + "cwd": "[BUILDER_CACHE]/android_s5_perf_bisect",
|
| + "name": "makedirs results directory",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LOG_LINE@python.inline@@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
|
| + "@@@STEP_LOG_END@python.inline@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py",
|
| "--target",
|
| "Release",
|
| @@ -738,7 +761,7 @@
|
| "--reset-results",
|
| "--upload-results",
|
| "--results-label=Patch",
|
| - "--output-dir=[TMP_BASE]/perf-test-output_tmp_1"
|
| + "--output-dir=[SLAVE_BUILD]/bisect_results/dummy"
|
| ],
|
| "cwd": "[BUILDER_CACHE]/android_s5_perf_bisect",
|
| "env": {
|
| @@ -764,7 +787,7 @@
|
| "-u",
|
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
| "*RESULT dummy: dummy= [5.83,6.013,5.573]ms\nAvg dummy: 5.907711ms\nSd dummy: 0.255921ms\nRESULT telemetry_page_measurement_results: num_failed= 0 count\nRESULT telemetry_page_measurement_results: num_errored= 0 count\n\nView online at http://storage.googleapis.com/chromium-telemetry/html-results/results-with_patch\n",
|
| - "[TMP_BASE]/perf-test-output_tmp_1/results.txt"
|
| + "[SLAVE_BUILD]/bisect_results/dummy/results.txt"
|
| ],
|
| "cwd": "[BUILDER_CACHE]/android_s5_perf_bisect",
|
| "name": "write buildbot output to disk"
|
| @@ -774,7 +797,7 @@
|
| "python",
|
| "-u",
|
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
| - "[TMP_BASE]/perf-test-output_tmp_1/results-chart.json",
|
| + "[SLAVE_BUILD]/bisect_results/dummy/results-chart.json",
|
| "/path/to/tmp/json"
|
| ],
|
| "cwd": "[BUILDER_CACHE]/android_s5_perf_bisect",
|
| @@ -1091,6 +1114,29 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| + "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
|
| + "[SLAVE_BUILD]/bisect_results/dummy",
|
| + "511"
|
| + ],
|
| + "cwd": "[BUILDER_CACHE]/android_s5_perf_bisect",
|
| + "name": "makedirs results directory (2)",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LOG_LINE@python.inline@@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
|
| + "@@@STEP_LOG_END@python.inline@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py",
|
| "--target",
|
| "Release",
|
| @@ -1113,7 +1159,7 @@
|
| "sunspider",
|
| "--upload-results",
|
| "--results-label=TOT",
|
| - "--output-dir=[TMP_BASE]/perf-test-output_tmp_2"
|
| + "--output-dir=[SLAVE_BUILD]/bisect_results/dummy"
|
| ],
|
| "cwd": "[BUILDER_CACHE]/android_s5_perf_bisect",
|
| "env": {
|
| @@ -1139,7 +1185,7 @@
|
| "-u",
|
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
| "*RESULT dummy: dummy= [5.83,6.013,5.573]ms\nAvg dummy: 5.907711ms\nSd dummy: 0.255921ms\nRESULT telemetry_page_measurement_results: num_failed= 0 count\nRESULT telemetry_page_measurement_results: num_errored= 0 count\n\nView online at http://storage.googleapis.com/chromium-telemetry/html-results/results-without_patch\n",
|
| - "[TMP_BASE]/perf-test-output_tmp_2/results.txt"
|
| + "[SLAVE_BUILD]/bisect_results/dummy/results.txt"
|
| ],
|
| "cwd": "[BUILDER_CACHE]/android_s5_perf_bisect",
|
| "name": "write buildbot output to disk (2)"
|
| @@ -1149,7 +1195,7 @@
|
| "python",
|
| "-u",
|
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
| - "[TMP_BASE]/perf-test-output_tmp_2/results-chart.json",
|
| + "[SLAVE_BUILD]/bisect_results/dummy/results-chart.json",
|
| "/path/to/tmp/json"
|
| ],
|
| "cwd": "[BUILDER_CACHE]/android_s5_perf_bisect",
|
|
|