[users at bb.net] Simultaneous nightly schedulers not working after change from 0.8.12 to 0.9.0

Tristram, Falk falk.tristram at cognex.com
Fri Oct 28 12:52:00 UTC 2016


It seems my database is now corrupted.

These specific builders cannot be started by NightlySchedulers any longer.
Even if I start this builder at another time, I get those errors.

How do I reset the whole database, apart from creating a new master?


2016-10-28 14:40:02+0200 [-] Got fatal Exception on DB
        Traceback (most recent call last):
        Failure: buildbot.db.buildrequests.AlreadyClaimedError:

Le mer. 26 oct. 2016 18:40, Neil Gilmore <ngilmore at grammatech.com<mailto:ngilmore at grammatech.com>> a écrit :
Good morning everyone,

We had a similar problem on our 0.9.0rc2 multi-master system.

Someone changed their builder's schedule to do their daily build at a different time (in this case, an hour later). This happened to coincide with another builder's schedule, and the way our master.cfg is structured, this put both builders on the same scheduler. The build did not get scheduled for a few nights in a row, and the user put it back on its original schedule.

At the time, I'd also thought about just putting it a minute off of the other one, just to have it on a different scheduler. I seem to recall also that the build that changed was on a different master than the original one that caused the scheduler to be created.


Neil Gilmore
grammatech.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__grammatech.com&d=DQMFaQ&c=VCWpAYkS3z1bOCIxc-BPGZarCq9MRCAVxZJE051VqH8&r=Ee2S2RR_IcVA2riuzsDuYo9W0-YuR65ZmnX9oJ70u5c&m=0ni_h4E1VHonBbSgXhD3kgOHKYbzFO0ArD1ejuQ7lr8&s=cIC_OuI8Vx5xSjI0-vsNbk0gAZi8-jxL-4cAv_7cLqA&e=>

On 10/26/2016 8:09 AM, Tristram, Falk wrote:
Hi all,

I just discovered that some or our nightly scheduled builds are not working any longer.
There is not much information in the log files about the failure.

The only special thing is that all these three schedulers start exactly at the same time.
I am going change the schedule, so the builds are started with a minute delay each.
Hope this helps.

Best regards,
Falk


2016-10-26 01:00:00+0200 [-] Got fatal Exception on DB
        Traceback (most recent call last):
        Failure: buildbot.db.buildrequests.AlreadyClaimedError:

2016-10-26 01:00:00+0200 [-] Got fatal Exception on DB
        Traceback (most recent call last):
        Failure: buildbot.db.buildrequests.AlreadyClaimedError:

2016-10-26 01:00:00+0200 [-] tried to complete 2 buildreqests, but only completed 1
2016-10-26 01:00:00+0200 [-] Got fatal Exception on DB
        Traceback (most recent call last):
        Failure: buildbot.db.buildrequests.NotClaimedError:

2016-10-26 01:00:00+0200 [-] added buildset 338 to database
2016-10-26 01:00:00+0200 [-] tried to complete 2 buildreqests, but only completed 1
2016-10-26 01:00:00+0200 [-] Got fatal Exception on DB
        Traceback (most recent call last):
        Failure: buildbot.db.buildrequests.NotClaimedError:

2016-10-26 01:00:00+0200 [-] added buildset 336 to database
2016-10-26 01:00:00+0200 [-] added buildset 337 to database



_______________________________________________

users mailing list

users at buildbot.net<mailto:users at buildbot.net>

https://lists.buildbot.net/mailman/listinfo/users<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.buildbot.net_mailman_listinfo_users&d=DQMFaQ&c=VCWpAYkS3z1bOCIxc-BPGZarCq9MRCAVxZJE051VqH8&r=Ee2S2RR_IcVA2riuzsDuYo9W0-YuR65ZmnX9oJ70u5c&m=0ni_h4E1VHonBbSgXhD3kgOHKYbzFO0ArD1ejuQ7lr8&s=kyIo1EfRONuMkgONfbkGA9_khqnKz5zSt4BJ9kWG1SE&e=>

_______________________________________________
users mailing list
users at buildbot.net<mailto:users at buildbot.net>
https://lists.buildbot.net/mailman/listinfo/users<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.buildbot.net_mailman_listinfo_users&d=DQMFaQ&c=VCWpAYkS3z1bOCIxc-BPGZarCq9MRCAVxZJE051VqH8&r=Ee2S2RR_IcVA2riuzsDuYo9W0-YuR65ZmnX9oJ70u5c&m=0ni_h4E1VHonBbSgXhD3kgOHKYbzFO0ArD1ejuQ7lr8&s=kyIo1EfRONuMkgONfbkGA9_khqnKz5zSt4BJ9kWG1SE&e=>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20161028/243d1887/attachment.html>


More information about the users mailing list