Closed Bug 1158271 Opened 6 years ago Closed 4 years ago

make sure logs for buildbot bridge backed jobs are available to treeherder via taskcluster

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bhearsum, Unassigned)

Details

(Whiteboard: [bbb])

James and I were talking today about this. He told me that because of the way Treeherder is informed of completed Taskcluster tasks, we need the logs to be attached to them before they are marked as completed.

This will happen for free for anything that gets attached by Mozharness. I'm not sure what we're doing for non-Mozharness jobs though. Maybe attaching with the command runner? If that's the case, we need to make sure that that command completes before the "log_uploaded" Pulse event is sent (which causes the buildbot bridge to mark the task as complete). I'm not sure how do-able this is - it needs more investigating.

I was thinking just now though, maybe Taskcluster can send out an additional event when artifacts are attached that Treeherder can listen for? That way it wouldn't matter when the logs are attached. Does that make any sense, James?
No longer blocks: bbb
Whiteboard: [bbb]
Ben: is this done already?
Flags: needinfo?(bhearsum)
Summary: make sure logs logs for buildbot bridge backed jobs are available to treeherder via taskcluster → make sure logs for buildbot bridge backed jobs are available to treeherder via taskcluster
Looks like yes, though not through our doing. For jobs like https://treeherder.mozilla.org/#/jobs?repo=mozilla-release&revision=c1de04f39fa956cfce83f6065b0e709369215ed5&exclusion_profile=false&selectedJob=221834, I see that treeherder links to all artifacts in the Task. The "log" button works too.
Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(bhearsum)
Resolution: --- → FIXED
(In reply to Ben Hearsum (:bhearsum) from comment #2)
> Looks like yes, though not through our doing. For jobs like
> https://treeherder.mozilla.org/#/jobs?repo=mozilla-
> release&revision=c1de04f39fa956cfce83f6065b0e709369215ed5&exclusion_profile=f
> alse&selectedJob=221834, I see that treeherder links to all artifacts in the
> Task. The "log" button works too.

Selectedjob there is a funsize not bbb job :-)


My read of this was that they are not... directly through taskcluster.

They are available, but via Buildbot's Log_upload, and the taskcluster jobs are not currently shown :(

https://treeherder.mozilla.org/#/jobs?repo=mozilla-release&revision=a55778f9cd5a98d05fb50a9a295ef8da379e41d0&exclusion_profile=false&selectedJob=218121  was a BBB job, but doesn't have a "Inspect Task" button or anything like that.
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.