@ -753,7 +753,7 @@ Return a presubmit step.
#### **class [TryserverApi ](/recipes/recipe_modules/tryserver/api.py#11 )([RecipeApi][recipe_engine/wkt/RecipeApi]):**
— **def [add\_failure\_reason ](/recipes/recipe_modules/tryserver/api.py#2 15 )(self, reason):**
— **def [add\_failure\_reason ](/recipes/recipe_modules/tryserver/api.py#2 20 )(self, reason):**
Records a more detailed reason why build is failing.
@ -793,11 +793,11 @@ Argument:
Returned paths will be relative to to patch_root.
— **def [get\_footer ](/recipes/recipe_modules/tryserver/api.py#27 1 )(self, tag, patch_text=None):**
— **def [get\_footer ](/recipes/recipe_modules/tryserver/api.py#27 8 )(self, tag, patch_text=None):**
Gets a specific tag from a CL description
— **def [get\_footers ](/recipes/recipe_modules/tryserver/api.py#25 1 )(self, patch_text=None):**
— **def [get\_footers ](/recipes/recipe_modules/tryserver/api.py#25 8 )(self, patch_text=None):**
Retrieves footers from the patch description.
@ -816,20 +816,20 @@ Returns true iff the properties exist to match a Gerrit issue.
Returns true iff we have a change to check out.
— **def [normalize\_footer\_name ](/recipes/recipe_modules/tryserver/api.py#2 75 )(self, footer):**
— **def [normalize\_footer\_name ](/recipes/recipe_modules/tryserver/api.py#2 82 )(self, footer):**
— **def [set\_compile\_failure\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py#19 4 )(self):**
— **def [set\_compile\_failure\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py#19 9 )(self):**
Mark the tryjob result as a compile failure.
— **def [set\_do\_not\_retry\_build ](/recipes/recipe_modules/tryserver/api.py#18 1 )(self):**
— **def [set\_do\_not\_retry\_build ](/recipes/recipe_modules/tryserver/api.py#18 5 )(self):**
A flag to indicate the build should not be retried by the CQ.
This mechanism is used to reduce CQ duration when retrying will likely
return an identical result.
  ** @contextlib .contextmanager**< br > — **def [set\_failure\_hash ](/recipes/recipe_modules/tryserver/api.py#22 4 )(self):**
  ** @contextlib .contextmanager**< br > — **def [set\_failure\_hash ](/recipes/recipe_modules/tryserver/api.py#22 9 )(self):**
Context manager that sets a failure_hash build property on StepFailure.
@ -838,7 +838,7 @@ for the same reason. For example, if a patch is bad (breaks something),
we'd expect it to always break in the same way. Different failures
for the same patch are usually a sign of flakiness.
— **def [set\_invalid\_test\_results\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py#2 06 )(self):**
— **def [set\_invalid\_test\_results\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py#2 11 )(self):**
Mark the tryjob result as having invalid test results.
@ -846,7 +846,7 @@ This means we run some tests, but the results were not valid
(e.g. no list of specific test cases that failed, or too many
tests failing, etc).
— **def [set\_patch\_failure\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py#19 0 )(self):**
— **def [set\_patch\_failure\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py#19 5 )(self):**
Mark the tryjob result as failure to apply the patch.
@ -857,7 +857,7 @@ Adds a subproject tag to the build.
This can be used to distinguish between builds that execute different steps
depending on what was patched, e.g. blink vs. pure chromium patches.
— **def [set\_test\_failure\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py# 198 )(self):**
— **def [set\_test\_failure\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py# 203 )(self):**
Mark the tryjob result as a test failure.