Closed Bug 1046743 Opened 10 years ago Closed 10 years ago

Mochitest OOP and multi-part xpcshell jobs are missing the job part number from their symbol

Categories

(Tree Management :: Treeherder, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: froydnj, Assigned: emorley)

References

Details

Attachments

(1 file)

Compare:

https://tbpl.mozilla.org/?tree=Try&rev=117245a61c89

versus:

https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=117245a61c89

In the TBPL version, the xpcshell jobs on Android 2.3 opt are X1, X2, X3.  On the treeherder version, they are all simply X; it is unclear whether those are distinct jobs or retriggers of the same job.
Priority: -- → P2
Priority: P2 → P1
I'll take this one.

Looks like the problem is inside the API, not the frontend:

https://treeherder.mozilla.org/api/project/try/resultset/1/get_resultset_jobs/?format=json&result_set_ids=6444

Jeads recommends investigating the buildbot mappings inside treeherder to fix this, I'll do that:

https://github.com/mozilla/treeherder-service/blob/master/treeherder/etl/buildbot.py#L681
Assignee: nobody → wlachance
Compare to:
http://hg.mozilla.org/webtools/tbpl/file/9cb4d4589a82/js/Data.js#l878

Which was made generic at some point after treeherder copied the regex, by:
http://hg.mozilla.org/webtools/tbpl/rev/b7a6c5411bd8
(Sorry I had looked briefly at this the other day, had forgotten to comment on the bug. Happy to take this one if you have not started it, since it's the treeherder equivalent of bug 978686 and overlaps with my patches in bug 1040418)
Status: NEW → ASSIGNED
GoForIt (tm) :)
Assignee: wlachance → emorley
Blocks: 1061758
This affects Mochitest OOP too.
Summary: xpcshell jobs for android 2.3 opt aren't distinguished by name on treeherder → Mochitest OOP and multi-part xpcshell jobs are missing the job part number from their symbol
Prior to this patch each new job that was made made-part (eg xpcshell-1, xpcshell-2, ...) would need adding to the regex. Since jobnames were made more consistent, the generic regex doesn't hit false positives, so we can use this instead for reduced maintenance.

Is the treeherder equivalent of:
https://hg.mozilla.org/webtools/tbpl/rev/b7a6c5411bd8
Attachment #8482858 - Flags: review?(cdawson)
s/made-part/multi-part/
Attachment #8482858 - Flags: review?(cdawson) → review+
https://github.com/mozilla/treeherder-service/commit/bf60d1908e85f925cdf7a7a9b5bdc52082e64bab
Status: ASSIGNED → RESOLVED
Closed: 10 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: