Merge lp:~allenap/maas/unreliable-test--bug-1308069 into lp:~maas-committers/maas/trunk

Proposed by Gavin Panella
Status: Merged
Approved by: Gavin Panella
Approved revision: no longer in the source branch.
Merged at revision: 2271
Proposed branch: lp:~allenap/maas/unreliable-test--bug-1308069
Merge into: lp:~maas-committers/maas/trunk
Diff against target: 19 lines (+0/-2)
1 file modified
src/maasserver/rpc/tests/test_regionservice.py (+0/-2)
To merge this branch: bzr merge lp:~allenap/maas/unreliable-test--bug-1308069
Reviewer Review Type Date Requested Status
Gavin Panella (community) Approve
Review via email: mp+215952@code.launchpad.net

Commit message

Reenable test_prepare_holds_startup_lock.

Reproducing the spurious failure was not possible. Reintroducing it to the test suite will again expose it to a more varied environment, with the hope that we learn how to reproduce it should it happen again.

To post a comment you must log in.
Revision history for this message
Gavin Panella (allenap) :
review: Approve
Revision history for this message
Andres Rodriguez (andreserl) wrote :

Please also backport the enablement to 1.5 as this Jason initially
backported skipping this test.
On Apr 15, 2014 4:40 PM, "Gavin Panella" <email address hidden>
wrote:

> Gavin Panella has proposed merging
> lp:~allenap/maas/unreliable-test--bug-1308069 into lp:maas.
>
> Commit message:
> Reenable test_prepare_holds_startup_lock.
>
> Reproducing the spurious failure was not possible. Reintroducing it to the
> test suite will again expose it to a more varied environment, with the hope
> that we learn how to reproduce it should it happen again.
>
> Requested reviews:
> MAAS Maintainers (maas-maintainers)
> Related bugs:
> Bug #1308069 in MAAS: "test_prepare_holds_startup_lock() fails
> spuriously"
> https://bugs.launchpad.net/maas/+bug/1308069
>
> For more details, see:
>
> https://code.launchpad.net/~allenap/maas/unreliable-test--bug-1308069/+merge/215952
> --
>
> https://code.launchpad.net/~allenap/maas/unreliable-test--bug-1308069/+merge/215952
> You are subscribed to branch lp:maas.
>
> === modified file 'src/maasserver/rpc/tests/test_regionservice.py'
> --- src/maasserver/rpc/tests/test_regionservice.py 2014-04-15
> 13:42:26 +0000
> +++ src/maasserver/rpc/tests/test_regionservice.py 2014-04-15
> 20:40:15 +0000
> @@ -82,7 +82,6 @@
> from twisted.internet.threads import deferToThread
> from twisted.protocols import amp
> from twisted.python import log
> -from unittest import skip
>
>
> class TestRegionProtocol_Identify(MAASTestCase):
> @@ -642,7 +641,6 @@
> cursor.execute("SELECT * FROM eventloops")
> self.assertEqual([], list(cursor))
>
> - @skip("XXX gmb 2014-04-15 bug=1308069: Fails spuriously.")
> def test_prepare_holds_startup_lock(self):
> # Creating tables in PostgreSQL is a transactional operation
> # like any other. If the isolation level is not sufficient - the
>
>
>

Revision history for this message
Andres Rodriguez (andreserl) wrote :

(Or well... Doesn't matter as 1.5 is released)
On Apr 15, 2014 4:42 PM, "Andres Rodriguez" <email address hidden> wrote:

> Please also backport the enablement to 1.5 as this Jason initially
> backported skipping this test.
> On Apr 15, 2014 4:40 PM, "Gavin Panella" <email address hidden>
> wrote:
>
> > Gavin Panella has proposed merging
> > lp:~allenap/maas/unreliable-test--bug-1308069 into lp:maas.
> >
> > Commit message:
> > Reenable test_prepare_holds_startup_lock.
> >
> > Reproducing the spurious failure was not possible. Reintroducing it to
> the
> > test suite will again expose it to a more varied environment, with the
> hope
> > that we learn how to reproduce it should it happen again.
> >
> > Requested reviews:
> > MAAS Maintainers (maas-maintainers)
> > Related bugs:
> > Bug #1308069 in MAAS: "test_prepare_holds_startup_lock() fails
> > spuriously"
> > https://bugs.launchpad.net/maas/+bug/1308069
> >
> > For more details, see:
> >
> >
> https://code.launchpad.net/~allenap/maas/unreliable-test--bug-1308069/+merge/215952
> > --
> >
> >
> https://code.launchpad.net/~allenap/maas/unreliable-test--bug-1308069/+merge/215952
> > You are subscribed to branch lp:maas.
> >
> > === modified file 'src/maasserver/rpc/tests/test_regionservice.py'
> > --- src/maasserver/rpc/tests/test_regionservice.py 2014-04-15
> > 13:42:26 +0000
> > +++ src/maasserver/rpc/tests/test_regionservice.py 2014-04-15
> > 20:40:15 +0000
> > @@ -82,7 +82,6 @@
> > from twisted.internet.threads import deferToThread
> > from twisted.protocols import amp
> > from twisted.python import log
> > -from unittest import skip
> >
> >
> > class TestRegionProtocol_Identify(MAASTestCase):
> > @@ -642,7 +641,6 @@
> > cursor.execute("SELECT * FROM eventloops")
> > self.assertEqual([], list(cursor))
> >
> > - @skip("XXX gmb 2014-04-15 bug=1308069: Fails spuriously.")
> > def test_prepare_holds_startup_lock(self):
> > # Creating tables in PostgreSQL is a transactional operation
> > # like any other. If the isolation level is not sufficient - the
> >
> >
> >
>
> --
>
> https://code.launchpad.net/~allenap/maas/unreliable-test--bug-1308069/+merge/215952
> You are subscribed to branch lp:maas.
>

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/maasserver/rpc/tests/test_regionservice.py'
2--- src/maasserver/rpc/tests/test_regionservice.py 2014-04-15 13:42:26 +0000
3+++ src/maasserver/rpc/tests/test_regionservice.py 2014-04-15 20:40:15 +0000
4@@ -82,7 +82,6 @@
5 from twisted.internet.threads import deferToThread
6 from twisted.protocols import amp
7 from twisted.python import log
8-from unittest import skip
9
10
11 class TestRegionProtocol_Identify(MAASTestCase):
12@@ -642,7 +641,6 @@
13 cursor.execute("SELECT * FROM eventloops")
14 self.assertEqual([], list(cursor))
15
16- @skip("XXX gmb 2014-04-15 bug=1308069: Fails spuriously.")
17 def test_prepare_holds_startup_lock(self):
18 # Creating tables in PostgreSQL is a transactional operation
19 # like any other. If the isolation level is not sufficient - the