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

Unified Diff: recipe_engine/run.py

Issue 2127353003: Include "recipe_result" (None) on StepFailure (Closed) Base URL: https://github.com/luci/recipes-py.git@master
Patch Set: trybots 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
« no previous file with comments | « no previous file | recipe_modules/generator_script/example.expected/always_run.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_engine/run.py
diff --git a/recipe_engine/run.py b/recipe_engine/run.py
index 68c47b57d3a2812e5f8c637ccb680a1cb37255de..31aaaafacfc5423be71d5e0ddee5a92920314932 100644
--- a/recipe_engine/run.py
+++ b/recipe_engine/run.py
@@ -419,6 +419,8 @@ class RecipeEngine(object):
self._close_to_level(0)
except recipe_api.StepFailure as f:
result = {
+ # Include "recipe_result" so it doesn't get marked as infra failure.
+ "recipe_result": None,
"reason": f.reason,
"status_code": f.retcode or 1
}
« no previous file with comments | « no previous file | recipe_modules/generator_script/example.expected/always_run.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698