How does artifact streaming work? (and lead to slow task initialization) #6840
-
I tried to find any documentation on that topic but it seems that non exists. So what I experience is: But anyway, every task mostly get executed on a different worker. So why does concourse place the tasks like this? For me it feels like a bug but as there is no documentation, I cannot really confirm. Does someone know if there is some documentation on artifact streaming? Or someone as any clue what the source of the problem could be? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
This does seem like a bug with the Generally, artifact streaming happens at the step-level when a build is running. Concourse will look at what artifacts are required to run a step and stream them to the worker the step landed on, if the artifact is not already on the worker. |
Beta Was this translation helpful? Give feedback.
This does seem like a bug with the
volume-locality
container placement strategy. Your expectations are correct, I would expect Concourse to schedule all 5 tasks on the same worker, not on different workers. Are you using any other container placement strategies in a chain?Generally, artifact streaming happens at the step-level when a build is running. Concourse will look at what artifacts are required to run a step and stream them to the worker the step landed on, if the artifact is not already on the worker.