Open Bug 1383556 Opened 7 years ago Updated 2 months ago

Bug filer should warn when https://bugzilla.mozilla.org/rest/product/<product>?include_fields=versions returns nothing

Categories

(Tree Management :: Treeherder, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: KWierso, Unassigned)

References

Details

Attachments

(1 obsolete file)

The bug filer first tries to find a product to file the bug in from in-tree moz.build metadata. From that, we query bugzilla's rest API to return an array the product's version numbers (necessary to assign something to this field to file a bug). If that metadata is incorrect, we can query bugzilla for a non-existent product, which will return an empty array with no version numbers. 

At the moment, if this happens, the bug filer shows a generic error "Bug Filer API returned status undefined (undefined)", rather than anything that indicates that we might be using an invalid product.

The bug filer should give a more specific error when querying bugzilla returns an empty array of versions.

I filed bug 1382870 to make the mozbuild query return a list of involved moz.build files, so we can see which file is giving us invalid products, which could make this error message more useful.
Component: Treeherder → Treeherder: Log Parsing & Classification
Priority: -- → P3
Component: Treeherder: Log Parsing & Classification → TreeHerder
Attachment #9385025 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: