Your message dated Sun, 23 Jan 2022 21:34:23 +0000
with message-id <e1nbkvd-000ddy...@fasolo.debian.org>
and subject line Bug#1002366: fixed in python-django-celery-results 2.2.0-1
has caused the Debian Bug report #1002366,
regarding python-django-celery-results: FTBFS: dh_auto_test: error: pybuild 
--test --test-pytest -i python{version} -p "3.10 3.9" --system=custom 
"--test-args={interpreter} -m pytest" returned exit code 13
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1002366: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1002366
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-django-celery-results
Version: 2.0.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20211220 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test -- --system=custom --test-args="{interpreter} -m pytest"
> I: pybuild base:237: python3.10 -m pytest
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.10.1, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> Django settings: t.proj.settings (from ini file)
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg, testpaths: t/
> plugins: django-3.5.1, case-1.5.3
> collected 23 items
> 
> t/unit/backends/test_database.py FFF.FFF.                                [ 
> 34%]
> t/integration/benchmark_models.py s                                      [ 
> 39%]
> t/unit/test_migrations.py ..                                             [ 
> 47%]
> t/unit/test_models.py s.                                                 [ 
> 56%]
> t/unit/test_views.py ..                                                  [ 
> 65%]
> t/unit/backends/test_cache.py ........                                   
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _____ test_DatabaseBackend.test_backend__pickle_serialization__dict_result 
> _____
> 
> self = <t.unit.backends.test_database.test_DatabaseBackend object at 
> 0x7f4a30fc9ba0>
> 
>     def test_backend__pickle_serialization__dict_result(self):
>         self.app.conf.result_serializer = 'pickle'
>         self.app.conf.accept_content = {'pickle', 'json'}
>         self.b = DatabaseBackend(app=self.app)
>     
>         tid2 = uuid()
>         result = {'foo': 'baz', 'bar': SomeClass(12345)}
>         request = mock.MagicMock()
>         request.task = 'my_task'
>         request.args = ['a', 1, SomeClass(67)]
>         request.kwargs = {'c': 6, 'd': 'e', 'f': SomeClass(89)}
>         request.hostname = 'celery@ip-0-0-0-0'
>         request.chord = None
>         del request.argsrepr, request.kwargsrepr
>     
>         self.b.mark_as_done(tid2, result, request=request)
>         mindb = self.b.get_task_meta(tid2)
>     
> >       assert mindb.get('result').get('foo') == 'baz'
> E       AttributeError: 'NoneType' object has no attribute 'get'
> 
> t/unit/backends/test_database.py:50: AttributeError
> _____ test_DatabaseBackend.test_backend__pickle_serialization__str_result 
> ______
> 
> self = <t.unit.backends.test_database.test_DatabaseBackend object at 
> 0x7f4a30f1b3d0>
> 
>     def test_backend__pickle_serialization__str_result(self):
>         self.app.conf.result_serializer = 'pickle'
>         self.app.conf.accept_content = {'pickle', 'json'}
>         self.b = DatabaseBackend(app=self.app)
>     
>         tid2 = uuid()
>         result = 'foo'
>         request = mock.MagicMock()
>         request.task = 'my_task'
>         request.args = ['a', 1, SomeClass(67)]
>         request.kwargs = {'c': 6, 'd': 'e', 'f': SomeClass(89)}
>         request.hostname = 'celery@ip-0-0-0-0'
>         request.chord = None
>         del request.argsrepr, request.kwargsrepr
>     
>         self.b.mark_as_done(tid2, result, request=request)
>         mindb = self.b.get_task_meta(tid2)
>     
> >       assert mindb.get('result') == 'foo'
> E       AssertionError: assert None == 'foo'
> E        +  where None = <built-in method get of dict object at 
> 0x7f4a30f84f80>('result')
> E        +    where <built-in method get of dict object at 0x7f4a30f84f80> = 
> {'date_done': None, 'result': None, 'status': 'PENDING', 'task_args': None, 
> ...}.get
> 
> t/unit/backends/test_database.py:91: AssertionError
> ____ test_DatabaseBackend.test_backend__pickle_serialization__bytes_result 
> _____
> 
> self = <t.unit.backends.test_database.test_DatabaseBackend object at 
> 0x7f4a30da2cb0>
> 
>     def test_backend__pickle_serialization__bytes_result(self):
>         self.app.conf.result_serializer = 'pickle'
>         self.app.conf.accept_content = {'pickle', 'json'}
>         self.b = DatabaseBackend(app=self.app)
>     
>         tid2 = uuid()
>         result = b'foo'
>         request = mock.MagicMock()
>         request.task = 'my_task'
>         request.args = ['a', 1, SomeClass(67)]
>         request.kwargs = {'c': 6, 'd': 'e', 'f': SomeClass(89)}
>         request.hostname = 'celery@ip-0-0-0-0'
>         request.chord = None
>         del request.argsrepr, request.kwargsrepr
>     
>         self.b.mark_as_done(tid2, result, request=request)
>         mindb = self.b.get_task_meta(tid2)
>     
> >       assert mindb.get('result') == b'foo'
> E       AssertionError: assert None == b'foo'
> E        +  where None = <built-in method get of dict object at 
> 0x7f4a30dede40>('result')
> E        +    where <built-in method get of dict object at 0x7f4a30dede40> = 
> {'date_done': None, 'result': None, 'status': 'PENDING', 'task_args': None, 
> ...}.get
> 
> t/unit/backends/test_database.py:122: AssertionError
> __________________ test_DatabaseBackend.test_backend_secrets 
> ___________________
> 
> self = <t.unit.backends.test_database.test_DatabaseBackend object at 
> 0x7f4a30c636a0>
> 
>     def test_backend_secrets(self):
>         tid = uuid()
>         request = mock.MagicMock()
>         request.task = 'my_task'
>         request.args = ['a', 1, 'password']
>         request.kwargs = {'c': 3, 'd': 'e', 'password': 'password'}
>         request.argsrepr = 'argsrepr'
>         request.kwargsrepr = 'kwargsrepr'
>         request.hostname = 'celery@ip-0-0-0-0'
>         request.chord = None
>         result = {'foo': 'baz'}
>     
>         self.b.mark_as_done(tid, result, request=request)
>     
>         mindb = self.b.get_task_meta(tid)
> >       assert mindb.get('task_args') == 'argsrepr'
> E       AssertionError: assert None == 'argsrepr'
> E        +  where None = <built-in method get of dict object at 
> 0x7f4a30b1a0c0>('task_args')
> E        +    where <built-in method get of dict object at 0x7f4a30b1a0c0> = 
> {'date_done': None, 'result': None, 'status': 'PENDING', 'task_args': None, 
> ...}.get
> 
> t/unit/backends/test_database.py:180: AssertionError
> ________________ test_DatabaseBackend.test_on_chord_part_return 
> ________________
> 
> self = <t.unit.backends.test_database.test_DatabaseBackend object at 
> 0x7f4a30c60c70>
> 
>     def test_on_chord_part_return(self):
>         """Test if the ChordCounter is properly decremented and the callback 
> is
>         triggered after all chord parts have returned"""
>         gid = uuid()
>         tid1 = uuid()
>         tid2 = uuid()
>         subtasks = [AsyncResult(tid1), AsyncResult(tid2)]
>         group = GroupResult(id=gid, results=subtasks)
>         self.b.apply_chord(group, self.add.s())
>     
>         chord_counter = ChordCounter.objects.get(group_id=gid)
>         assert chord_counter.count == 2
>     
>         request = mock.MagicMock()
>         request.id = subtasks[0].id
>         request.group = gid
>         request.task = "my_task"
>         request.args = ["a", 1, "password"]
>         request.kwargs = {"c": 3, "d": "e", "password": "password"}
>         request.argsrepr = "argsrepr"
>         request.kwargsrepr = "kwargsrepr"
>         request.hostname = "celery@ip-0-0-0-0"
>         result = {"foo": "baz"}
>     
>         self.b.mark_as_done(tid1, result, request=request)
>     
>         chord_counter.refresh_from_db()
>         assert chord_counter.count == 1
>     
>         self.b.mark_as_done(tid2, result, request=request)
>     
>         with pytest.raises(ChordCounter.DoesNotExist):
>             ChordCounter.objects.get(group_id=gid)
>     
> >       request.chord.delay.assert_called_once()
> 
> t/unit/backends/test_database.py:218: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> _mock_self = <MagicMock name='mock.chord.delay' id='139956621382880'>
> 
>     def assert_called_once(_mock_self):
>         """assert that the mock was called only once.
>         """
>         self = _mock_self
>         if not self.call_count == 1:
>             msg = ("Expected '%s' to have been called once. Called %s 
> times.%s"
>                    % (self._mock_name or 'mock',
>                       self.call_count,
>                       self._calls_repr()))
> >           raise AssertionError(msg)
> E           AssertionError: Expected 'delay' to have been called once. Called 
> 0 times.
> 
> /usr/lib/python3/dist-packages/mock/mock.py:891: AssertionError
> __________________ test_DatabaseBackend.test_callback_failure 
> __________________
> 
> self = <t.unit.backends.test_database.test_DatabaseBackend object at 
> 0x7f4a30b27e80>
> 
>     def test_callback_failure(self):
>         """Test if a failure in the chord callback is properly handled"""
>         gid = uuid()
>         tid1 = uuid()
>         tid2 = uuid()
>         cid = uuid()
>         subtasks = [AsyncResult(tid1), AsyncResult(tid2)]
>         group = GroupResult(id=gid, results=subtasks)
>         self.b.apply_chord(group, self.add.s())
>     
>         chord_counter = ChordCounter.objects.get(group_id=gid)
>         assert chord_counter.count == 2
>     
>         request = mock.MagicMock()
>         request.id = subtasks[0].id
>         request.group = gid
>         request.task = "my_task"
>         request.args = ["a", 1, "password"]
>         request.kwargs = {"c": 3, "d": "e", "password": "password"}
>         request.argsrepr = "argsrepr"
>         request.kwargsrepr = "kwargsrepr"
>         request.hostname = "celery@ip-0-0-0-0"
>         request.chord.id = cid
>         result = {"foo": "baz"}
>     
>         # Trigger an exception when the callback is triggered
>         request.chord.delay.side_effect = ValueError()
>     
>         self.b.mark_as_done(tid1, result, request=request)
>     
>         chord_counter.refresh_from_db()
>         assert chord_counter.count == 1
>     
>         self.b.mark_as_done(tid2, result, request=request)
>     
>         with pytest.raises(ChordCounter.DoesNotExist):
>             ChordCounter.objects.get(group_id=gid)
>     
> >       request.chord.delay.assert_called_once()
> 
> t/unit/backends/test_database.py:258: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> _mock_self = <MagicMock name='mock.chord.delay' id='139956623089552'>
> 
>     def assert_called_once(_mock_self):
>         """assert that the mock was called only once.
>         """
>         self = _mock_self
>         if not self.call_count == 1:
>             msg = ("Expected '%s' to have been called once. Called %s 
> times.%s"
>                    % (self._mock_name or 'mock',
>                       self.call_count,
>                       self._calls_repr()))
> >           raise AssertionError(msg)
> E           AssertionError: Expected 'delay' to have been called once. Called 
> 0 times.
> 
> /usr/lib/python3/dist-packages/mock/mock.py:891: AssertionError
> =============================== warnings summary 
> ===============================
> ../../../usr/lib/python3/dist-packages/kombu/utils/compat.py:82
>   /usr/lib/python3/dist-packages/kombu/utils/compat.py:82: 
> DeprecationWarning: SelectableGroups dict interface is deprecated. Use select.
>     for ep in importlib_metadata.entry_points().get(namespace, [])
> 
> ../../../usr/lib/python3/dist-packages/django/apps/registry.py:91
>   /usr/lib/python3/dist-packages/django/apps/registry.py:91: 
> RemovedInDjango41Warning: 'django_celery_results' defines default_app_config 
> = 'django_celery_results.apps.CeleryResultConfig'. Django now detects this 
> configuration automatically. You can remove default_app_config.
>     app_config = AppConfig.create(entry)
> 
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> =========================== short test summary info 
> ============================
> FAILED 
> t/unit/backends/test_database.py::test_DatabaseBackend::test_backend__pickle_serialization__dict_result
> FAILED 
> t/unit/backends/test_database.py::test_DatabaseBackend::test_backend__pickle_serialization__str_result
> FAILED 
> t/unit/backends/test_database.py::test_DatabaseBackend::test_backend__pickle_serialization__bytes_result
> FAILED 
> t/unit/backends/test_database.py::test_DatabaseBackend::test_backend_secrets
> FAILED 
> t/unit/backends/test_database.py::test_DatabaseBackend::test_on_chord_part_return
> FAILED 
> t/unit/backends/test_database.py::test_DatabaseBackend::test_callback_failure
> ============= 6 failed, 15 passed, 2 skipped, 2 warnings in 0.77s 
> ==============
> E: pybuild pybuild:355: test: plugin custom failed with: exit code=1: 
> python3.10 -m pytest
> I: pybuild base:237: python3.9 -m pytest
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.9.9, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> Django settings: t.proj.settings (from ini file)
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg, testpaths: t/
> plugins: django-3.5.1, case-1.5.3
> collected 23 items
> 
> t/unit/backends/test_database.py FFF.FFF.                                [ 
> 34%]
> t/integration/benchmark_models.py s                                      [ 
> 39%]
> t/unit/test_migrations.py ..                                             [ 
> 47%]
> t/unit/test_models.py s.                                                 [ 
> 56%]
> t/unit/test_views.py ..                                                  [ 
> 65%]
> t/unit/backends/test_cache.py ........                                   
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _____ test_DatabaseBackend.test_backend__pickle_serialization__dict_result 
> _____
> 
> self = <t.unit.backends.test_database.test_DatabaseBackend object at 
> 0x7f2005e4f9d0>
> 
>     def test_backend__pickle_serialization__dict_result(self):
>         self.app.conf.result_serializer = 'pickle'
>         self.app.conf.accept_content = {'pickle', 'json'}
>         self.b = DatabaseBackend(app=self.app)
>     
>         tid2 = uuid()
>         result = {'foo': 'baz', 'bar': SomeClass(12345)}
>         request = mock.MagicMock()
>         request.task = 'my_task'
>         request.args = ['a', 1, SomeClass(67)]
>         request.kwargs = {'c': 6, 'd': 'e', 'f': SomeClass(89)}
>         request.hostname = 'celery@ip-0-0-0-0'
>         request.chord = None
>         del request.argsrepr, request.kwargsrepr
>     
>         self.b.mark_as_done(tid2, result, request=request)
>         mindb = self.b.get_task_meta(tid2)
>     
> >       assert mindb.get('result').get('foo') == 'baz'
> E       AttributeError: 'NoneType' object has no attribute 'get'
> 
> t/unit/backends/test_database.py:50: AttributeError
> _____ test_DatabaseBackend.test_backend__pickle_serialization__str_result 
> ______
> 
> self = <t.unit.backends.test_database.test_DatabaseBackend object at 
> 0x7f2005bf92b0>
> 
>     def test_backend__pickle_serialization__str_result(self):
>         self.app.conf.result_serializer = 'pickle'
>         self.app.conf.accept_content = {'pickle', 'json'}
>         self.b = DatabaseBackend(app=self.app)
>     
>         tid2 = uuid()
>         result = 'foo'
>         request = mock.MagicMock()
>         request.task = 'my_task'
>         request.args = ['a', 1, SomeClass(67)]
>         request.kwargs = {'c': 6, 'd': 'e', 'f': SomeClass(89)}
>         request.hostname = 'celery@ip-0-0-0-0'
>         request.chord = None
>         del request.argsrepr, request.kwargsrepr
>     
>         self.b.mark_as_done(tid2, result, request=request)
>         mindb = self.b.get_task_meta(tid2)
>     
> >       assert mindb.get('result') == 'foo'
> E       AssertionError: assert None == 'foo'
> E        +  where None = <built-in method get of dict object at 
> 0x7f2005d50f80>('result')
> E        +    where <built-in method get of dict object at 0x7f2005d50f80> = 
> {'date_done': None, 'result': None, 'status': 'PENDING', 'task_args': None, 
> ...}.get
> 
> t/unit/backends/test_database.py:91: AssertionError
> ____ test_DatabaseBackend.test_backend__pickle_serialization__bytes_result 
> _____
> 
> self = <t.unit.backends.test_database.test_DatabaseBackend object at 
> 0x7f2005bad730>
> 
>     def test_backend__pickle_serialization__bytes_result(self):
>         self.app.conf.result_serializer = 'pickle'
>         self.app.conf.accept_content = {'pickle', 'json'}
>         self.b = DatabaseBackend(app=self.app)
>     
>         tid2 = uuid()
>         result = b'foo'
>         request = mock.MagicMock()
>         request.task = 'my_task'
>         request.args = ['a', 1, SomeClass(67)]
>         request.kwargs = {'c': 6, 'd': 'e', 'f': SomeClass(89)}
>         request.hostname = 'celery@ip-0-0-0-0'
>         request.chord = None
>         del request.argsrepr, request.kwargsrepr
>     
>         self.b.mark_as_done(tid2, result, request=request)
>         mindb = self.b.get_task_meta(tid2)
>     
> >       assert mindb.get('result') == b'foo'
> E       AssertionError: assert None == b'foo'
> E        +  where None = <built-in method get of dict object at 
> 0x7f2005f8a900>('result')
> E        +    where <built-in method get of dict object at 0x7f2005f8a900> = 
> {'date_done': None, 'result': None, 'status': 'PENDING', 'task_args': None, 
> ...}.get
> 
> t/unit/backends/test_database.py:122: AssertionError
> __________________ test_DatabaseBackend.test_backend_secrets 
> ___________________
> 
> self = <t.unit.backends.test_database.test_DatabaseBackend object at 
> 0x7f2005f96dc0>
> 
>     def test_backend_secrets(self):
>         tid = uuid()
>         request = mock.MagicMock()
>         request.task = 'my_task'
>         request.args = ['a', 1, 'password']
>         request.kwargs = {'c': 3, 'd': 'e', 'password': 'password'}
>         request.argsrepr = 'argsrepr'
>         request.kwargsrepr = 'kwargsrepr'
>         request.hostname = 'celery@ip-0-0-0-0'
>         request.chord = None
>         result = {'foo': 'baz'}
>     
>         self.b.mark_as_done(tid, result, request=request)
>     
>         mindb = self.b.get_task_meta(tid)
> >       assert mindb.get('task_args') == 'argsrepr'
> E       AssertionError: assert None == 'argsrepr'
> E        +  where None = <built-in method get of dict object at 
> 0x7f2005d32080>('task_args')
> E        +    where <built-in method get of dict object at 0x7f2005d32080> = 
> {'date_done': None, 'result': None, 'status': 'PENDING', 'task_args': None, 
> ...}.get
> 
> t/unit/backends/test_database.py:180: AssertionError
> ________________ test_DatabaseBackend.test_on_chord_part_return 
> ________________
> 
> self = <t.unit.backends.test_database.test_DatabaseBackend object at 
> 0x7f2005f7dcd0>
> 
>     def test_on_chord_part_return(self):
>         """Test if the ChordCounter is properly decremented and the callback 
> is
>         triggered after all chord parts have returned"""
>         gid = uuid()
>         tid1 = uuid()
>         tid2 = uuid()
>         subtasks = [AsyncResult(tid1), AsyncResult(tid2)]
>         group = GroupResult(id=gid, results=subtasks)
>         self.b.apply_chord(group, self.add.s())
>     
>         chord_counter = ChordCounter.objects.get(group_id=gid)
>         assert chord_counter.count == 2
>     
>         request = mock.MagicMock()
>         request.id = subtasks[0].id
>         request.group = gid
>         request.task = "my_task"
>         request.args = ["a", 1, "password"]
>         request.kwargs = {"c": 3, "d": "e", "password": "password"}
>         request.argsrepr = "argsrepr"
>         request.kwargsrepr = "kwargsrepr"
>         request.hostname = "celery@ip-0-0-0-0"
>         result = {"foo": "baz"}
>     
>         self.b.mark_as_done(tid1, result, request=request)
>     
>         chord_counter.refresh_from_db()
>         assert chord_counter.count == 1
>     
>         self.b.mark_as_done(tid2, result, request=request)
>     
>         with pytest.raises(ChordCounter.DoesNotExist):
>             ChordCounter.objects.get(group_id=gid)
>     
> >       request.chord.delay.assert_called_once()
> 
> t/unit/backends/test_database.py:218: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> _mock_self = <MagicMock name='mock.chord.delay' id='139775511679136'>
> 
>     def assert_called_once(_mock_self):
>         """assert that the mock was called only once.
>         """
>         self = _mock_self
>         if not self.call_count == 1:
>             msg = ("Expected '%s' to have been called once. Called %s 
> times.%s"
>                    % (self._mock_name or 'mock',
>                       self.call_count,
>                       self._calls_repr()))
> >           raise AssertionError(msg)
> E           AssertionError: Expected 'delay' to have been called once. Called 
> 0 times.
> 
> /usr/lib/python3/dist-packages/mock/mock.py:891: AssertionError
> __________________ test_DatabaseBackend.test_callback_failure 
> __________________
> 
> self = <t.unit.backends.test_database.test_DatabaseBackend object at 
> 0x7f2005bc8280>
> 
>     def test_callback_failure(self):
>         """Test if a failure in the chord callback is properly handled"""
>         gid = uuid()
>         tid1 = uuid()
>         tid2 = uuid()
>         cid = uuid()
>         subtasks = [AsyncResult(tid1), AsyncResult(tid2)]
>         group = GroupResult(id=gid, results=subtasks)
>         self.b.apply_chord(group, self.add.s())
>     
>         chord_counter = ChordCounter.objects.get(group_id=gid)
>         assert chord_counter.count == 2
>     
>         request = mock.MagicMock()
>         request.id = subtasks[0].id
>         request.group = gid
>         request.task = "my_task"
>         request.args = ["a", 1, "password"]
>         request.kwargs = {"c": 3, "d": "e", "password": "password"}
>         request.argsrepr = "argsrepr"
>         request.kwargsrepr = "kwargsrepr"
>         request.hostname = "celery@ip-0-0-0-0"
>         request.chord.id = cid
>         result = {"foo": "baz"}
>     
>         # Trigger an exception when the callback is triggered
>         request.chord.delay.side_effect = ValueError()
>     
>         self.b.mark_as_done(tid1, result, request=request)
>     
>         chord_counter.refresh_from_db()
>         assert chord_counter.count == 1
>     
>         self.b.mark_as_done(tid2, result, request=request)
>     
>         with pytest.raises(ChordCounter.DoesNotExist):
>             ChordCounter.objects.get(group_id=gid)
>     
> >       request.chord.delay.assert_called_once()
> 
> t/unit/backends/test_database.py:258: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> _mock_self = <MagicMock name='mock.chord.delay' id='139775509774288'>
> 
>     def assert_called_once(_mock_self):
>         """assert that the mock was called only once.
>         """
>         self = _mock_self
>         if not self.call_count == 1:
>             msg = ("Expected '%s' to have been called once. Called %s 
> times.%s"
>                    % (self._mock_name or 'mock',
>                       self.call_count,
>                       self._calls_repr()))
> >           raise AssertionError(msg)
> E           AssertionError: Expected 'delay' to have been called once. Called 
> 0 times.
> 
> /usr/lib/python3/dist-packages/mock/mock.py:891: AssertionError
> =============================== warnings summary 
> ===============================
> ../../../usr/lib/python3/dist-packages/django/apps/registry.py:91
>   /usr/lib/python3/dist-packages/django/apps/registry.py:91: 
> RemovedInDjango41Warning: 'django_celery_results' defines default_app_config 
> = 'django_celery_results.apps.CeleryResultConfig'. Django now detects this 
> configuration automatically. You can remove default_app_config.
>     app_config = AppConfig.create(entry)
> 
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> =========================== short test summary info 
> ============================
> FAILED 
> t/unit/backends/test_database.py::test_DatabaseBackend::test_backend__pickle_serialization__dict_result
> FAILED 
> t/unit/backends/test_database.py::test_DatabaseBackend::test_backend__pickle_serialization__str_result
> FAILED 
> t/unit/backends/test_database.py::test_DatabaseBackend::test_backend__pickle_serialization__bytes_result
> FAILED 
> t/unit/backends/test_database.py::test_DatabaseBackend::test_backend_secrets
> FAILED 
> t/unit/backends/test_database.py::test_DatabaseBackend::test_on_chord_part_return
> FAILED 
> t/unit/backends/test_database.py::test_DatabaseBackend::test_callback_failure
> ============== 6 failed, 15 passed, 2 skipped, 1 warning in 0.78s 
> ==============
> E: pybuild pybuild:355: test: plugin custom failed with: exit code=1: 
> python3.9 -m pytest
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.10 
> 3.9" --system=custom "--test-args={interpreter} -m pytest" returned exit code 
> 13


The full build log is available from:
http://qa-logs.debian.net/2021/12/20/python-django-celery-results_2.0.0-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
Source: python-django-celery-results
Source-Version: 2.2.0-1
Done: Michael Fladischer <fl...@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-django-celery-results, which is due to be installed in the Debian FTP 
archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1002...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Fladischer <fl...@debian.org> (supplier of updated 
python-django-celery-results package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 23 Jan 2022 21:02:37 +0000
Source: python-django-celery-results
Architecture: source
Version: 2.2.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Michael Fladischer <fl...@debian.org>
Closes: 1002366
Changes:
 python-django-celery-results (2.2.0-1) unstable; urgency=medium
 .
   * New upstream release (Closes: #1002366).
   * Update d/watch to work with github again.
   * Refresh patches.
   * Bump Standards-Version to 4.6.0.1.
   * Add python3-pytest-benchmark to Build-Depends, required by tests.
   * Remove override_dh_auto_test, handle test through standard pybuild.
   * Install testfiles using d/pybuild.testfiles.
   * Skip test_store_group_result which fails with sqlite on build.
   * Update year in d/copyright.
   * Enable upstream testsuite for autopkgtests.
Checksums-Sha1:
 660dfcded62ad80fb97297859c2b9777ecd28947 2249 
python-django-celery-results_2.2.0-1.dsc
 d7a184a7366012853b173d0229bc907f513648c0 75334 
python-django-celery-results_2.2.0.orig.tar.gz
 af288614553923b1d37e13eff2485af204502d9f 4488 
python-django-celery-results_2.2.0-1.debian.tar.xz
 5e2967fe46bfe3918df9e7fec7c0ba4a32bea970 8856 
python-django-celery-results_2.2.0-1_arm64.buildinfo
Checksums-Sha256:
 6a9ec0999f6e4d4b80c07163760781d3dd135bdb864c4d9039af422d2c510000 2249 
python-django-celery-results_2.2.0-1.dsc
 6f17d52e8889b9e9ea0cb5bcae22128ab6d28bafa40465e3cfecfeb4266ba0a8 75334 
python-django-celery-results_2.2.0.orig.tar.gz
 9826fdcdd5f839d2694170d3940a549af681cb9fba0679b28647f49a8bc3f36b 4488 
python-django-celery-results_2.2.0-1.debian.tar.xz
 a65e6d38f778f5744b7e3df24e05c4ccc660563e7feb24b70f45b0283ac09a85 8856 
python-django-celery-results_2.2.0-1_arm64.buildinfo
Files:
 beb50cfac2e3333ce942afbcac70c304 2249 python optional 
python-django-celery-results_2.2.0-1.dsc
 5ac26e699356a2409dd7b59b417711c2 75334 python optional 
python-django-celery-results_2.2.0.orig.tar.gz
 3928c79e674aa1a31b40444989d66f58 4488 python optional 
python-django-celery-results_2.2.0-1.debian.tar.xz
 9b406f6f26e8f4f3db3c62a903ad96e4 8856 python optional 
python-django-celery-results_2.2.0-1_arm64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEqVSlRXW87UkkCnJc/9PIi5l90WoFAmHtxEkACgkQ/9PIi5l9
0Wo9xwf+JJrIHRiYq60H09D9QNpeykYlNIFVApalUbLcvAF9xV1SnK+4A116M3N3
jcNHChqt1bZVYQ38GVYxVwgGmK4RnFokUT/HwD3/F6dKeliTSTRBuc6CEzrB0yF0
Atz8h0g1RP+C9mj2e/l3RV8r0Gw74FFGBLYD825YKcFc3GZ8hNqAuXfggzTz8PZG
3q1Ph2J7/alFjBBP1lLi2BhnFvcFVC8O7zxABmLlc480uyTJb37Ql1MmOMTnzTXy
uJOhUKoFtzVid6frpPN57DvwX9CQME2UnWCD8fLhYMqP3WZ3rMAPIZF6L3XafxhQ
R2Nbktrj6yVG+lEwDbrlST7G6oDXfA==
=V/MH
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to