maasserver.views.tests.test_rpc.RPCViewTest.test_rpc_info fails except in isolation

Bug #1288001 reported by Graham Binns
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Gavin Panella

Bug Description

If run as part of `make check`, the above test will fail as follows:

======================================================================
FAIL: maasserver.views.tests.test_rpc.RPCViewTest.test_rpc_info
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/tmp/tarmac/branch.42guaE/src/maasserver/views/tests/test_rpc.py", line 48, in test_rpc_info
    self.assertEqual({"eventloops": {}}, info)
  File "/home/ubuntu/.buildout/eggs/testtools-0.9.34-py2.7.egg/testtools/testcase.py", line 324, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/home/ubuntu/.buildout/eggs/testtools-0.9.34-py2.7.egg/testtools/testcase.py", line 414, in assertThat
    raise MismatchError(matchee, matcher, mismatch, verbose)
MismatchError: !=:
reference = {u'eventloops': {}}
actual = {u'eventloops': {u'juju-canonistack-machine-5:pid=21751': [[u'127.0.0.1',
                                                            53667],
                                                           [u'10.55.61.14',
                                                            53667]]}}

If run in isolation, the test passes.

I've disabled it for now.

Tags: trivial

Related branches

Revision history for this message
Julian Edwards (julian-edwards) wrote : Re: [Bug 1288001] [NEW] maasserver.views.tests.test_rpc.RPCViewTest.test_rpc_info fails except in isolation

On Wednesday 05 Mar 2014 01:24:56 you wrote:
> ** Affects: maas
> Importance: Critical
> Assignee: Gavin Panella (allenap)
> Status: Triaged
>
>
> ** Tags: trivial

Epic trolling Binns. --^

:D

Gavin Panella (allenap)
Changed in maas:
status: Triaged → In Progress
Gavin Panella (allenap)
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.