Screwdriver: Build looks stuck if docker pull takes long

Created on 27 Jan 2017  路  2Comments  路  Source: screwdriver-cd/screwdriver

Builds look stuck with no logs or status messages for a while if I specify a large docker image to screwdriver.yaml.
They are actually pulling the docker image in the background, so it would be better if UI shows us a message or a log about preparation of the build at that time.

bug

Most helpful comment

I agree, this has always bothered me. There are two issues going on here, depending on your execution engine.

  1. Docker Swarm execution calls are synchronous and can be slow. Docker swarm will make a Pull first then a Create. This call will take as long as the pull takes.
  2. Kubernetes calls have to way to report back asynchronous statuses (like downloading image, waiting for available machine, etc.).

We're hoping that we can solve that when we get to https://github.com/screwdriver-cd/screwdriver/issues/431. We should be able to make all execution calls async (adding to the queue) and then have the engines themselves report back statuses on a regular basis (enqueued for X time, waiting for resources, downloading, etc.).

All 2 comments

I agree, this has always bothered me. There are two issues going on here, depending on your execution engine.

  1. Docker Swarm execution calls are synchronous and can be slow. Docker swarm will make a Pull first then a Create. This call will take as long as the pull takes.
  2. Kubernetes calls have to way to report back asynchronous statuses (like downloading image, waiting for available machine, etc.).

We're hoping that we can solve that when we get to https://github.com/screwdriver-cd/screwdriver/issues/431. We should be able to make all execution calls async (adding to the queue) and then have the engines themselves report back statuses on a regular basis (enqueued for X time, waiting for resources, downloading, etc.).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yoshwata picture yoshwata  路  5Comments

wahapo picture wahapo  路  7Comments

yoshwata picture yoshwata  路  5Comments

jeffreytolar picture jeffreytolar  路  3Comments

yokawara picture yokawara  路  5Comments