Build hanging after repository cache update error

One of our builds is hanging for 4 days now.


Timeline shows that there was an error updating repository cache:

Since then it’s stuck.

Hi Michal,

The error implies that a build was started for a changeset which has since been removed from the repository? It’s difficult for us to understand why this happened without a git log and/or debug log.

Have any changesets been added to the repository since the build started? If you add another changeset or reset the repository, the build will generally then continue to run on new latest changeset.

I do not worry about the problem itself, it can happen as this is a pretty live repository, which is often rebased (meaning hashes change).
The problem I see is that the build noticed the error but kept hanging and did not terminate.

Hi Michal,

I think the idea was that the build would continue once the repository error has been corrected. However, in this case we agree that the preferred result would be to fail the build. We’ll look into changing this.