It's all about the answers!

Ask a question

BUILD FAILED: The following record was not found in the database.


Makeit 002 (134) | asked Sep 09 '16, 8:42 a.m.
edited Sep 09 '16, 3:45 p.m. by David Lafreniere (4.1k7)
The RTC Server is installed on Windows in this case.
An z/OS Dependency Build fails with the above mentioned reason. (The following record was not found in the database). the UUID of that record belongs to the buildresult.
log as text:
fetch:
 BUILD FAILED
* com.ibm.team.repository.common.ItemNotFoundException: CRJAZ0215E The following record was not found in the database: com.ibm.team.build.internal.common.model.impl.BuildResultHandleImpl@b12f1fa1 (stateId: null, itemId: [UUID _OVCjIHaGEeawvLya02d54A], origin: <unset>, immutable: <unset>)
*  at com.ibm.team.repository.service.internal.RepositoryItemService.doFetchItem(RepositoryItemService.java:641)
........
Would someone hint, why the "buildResultUUID" record can't be found in the database? thank you.

Accepted answer


permanent link
David Lafreniere (4.1k7) | answered Sep 09 '16, 3:45 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
Build results can be deleted from the "Builds" view in the RTC Eclipse client. Perhaps someone accidentally deleted it from there?

Also build results are periodically pruned. If you open the Build Definition, you can see the "Pruning Policy" section on the bottom right of the editor. This shows you how many successful and failed builds to keep. Perhaps this number is too low, and you have too many builds or builds are being requested too fast/often that the build pruning is happening more often than you would like.
Michael Valenta selected this answer as the correct answer

Your answer


Register or to post your answer.