@ -828,21 +828,23 @@ Returns gerrit change destination ref, e.g. "refs/heads/master".
Populated iff gerrit_change is populated.
— **def [get\_files\_affected\_by\_patch ](/recipes/recipe_modules/tryserver/api.py#143 )(self, patch_root, \*\*kwargs):**
— **def [get\_files\_affected\_by\_patch ](/recipes/recipe_modules/tryserver/api.py#143 )(self, patch_root, report_files_via_property=None, \*\*kwargs):**
Returns list of paths to files affected by the patch.
Args:
* patch_root: path relative to api.path['root'], usually obtained from
api.gclient.get_gerrit_patch_root().
* report_files_via_property: name of the output property to report the
list of the files. If None (default), do not report.
Returned paths will be relative to to patch_root.
— **def [get\_footer ](/recipes/recipe_modules/tryserver/api.py#2 53 )(self, tag, patch_text=None):**
— **def [get\_footer ](/recipes/recipe_modules/tryserver/api.py#2 6 5)(self, tag, patch_text=None):**
Gets a specific tag from a CL description
— **def [get\_footers ](/recipes/recipe_modules/tryserver/api.py#2 33 )(self, patch_text=None):**
— **def [get\_footers ](/recipes/recipe_modules/tryserver/api.py#2 45 )(self, patch_text=None):**
Retrieves footers from the patch description.
@ -861,20 +863,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 57 )(self, footer):**
— **def [normalize\_footer\_name ](/recipes/recipe_modules/tryserver/api.py#2 69 )(self, footer):**
— **def [set\_change ](/recipes/recipe_modules/tryserver/api.py#2 60 )(self, change):**
— **def [set\_change ](/recipes/recipe_modules/tryserver/api.py#2 72 )(self, change):**
Set the gerrit change for this module.
Args:
* change: a self.m.buildbucket.common_pb2.GerritChange.
— **def [set\_compile\_failure\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py# 196 )(self):**
— **def [set\_compile\_failure\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py# 208 )(self):**
Mark the tryjob result as a compile failure.
— **def [set\_invalid\_test\_results\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py#2 08 )(self):**
— **def [set\_invalid\_test\_results\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py#2 2 0)(self):**
Mark the tryjob result as having invalid test results.
@ -882,32 +884,32 @@ 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 2)(self):**
— **def [set\_patch\_failure\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py# 204 )(self):**
Mark the tryjob result as failure to apply the patch.
— **def [set\_subproject\_tag ](/recipes/recipe_modules/tryserver/api.py#1 70 )(self, subproject_tag):**
— **def [set\_subproject\_tag ](/recipes/recipe_modules/tryserver/api.py#1 82 )(self, subproject_tag):**
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\_expired\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py#2 25 )(self):**
— **def [set\_test\_expired\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py#2 37 )(self):**
Mark the tryjob result as a test expiration.
This means a test task expired and was never scheduled, most likely due to
lack of capacity.
— **def [set\_test\_failure\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py#2 00 )(self):**
— **def [set\_test\_failure\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py#2 12 )(self):**
Mark the tryjob result as a test failure.
This means we started running actual tests (not prerequisite steps
like checkout or compile), and some of these tests have failed.
— **def [set\_test\_timeout\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py#2 17 )(self):**
— **def [set\_test\_timeout\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py#2 29 )(self):**
Mark the tryjob result as a test timeout.