[Python-modules-team] Bug#805660: datanommer.consumer: FTBFS: test_duplicate_msg_id fails

Chris West (Faux) solo-debianbugs at goeswhere.com
Fri Nov 20 19:49:24 UTC 2015


Source: datanommer.consumer
Version: 0.6.1-2
Severity: serious
Justification: fails to build from source
Tags: sid 
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-CC: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

The package fails to build:

E
======================================================================
ERROR: test_duplicate_msg_id (tests.test_consumer.TestConsumer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/datanommer.consumer-0.6.1/.pybuild/pythonX.Y_2.7/build/tests/test_consumer.py", line 89, in test_duplicate_msg_id
    mocked_function.assert_called_once()
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 721, in __getattr__
    raise AttributeError(name)
AttributeError: assert_called_once
-------------------- >> begin captured logging << --------------------
fedmsg.crypto.x509: WARNING: Crypto disabled ImportError('No module named M2Crypto',)
moksha.hub: WARNING: Cannot find qpid python module. Make sure you have python-qpid installed.
fedmsg: WARNING: No fedmsg.meta plugins found.  fedmsg.meta.msg2* crippled
fedmsg: DEBUG: datanommer.enabled is True
fedmsg: INFO:   enabled by config  - datanommer.consumer:Nommer
moksha.hub: DEBUG: Subscribing to consumer topic *
fedmsg: INFO: No backlog handling.  status: None, url: None
datanommer: WARNING: Session already initialized.  Bailing
fedmsg: DEBUG: Nomming {'body': {'msg': {'foo': 'bar'}, 'timestamp': 1234, 'topic': 'topiclol', 'msg_id': '1234', 'i': 1}, 'topic': 'topiclol'}
fedmsg: WARNING: No fedmsg.meta plugins found.  fedmsg.meta.msg2* crippled
fedmsg: DEBUG: Nomming {'body': {'msg': {'foo': 'bar'}, 'timestamp': 1234, 'topic': 'topiclol', 'msg_id': '1234', 'i': 1}, 'topic': 'topiclol'}
fedmsg: WARNING: No fedmsg.meta plugins found.  fedmsg.meta.msg2* crippled
fedmsg: ERROR: Got error (trying without uuid): (sqlite3.IntegrityError) UNIQUE constraint failed: messages.msg_id [SQL: u'INSERT INTO messages (msg_id, i, topic, timestamp, certificate, signature, category, source_name, source_version, _msg) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'] [parameters: ('1234', 1, 'topiclol', '1970-01-01 00:20:34.000000', None, None, 'Unclassified', u'datanommer', '0.6.4', '{"foo":"bar"}')]
fedmsg: WARNING: No fedmsg.meta plugins found.  fedmsg.meta.msg2* crippled
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 1 test in 0.049s

FAILED (errors=1)
E: pybuild pybuild:274: test: plugin distutils failed with: exit code=1: cd /datanommer.consumer-0.6.1/.pybuild/pythonX.Y_2.7/build; python2.7 -m nose tests

Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/datanommer.consumer.html

-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)



More information about the Python-modules-team mailing list