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 and as 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.
  • A glitch on the agent connectivity.
  • The agent or server exhausts resources (OOM errors).

Resolution

Upgrade Bamboo to 5.11.3 or newer versions.

Last modified on Jun 15, 2016

Was this helpful?

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