Closed
Bug 1249692
Opened 10 years ago
Closed 10 years ago
handle missing job_guid field in artifacts submitted with jobs
Categories
(Tree Management :: Treeherder: API, defect)
Tree Management
Treeherder: API
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: camd, Assigned: camd)
Details
Attachments
(1 file)
If jobs are submitted with artifacts, but the artifacts do NOT contain the ``job_guid`` field, then the artifacts won't be ingested.
The docs do NOT indicate you need to include that field.
However, when we make the determination of whether to generate a ``Bug suggestions`` artifact based on a passed-in ``text_log_summary``, it will fail in the ``get_artifacts_that_need_bug_suggestions`` function and the artifacts won't be stored.
Comment 1•10 years ago
|
||
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → cdawson
| Assignee | ||
Updated•10 years ago
|
Attachment #8721370 -
Flags: review?(emorley)
Updated•10 years ago
|
Attachment #8721370 -
Flags: review?(emorley) → review+
Comment 2•10 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/7e9b174b13089638f0ddf6a10efbac2cd2cdf792
Bug 1249692 - handle missing job_guid field in artifacts submitted with jobs
This adds the ``job_guid`` from the owning job to any artifact that
doesn’t have the field value already set. This allows later calls that
rely on that field to find it, rather than hitting an error and not
storing the artifact.
| Assignee | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•