Your message dated Sun, 07 Jan 2024 18:27:10 +0000
with message-id <e1rmxra-00f2fn...@fasolo.debian.org>
and subject line Bug#1058162: fixed in manila 1:17.1.0-1
has caused the Debian Bug report #1058162,
regarding manila: FTBFS: KeyError: slice(1, None, None)
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.)
--
1058162: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058162
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: manila
Version: 1:17.0.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231212 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> ======================================================================
> FAIL:
> manila.tests.share.test_migration.ShareMigrationHelperTestCase.test_wait_for_share_server_3_creating
> manila.tests.share.test_migration.ShareMigrationHelperTestCase.test_wait_for_share_server_3_creating
> ----------------------------------------------------------------------
> testtools.testresult.real._StringException: Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/sqlalchemy/engine/row.py", line 131,
> in _get_by_key_impl
> rec = self._keymap[key]
> ~~~~~~~~~~~~^^^^^
> KeyError: slice(1, None, None)
>
> The above exception was the direct cause of the following exception:
>
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/manila/tests/share/test_migration.py", line 40, in
> setUp
> self.share = db_utils.create_share()
> ^^^^^^^^^^^^^^^^^^^^^^^
> File "/<<PKGBUILDDIR>>/manila/tests/db_utils.py", line 99, in create_share
> return _create_db_row(db.share_create, share, kwargs)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/<<PKGBUILDDIR>>/manila/tests/db_utils.py", line 32, in _create_db_row
> return method(context.get_admin_context(), default_values)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/<<PKGBUILDDIR>>/manila/db/api.py", line 386, in share_create
> return IMPL.share_create(context, share_values,
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/<<PKGBUILDDIR>>/manila/db/sqlalchemy/api.py", line 172, in wrapper
> return f(*args, **kwargs)
> ^^^^^^^^^^^^^^^^^^
> File "/<<PKGBUILDDIR>>/manila/db/sqlalchemy/api.py", line 2246, in
> share_create
> _share_instance_create(context, share_ref['id'],
> File "/<<PKGBUILDDIR>>/manila/db/sqlalchemy/api.py", line 1637, in
> _share_instance_create
> return share_instance_get(context, share_instance_ref['id'],
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/<<PKGBUILDDIR>>/manila/db/sqlalchemy/api.py", line 172, in wrapper
> return f(*args, **kwargs)
> ^^^^^^^^^^^^^^^^^^
> File "/<<PKGBUILDDIR>>/manila/db/sqlalchemy/api.py", line 1739, in
> share_instance_get
> ).first()
> ^^^^^^^
> File "/usr/lib/python3/dist-packages/sqlalchemy/orm/query.py", line 2824,
> in first
> return self.limit(1)._iter().first()
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/sqlalchemy/engine/result.py", line
> 1498, in first
> return self._only_one_row(
> ^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/sqlalchemy/engine/result.py", line
> 559, in _only_one_row
> row = onerow(hard_close=True)
> ^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/sqlalchemy/engine/result.py", line
> 1386, in _fetchone_impl
> return self._real_result._fetchone_impl(hard_close=hard_close)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/sqlalchemy/engine/result.py", line
> 1801, in _fetchone_impl
> row = next(self.iterator, _NO_ROW)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/sqlalchemy/orm/loading.py", line 151,
> in chunks
> rows = [proc(row) for row in fetch]
> ^^^^^^^^^
> File "/usr/lib/python3/dist-packages/sqlalchemy/orm/loading.py", line 1019,
> in _instance
> to_load = _populate_partial(
> ^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/sqlalchemy/orm/loading.py", line 1189,
> in _populate_partial
> populator(state, dict_, row)
> File "/usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py", line
> 1893, in load_scalar_from_subq
> collection = collections.get(tuple_getter(row), (None,))
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py", line
> 1600, in get
> self._load()
> File "/usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py", line
> 1617, in _load
> for k, v in itertools.groupby(rows, lambda x: x[1:]):
> File "/usr/lib/python3/dist-packages/sqlalchemy/orm/strategies.py", line
> 1617, in <lambda>
> for k, v in itertools.groupby(rows, lambda x: x[1:]):
> ~^^^^
> File "/usr/lib/python3/dist-packages/sqlalchemy/engine/row.py", line 133,
> in _get_by_key_impl
> rec = self._parent._key_fallback(key, ke)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/sqlalchemy/engine/result.py", line 72,
> in _key_fallback
> util.raise_(KeyError(key), replace_context=err)
> File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 211,
> in raise_
> raise exception
> KeyError: slice(1, None, None)
>
>
> ----------------------------------------------------------------------
> Ran 10685 tests in 168.434s
>
> FAILED (failures=1172, skipped=9)
> + echo ======> STESTR TEST SUITE FAILED FOR python3.12: displaying pip3
> freeze output...
> ======> STESTR TEST SUITE FAILED FOR python3.12: displaying pip3 freeze
> output...
> + [ -x /usr/bin/pip3 ]
> + pip3 freeze
> alabaster==0.7.12
> alembic==1.8.1.dev0
> amqp==5.2.0
> anyjson==0.3.3
> appdirs==1.4.4
> arrow==1.2.3
> async-timeout==4.0.3
> attrs==23.1.0
> autopage==0.4.0
> Babel==2.10.3
> bashate==2.1.0
> bcrypt==3.2.2
> blinker==1.7.0
> cachetools==5.3.0
> certifi==2023.7.22
> cffi==1.16.0
> chardet==5.2.0
> charset-normalizer==3.3.2
> cliff==4.3.0
> cmd2==2.4.3+ds
> confluent-kafka==1.7.0
> coverage==7.2.7
> cryptography==38.0.4
> ddt==1.6.0
> debtcollector==2.5.0
> decorator==5.1.1
> Deprecated==1.2.14
> deprecation==2.0.7
> dnspython==2.4.2
> docutils==0.20.1
> dogpile.cache==1.1.8
> dulwich==0.21.6
> etcd3==0.12.0
> etcd3gw==2.1.0
> eventlet==0.33.3
> extras==1.0.0
> fasteners==0.18
> fixtures==4.0.1
> flake8==6.1.0
> future==0.18.2
> futurist==2.4.1
> gevent==23.9.1
> greenlet==3.0.1
> grpcio==1.51.1
> hacking==4.1.0
> idna==3.3
> imagesize==1.4.1
> importlib-metadata==4.12.0
> infinity==1.5
> iso8601==1.0.2
> jaraco.classes==3.2.1
> jeepney==0.8.0
> Jinja2==3.1.2
> jmespath==1.0.1
> jsonpatch==1.32
> jsonpointer==2.3
> jsonschema==4.10.3
> kazoo==2.9.0.dev0
> keyring==24.3.0
> keystoneauth1==5.3.0
> keystonemiddleware==10.4.1
> kombu==5.3.4
> lxml==4.9.3
> Mako==1.2.4.dev0
> manila==17.0.0
> MarkupSafe==2.1.3
> mccabe==0.7.0
> monotonic==1.6
> more-itertools==10.1.0
> msgpack==1.0.3
> mysqlclient==1.4.6
> netaddr==0.8.0
> netifaces==0.11.0
> oauthlib==3.2.2
> openstackdocstheme==3.2.0
> openstacksdk==1.5.0
> os-api-ref==2.3.0
> os-client-config==2.1.0
> os-service-types==1.7.0
> osc-lib==2.8.1
> oslo.cache==3.5.0
> oslo.concurrency==5.2.0
> oslo.config==9.2.0
> oslo.context==5.2.0
> oslo.db==14.1.0
> oslo.i18n==6.1.0
> oslo.log==5.3.0
> oslo.messaging==14.4.1
> oslo.metrics==0.7.0
> oslo.middleware==5.2.0
> oslo.policy==4.2.1
> oslo.privsep==3.2.0
> oslo.reports==3.1.0
> oslo.rootwrap==7.1.0
> oslo.serialization==5.2.0
> oslo.service==3.2.0
> oslo.upgradecheck==2.2.0
> oslo.utils==6.2.1
> oslosphinx==4.18.0
> oslotest==4.5.0
> osprofiler==3.4.3
> packaging==23.2
> paramiko==2.12.0
> Paste==3.7.1
> PasteDeploy==3.0.1
> pbr==5.11.1
> pep8==1.7.1
> ply==3.11
> prettytable==3.6.0
> prometheus-client==0.17.1
> protobuf==4.21.12
> psutil==5.9.5
> psycopg2==2.9.9
> psycopg2cffi==2.8.1
> pure-sasl==0.5.1
> py==1.11.0
> pycadf==3.1.1
> pycodestyle==2.11.1
> pycparser==2.21
> pyflakes==3.1.0
> Pygments==2.15.1
> pyinotify==0.9.6
> PyJWT==2.7.0
> pykerberos==1.1.14
> pymemcache==4.0.0
> PyMySQL==1.0.2
> PyNaCl==1.5.0
> pyOpenSSL==23.2.0
> pyparsing==3.1.1
> pyperclip==1.8.2
> pyrsistent==0.18.1
> python-binary-memcached==0.31.1
> python-cinderclient==9.4.0
> python-dateutil==2.8.2
> python-glanceclient==4.4.0
> python-keystoneclient==5.2.0
> python-memcached==1.58
> python-neutronclient==11.0.0
> python-novaclient==18.4.0
> python-openstackclient==6.3.0
> python-subunit==1.4.2
> pytz==2023.3.post1
> PyYAML==6.0.1
> pyzmq==24.0.1
> redis==4.3.4
> repoze.lru==0.7
> requests==2.31.0
> requests-mock==1.10.0
> requestsexceptions==1.4.0
> rfc3986==2.0.0
> roman==3.3
> Routes==2.5.1
> SecretStorage==3.3.3
> simplejson==3.19.2
> six==1.16.0
> snowballstemmer==2.2.0
> Sphinx==7.2.6
> SQLAlchemy==1.4.47
> SQLAlchemy-Utils==0.41.0
> statsd==4.0.1
> stestr==4.0.1
> stevedore==5.1.0
> Tempita==0.5.2
> tenacity==8.2.1
> testresources==2.0.1
> testscenarios==0.5.0
> testtools==2.6.0
> tooz==4.2.0
> uhashring==2.3
> unittest2==1.1.0
> urllib3==1.26.18
> vine==5.0.0
> voluptuous==0.12.2
> warlock==2.0.1
> wcwidth==0.2.5
> WebOb==1.8.6
> wrapt==1.15.0
> yappi==1.4.0
> zake==0.2.2
> zipp==1.0.0
> zope.event==5.0
> zope.interface==6.1
> + exit 1
> make[1]: *** [debian/rules:32: override_dh_install] Error 1
The full build log is available from:
http://qa-logs.debian.net/2023/12/12/manila_17.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-20231212;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lu...@debian.org&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.
--- End Message ---
--- Begin Message ---
Source: manila
Source-Version: 1:17.1.0-1
Done: Thomas Goirand <z...@debian.org>
We believe that the bug you reported is fixed in the latest version of
manila, 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 1058...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Goirand <z...@debian.org> (supplier of updated manila 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: SHA256
Format: 1.8
Date: Sun, 07 Jan 2024 12:31:11 +0100
Source: manila
Architecture: source
Version: 1:17.1.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <team+openst...@tracker.debian.org>
Changed-By: Thomas Goirand <z...@debian.org>
Closes: 1058162
Changes:
manila (1:17.1.0-1) unstable; urgency=medium
.
* New upstream release.
* Add upstream SQLAlchemy 2.x patches:
- sqla2.0-db_Rename_some_methods.patch
- sqla2.0-db_Rename_share_instances_-to-share_instance_.patch
- sqla2.0-db_Rename_share_export_location_-to-export_location_.patch
- sqla2.0-db_Add__share_get.patch
- sqla2.0-db_Add-_share_instance_get.patch
-
sqla2.0-db_Migrate-export-locations-export-location-metadata-APIs-to_enginefacade.patch
- sqla2.0-db_Convert-_ensure_availability_zone_exists-to-decorator.patch
- sqla2.0-db_Add-_share_update-_share_instance_update.patch
- sqla2.0-db_Migrate_transfer_APIs_to_enginefacade.patch
- sqla2.0-db_Migrate_remaining_transfer_APIs_to_enginefacade.patch
- sqla2.0-db_Remove_unnecessary_wrapper_class.patch
- sqla2.0-db_Remove_unnecessary_helper.patch
-
sqla2.0-db_Migrate-share_instance-share_replica-APIs-to-enginefacade.patch
* Add py3.12-use-assertAlmostEqual-not-failUnlessAlmostEqual.patch.
* Blacklist NetAppRestCmodeClientTestCase.test_remove_preferred_dcs
* The above fixes FTBFS (Closes: #1058162).
Checksums-Sha1:
d58b7f67ccb97462e5bbef0b17fdf5934214edd3 3774 manila_17.1.0-1.dsc
b0d37dba2c51b830d61e7eea6c62e68a7f7308e9 2323516 manila_17.1.0.orig.tar.xz
84ea0fcedf81455747f035f8bd6e99b2036e9d62 38264 manila_17.1.0-1.debian.tar.xz
6f99c2d53325c758dba9ec33c1d9f347ee72fe98 17790 manila_17.1.0-1_amd64.buildinfo
Checksums-Sha256:
71124a148f35f70c3d7ea5753a3b330dfe97b33b38aeecb1d207e447bfeee51f 3774
manila_17.1.0-1.dsc
6a3f68177099e7ca5219679fd30e922c1a8a406dc918f40cf8c544b06b77c8df 2323516
manila_17.1.0.orig.tar.xz
361b68407d0abe5cc214f627b0581b1425d27975906ebcf6df26edad7fb156fa 38264
manila_17.1.0-1.debian.tar.xz
f8221602d59ac74443c5198ce98c87bb1bf49096d54ef05620c0ff828be17b23 17790
manila_17.1.0-1_amd64.buildinfo
Files:
6f5da0ff62a86621ef15b7f04bf1663c 3774 net optional manila_17.1.0-1.dsc
d3ab9c174f0b6063d439280d6bed3251 2323516 net optional manila_17.1.0.orig.tar.xz
bf97f0f968214e3b315a6d6b9edf5f4a 38264 net optional
manila_17.1.0-1.debian.tar.xz
80206e9d4b54d4f2af8b2e89b98e8981 17790 net optional
manila_17.1.0-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmWa3qYACgkQ1BatFaxr
Q/6ajA//bWD32RhKZePkk9MlOl6JIzVu52LvYVpAleeNNG4WCADtgOdS3I94JFW4
4F8Iwv5JfUUh7tJ/LZcI3Z4nRTGlFrDXocglk4uS6JPtU+g3VYun3BDBmCkGLnEI
Gx0Bt0si5OJbojF/TQMGXGU6+/fX25WZMY56cXuo6HQIiT/B12FsaaTMA2ao9ngl
sX6ODXMKaVsV20cyJuZYY/bh1I4DiaoDezOfmFnTbvEfenDZKN4YuaBFUwf1Q5oO
96kBLh2jdyLmmcp/cFKLMbRbJ+hHz+NfTKXQfoHvBfvSgn4WFn9Zbl+X2QuP+0ZK
Yn9FpRoQTYqDby5RzLyOHdWDHF8TWwfMM8oNryXT/5B4gemU6kz6awOCZGrH5MMb
1kWsvXfgiDNRe0jiiD56wU9/8eIVZwoTMDJr1UKysNHp0BsCW9SM0K58pM4PDixM
ZTzzy+f/QqSNrtLkz7QrHTN97FP+PxO4/2gtxnVSKsJljHrOjw7vN90obD+hmjFG
5/tAfuo8UI4HWJbZawTyOr0YN6GhfuKHQFsHwKbsFOs6zSV234Ito4ftQ8+gBsYL
2waLi2vZgECmGca14KGrM/es6RYocw8/qro8mAMFLk9AOnw5QVPCCcQv7aZfpPmh
ktznjKUvsfj400FRW2olHuqUlLi2nr/mGtooELPKrn909Mg7j9Q=
=Vr4N
-----END PGP SIGNATURE-----
--- End Message ---