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

Remote agents may return even when already marked as dead

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 2.0.6
    • 2.0.3
    • Agents

      We can have a problem when

      1. Agent 1 takes Build A-1 from Plan A
      2. Agent 1 loses network connectivity to the server
      3. Agent 1 is marked as "going down" and goes off-line since the server could not receive the heartbeat. Lock on Plan A is released
      4. Build A-2 is triggered. Starts building on Local Agent
      5. Agent 1 comes back online, still with Build A-1.

      At this point, things go wrong. Logs gets streamed in a funny way (since we assume that only one build is ever building), Build A-2 is saved with Build A-1. JIRAns have an example of this.

      We should make sure if an agent has been marked as going offline, it is never allowed of come back (maybe check startup timestamp) when an Agent comes back online.

      Needs further investigation and if the problem is too large to safely fix on branch, then we can defer it to fixing on trunk.

            [BAM-2743] Remote agents may return even when already marked as dead

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2016 v1 - Restricted [ 1440725 ] New: JAC Bug Workflow v3 [ 3382215 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: Bamboo Workflow 2016 v1 [ 1415735 ] New: Bamboo Workflow 2016 v1 - Restricted [ 1440725 ]
            Marek Went (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2014 v2 [ 618801 ] New: Bamboo Workflow 2016 v1 [ 1415735 ]
            James Dumay made changes -
            Workflow Original: Bamboo Workflow 2014 [ 604983 ] New: Bamboo Workflow 2014 v2 [ 618801 ]
            James Dumay made changes -
            Workflow Original: Bamboo Workflow 2010 [ 202793 ] New: Bamboo Workflow 2014 [ 604983 ]
            MarkC made changes -
            Workflow Original: reviewflow [ 165291 ] New: Bamboo Workflow 2010 [ 202793 ]
            MarkC made changes -
            Component/s Original: Distributed Builds [ 12547 ]
            MarkC made changes -
            Workflow Original: jira [ 128144 ] New: reviewflow [ 165291 ]

            Mark,

            So glad you've resolved this issue. It's been an absolute thorn in my side getting Bamboo deployed at our company... many builds failing, and causing lots of misgivings to a new tool.

            I'm ready to download 2.0.6 as soon as it's up... if you need a beta site to verify the fix, I'm eager to do that, too!

            Cheers,
            Dan

            Dan Harrell added a comment - Mark, So glad you've resolved this issue. It's been an absolute thorn in my side getting Bamboo deployed at our company... many builds failing, and causing lots of misgivings to a new tool. I'm ready to download 2.0.6 as soon as it's up... if you need a beta site to verify the fix, I'm eager to do that, too! Cheers, Dan
            MarkC made changes -
            Fix Version/s New: 2.0.6 [ 14025 ]
            Fix Version/s Original: Next bug fix release [ 13890 ]
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

              mark@atlassian.com MarkC
              mark@atlassian.com MarkC
              Affected customers:
              4 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: