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

Jobs that run after a manual stage (with no jobs) report misleading statuses when they are successful

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 6.9.2, 7.1.1
    • Jobs, User Interface
    • None

    Description

      Issue Summary

      Jobs that run after a manual stage (with no jobs) report misleading statuses when they are successful. Symptoms are (a) Bamboo reports the job was successful, (b) the progress bar is always grey and (c) the icon that shows up next to the job title is the one used for builds that wasn't executed yet.

      • This does not happen when one of the jobs fail. If one of the jobs fail, all other jobs report the correct status, progress bar and have the correct icon next to them.
      • This does not happen when a manual stage has jobs in it. It only affects builds with manual stages that are empty.

      Steps to Reproduce

      1. Create a plan with the following structure:
        • 1st stage should be a regular stage.
          • Add a job to this stage with a task that will succeed:
            Example - Script task
            echo 'this is my 1st job'
            
        • 2nd stage should be a manual stage.
          • Leave this stage empty with no jobs.
        • 3rd stage should be a regular stage.
          • Add a job to this stage with a task that will succeed:
            Example - Script task
            echo 'this is my 2nd job'
            
      2. Run the plan
      3. Wait for the build to stop at the manual stage
      4. Run the manual stage

      Expected Results

      • The job from the 3rd stage succeeds and Bamboo displays a green icon next to it as well as a green progress bar.

      Actual Results

      • The job from the 3rd stage succeeds but Bamboo displays a grey icon next to it as well as a grey progress bar:

      Workaround

      In order to workaround this problem you can either (a) remove that manual stage or (b) turn it into a regular stage. Job statuses show up correctly if the build plan is run automatically from start to finish after turning the manual stage into a regular stage.

      Notes

      The statuses of those jobs and build plan are correctly entered into the Bamboo database. There doesn't seem to be any issues there. The problem seems to be restricted to the user interface.

      Attachments

        Activity

          People

            Unassigned Unassigned
            brosa Bruno Rosa
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: