← Back to team overview

registry team mailing list archive

Re: [Bug 680543] [NEW] Testsuite failure

 

This is actually a race condition that occasionally happens.  Looking in
to a fix.

On Nov 23, 2010, at 8:04 AM, Chuck Short wrote:

> Public bug reported:
> 
> When running the testsuite I got the following build error below. If i
> use the lp:~vishvananda/nova/fix-flatdhcp then I wont get the error
> anymore.
> 
> 
> ===============================================================================
> [ERROR]: nova.tests.cloud_unittest.CloudTestCase.test_associate_disassociate_address
> 
> Traceback (most recent call last):
>  File "/usr/local/lib/python2.6/dist-packages/twisted/internet/defer.py", line 117, in maybeDeferred
>    result = f(*args, **kw)
>  File "/home/chuck/work/server/openstack/packaging/build-area/build/nova-2011.1~bzr412/nova/network/manager.py", line 165, in deallocate_floating_ip
>    self.db.floating_ip_deallocate(context, floating_address)
>  File "/home/chuck/work/server/openstack/packaging/build-area/build/nova-2011.1~bzr412/nova/db/api.py", line 154, in floating_ip_deallocate
>    return IMPL.floating_ip_deallocate(context, address)
>  File "/home/chuck/work/server/openstack/packaging/build-area/build/nova-2011.1~bzr412/nova/db/sqlalchemy/api.py", line 108, in wrapper
>    return f(*args, **kwargs)
>  File "/home/chuck/work/server/openstack/packaging/build-area/build/nova-2011.1~bzr412/nova/db/sqlalchemy/api.py", line 316, in floating_ip_deallocate
>    session=session)
>  File "/home/chuck/work/server/openstack/packaging/build-area/build/nova-2011.1~bzr412/nova/db/sqlalchemy/api.py", line 108, in wrapper
>    return f(*args, **kwargs)
>  File "/home/chuck/work/server/openstack/packaging/build-area/build/nova-2011.1~bzr412/nova/db/sqlalchemy/api.py", line 392, in floating_ip_get_by_address
>    raise exception.NotFound('No floating ip for address %s' % address)
> nova.exception.NotFound: No floating ip for address 10.10.10.10
> -------------------------------------------------------------------------------
> Ran 152 tests in 157.622s
> 
> ** Affects: nova
>     Importance: Undecided
>         Status: New
> 
> -- 
> Testsuite failure
> https://bugs.launchpad.net/bugs/680543
> You received this bug notification because you are a member of Nova
> Bugs, which is subscribed to OpenStack Compute (nova).
> 
> Status in OpenStack Compute (Nova): New
> 
> Bug description:
> When running the testsuite I got the following build error below. If i use the lp:~vishvananda/nova/fix-flatdhcp then I wont get the error anymore.
> 
> 
> ===============================================================================
> [ERROR]: nova.tests.cloud_unittest.CloudTestCase.test_associate_disassociate_address
> 
> Traceback (most recent call last):
>  File "/usr/local/lib/python2.6/dist-packages/twisted/internet/defer.py", line 117, in maybeDeferred
>    result = f(*args, **kw)
>  File "/home/chuck/work/server/openstack/packaging/build-area/build/nova-2011.1~bzr412/nova/network/manager.py", line 165, in deallocate_floating_ip
>    self.db.floating_ip_deallocate(context, floating_address)
>  File "/home/chuck/work/server/openstack/packaging/build-area/build/nova-2011.1~bzr412/nova/db/api.py", line 154, in floating_ip_deallocate
>    return IMPL.floating_ip_deallocate(context, address)
>  File "/home/chuck/work/server/openstack/packaging/build-area/build/nova-2011.1~bzr412/nova/db/sqlalchemy/api.py", line 108, in wrapper
>    return f(*args, **kwargs)
>  File "/home/chuck/work/server/openstack/packaging/build-area/build/nova-2011.1~bzr412/nova/db/sqlalchemy/api.py", line 316, in floating_ip_deallocate
>    session=session)
>  File "/home/chuck/work/server/openstack/packaging/build-area/build/nova-2011.1~bzr412/nova/db/sqlalchemy/api.py", line 108, in wrapper
>    return f(*args, **kwargs)
>  File "/home/chuck/work/server/openstack/packaging/build-area/build/nova-2011.1~bzr412/nova/db/sqlalchemy/api.py", line 392, in floating_ip_get_by_address
>    raise exception.NotFound('No floating ip for address %s' % address)
> nova.exception.NotFound: No floating ip for address 10.10.10.10
> -------------------------------------------------------------------------------
> Ran 152 tests in 157.622s
> 
>

-- 
Testsuite failure
https://bugs.launchpad.net/bugs/680543
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack.



References