Package: datanommer.consumer
Version: 0.6.1-2
Severity: serious
Usertags: goto-cc

During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error.

[...]
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:184: cd 
/srv/jenkins-slave/workspace/sid-goto-cc-datanommer.consumer/datanommer.consumer-0.6.1/.pybuild/pythonX.Y_2.7/build;
 python2.7 -m nose tests
/usr/lib/python2.7/dist-packages/sqlalchemy/sql/sqltypes.py:185: SAWarning: 
Unicode type received non-unicode bind param value '1234'. (this warning may be 
suppressed after 10 occurrences)
  (util.ellipses_string(value),))
/usr/lib/python2.7/dist-packages/sqlalchemy/sql/sqltypes.py:185: SAWarning: 
Unicode type received non-unicode bind param value 'topiclol'. (this warning 
may be suppressed after 10 occurrences)
  (util.ellipses_string(value),))
/usr/lib/python2.7/dist-packages/sqlalchemy/sql/sqltypes.py:185: SAWarning: 
Unicode type received non-unicode bind param value 'Unclassified'. (this 
warning may be suppressed after 10 occurrences)
  (util.ellipses_string(value),))
/usr/lib/python2.7/dist-packages/sqlalchemy/sql/sqltypes.py:185: SAWarning: 
Unicode type received non-unicode bind param value '0.6.4'. (this warning may 
be suppressed after 10 occurrences)
  (util.ellipses_string(value),))
E
======================================================================
ERROR: test_duplicate_msg_id (tests.test_consumer.TestConsumer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/srv/jenkins-slave/workspace/sid-goto-cc-datanommer.consumer/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: Failed to load 'announce' processor.
fedmsg: WARNING: The 'Twisted-Core' distribution was not found and is required 
by moksha.hub
fedmsg: WARNING: Failed to load 'logger' processor.
fedmsg: WARNING: The 'Twisted-Core' distribution was not found and is required 
by moksha.hub
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: Failed to load 'announce' processor.
fedmsg: WARNING: The 'Twisted-Core' distribution was not found and is required 
by moksha.hub
fedmsg: WARNING: Failed to load 'logger' processor.
fedmsg: WARNING: The 'Twisted-Core' distribution was not found and is required 
by moksha.hub
fedmsg: DEBUG: Nomming {'body': {'msg': {'foo': 'bar'}, 'timestamp': 1234, 
'topic': 'topiclol', 'msg_id': '1234', 'i': 1}, 'topic': 'topiclol'}
fedmsg: WARNING: Failed to load 'announce' processor.
fedmsg: WARNING: The 'Twisted-Core' distribution was not found and is required 
by moksha.hub
fedmsg: WARNING: Failed to load 'logger' processor.
fedmsg: WARNING: The 'Twisted-Core' distribution was not found and is required 
by moksha.hub
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: Failed to load 'announce' processor.
fedmsg: WARNING: The 'Twisted-Core' distribution was not found and is required 
by moksha.hub
fedmsg: WARNING: Failed to load 'logger' processor.
fedmsg: WARNING: The 'Twisted-Core' distribution was not found and is required 
by moksha.hub
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 1 test in 0.198s

FAILED (errors=1)
E: pybuild pybuild:274: test: plugin distutils failed with: exit code=1: cd 
/srv/jenkins-slave/workspace/sid-goto-cc-datanommer.consumer/datanommer.consumer-0.6.1/.pybuild/pythonX.Y_2.7/build;
 python2.7 -m nose tests
dh_auto_test: pybuild --test --test-nose -i python{version} -p 2.7 --dir . 
returned exit code 13
debian/rules:3: recipe for target 'build' failed
make: *** [build] Error 25


The full build log is attached; please do let me know if the problem is
unreproducible, in which case I shall try to investigate further.

Best,
Michael

Attachment: datanommer.consumer-build-log.txt.gz
Description: application/gunzip

Attachment: signature.asc
Description: PGP signature

Reply via email to