Test failures with latest binary-memcached 0.25.0

Issue #108 resolved
Felix Yan
created an issue
=========================== short test summary info ============================
FAIL tests/cache/test_memcached_backend.py::BMemcachedTest::test_decorated_fn_functionality
FAIL tests/cache/test_memcached_backend.py::BMemcachedTest::test_region_delete_multiple
FAIL tests/cache/test_memcached_backend.py::BMemcachedTest::test_region_expire
FAIL tests/cache/test_memcached_backend.py::BMemcachedTest::test_region_get_multiple_values
FAIL tests/cache/test_memcached_backend.py::BMemcachedTest::test_region_get_nothing_multiple
FAIL tests/cache/test_memcached_backend.py::BMemcachedTest::test_region_set_get_value
FAIL tests/cache/test_memcached_backend.py::BMemcachedTest::test_region_set_multiple_values
FAIL tests/cache/test_memcached_backend.py::BMemcachedDistributedWithTimeoutTest::test_decorated_fn_functionality
FAIL tests/cache/test_memcached_backend.py::BMemcachedDistributedWithTimeoutTest::test_region_delete_multiple
FAIL tests/cache/test_memcached_backend.py::BMemcachedDistributedWithTimeoutTest::test_region_expire
FAIL tests/cache/test_memcached_backend.py::BMemcachedDistributedWithTimeoutTest::test_region_get_multiple_values
FAIL tests/cache/test_memcached_backend.py::BMemcachedDistributedWithTimeoutTest::test_region_get_nothing_multiple
FAIL tests/cache/test_memcached_backend.py::BMemcachedDistributedWithTimeoutTest::test_region_set_get_value
FAIL tests/cache/test_memcached_backend.py::BMemcachedDistributedWithTimeoutTest::test_region_set_multiple_values
FAIL tests/cache/test_memcached_backend.py::BMemcachedDistributedTest::test_decorated_fn_functionality
FAIL tests/cache/test_memcached_backend.py::BMemcachedDistributedTest::test_region_delete_multiple
FAIL tests/cache/test_memcached_backend.py::BMemcachedDistributedTest::test_region_expire
FAIL tests/cache/test_memcached_backend.py::BMemcachedDistributedTest::test_region_get_multiple_values
FAIL tests/cache/test_memcached_backend.py::BMemcachedDistributedTest::test_region_get_nothing_multiple
FAIL tests/cache/test_memcached_backend.py::BMemcachedDistributedTest::test_region_set_get_value
FAIL tests/cache/test_memcached_backend.py::BMemcachedDistributedTest::test_region_set_multiple_values
FAIL tests/cache/test_memcached_backend.py::BMemcachedDistributedMutexTest::test_reentrant_dogpile
FAIL tests/cache/test_memcached_backend.py::BMemcachedDistributedMutexWithTimeoutTest::test_reentrant_dogpile

=================================== FAILURES ===================================
________________ BMemcachedTest.test_decorated_fn_functionality ________________
Traceback (most recent call last):
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/tests/cache/_fixtures.py", line 290, in test_decorated_fn_functionality
    eq_(my_function(3, 4), 8)
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 1220, in decorate
    should_cache_fn)
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 825, in get_or_create
    async_creator) as value:
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/lock.py", line 154, in __enter__
    return self._enter()
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/lock.py", line 87, in _enter
    value = value_fn()
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 781, in get_value
    if (value is NO_VALUE or value.metadata['v'] != value_version or
AttributeError: 'list' object has no attribute 'metadata'
__________________ BMemcachedTest.test_region_delete_multiple __________________
Traceback (most recent call last):
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/tests/cache/_fixtures.py", line 158, in test_region_delete_multiple
    eq_(values['key1'], reg.get('key1'))
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 628, in get
    expiration_time, ignore_expiration)(value)
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 648, in value_fn
    value.metadata["ct"]):
AttributeError: 'list' object has no attribute 'metadata'
______________________ BMemcachedTest.test_region_expire _______________________
Traceback (most recent call last):
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/tests/cache/_fixtures.py", line 267, in test_region_expire
    eq_(reg.get("some key", ignore_expiration=True), "some value 1")
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 630, in get
    return value.payload
AttributeError: 'list' object has no attribute 'payload'
________________ BMemcachedTest.test_region_get_multiple_values ________________
Traceback (most recent call last):
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/tests/cache/_fixtures.py", line 129, in test_region_get_multiple_values
    values = reg.get_multi(['key1', 'key2', 'key3'])
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 702, in get_multi
    backend_values
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 698, in <listcomp>
    value.payload if value is not NO_VALUE else value
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 701, in <genexpr>
    _unexpired_value_fn(value) for value in
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 648, in value_fn
    value.metadata["ct"]):
AttributeError: 'list' object has no attribute 'metadata'
_______________ BMemcachedTest.test_region_get_nothing_multiple ________________
Traceback (most recent call last):
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/tests/cache/_fixtures.py", line 140, in test_region_get_nothing_multiple
    ['key1', 'key2', 'key3', 'key4', 'key5', 'key6'])
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 702, in get_multi
    backend_values
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 698, in <listcomp>
    value.payload if value is not NO_VALUE else value
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 701, in <genexpr>
    _unexpired_value_fn(value) for value in
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 648, in value_fn
    value.metadata["ct"]):
AttributeError: 'list' object has no attribute 'metadata'
___________________ BMemcachedTest.test_region_set_get_value ___________________
Traceback (most recent call last):
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/tests/cache/_fixtures.py", line 98, in test_region_set_get_value
    eq_(reg.get("some key"), "some value")
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 628, in get
    expiration_time, ignore_expiration)(value)
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 648, in value_fn
    value.metadata["ct"]):
AttributeError: 'list' object has no attribute 'metadata'
________________ BMemcachedTest.test_region_set_multiple_values ________________
Traceback (most recent call last):
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/tests/cache/_fixtures.py", line 104, in test_region_set_multiple_values
    eq_(values['key1'], reg.get('key1'))
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 628, in get
    expiration_time, ignore_expiration)(value)
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 648, in value_fn
    value.metadata["ct"]):
AttributeError: 'list' object has no attribute 'metadata'
_____ BMemcachedDistributedWithTimeoutTest.test_decorated_fn_functionality _____
Traceback (most recent call last):
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/tests/cache/_fixtures.py", line 290, in test_decorated_fn_functionality
    eq_(my_function(3, 4), 8)
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 1220, in decorate
    should_cache_fn)
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 825, in get_or_create
    async_creator) as value:
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/lock.py", line 154, in __enter__
    return self._enter()
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/lock.py", line 87, in _enter
    value = value_fn()
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 781, in get_value
    if (value is NO_VALUE or value.metadata['v'] != value_version or
AttributeError: 'list' object has no attribute 'metadata'
_______ BMemcachedDistributedWithTimeoutTest.test_region_delete_multiple _______
Traceback (most recent call last):
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/tests/cache/_fixtures.py", line 158, in test_region_delete_multiple
    eq_(values['key1'], reg.get('key1'))
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 628, in get
    expiration_time, ignore_expiration)(value)
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 648, in value_fn
    value.metadata["ct"]):
AttributeError: 'list' object has no attribute 'metadata'
___________ BMemcachedDistributedWithTimeoutTest.test_region_expire ____________
Traceback (most recent call last):
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/tests/cache/_fixtures.py", line 267, in test_region_expire
    eq_(reg.get("some key", ignore_expiration=True), "some value 1")
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 630, in get
    return value.payload
AttributeError: 'list' object has no attribute 'payload'
_____ BMemcachedDistributedWithTimeoutTest.test_region_get_multiple_values _____
Traceback (most recent call last):
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/tests/cache/_fixtures.py", line 129, in test_region_get_multiple_values
    values = reg.get_multi(['key1', 'key2', 'key3'])
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 702, in get_multi
    backend_values
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 698, in <listcomp>
    value.payload if value is not NO_VALUE else value
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 701, in <genexpr>
    _unexpired_value_fn(value) for value in
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 648, in value_fn
    value.metadata["ct"]):
AttributeError: 'list' object has no attribute 'metadata'
____ BMemcachedDistributedWithTimeoutTest.test_region_get_nothing_multiple _____
Traceback (most recent call last):
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/tests/cache/_fixtures.py", line 140, in test_region_get_nothing_multiple
    ['key1', 'key2', 'key3', 'key4', 'key5', 'key6'])
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 702, in get_multi
    backend_values
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 698, in <listcomp>
    value.payload if value is not NO_VALUE else value
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 701, in <genexpr>
    _unexpired_value_fn(value) for value in
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 648, in value_fn
    value.metadata["ct"]):
AttributeError: 'list' object has no attribute 'metadata'
________ BMemcachedDistributedWithTimeoutTest.test_region_set_get_value ________
Traceback (most recent call last):
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/tests/cache/_fixtures.py", line 98, in test_region_set_get_value
    eq_(reg.get("some key"), "some value")
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 628, in get
    expiration_time, ignore_expiration)(value)
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 648, in value_fn
    value.metadata["ct"]):
AttributeError: 'list' object has no attribute 'metadata'
_____ BMemcachedDistributedWithTimeoutTest.test_region_set_multiple_values _____
Traceback (most recent call last):
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/tests/cache/_fixtures.py", line 104, in test_region_set_multiple_values
    eq_(values['key1'], reg.get('key1'))
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 628, in get
    expiration_time, ignore_expiration)(value)
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 648, in value_fn
    value.metadata["ct"]):
AttributeError: 'list' object has no attribute 'metadata'
__________ BMemcachedDistributedTest.test_decorated_fn_functionality ___________
Traceback (most recent call last):
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/tests/cache/_fixtures.py", line 290, in test_decorated_fn_functionality
    eq_(my_function(3, 4), 8)
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 1220, in decorate
    should_cache_fn)
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 825, in get_or_create
    async_creator) as value:
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/lock.py", line 154, in __enter__
    return self._enter()
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/lock.py", line 87, in _enter
    value = value_fn()
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 781, in get_value
    if (value is NO_VALUE or value.metadata['v'] != value_version or
AttributeError: 'list' object has no attribute 'metadata'
____________ BMemcachedDistributedTest.test_region_delete_multiple _____________
Traceback (most recent call last):
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/tests/cache/_fixtures.py", line 158, in test_region_delete_multiple
    eq_(values['key1'], reg.get('key1'))
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 628, in get
    expiration_time, ignore_expiration)(value)
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 648, in value_fn
    value.metadata["ct"]):
AttributeError: 'list' object has no attribute 'metadata'
_________________ BMemcachedDistributedTest.test_region_expire _________________
Traceback (most recent call last):
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/tests/cache/_fixtures.py", line 267, in test_region_expire
    eq_(reg.get("some key", ignore_expiration=True), "some value 1")
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 630, in get
    return value.payload
AttributeError: 'list' object has no attribute 'payload'
__________ BMemcachedDistributedTest.test_region_get_multiple_values ___________
Traceback (most recent call last):
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/tests/cache/_fixtures.py", line 129, in test_region_get_multiple_values
    values = reg.get_multi(['key1', 'key2', 'key3'])
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 702, in get_multi
    backend_values
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 698, in <listcomp>
    value.payload if value is not NO_VALUE else value
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 701, in <genexpr>
    _unexpired_value_fn(value) for value in
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 648, in value_fn
    value.metadata["ct"]):
AttributeError: 'list' object has no attribute 'metadata'
__________ BMemcachedDistributedTest.test_region_get_nothing_multiple __________
Traceback (most recent call last):
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/tests/cache/_fixtures.py", line 140, in test_region_get_nothing_multiple
    ['key1', 'key2', 'key3', 'key4', 'key5', 'key6'])
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 702, in get_multi
    backend_values
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 698, in <listcomp>
    value.payload if value is not NO_VALUE else value
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 701, in <genexpr>
    _unexpired_value_fn(value) for value in
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 648, in value_fn
    value.metadata["ct"]):
AttributeError: 'list' object has no attribute 'metadata'
_____________ BMemcachedDistributedTest.test_region_set_get_value ______________
Traceback (most recent call last):
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/tests/cache/_fixtures.py", line 98, in test_region_set_get_value
    eq_(reg.get("some key"), "some value")
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 628, in get
    expiration_time, ignore_expiration)(value)
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 648, in value_fn
    value.metadata["ct"]):
AttributeError: 'list' object has no attribute 'metadata'
__________ BMemcachedDistributedTest.test_region_set_multiple_values ___________
Traceback (most recent call last):
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/tests/cache/_fixtures.py", line 104, in test_region_set_multiple_values
    eq_(values['key1'], reg.get('key1'))
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 628, in get
    expiration_time, ignore_expiration)(value)
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 648, in value_fn
    value.metadata["ct"]):
AttributeError: 'list' object has no attribute 'metadata'
____________ BMemcachedDistributedMutexTest.test_reentrant_dogpile _____________
Traceback (most recent call last):
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/tests/cache/_fixtures.py", line 382, in test_reentrant_dogpile
    reg.get_or_create("foo", create_foo),
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 825, in get_or_create
    async_creator) as value:
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/lock.py", line 154, in __enter__
    return self._enter()
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/lock.py", line 87, in _enter
    value = value_fn()
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 781, in get_value
    if (value is NO_VALUE or value.metadata['v'] != value_version or
AttributeError: 'list' object has no attribute 'metadata'
_______ BMemcachedDistributedMutexWithTimeoutTest.test_reentrant_dogpile _______
Traceback (most recent call last):
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/tests/cache/_fixtures.py", line 382, in test_reentrant_dogpile
    reg.get_or_create("foo", create_foo),
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 825, in get_or_create
    async_creator) as value:
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/lock.py", line 154, in __enter__
    return self._enter()
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/lock.py", line 87, in _enter
    value = value_fn()
  File "/build/python-dogpile.cache/src/dogpile.cache-0.6.2/dogpile/cache/region.py", line 781, in get_value
    if (value is NO_VALUE or value.metadata['v'] != value_version or
AttributeError: 'list' object has no attribute 'metadata'
============================ pytest-warning summary ============================
WC1 None [pytest] section in setup.cfg files is deprecated, use [tool:pytest] instead.
===== 23 failed, 98 passed, 66 skipped, 1 pytest-warnings in 37.30 seconds =====

Comments (5)

  1. Log in to comment