We are running Bamboo 8.0.4.
Most of the time our builds run fine. But once in a while a build will stop in the middle after about 20 minutes of showing logs on the screen. The logs will be automatically removed. The agent used is also removed.
The only information is the Error Log at the bottom of the summary tab that says this:
Build <build number> had to be cancelled: it was marked as in progress in DB but no agents were assigned to it.
The status looks like this:
Status Reason for not building is unknown
Sometimes when manually rerunning the build again, the same thing happens for a few times until it is finally successful.
There is no other useful information given.