handle missing job_guid field in artifacts submitted with jobs

RESOLVED FIXED

Status

RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: camd, Assigned: camd)

Tracking

Details

Attachments

(1 attachment)

(Assignee)

Description

3 years ago
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.
Created attachment 8721370 [details] [review]
[treeherder] mozilla:fix-artifact-missing-job-guids > mozilla:master
(Assignee)

Updated

3 years ago
Assignee: nobody → cdawson
(Assignee)

Updated

3 years ago
Attachment #8721370 - Flags: review?(emorley)
Attachment #8721370 - Flags: review?(emorley) → review+

Comment 2

3 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

3 years ago
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.