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

Unified Diff: scripts/slave/recipes/bisection/desktop_bisect.expected/perf_tryjob_config_error.json

Issue 2227783002: auto_bisect: fix path for checking DEPS (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 4 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/recipes/bisection/desktop_bisect.expected/perf_tryjob_config_error.json
diff --git a/scripts/slave/recipes/bisection/desktop_bisect.expected/perf_tryjob_config_error.json b/scripts/slave/recipes/bisection/desktop_bisect.expected/perf_tryjob_config_error.json
index 0e012e2aa2e66d88fee911ddf2b2247f94e31660..67e4e94e187c7af51f4223a6b5f8cb21f71b586b 100644
--- a/scripts/slave/recipes/bisection/desktop_bisect.expected/perf_tryjob_config_error.json
+++ b/scripts/slave/recipes/bisection/desktop_bisect.expected/perf_tryjob_config_error.json
@@ -204,6 +204,28 @@
},
{
"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",
+ "[BUILDER_CACHE]/linux_perf_bisect",
+ "511"
+ ],
+ "name": "makedirs checkout path (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": [
"git",
"diff",
"--cached",
@@ -219,6 +241,7 @@
},
{
"cmd": [],
+ "cwd": "[BUILDER_CACHE]/linux_perf_bisect",
"name": "***PERF TRYJOB***"
},
{
@@ -231,6 +254,7 @@
"--output_json",
"/path/to/tmp/json"
],
+ "cwd": "[BUILDER_CACHE]/linux_perf_bisect",
"name": "load config",
"~followup_annotations": [
"@@@STEP_LOG_LINE@json.output@{@@@",
@@ -248,6 +272,7 @@
"-u",
"import sys; sys.exit(1)"
],
+ "cwd": "[BUILDER_CACHE]/linux_perf_bisect",
"name": "Recipe failed. Reason: Could not load config file. Double check your changes to config files for syntax errors.",
"~followup_annotations": [
"@@@STEP_LOG_LINE@python.inline@import sys; sys.exit(1)@@@",

Powered by Google App Engine
This is Rietveld 408576698