Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 462270 - dev-python/kombu-2.5.8 bump / test failure
Summary: dev-python/kombu-2.5.8 bump / test failure
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-19 07:33 UTC by Patrick Lauer
Modified: 2015-02-20 06:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2013-03-19 07:33:21 UTC
>>> Source compiled.
 * Testing of dev-python/kombu-2.5.7 with CPython 2.7...
.............................................................SSSSSSSSSSSSS.....................SEEEEE............................................................Restoring 1 unacknowledged message(s).
...................................................................................................................................................................S.......................................................................................................................................................................F.........SS....................................................
======================================================================
ERROR: test_basic_consume_registers_ack_status (kombu.tests.transport.test_pyamqp.test_Channel)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/kombu-2.5.7/work/kombu-2.5.7/kombu/tests/transport/test_pyamqp.py", line 47, in setUp
    self.channel = Channel(self.conn, 0)
  File "/usr/lib64/python2.7/site-packages/amqp/channel.py", line 70, in __init__
    AMQP_LOGGER.debug('using channel_id: %d', channel_id)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1128, in debug
    self._log(DEBUG, msg, args, **kwargs)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1258, in _log
    self.handle(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1268, in handle
    self.callHandlers(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1308, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 748, in handle
    self.emit(record)
  File "/usr/lib64/python2.7/site-packages/nose/plugins/logcapture.py", line 82, in emit
    self.buffer.append(self.format(record))
  File "/usr/lib64/python2.7/logging/__init__.py", line 723, in format
    return fmt.format(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 464, in format
    record.message = record.getMessage()
  File "/usr/lib64/python2.7/logging/__init__.py", line 328, in getMessage
    msg = msg % self.args
TypeError: %d format: a number is required, not Mock

======================================================================
ERROR: test_close_resolves_connection_cycle (kombu.tests.transport.test_pyamqp.test_Channel)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/kombu-2.5.7/work/kombu-2.5.7/kombu/tests/transport/test_pyamqp.py", line 47, in setUp
    self.channel = Channel(self.conn, 0)
  File "/usr/lib64/python2.7/site-packages/amqp/channel.py", line 70, in __init__
    AMQP_LOGGER.debug('using channel_id: %d', channel_id)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1128, in debug
    self._log(DEBUG, msg, args, **kwargs)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1258, in _log
    self.handle(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1268, in handle
    self.callHandlers(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1308, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 748, in handle
    self.emit(record)
  File "/usr/lib64/python2.7/site-packages/nose/plugins/logcapture.py", line 82, in emit
    self.buffer.append(self.format(record))
  File "/usr/lib64/python2.7/logging/__init__.py", line 723, in format
    return fmt.format(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 464, in format
    record.message = record.getMessage()
  File "/usr/lib64/python2.7/logging/__init__.py", line 328, in getMessage
    msg = msg % self.args
TypeError: %d format: a number is required, not Mock

======================================================================
ERROR: test_init (kombu.tests.transport.test_pyamqp.test_Channel)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/kombu-2.5.7/work/kombu-2.5.7/kombu/tests/transport/test_pyamqp.py", line 47, in setUp
    self.channel = Channel(self.conn, 0)
  File "/usr/lib64/python2.7/site-packages/amqp/channel.py", line 70, in __init__
    AMQP_LOGGER.debug('using channel_id: %d', channel_id)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1128, in debug
    self._log(DEBUG, msg, args, **kwargs)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1258, in _log
    self.handle(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1268, in handle
    self.callHandlers(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1308, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 748, in handle
    self.emit(record)
  File "/usr/lib64/python2.7/site-packages/nose/plugins/logcapture.py", line 82, in emit
    self.buffer.append(self.format(record))
  File "/usr/lib64/python2.7/logging/__init__.py", line 723, in format
    return fmt.format(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 464, in format
    record.message = record.getMessage()
  File "/usr/lib64/python2.7/logging/__init__.py", line 328, in getMessage
    msg = msg % self.args
TypeError: %d format: a number is required, not Mock

======================================================================
ERROR: test_message_to_python (kombu.tests.transport.test_pyamqp.test_Channel)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/kombu-2.5.7/work/kombu-2.5.7/kombu/tests/transport/test_pyamqp.py", line 47, in setUp
    self.channel = Channel(self.conn, 0)
  File "/usr/lib64/python2.7/site-packages/amqp/channel.py", line 70, in __init__
    AMQP_LOGGER.debug('using channel_id: %d', channel_id)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1128, in debug
    self._log(DEBUG, msg, args, **kwargs)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1258, in _log
    self.handle(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1268, in handle
    self.callHandlers(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1308, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 748, in handle
    self.emit(record)
  File "/usr/lib64/python2.7/site-packages/nose/plugins/logcapture.py", line 82, in emit
    self.buffer.append(self.format(record))
  File "/usr/lib64/python2.7/logging/__init__.py", line 723, in format
    return fmt.format(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 464, in format
    record.message = record.getMessage()
  File "/usr/lib64/python2.7/logging/__init__.py", line 328, in getMessage
    msg = msg % self.args
TypeError: %d format: a number is required, not Mock

======================================================================
ERROR: test_prepare_message (kombu.tests.transport.test_pyamqp.test_Channel)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/kombu-2.5.7/work/kombu-2.5.7/kombu/tests/transport/test_pyamqp.py", line 47, in setUp
    self.channel = Channel(self.conn, 0)
  File "/usr/lib64/python2.7/site-packages/amqp/channel.py", line 70, in __init__
    AMQP_LOGGER.debug('using channel_id: %d', channel_id)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1128, in debug
    self._log(DEBUG, msg, args, **kwargs)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1258, in _log
    self.handle(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1268, in handle
    self.callHandlers(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1308, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 748, in handle
    self.emit(record)
  File "/usr/lib64/python2.7/site-packages/nose/plugins/logcapture.py", line 82, in emit
    self.buffer.append(self.format(record))
  File "/usr/lib64/python2.7/logging/__init__.py", line 723, in format
    return fmt.format(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 464, in format
    record.message = record.getMessage()
  File "/usr/lib64/python2.7/logging/__init__.py", line 328, in getMessage
    msg = msg % self.args
TypeError: %d format: a number is required, not Mock

======================================================================
FAIL: test_msgpack_decode (kombu.tests.test_serialization.test_Serialization)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/kombu-2.5.7/work/kombu-2.5.7/kombu/tests/utils.py", line 156, in _skip_if_not_module
    return fun(*args, **kwargs)
  File "/var/tmp/portage/dev-python/kombu-2.5.7/work/kombu-2.5.7/kombu/tests/test_serialization.py", line 189, in test_msgpack_decode
    content_encoding='binary'),
AssertionError: {'int': 10, 'float': 3.14159265, 'list': ('george', 'jerry', 'elaine', 'cosmo'), [truncated]... != {u'int': 10, u'float': 3.14159265, u'list': [u'george', u'jerry', u'elaine', u'c [truncated]...
- {'float': 3.14159265,
+ {u'float': 3.14159265,
?  +

-  'int': 10,
+  u'int': 10,
?  +

-  'list': ('george', 'jerry', 'elaine', 'cosmo'),
?          ^                                    ^

+  u'list': [u'george', u'jerry', u'elaine', u'cosmo'],
?  +        ^^          +         +          +       ^

-  'string': 'The quick brown fox jumps over the lazy dog',
+  u'string': u'The quick brown fox jumps over the lazy dog',
?  +          +

-  'unicode': 'Th quick brown fox jumps over th lazy dog'}
+  u'unicode': u'Th quick brown fox jumps over th lazy dog'}
?  +           +

    """Fail immediately, with the given message."""
>>  raise self.failureException("{'int': 10, 'float': 3.14159265, 'list': ('george', 'jerry', 'elaine', 'cosmo'), [truncated]... != {u'int': 10, u'float': 3.14159265, u'list': [u'george', u'jerry', u'elaine', u'c [truncated]...\n- {'float': 3.14159265,\n+ {u'float': 3.14159265,\n?  +\n\n-  'int': 10,\n+  u'int': 10,\n?  +\n\n-  'list': ('george', 'jerry', 'elaine', 'cosmo'),\n?          ^                                    ^\n\n+  u'list': [u'george', u'jerry', u'elaine', u'cosmo'],\n?  +        ^^          +         +          +       ^\n\n-  'string': 'The quick brown fox jumps over the lazy dog',\n+  u'string': u'The quick brown fox jumps over the lazy dog',\n?  +          +\n\n-  'unicode': 'Th quick brown fox jumps over th lazy dog'}\n+  u'unicode': u'Th quick brown fox jumps over th lazy dog'}\n?  +           +\n")
    

----------------------------------------------------------------------
Ran 556 tests in 6.709s

FAILED (SKIP=17, errors=5, failures=1)
 * ERROR: dev-python/kombu-2.5.7 failed (test phase):
 *   Testing failed with CPython 2.7 in testing() function
Comment 1 Patrick Lauer gentoo-dev 2013-03-26 06:03:11 UTC
2.5.8 has same failure as 2.5.7