| Index: scripts/slave/recipes/bisection/desktop_bisect_staging.expected/perf_tryjob_failed_test.json
|
| diff --git a/scripts/slave/recipes/bisection/desktop_bisect_staging.expected/perf_tryjob_failed_test.json b/scripts/slave/recipes/bisection/desktop_bisect_staging.expected/perf_tryjob_failed_test.json
|
| index 0c2fd328dfa19f1babf8c044388d66a51d43e3b2..77357314caeaf1b39920a16f800f759e1c468d50 100644
|
| --- a/scripts/slave/recipes/bisection/desktop_bisect_staging.expected/perf_tryjob_failed_test.json
|
| +++ b/scripts/slave/recipes/bisection/desktop_bisect_staging.expected/perf_tryjob_failed_test.json
|
| @@ -453,6 +453,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]/linux_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",
|
| @@ -474,7 +497,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]/linux_perf_bisect",
|
| "name": "Performance Test (With Patch) 1 of 1",
|
| @@ -491,7 +514,7 @@
|
| "python",
|
| "-u",
|
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
| - "[TMP_BASE]/perf-test-output_tmp_1/results-valueset.json",
|
| + "[SLAVE_BUILD]/bisect_results/dummy/results-valueset.json",
|
| "/path/to/tmp/json"
|
| ],
|
| "cwd": "[BUILDER_CACHE]/linux_perf_bisect",
|
| @@ -762,6 +785,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]/linux_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",
|
| @@ -782,7 +828,7 @@
|
| "--output_format=valueset",
|
| "--upload-results",
|
| "--results-label=TOT",
|
| - "--output-dir=[TMP_BASE]/perf-test-output_tmp_2"
|
| + "--output-dir=[SLAVE_BUILD]/bisect_results/dummy"
|
| ],
|
| "cwd": "[BUILDER_CACHE]/linux_perf_bisect",
|
| "name": "Performance Test (Without Patch) 1 of 1",
|
| @@ -797,7 +843,7 @@
|
| "python",
|
| "-u",
|
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
| - "[TMP_BASE]/perf-test-output_tmp_2/results-valueset.json",
|
| + "[SLAVE_BUILD]/bisect_results/dummy/results-valueset.json",
|
| "/path/to/tmp/json"
|
| ],
|
| "cwd": "[BUILDER_CACHE]/linux_perf_bisect",
|
| @@ -814,7 +860,7 @@
|
| "python",
|
| "-u",
|
| "[SLAVE_BUILD]/catapult/tracing/bin/parse_metric_cmdline",
|
| - "[TMP_BASE]/perf-test-output_tmp_1/results-valueset.json",
|
| + "[SLAVE_BUILD]/bisect_results/dummy/results-valueset.json",
|
| "dummy/dummy",
|
| "--valueset"
|
| ],
|
| @@ -835,7 +881,7 @@
|
| "python",
|
| "-u",
|
| "[SLAVE_BUILD]/catapult/tracing/bin/parse_metric_cmdline",
|
| - "[TMP_BASE]/perf-test-output_tmp_2/results-valueset.json",
|
| + "[SLAVE_BUILD]/bisect_results/dummy/results-valueset.json",
|
| "dummy/dummy",
|
| "--valueset"
|
| ],
|
| @@ -875,7 +921,7 @@
|
| "python",
|
| "-u",
|
| "[SLAVE_BUILD]/catapult/tracing/bin/parse_metric_cmdline",
|
| - "[TMP_BASE]/perf-test-output_tmp_1/results-valueset.json",
|
| + "[SLAVE_BUILD]/bisect_results/dummy/results-valueset.json",
|
| "dummy/dummy",
|
| "--valueset"
|
| ],
|
| @@ -896,7 +942,7 @@
|
| "python",
|
| "-u",
|
| "[SLAVE_BUILD]/catapult/tracing/bin/parse_metric_cmdline",
|
| - "[TMP_BASE]/perf-test-output_tmp_2/results-valueset.json",
|
| + "[SLAVE_BUILD]/bisect_results/dummy/results-valueset.json",
|
| "dummy/dummy",
|
| "--valueset"
|
| ],
|
|
|