--- Begin Message ---
Package: src:python-django-celery-results
Version: 2.6.0-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202605/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:python-django-celery-results, so that this
is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --with sphinxdoc --buildsystem=pybuild
dh_auto_clean -O--buildsystem=pybuild
dh_autoreconf_clean -O--buildsystem=pybuild
debian/rules execute_before_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf docs/.build
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_clean -O--buildsystem=pybuild
debian/rules binary
dh binary --with sphinxdoc --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
dh_auto_build -O--buildsystem=pybuild
[... snipped ...]
self._root_id = self._request_dict.get('root_id')
self._parent_id = self._request_dict.get('parent_id')
timelimit = self._request_dict.get('timelimit', None)
if timelimit:
self.time_limits = timelimit
self._argsrepr = self._request_dict.get('argsrepr', '')
self._kwargsrepr = self._request_dict.get('kwargsrepr', '')
self._on_ack = on_ack
self._on_reject = on_reject
self._hostname = hostname or gethostname()
self._eventer = eventer
self._connection_errors = connection_errors or ()
self._task = task or self._app.tasks[self._type]
ignore_result = self._request_dict.get('ignore_result', None)
if ignore_result is None:
> ignore_result = self._task.ignore_result
^^^^^^^^^^^^^^^^^^^^^^^^
E AttributeError: 'str' object has no attribute 'ignore_result'
/usr/lib/python3/dist-packages/celery/worker/request.py:130: AttributeError
________ test_DatabaseBackend.test_backend__task_result_meta_injection _________
self = <t.unit.backends.test_database.test_DatabaseBackend object at
0x7f3cb427df40>
def test_backend__task_result_meta_injection(self):
self.app.conf.result_serializer = 'json'
self.app.conf.accept_content = {'pickle', 'json'}
self.b = DatabaseBackend(app=self.app)
tid2 = uuid()
> request = self._create_request(
task_id=tid2,
name='my_task',
args=[],
kwargs={},
task_protocol=1,
)
t/unit/backends/test_database.py:528:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
t/unit/backends/test_database.py:61: in _create_request
request = Request(context, decoded=True, task=name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Request: my_task[0768814b-e68c-4146-b486-0982c044e241] None None>
message = <Context: {'headers': {'lang': None, 'task': 'my_task', 'id':
'0768814b-e68c-4146-b486-0982c044e241', 'root_id': None,...rties': None,
'body': ((), {}, {'callbacks': None, 'errbacks': None, 'chord': None, 'chain':
None}), 'sent_event': {}}>
on_ack = <function noop at 0x7f3cb5505300>, hostname = None, eventer = None
app = None, connection_errors = None, request_dict = None, task = 'my_task'
on_reject = <function noop at 0x7f3cb5505300>, body = None, headers = None
decoded = True, utc = True
maybe_make_aware = <function maybe_make_aware at 0x7f3cb54f8cc0>
maybe_iso8601 = <function maybe_iso8601 at 0x7f3cb54f8860>, opts = {}
timelimit = (None, None), ignore_result = None
def __init__(self, message, on_ack=noop,
hostname=None, eventer=None, app=None,
connection_errors=None, request_dict=None,
task=None, on_reject=noop, body=None,
headers=None, decoded=False, utc=True,
maybe_make_aware=maybe_make_aware,
maybe_iso8601=maybe_iso8601, **opts):
self._message = message
self._request_dict = (message.headers.copy() if headers is None
else headers.copy())
self._body = message.body if body is None else body
self._app = app
self._utc = utc
self._decoded = decoded
if decoded:
self._content_type = self._content_encoding = None
else:
self._content_type, self._content_encoding = (
message.content_type, message.content_encoding,
)
self.__payload = self._body if self._decoded else message.payload
self.id = self._request_dict['id']
self._type = self.name = self._request_dict['task']
if 'shadow' in self._request_dict:
self.name = self._request_dict['shadow'] or self.name
self._root_id = self._request_dict.get('root_id')
self._parent_id = self._request_dict.get('parent_id')
timelimit = self._request_dict.get('timelimit', None)
if timelimit:
self.time_limits = timelimit
self._argsrepr = self._request_dict.get('argsrepr', '')
self._kwargsrepr = self._request_dict.get('kwargsrepr', '')
self._on_ack = on_ack
self._on_reject = on_reject
self._hostname = hostname or gethostname()
self._eventer = eventer
self._connection_errors = connection_errors or ()
self._task = task or self._app.tasks[self._type]
ignore_result = self._request_dict.get('ignore_result', None)
if ignore_result is None:
> ignore_result = self._task.ignore_result
^^^^^^^^^^^^^^^^^^^^^^^^
E AttributeError: 'str' object has no attribute 'ignore_result'
/usr/lib/python3/dist-packages/celery/worker/request.py:130: AttributeError
_____ test_DatabaseBackend.test_secrets__pickle_serialization__protocol_1 ______
self = <t.unit.backends.test_database.test_DatabaseBackend object at
0x7f3cb422e990>
def test_secrets__pickle_serialization__protocol_1(self):
self.app.conf.result_serializer = 'pickle'
self.app.conf.accept_content = {'pickle', 'json'}
self.b = DatabaseBackend(app=self.app)
tid = uuid()
> request = self._create_request(
task_id=tid,
name='my_task',
args=['a', 1, SomeClass(67)],
kwargs={'c': 6, 'd': 'e', 'f': SomeClass(89)},
argsrepr='argsrepr',
kwargsrepr='kwargsrepr',
task_protocol=1,
)
t/unit/backends/test_database.py:693:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
t/unit/backends/test_database.py:61: in _create_request
request = Request(context, decoded=True, task=name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Request: my_task[a4033f50-9a38-46ab-af42-07ed23192561] None None>
message = <Context: {'headers': {'lang': None, 'task': 'my_task', 'id':
'a4033f50-9a38-46ab-af42-07ed23192561', 'root_id': None,...ss object at
0x7f3cb3b76990>}, {'callbacks': None, 'errbacks': None, 'chord': None, 'chain':
None}), 'sent_event': {}}>
on_ack = <function noop at 0x7f3cb5505300>, hostname = None, eventer = None
app = None, connection_errors = None, request_dict = None, task = 'my_task'
on_reject = <function noop at 0x7f3cb5505300>, body = None, headers = None
decoded = True, utc = True
maybe_make_aware = <function maybe_make_aware at 0x7f3cb54f8cc0>
maybe_iso8601 = <function maybe_iso8601 at 0x7f3cb54f8860>, opts = {}
timelimit = (None, None), ignore_result = None
def __init__(self, message, on_ack=noop,
hostname=None, eventer=None, app=None,
connection_errors=None, request_dict=None,
task=None, on_reject=noop, body=None,
headers=None, decoded=False, utc=True,
maybe_make_aware=maybe_make_aware,
maybe_iso8601=maybe_iso8601, **opts):
self._message = message
self._request_dict = (message.headers.copy() if headers is None
else headers.copy())
self._body = message.body if body is None else body
self._app = app
self._utc = utc
self._decoded = decoded
if decoded:
self._content_type = self._content_encoding = None
else:
self._content_type, self._content_encoding = (
message.content_type, message.content_encoding,
)
self.__payload = self._body if self._decoded else message.payload
self.id = self._request_dict['id']
self._type = self.name = self._request_dict['task']
if 'shadow' in self._request_dict:
self.name = self._request_dict['shadow'] or self.name
self._root_id = self._request_dict.get('root_id')
self._parent_id = self._request_dict.get('parent_id')
timelimit = self._request_dict.get('timelimit', None)
if timelimit:
self.time_limits = timelimit
self._argsrepr = self._request_dict.get('argsrepr', '')
self._kwargsrepr = self._request_dict.get('kwargsrepr', '')
self._on_ack = on_ack
self._on_reject = on_reject
self._hostname = hostname or gethostname()
self._eventer = eventer
self._connection_errors = connection_errors or ()
self._task = task or self._app.tasks[self._type]
ignore_result = self._request_dict.get('ignore_result', None)
if ignore_result is None:
> ignore_result = self._task.ignore_result
^^^^^^^^^^^^^^^^^^^^^^^^
E AttributeError: 'str' object has no attribute 'ignore_result'
/usr/lib/python3/dist-packages/celery/worker/request.py:130: AttributeError
______ test_DatabaseBackend.test_secrets__json_serialization__protocol_1 _______
self = <t.unit.backends.test_database.test_DatabaseBackend object at
0x7f3cb417a8e0>
def test_secrets__json_serialization__protocol_1(self):
self.app.conf.result_serializer = 'json'
self.app.conf.accept_content = {'pickle', 'json'}
self.b = DatabaseBackend(app=self.app)
tid = uuid()
> request = self._create_request(
task_id=tid,
name='my_task',
args=['a', 1, True],
kwargs={'c': 6, 'd': 'e', 'f': False},
argsrepr='argsrepr',
kwargsrepr='kwargsrepr',
task_protocol=1,
)
t/unit/backends/test_database.py:734:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
t/unit/backends/test_database.py:61: in _create_request
request = Request(context, decoded=True, task=name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Request: my_task[34aabdfd-b3a4-430f-9f6f-6d969ba93ecf] None None>
message = <Context: {'headers': {'lang': None, 'task': 'my_task', 'id':
'34aabdfd-b3a4-430f-9f6f-6d969ba93ecf', 'root_id': None,...'c': 6, 'd': 'e',
'f': False}, {'callbacks': None, 'errbacks': None, 'chord': None, 'chain':
None}), 'sent_event': {}}>
on_ack = <function noop at 0x7f3cb5505300>, hostname = None, eventer = None
app = None, connection_errors = None, request_dict = None, task = 'my_task'
on_reject = <function noop at 0x7f3cb5505300>, body = None, headers = None
decoded = True, utc = True
maybe_make_aware = <function maybe_make_aware at 0x7f3cb54f8cc0>
maybe_iso8601 = <function maybe_iso8601 at 0x7f3cb54f8860>, opts = {}
timelimit = (None, None), ignore_result = None
def __init__(self, message, on_ack=noop,
hostname=None, eventer=None, app=None,
connection_errors=None, request_dict=None,
task=None, on_reject=noop, body=None,
headers=None, decoded=False, utc=True,
maybe_make_aware=maybe_make_aware,
maybe_iso8601=maybe_iso8601, **opts):
self._message = message
self._request_dict = (message.headers.copy() if headers is None
else headers.copy())
self._body = message.body if body is None else body
self._app = app
self._utc = utc
self._decoded = decoded
if decoded:
self._content_type = self._content_encoding = None
else:
self._content_type, self._content_encoding = (
message.content_type, message.content_encoding,
)
self.__payload = self._body if self._decoded else message.payload
self.id = self._request_dict['id']
self._type = self.name = self._request_dict['task']
if 'shadow' in self._request_dict:
self.name = self._request_dict['shadow'] or self.name
self._root_id = self._request_dict.get('root_id')
self._parent_id = self._request_dict.get('parent_id')
timelimit = self._request_dict.get('timelimit', None)
if timelimit:
self.time_limits = timelimit
self._argsrepr = self._request_dict.get('argsrepr', '')
self._kwargsrepr = self._request_dict.get('kwargsrepr', '')
self._on_ack = on_ack
self._on_reject = on_reject
self._hostname = hostname or gethostname()
self._eventer = eventer
self._connection_errors = connection_errors or ()
self._task = task or self._app.tasks[self._type]
ignore_result = self._request_dict.get('ignore_result', None)
if ignore_result is None:
> ignore_result = self._task.ignore_result
^^^^^^^^^^^^^^^^^^^^^^^^
E AttributeError: 'str' object has no attribute 'ignore_result'
/usr/lib/python3/dist-packages/celery/worker/request.py:130: AttributeError
=========================== short test summary info ============================
FAILED
t/unit/backends/test_database.py::test_DatabaseBackend::test_backend__pickle_serialization__dict_result__protocol_1
FAILED
t/unit/backends/test_database.py::test_DatabaseBackend::test_backend__pickle_serialization__str_result__protocol_1
FAILED
t/unit/backends/test_database.py::test_DatabaseBackend::test_backend__pickle_serialization__bytes_result__protocol_1
FAILED
t/unit/backends/test_database.py::test_DatabaseBackend::test_backend__json_serialization__dict_result__protocol_1
FAILED
t/unit/backends/test_database.py::test_DatabaseBackend::test_backend__json_serialization__str_result__protocol_1
FAILED
t/unit/backends/test_database.py::test_DatabaseBackend::test_backend__task_result_meta_injection
FAILED
t/unit/backends/test_database.py::test_DatabaseBackend::test_secrets__pickle_serialization__protocol_1
FAILED
t/unit/backends/test_database.py::test_DatabaseBackend::test_secrets__json_serialization__protocol_1
============ 8 failed, 36 passed, 1 skipped, 5 deselected in 0.98s =============
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-celery-results/build; python3.13
-m pytest -k "not test_taskresult_delete_expired and not
test_on_chord_part_return_multiple_databases and not
test_retry_store_result_fails and not test_retry_store_result_succeeds and not
test_store_group_result"
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14
3.13" --parallel=2 returned exit code 13
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit
status 2
--------------------------------------------------------------------------------
--- End Message ---