@ -751,7 +751,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 06 )(self, reason):**
— **def [add\_failure\_reason ](/recipes/recipe_modules/tryserver/api.py#2 15 )(self, reason):**
Records a more detailed reason why build is failing.
@ -791,11 +791,11 @@ Argument:
Returned paths will be relative to to patch_root.
— **def [get\_footer ](/recipes/recipe_modules/tryserver/api.py#2 62 )(self, tag, patch_text=None):**
— **def [get\_footer ](/recipes/recipe_modules/tryserver/api.py#2 71 )(self, tag, patch_text=None):**
Gets a specific tag from a CL description
— **def [get\_footers ](/recipes/recipe_modules/tryserver/api.py#2 42 )(self, patch_text=None):**
— **def [get\_footers ](/recipes/recipe_modules/tryserver/api.py#2 51 )(self, patch_text=None):**
Retrieves footers from the patch description.
@ -814,13 +814,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 66 )(self, footer):**
— **def [normalize\_footer\_name ](/recipes/recipe_modules/tryserver/api.py#2 75 )(self, footer):**
— **def [set\_compile\_failure\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py#1 85 )(self):**
— **def [set\_compile\_failure\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py#1 94 )(self):**
Mark the tryjob result as a compile failure.
  ** @contextlib .contextmanager**< br > — **def [set\_failure\_hash ](/recipes/recipe_modules/tryserver/api.py#215 )(self):**
— **def [set\_do\_not\_retry\_build ](/recipes/recipe_modules/tryserver/api.py#181 )(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#224 )(self):**
Context manager that sets a failure_hash build property on StepFailure.
@ -829,7 +836,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# 197 )(self):**
— **def [set\_invalid\_test\_results\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py# 206 )(self):**
Mark the tryjob result as having invalid test results.
@ -837,7 +844,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#1 81 )(self):**
— **def [set\_patch\_failure\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py#1 90 )(self):**
Mark the tryjob result as failure to apply the patch.
@ -848,7 +855,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#1 8 9)(self):**
— **def [set\_test\_failure\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py#1 98 )(self):**
Mark the tryjob result as a test failure.