Build <key> had to be cancelled: it was marked as in progress in DB but Bamboo has no record of this build

Still need help?

The Atlassian Community is here for you.

Ask the community

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

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.