Public bug reported: When building the Debian package of Nova for Mitaka b3 (ie: Nova 13.0.0~b3), I get the below unit test failures. Please help me to fix this. I'm available on IRC if you need more details and a way to reproduce (but basically, try to build the package in Sid + Experimental using the sources from git clone git://git.debian.org/git/openstack/nova.git).
====================================================================== FAIL: nova.tests.unit.test_cache.TestOsloCache.test_get_client nova.tests.unit.test_cache.TestOsloCache.test_get_client ---------------------------------------------------------------------- _StringException: Empty attachments: pythonlogging:'' stderr stdout Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched return func(*args, **keywargs) File "nova/tests/unit/test_cache.py", line 64, in test_get_client expiration_time=60)], File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 969, in assert_has_calls ), cause) File "/usr/lib/python2.7/dist-packages/six.py", line 718, in raise_from raise value AssertionError: Calls not found. Expected: [call('oslo_cache.dict', arguments={'expiration_time': 60}, expiration_time=60), call('dogpile.cache.memcached', arguments={'url': ['localhost:11211']}, expiration_time=60), call('dogpile.cache.null', _config_argument_dict=<ANY>, _config_prefix='cache.oslo.arguments.', expiration_time=60, wrap=None), call('oslo_cache.dict', arguments={'expiration_time': 60}, expiration_time=60)] Actual: [call('oslo_cache.dict', arguments={'expiration_time': 60}, expiration_time=60), call('dogpile.cache.memcached', arguments={'url': ['localhost:11211']}, expiration_time=60), call('dogpile.cache.null', _config_argument_dict={'cache.oslo.arguments.pool_maxsize': 10, 'cache.oslo.arguments.pool_unused_timeout': 60, 'cache.oslo.arguments.url': ['localhost:11211'], 'cache.oslo.arguments.socket_timeout': 3, 'cache.oslo.expiration_time': 60, 'cache.oslo.arguments.dead_retry': 300, 'cache.oslo.arguments.pool_connection_get_timeout': 10, 'cache.oslo.backend': 'dogpile.cache.null'}, _config_prefix='cache.oslo.arguments.', expiration_time=60), call('oslo_cache.dict', arguments={'expiration_time': 60}, expiration_time=60)] ====================================================================== FAIL: nova.tests.unit.test_cache.TestOsloCache.test_get_memcached_client nova.tests.unit.test_cache.TestOsloCache.test_get_memcached_client ---------------------------------------------------------------------- _StringException: Empty attachments: pythonlogging:'' stderr stdout Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched return func(*args, **keywargs) File "nova/tests/unit/test_cache.py", line 120, in test_get_memcached_client expiration_time=60, wrap=None)] File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 969, in assert_has_calls ), cause) File "/usr/lib/python2.7/dist-packages/six.py", line 718, in raise_from raise value AssertionError: Calls not found. Expected: [call('dogpile.cache.memcached', arguments={'url': ['localhost:11211']}, expiration_time=60), call('dogpile.cache.memcached', arguments={'url': ['localhost:11211']}, expiration_time=60), call('dogpile.cache.null', _config_argument_dict=<ANY>, _config_prefix='cache.oslo.arguments.', expiration_time=60, wrap=None)] Actual: [call('dogpile.cache.memcached', arguments={'url': ['localhost:11211']}, expiration_time=60), call('dogpile.cache.memcached', arguments={'url': ['localhost:11211']}, expiration_time=60), call('dogpile.cache.null', _config_argument_dict={'cache.oslo.arguments.pool_maxsize': 10, 'cache.oslo.arguments.pool_unused_timeout': 60, 'cache.oslo.arguments.url': ['localhost:11211'], 'cache.oslo.arguments.socket_timeout': 3, 'cache.oslo.expiration_time': 60, 'cache.oslo.arguments.dead_retry': 300, 'cache.oslo.arguments.pool_connection_get_timeout': 10, 'cache.oslo.backend': 'dogpile.cache.null'}, _config_prefix='cache.oslo.arguments.', expiration_time=60)] ** Affects: nova Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1552897 Title: Unit test failure when buildnig debian package for Mitaka b3 Status in OpenStack Compute (nova): New Bug description: When building the Debian package of Nova for Mitaka b3 (ie: Nova 13.0.0~b3), I get the below unit test failures. Please help me to fix this. I'm available on IRC if you need more details and a way to reproduce (but basically, try to build the package in Sid + Experimental using the sources from git clone git://git.debian.org/git/openstack/nova.git). ====================================================================== FAIL: nova.tests.unit.test_cache.TestOsloCache.test_get_client nova.tests.unit.test_cache.TestOsloCache.test_get_client ---------------------------------------------------------------------- _StringException: Empty attachments: pythonlogging:'' stderr stdout Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched return func(*args, **keywargs) File "nova/tests/unit/test_cache.py", line 64, in test_get_client expiration_time=60)], File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 969, in assert_has_calls ), cause) File "/usr/lib/python2.7/dist-packages/six.py", line 718, in raise_from raise value AssertionError: Calls not found. Expected: [call('oslo_cache.dict', arguments={'expiration_time': 60}, expiration_time=60), call('dogpile.cache.memcached', arguments={'url': ['localhost:11211']}, expiration_time=60), call('dogpile.cache.null', _config_argument_dict=<ANY>, _config_prefix='cache.oslo.arguments.', expiration_time=60, wrap=None), call('oslo_cache.dict', arguments={'expiration_time': 60}, expiration_time=60)] Actual: [call('oslo_cache.dict', arguments={'expiration_time': 60}, expiration_time=60), call('dogpile.cache.memcached', arguments={'url': ['localhost:11211']}, expiration_time=60), call('dogpile.cache.null', _config_argument_dict={'cache.oslo.arguments.pool_maxsize': 10, 'cache.oslo.arguments.pool_unused_timeout': 60, 'cache.oslo.arguments.url': ['localhost:11211'], 'cache.oslo.arguments.socket_timeout': 3, 'cache.oslo.expiration_time': 60, 'cache.oslo.arguments.dead_retry': 300, 'cache.oslo.arguments.pool_connection_get_timeout': 10, 'cache.oslo.backend': 'dogpile.cache.null'}, _config_prefix='cache.oslo.arguments.', expiration_time=60), call('oslo_cache.dict', arguments={'expiration_time': 60}, expiration_time=60)] ====================================================================== FAIL: nova.tests.unit.test_cache.TestOsloCache.test_get_memcached_client nova.tests.unit.test_cache.TestOsloCache.test_get_memcached_client ---------------------------------------------------------------------- _StringException: Empty attachments: pythonlogging:'' stderr stdout Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched return func(*args, **keywargs) File "nova/tests/unit/test_cache.py", line 120, in test_get_memcached_client expiration_time=60, wrap=None)] File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 969, in assert_has_calls ), cause) File "/usr/lib/python2.7/dist-packages/six.py", line 718, in raise_from raise value AssertionError: Calls not found. Expected: [call('dogpile.cache.memcached', arguments={'url': ['localhost:11211']}, expiration_time=60), call('dogpile.cache.memcached', arguments={'url': ['localhost:11211']}, expiration_time=60), call('dogpile.cache.null', _config_argument_dict=<ANY>, _config_prefix='cache.oslo.arguments.', expiration_time=60, wrap=None)] Actual: [call('dogpile.cache.memcached', arguments={'url': ['localhost:11211']}, expiration_time=60), call('dogpile.cache.memcached', arguments={'url': ['localhost:11211']}, expiration_time=60), call('dogpile.cache.null', _config_argument_dict={'cache.oslo.arguments.pool_maxsize': 10, 'cache.oslo.arguments.pool_unused_timeout': 60, 'cache.oslo.arguments.url': ['localhost:11211'], 'cache.oslo.arguments.socket_timeout': 3, 'cache.oslo.expiration_time': 60, 'cache.oslo.arguments.dead_retry': 300, 'cache.oslo.arguments.pool_connection_get_timeout': 10, 'cache.oslo.backend': 'dogpile.cache.null'}, _config_prefix='cache.oslo.arguments.', expiration_time=60)] To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1552897/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp