Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-931

provide a maximum time limit for builds; if it exceeds, kill the build and fail it

    • Icon: Suggestion Suggestion
    • Resolution: Done
    • 6.4.0
    • Builds, OnDemand
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      We've seen some multi-threaded code tests fail by just hanging sometimes on some platforms. The CI tool will then just block forever. Having some sensible maximum time would rock

            [BAM-931] provide a maximum time limit for builds; if it exceeds, kill the build and fail it

            is there an API to support this? Where I can script this in and hit the API to kill the hung-up builds?

            Saurabh Porwal added a comment - is there an API to support this? Where I can script this in and hit the API to kill the hung-up builds?

            Hung Build Killer plugin functionality was bundled into Bamboo 6.4 with configuration UI improvements. See Bamboo 6.4 release notes for details

            Alexey Chystoprudov added a comment - Hung Build Killer plugin functionality was bundled into Bamboo 6.4 with configuration UI improvements. See Bamboo 6.4 release notes for details

            If this is not going to be built into Bamboo, would it be possible to have an officially supported version/variant of the HungBuildKiller plugin? We upgraded to 6.0 recently and the HungBuildKiller isn't available again.

            Ville Suoranta added a comment - If this is not going to be built into Bamboo, would it be possible to have an officially supported version/variant of the HungBuildKiller plugin? We upgraded to 6.0 recently and the HungBuildKiller isn't available again.

            rliu054 added a comment -

            Guys, FWIW

            take a look at this plugin: https://marketplace.atlassian.com/plugins/com.atlassian.buildeng.hung-build-killer/server/overview

            I don't think this one is on Atlassian's priority list at all. I made my previous comment on this issue around 3 years ago and obvious they have no intension for a fix.

            rliu054 added a comment - Guys, FWIW take a look at this plugin: https://marketplace.atlassian.com/plugins/com.atlassian.buildeng.hung-build-killer/server/overview I don't think this one is on Atlassian's priority list at all. I made my previous comment on this issue around 3 years ago and obvious they have no intension for a fix.

            We really need to see this feature implemented, it's critical as we have hundreds of build plans.

            This ticket has been around for quite some time, it would be nice to have an update on the status/intent 😐

            Ron Edgecomb II added a comment - We really need to see this feature implemented, it's critical as we have hundreds of build plans. This ticket has been around for quite some time, it would be nice to have an update on the status/intent 😐

            This is a big problem for us that makes Bamboo CI not a very good fit despite all the great integration with other Atlassian tools.

            Evgeniy Podolyak added a comment - This is a big problem for us that makes Bamboo CI not a very good fit despite all the great integration with other Atlassian tools.

            Guys, please implement this feature as it would be a life saver.

            Imagine build setups with hundreds of build plans - it's impossible to handle hung builds manually.

            Andrey Selitsky added a comment - Guys, please implement this feature as it would be a life saver. Imagine build setups with hundreds of build plans - it's impossible to handle hung builds manually.

            Any news on when we could expect an automatic failure and killing of an Hung job ?
            It is a feature that would really be useful for us, as one of our build agent is block and can't build anything else when a Job is hung.

            Sylvain Lamontagne added a comment - Any news on when we could expect an automatic failure and killing of an Hung job ? It is a feature that would really be useful for us, as one of our build agent is block and can't build anything else when a Job is hung.

            This feature would save us a lot of delays. We often get hung jobs in our overnight builds. Those build agents cannot take on anymore builds in the queue. People are unhappy the next morning. 2 of our overnight builds take a little more that 5-7 hours in duration. In our most recent release branch 2 of our overnight builds are now taking 4-5 hours in duration (we're improving our build duration, but are still far from quick turnaround). But still, loosing a night has a major negative effect on our development teams.

            Vincent Thibault added a comment - This feature would save us a lot of delays. We often get hung jobs in our overnight builds. Those build agents cannot take on anymore builds in the queue. People are unhappy the next morning. 2 of our overnight builds take a little more that 5-7 hours in duration. In our most recent release branch 2 of our overnight builds are now taking 4-5 hours in duration (we're improving our build duration, but are still far from quick turnaround). But still, loosing a night has a major negative effect on our development teams.

            Are we able to have the current HungBuildKiller plugin source code made visible in order to fix bugs in it on our own?

            Jerry Qassar added a comment - Are we able to have the current HungBuildKiller plugin source code made visible in order to fix bugs in it on our own?

              Unassigned Unassigned
              3af585c36b47 James Strachan
              Votes:
              170 Vote for this issue
              Watchers:
              93 Start watching this issue

                Created:
                Updated:
                Resolved: