Closed
Bug 1106429
Opened 10 years ago
Closed 10 years ago
docker-worker: Refactor log support to handle multiple containers
Categories
(Taskcluster :: Workers, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: jlal, Assigned: jlal)
Details
Attachments
(1 file)
Initially we only started one container per task now tasks can have at least 2 (and more soon once services land) currently we don't store logs of these tasks which means it is effectively impossible to debug them unless trying things out locally.
A simple fix is to change the way we handle logs instead of a single stream we use a structure like this:
task.logs = {
'task': { stream: stream, alias: 'live' }
}
Then the logging features will process all entries such as the above in log uploading.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → jlal
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8530931 -
Flags: review?(garndt)
Assignee | ||
Comment 2•10 years ago
|
||
Worth noting that using services is measurable amount of overhead 200ms-2000ms to start a service and 2s -> 10s to stop / upload logs (as measured so far on my local and very slow vm)
Comment 3•10 years ago
|
||
Comment on attachment 8530931 [details] [review]
https://github.com/taskcluster/docker-worker/pull/62
Looks good but has changes made for the services PR included as well.
Attachment #8530931 -
Flags: review?(garndt) → review+
Updated•10 years ago
|
Component: TaskCluster → Docker-Worker
Product: Testing → Taskcluster
Comment 4•10 years ago
|
||
No longer being worked on because "services" features were halted. Closing this for now until we decide if/when we want to handle multiple containers.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Updated•6 years ago
|
Component: Docker-Worker → Workers
You need to log in
before you can comment on or make changes to this bug.
Description
•