Build <key> had to be cancelled: it was marked as in progress in DB but Bamboo has no record of this build
Symptoms
Occasionally builds never stop running. The build will appear to be running indefinitely thus blocking the agent from taking other builds. In some cases, we have to restart the agent/server to get this agent released. The following stack trace is reported in the logs:
Build <key> had to be cancelled: it was marked as in progress in DB but Bamboo has no record of this build
Cause
The cause of this issue may be:
- The agent dies while processing a build
- The server still processes a build that was produced by an agent that went offline
- The agent connectivity was interrupted
- The agent or server exhausts resources (OOM errors)
Resolution
Upgrade Bamboo to 5.11.3 or newer versions.
Last modified on Apr 7, 2022
Powered by Confluence and Scroll Viewport.