Closed Bug 1249692 Opened 8 years ago Closed 8 years ago

handle missing job_guid field in artifacts submitted with jobs

Categories

(Tree Management :: Treeherder: API, defect)

defect
Not set
normal

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.
Assignee: nobody → cdawson
Attachment #8721370 - Flags: review?(emorley)
Attachment #8721370 - Flags: review?(emorley) → review+
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.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: