test__does_not_generate_host_maps_if_not_on_managed_interface is flaky

Bug #1387696 reported by Gavin Panella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Invalid
High
Unassigned

Bug Description

Seen when landing a branch (lp:~allenap/maas/compressed-amp-list--bug-1387515--1.7) into lp:maas/1.7:

FAIL: maasserver.models.tests.test_node.NodeManagerTest_StartNodes.test__does_not_generate_host_maps_if_not_on_managed_interface
----------------------------------------------------------------------
_StringException: Failed expectation: {{{
File "/tmp/tarmac/branch.KAlXz9/src/maasserver/models/tests/test_node.py", line 2439, in test__does_not_generate_host_maps_if_not_on_managed_interface
    Equals([{node1_ip: node1_mac.mac_address}]))
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 447, in expectThat
    postfix_content="MismatchError: " + str(mismatch_error)
MismatchError: !=:
reference = [{u'96.132.103.67': c4:a8:8b:52:8c:3e}]
actual = [{u'235.155.163.41': c4:a8:8b:52:8c:3e}]
}}}

Traceback (most recent call last):
AssertionError: Forced Test Failure

-------------------- >> begin captured logging << --------------------
twisted: INFO: Factory starting on 57503
twisted: INFO: (TCP Port 57503 Closed)
twisted: INFO: Factory starting on u'/tmp/tmpkd7Y5X/sock'
twisted: INFO: AMPTestProtocol#31 connection established (HOST:UNIXAddress(None) PEER:UNIXAddress(u'/tmp/tmpkd7Y5X/sock'))
twisted: INFO: RegionServer connection established (HOST:UNIXAddress('/tmp/tmpkd7Y5X/sock') PEER:UNIXAddress(None))
twisted: INFO: Cluster '74fc4d4e-603e-11e4-b40f-fa163e462866' authenticated.
maas.node: INFO: hBiKf41u0xJrCWOrWwws allocated to user JdrMLJSnVw
twisted: INFO: AMPTestProtocol#32 connection established (HOST:UNIXAddress(None) PEER:UNIXAddress(u'/tmp/tmpkd7Y5X/sock'))
twisted: INFO: RegionServer connection established (HOST:UNIXAddress('/tmp/tmpkd7Y5X/sock') PEER:UNIXAddress(None))
twisted: INFO: Cluster '74fc4d4e-603e-11e4-b40f-fa163e462866' authenticated.
maas.node: INFO: Nma7ANZXEzOvPUahZvbY allocated to user JdrMLJSnVw
maas.node: INFO: hBiKf41u0xJrCWOrWwws: Starting monitor: {u'deadline': datetime.datetime(2014, 10, 30, 14, 50, 9, 629329, tzinfo=<twisted.protocols.amp._FixedOffsetTZInfo object at 0x2adc47207750>), u'id': u'node-7501f28a-603e-11e4-b40f-fa163e462866', u'context': {u'node_status': 9, u'timeout': 2400.0}}
maas.node: INFO: Nma7ANZXEzOvPUahZvbY: Starting monitor: {u'deadline': datetime.datetime(2014, 10, 30, 14, 50, 9, 641329, tzinfo=<twisted.protocols.amp._FixedOffsetTZInfo object at 0x2adc47207750>), u'id': u'node-75091628-603e-11e4-b40f-fa163e462866', u'context': {u'node_status': 9, u'timeout': 2400.0}}
twisted: INFO: (UNIX Port u'/tmp/tmpkd7Y5X/sock' Closed)
twisted: INFO: RegionServer connection lost (HOST:UNIXAddress('/tmp/tmpkd7Y5X/sock') PEER:UNIXAddress(None))
twisted: INFO: RegionServer connection lost (HOST:UNIXAddress('/tmp/tmpkd7Y5X/sock') PEER:UNIXAddress(None))
twisted: INFO: AMPTestProtocol#32 connection lost (HOST:UNIXAddress(None) PEER:UNIXAddress(u'/tmp/tmpkd7Y5X/sock'))
twisted: INFO: AMPTestProtocol#31 connection lost (HOST:UNIXAddress(None) PEER:UNIXAddress(u'/tmp/tmpkd7Y5X/sock'))
twisted: INFO: Factory starting on 36906
twisted: INFO: (TCP Port 36906 Closed)
--------------------- >> end captured logging << ---------------------

Tags: tests
Revision history for this message
Julian Edwards (julian-edwards) wrote :

It's worth noting that this test is completely different in trunk.

Changed in maas:
status: Triaged → Invalid
no longer affects: maas/1.7
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.