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

Agent becomes offline if the build is stopped in a certain timing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 5.10.0
    • 5.6.1, 5.9.4
    • None
    • None

    Description

      Summary

      Agent becomes offline if the build is stopped in a certain timing.

      Steps to Reproduce

      Please note that this is not 100% reproducible. You might need to try this 10 times to reproduce the problem.

      1. Install vanilla Linux OS (I used CentOS 6.6 64bit)
      2. Install JDK 7 (I used 1.7.0_79) on it
      3. Install Bamboo 5.9.4 on it
      4. Create a project and a plan
      5. Create any task in the plan (I just created a Script task that only executes exit 0)
      6. Put some heavy load on the server (i.e. I ran stress - $ stress --cpu 2 --vm 1 --vm-bytes 128M)
      7. Start the plan under the heavy load and stop it right after then.
      8. Agent becomes offline.

      Expected Results

      Agent does not become offline

      Actual Results

      The below exception is thrown in the atlassian-bamboo.log file when the problem occurs. I enabled debug log, but nothing detail came out:

      2015-07-01 20:45:43,398 INFO [10-BAM::Default Agent::Agent:pool-25-thread-1] [BuildAgentControllerImpl] Agent 'Default Agent' ready to take build from queue...
      2015-07-01 20:45:43,398 WARN [10-BAM::Default Agent::Agent:pool-25-thread-1] [BuildAgentControllerImpl] Building interrupted. Stopping agent 'Default Agent'...
      2015-07-01 20:45:43,398 INFO [10-BAM::Default Agent::Agent:pool-25-thread-1] [DefaultBuildAgent] Changing context: null -> null on Default Agent/3f8c246e
      2015-07-01 20:45:43,398 INFO [10-BAM::Default Agent::Agent:pool-25-thread-1] [DefaultBuildAgent] Build agent 'Default Agent' stopped.
      

      Workaround

      There is no workaround reported so far

      Attachments

        Activity

          People

            Unassigned Unassigned
            mnakagawa Mai Nakagawa (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: