[Bug 1308069] Re: test_prepare_holds_startup_lock() fails spuriously

2014-06-02 Thread Jeroen T. Vermeulen
No, my hypothesis doesn't look correct. We don't see anything that would make prepare() jump into the reactor thread. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1308069 Title:

[Bug 1308069] Re: test_prepare_holds_startup_lock() fails spuriously

2014-06-02 Thread Jeroen T. Vermeulen
New hypothesis: the code in DatabaseLock opens, and closes, a cursor for each locking/unlocking command. Do we actually know that these cursors will be in the same database session? If the command failed, do we know that we would see an error? -- You received this bug notification because you

[Bug 1308069] Re: test_prepare_holds_startup_lock() fails spuriously

2014-06-02 Thread Gavin Panella
** Branch linked: lp:~allenap/maas/database-locks-revisited -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1308069 Title: test_prepare_holds_startup_lock() fails spuriously To manage

[Bug 1308069] Re: test_prepare_holds_startup_lock() fails spuriously

2014-06-02 Thread Gavin Panella
** Branch unlinked: lp:~allenap/maas/database-locks-revisited -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1308069 Title: test_prepare_holds_startup_lock() fails spuriously To

[Bug 1308069] Re: test_prepare_holds_startup_lock() fails spuriously

2014-05-30 Thread Jeroen T. Vermeulen
It happened again. I suspect that it may be a matter of ordering of decorators: RegionAdvertisingService.prepare is decorated as @synchronous, and *then* as taking two locks. Given decorators' wrapping behaviour, which reverses the order of entrance, I understand that to mean: grab these two

[Bug 1308069] Re: test_prepare_holds_startup_lock() fails spuriously

2014-05-09 Thread Chris J Arges
** Also affects: maas (Ubuntu Trusty) Importance: Undecided Status: New ** Changed in: maas (Ubuntu) Status: New = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu.

[Bug 1308069] Re: test_prepare_holds_startup_lock() fails spuriously

2014-05-08 Thread Andres Rodriguez
** Also affects: maas (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1308069 Title: test_prepare_holds_startup_lock() fails

[Bug 1308069] Re: test_prepare_holds_startup_lock() fails spuriously

2014-05-08 Thread Jeroen T. Vermeulen
** Description changed: + [Test Case] + No test case; the code that's being patched is only a test and does not actually appear in the package. + + + [Description of the problem] + This happened when trying to land a documentation-only branch: