After recent Bamboo upgrade to 5.15.5 we are noticing automatic plan branch detection issues

ashleyg May 2, 2017

After a couple of days post our bamboo upgrade to 5.15.5 version, we are noticing few issues in bamboo. Branches added in Bitbucket are not automatically added in bamboo despite the auto plan branch enabled and manually adding them in bamboo is generating the following error:-

could not execute batch; SQL [insert into VCS_BRANCH (NAME, DETECTED_DELETION_DATE, CHAIN_ID, VCS_BRANCH_ID) values (?, ?, ?, ?)]; constraint [BAMBOOP.SYS_C006420]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute batch

This is occuring for most of the branches across most of the plans and never happened before. Apart from the upgrade nothing else has changed on Bitbucket or bamboo end.

We are also seeing similar errors at times when a plan build automatically gets triggered (due to triggers) or is run manually, wherein these are again the sql errors indicative of the fact that the db tables are not accepting the new results.

I wonder why the database is behaving so weird now, and does that mean we need a restart of the database or a restart of bamboo server.

Kindly advise as its blcoking our work to a great extent.

Any help here will be greatly appreciated.

Cheers,

Ashley

1 answer

0 votes
ashleyg May 4, 2017

Possibly due to some issue with the post upgrade re-indexing, the plan branches would update in the database but never show up in UI and hence casuing those error messages.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events