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

Deleting branches from Git/VCS cause system errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 6.0.0
    • None
    • Logs, Plan Branches
    • None

    Description

      Background
      Everytime Bamboo cannot connect to a branch, an error is logged in the system logs which pollute the logs and mislead users. This is amplified in a pull request workflow as the source branch is deleted when the pull request is merged.

      Error in Bamboo server logs:

      ERROR [11-BranchDetectionBackgroundThread:pool-19-thread-1] [BranchDetectionServiceImpl] Repository error while detecting branches for plan BUILD-PLAN
      

      UI error log messages

      Build Project - Repo - Key-5511 1 : Unable to detect changes 
      (com.atlassian.bamboo.repository.RepositoryException : java.lang.RuntimeException: com.atlassian.bamboo.repository.InvalidRepositoryException: Cannot determine head revision of 'ssh://git@stash.companyname.com:7999/rt/stage.git' on branch 'KEY-5511'. Branch has probably been removed.)
      
      Occurrences: 2 
      First Occurred: 05 Mar 2014, 10:17:53 AM 
      Last Occurred: 05 Mar 2014, 10:19:23 AM
      

      The errors create noise in the system logs.

      Possible solutions

      • Add some filter in the system errors section.
      • Prevent some errors from appearing in the system error logs - in case they are misleading.

      Attachments

        Issue Links

          Activity

            People

              mgardias Marcin Gardias
              xtjhin Joshua Tjhin (Inactive)
              Votes:
              13 Vote for this issue
              Watchers:
              19 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: