New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal Exception on DB. tried to complete 100 buildrequests, but only completed 25 #3406

Closed
aj062 opened this Issue Jul 3, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@aj062

aj062 commented Jul 3, 2017

I am frequently seeing following errors in twistd.log:

tried to complete 100 buildrequests, but only completed 25
Got fatal Exception on DB
	Traceback (most recent call last):
	Failure: buildbot.db.buildrequests.NotClaimedError: 

On debugging it turns out that these errors are coming during collapsing Build Request, when there are duplicate brids (build requests id) in collapseBRs.

Both claimBuildRequests and completeBuildRequests fail here: https://github.com/buildbot/buildbot/blob/master/master/buildbot/process/buildrequest.py#L94

buildbot should either ensure that there are no duplicate brids, or should handle them properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment