Details
-
Bug
-
Resolution: Fixed
-
Low
-
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.
- Install vanilla Linux OS (I used CentOS 6.6 64bit)
- Install JDK 7 (I used 1.7.0_79) on it
- Install Bamboo 5.9.4 on it
- Create a project and a plan
- Create any task in the plan (I just created a Script task that only executes exit 0)
- Put some heavy load on the server (i.e. I ran stress - $ stress --cpu 2 --vm 1 --vm-bytes 128M)
- Start the plan under the heavy load and stop it right after then.
- 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