Skip to content

feature request: ability to automatically pause recurrent failing jobs #303

Closed

Description

@markstokan

The Toolsmiths team ran into an issue today where Docker Hub began returning "500 Internal Server Errors" to requests for a docker image in a Task. We run some of our pipelines so often that we were creating containers faster than concourse could tear them down and eventually we hit our 250 container limit on two workers.

We understand that Concourse keeps "failed" containers around for post-mortem purposes but this ended up biting us. We talked about this with Evan and we determined that the most helpful feature in this scenario is automatically pausing the job after a certain number of consecutive failures.

Thanks.

Mark & Topher

Activity

  1. concourse-bot commented on Mar 1, 2016

    @concourse-bot

    Hi there!

    We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.

    The current status is as follows:

    • #114740755 feature request: ability to automatically pause recurrent failing jobs

    This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.

  2. xoebus commented on Mar 3, 2016

    @xoebus
    Contributor

    Sorry but we probably won't be adding this feature because it has a limited use case but starts us down a path of adding lots of complexity compensate for edge cases.

    I'm interested in fixing your problem though. If the containers were failing to create because the Docker registry was down then I'm surprised that you were running out of containers. Do you know the type of containers that were being created?

  3. reopened this on Mar 3, 2016
  4. markstokan commented on Mar 3, 2016

    @markstokan
    ContributorAuthor

    From my understanding these were Garden containers, not Docker containers download from Docker Hub.

    ex. output of "fly containers" while we were experiencing the issue...

    dl45o1cl4m8  d16c69f3-a0b7-46e8-a88f-5edadf8b3491  uptime_checker                 toolsmiths-environments-app     1815     631039    get    cron-trigger                  n/a
    dl45o1cl4m9  d16c69f3-a0b7-46e8-a88f-5edadf8b3491  uptime_checker                 toolsmiths-environments-app     1815     631039    get    toolsmiths-ci                 n/a
    dl45o1cl4mv  d16c69f3-a0b7-46e8-a88f-5edadf8b3491  uptime_checker                 toolsmiths-environments-app     1816     631065    get    cron-trigger                  n/a
    dl45o1cl4n0  d16c69f3-a0b7-46e8-a88f-5edadf8b3491  uptime_checker                 toolsmiths-environments-app     1816     631065    get    toolsmiths-ci                 n/a
    dl45o1cl4nq  d16c69f3-a0b7-46e8-a88f-5edadf8b3491  uptime_checker                 toolsmiths-environments-app     1817     631105    get    cron-trigger                  n/a
    dl43it4qp5v  8dd05389-05ab-4abf-a0d3-0d78000dd9d2  uptime_checker                 toolsmiths-environments-app     1817     631105    get    toolsmiths-ci                 n/a
    
  5. markstokan commented on Mar 3, 2016

    @markstokan
    ContributorAuthor

    we addressed the situation by adding "serial: true" to our jobs to limit our concurrent builds, so our problem is "fixed" in that sense.

  6. vito commented on Apr 10, 2016

    @vito
    Contributor

    Closing this again; same reason as before. Sounds like whatever the root cause was has gone away as well.

  7. added a commit that references this issue on Sep 12, 2018
  8. deleted a comment from on Jan 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions