test_macaddresses_are_sorted is flaky

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

Bug Description

ERROR: maasserver.tests.test_forms.TestNetworkForm.test_macaddresses_are_sorted
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/tmp/tarmac/branch.ERL5EL/src/maasserver/tests/test_forms.py", line 1552, in test_macaddresses_are_sorted
    factory.make_mac_address(networks=[factory.make_network()])
  File "/tmp/tarmac/branch.ERL5EL/src/maasserver/testing/factory.py", line 622, in make_network
    network.save()
  File "/tmp/tarmac/branch.ERL5EL/src/maasserver/models/cleansave.py", line 37, in save
    self.full_clean()
  File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 950, in full_clean
    raise ValidationError(errors)
ValidationError: {'vlan_tag': [u'Network with this Vlan tag already exists.']}

Tags: trivial

Related branches

Revision history for this message
Graham Binns (gmb) wrote : Re: [Bug 1288222] [NEW] test_macaddresses_are_sorted is flaky

On 5 March 2014 22:19, Gavin Panella <email address hidden> wrote:
>
> ** Affects: maas
> Importance: High
> Assignee: Graham Binns (gmb)
> Status: Triaged
>
>
> ** Tags: trivial

Yeah, yeah, touché.

Graham Binns (gmb)
Changed in maas:
status: Triaged → In Progress
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
milestone: none → 14.04
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.