Source: cinder
Version: 2:21.0.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20221220 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> ======================================================================
> FAIL:
> cinder.tests.unit.volume.drivers.ceph.test_rbd_iscsi.RBDISCSITestCase.test_unsupported_version
> cinder.tests.unit.volume.drivers.ceph.test_rbd_iscsi.RBDISCSITestCase.test_unsupported_version
> ----------------------------------------------------------------------
> testtools.testresult.real._StringException: pythonlogging:'': {{{
> 2022-12-20 09:56:59,544 INFO [keystonemiddleware.auth_token] Starting
> Keystone auth_token middleware
> 2022-12-20 09:56:59,545 WARNING [keystonemiddleware._common.config] The
> option "auth_url" is not known to keystonemiddleware
> 2022-12-20 09:56:59,545 WARNING [keystonemiddleware.auth_token] AuthToken
> middleware is set with keystone_authtoken.service_token_roles_required set to
> False. This is backwards compatible but deprecated behaviour. Please set this
> to True.
> 2022-12-20 09:56:59,547 WARNING [keystonemiddleware.auth_token] Configuring
> www_authenticate_uri to point to the public identity endpoint is required;
> clients may not be able to authenticate against an admin endpoint
> }}}
>
> Traceback (most recent call last):
> File "/usr/lib/python3.11/unittest/mock.py", line 1369, in patched
> return func(*newargs, **newkeywargs)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File
> "/<<PKGBUILDDIR>>/cinder/tests/unit/volume/drivers/ceph/test_rbd_iscsi.py",
> line 167, in test_unsupported_version
> self.setup_mock_client()
> File "/usr/lib/python3.11/unittest/mock.py", line 1366, in patched
> with self.decoration_helper(patched,
> File "/usr/lib/python3.11/contextlib.py", line 137, in __enter__
> return next(self.gen)
> ^^^^^^^^^^^^^^
> File "/usr/lib/python3.11/unittest/mock.py", line 1348, in decoration_helper
> arg = exit_stack.enter_context(patching)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.11/contextlib.py", line 502, in enter_context
> result = _enter(cm)
> ^^^^^^^^^^
> File "/usr/lib/python3.11/unittest/mock.py", line 1491, in __enter__
> new = Klass(**_kwargs)
> ^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.11/unittest/mock.py", line 2100, in __init__
> _safe_super(MagicMixin, self).__init__(*args, **kw)
> File "/usr/lib/python3.11/unittest/mock.py", line 1100, in __init__
> _safe_super(CallableMixin, self).__init__(
> File "/usr/lib/python3.11/unittest/mock.py", line 451, in __init__
> self._mock_add_spec(spec, spec_set, _spec_as_instance, _eat_self)
> File "/usr/lib/python3.11/unittest/mock.py", line 502, in _mock_add_spec
> raise InvalidSpecError(f'Cannot spec a Mock object. [object={spec!r}]')
> unittest.mock.InvalidSpecError: Cannot spec a Mock object. [object=<MagicMock
> name='mock.client.RBDISCSIClient' id='139944652671568'>]
>
>
> ----------------------------------------------------------------------
> Ran 16561 tests in 297.642s
The full build log is available from:
http://qa-logs.debian.net/2022/12/20/cinder_21.0.0-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221220;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221220&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results
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 mark 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.