← Back to team overview

nova team mailing list archive

Re: Intermittent test failures

 

I completely agree. There seems to be no rhyme or reason to this
specific failure, and I agree that it has been holding up code for a
number of proposed merges.

On Fri, Sep 10, 2010 at 6:09 AM, Ewan Mellor <ewan.mellor@xxxxxxxxxxxxx> wrote:
> Does anyone know what these test failures are?  They happen intermittently
> when Tarmac tries to merge a branch, even for trivial changes, and even
> when the tests have passed for me locally.  This is slowing down the merge
> cycle by days at a time (since I'm in a different timezone to the rest of you)
> which is very annoying for trivial stuff.
>
> Thanks,
>
> Ewan.
>
> nova.tests.volume_unittest
>  VolumeTestCase
>    test_multi_node ...                                                    [OK]
>    test_multiple_volume_race_condition ...                             [ERROR]
>    test_run_attach_detach_volume ...                                      [OK]
>    test_run_create_volume ...                                             [OK]
>    test_too_big_volume ...                                                [OK]
>    test_too_many_volumes ...                                           [ERROR]
>
> ===============================================================================
> [ERROR]: nova.tests.volume_unittest.VolumeTestCase.test_multiple_volume_race_condition
>
> Traceback (most recent call last):
> Failure: twisted.trial.unittest.FailTest: [Failure instance: Traceback: <class 'twisted.trial.unittest.FailTest'>: None
> /usr/lib/python2.6/dist-packages/twisted/internet/defer.py:823:_inlineCallbacks
> /var/lib/hudson/src/nova/hudson/nova/tests/volume_unittest.py:147:test_multiple_volume_race_condition
> /usr/lib/python2.6/dist-packages/twisted/internet/defer.py:224:addCallback
> /usr/lib/python2.6/dist-packages/twisted/internet/defer.py:213:addCallbacks
> --- <exception caught here> ---
> /usr/lib/python2.6/dist-packages/twisted/internet/defer.py:371:_runCallbacks
> /var/lib/hudson/src/nova/hudson/nova/tests/volume_unittest.py:140:_check
> /usr/lib/python2.6/dist-packages/twisted/trial/unittest.py:241:failUnless
> ]
> ===============================================================================
> [ERROR]: nova.tests.volume_unittest.VolumeTestCase.test_too_many_volumes
>
> Traceback (most recent call last):
>  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 823, in _inlineCallbacks
>    result = g.send(result)
>  File "/var/lib/hudson/src/nova/hudson/nova/volume/service.py", line 271, in _setup_export
>    raise NoMoreBlades()
> nova.volume.service.NoMoreBlades: None
> -------------------------------------------------------------------------------
> Ran 107 tests in 85.247s
>
> FAILED (errors=2, successes=105)
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~nova
> Post to     : nova@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~nova
> More help   : https://help.launchpad.net/ListHelp
>



Follow ups

References