Spurious failure in TestMachineBlockDeviceListener.test__calls_handler_with_update_on_update

Bug #1555178 reported by Gavin Panella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Medium
Gavin Panella

Bug Description

ERROR: maasserver.triggers.tests.test_websocket_listener.TestMachineBlockDeviceListener.test__calls_handler_with_update_on_update
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/tmp/tarmac/branch.Q63WLn/src/maastesting/runtest.py", line 59, in _run_user
    result = function(*args, **kwargs)
  File "/home/ubuntu/.buildout/eggs/testtools-1.8.1-py3.5.egg/testtools/testcase.py", line 654, in _run_test_method
    return self._get_test_method()()
  File "/usr/lib/python3/dist-packages/crochet/_eventloop.py", line 461, in wrapper
    return eventual_result.wait(timeout)
  File "/usr/lib/python3/dist-packages/crochet/_eventloop.py", line 231, in wait
    result.raiseException()
  File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 368, in raiseException
    raise self.value.with_traceback(self.tb)
  File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1128, in _inlineCallbacks
    result = g.send(result)
  File "/tmp/tarmac/branch.Q63WLn/src/maasserver/triggers/tests/test_websocket_listener.py", line 1774, in test__calls_handler_with_update_on_update
    "size": random.randint(3000 * 1000, 1000 * 1000 * 1000)
django.core.exceptions.ValidationError: {'size': ['Ensure this value is greater than or equal to 4194304.']}

Tags: tests

Related branches

Gavin Panella (allenap)
Changed in maas:
assignee: nobody → Gavin Panella (allenap)
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.