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

Postprocessors should time out if can't get a connection to the db

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Handled by Support
    • None
    • None
    • 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.

    Description

      If the db isn't available the build plan won't finish gracefully. It will look like it's still working and say something like "Build: #1883 is building - 3376 mins slower than usual Scheduled with changes by USER"

      The last text in the build output looks like

      14-Dec-2012 22:07:07	Running on server: post build plugin 'Maven Dependencies Postprocessor'
      14-Dec-2012 22:07:07	Failed to execute plugin 'Maven Dependencies Postprocessor' with error: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection
      14-Dec-2012 22:07:07	All post build plugins have finished
      

      Clicking "stop the build" seems to have no effect. Plan can't be run because bamboo thinks that it's still running.

      The only way to fix this is a restart of bamboo.

      I'm putting 4.3.2 as the affected version because that's the version I'm currently looking at., even though this behaviour has been around for quite a while.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              be0284a8d411 sellersj
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: