Source: keystone
Version: 2:20.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):
> ======================================================================
> FAIL: 
> keystone.tests.unit.test_backend_ldap.LdapIdentityWithMapping.test_authenticate_and_get_roles_no_metadata
> keystone.tests.unit.test_backend_ldap.LdapIdentityWithMapping.test_authenticate_and_get_roles_no_metadata
> ----------------------------------------------------------------------
> testtools.testresult.real._StringException: pythonlogging:'': {{{
> Adding cache-proxy 'oslo_cache.testing.CacheIsolatingProxy' to backend.
> Adding cache-proxy 'oslo_cache.testing.CacheIsolatingProxy' to backend.
> Adding cache-proxy 'oslo_cache.testing.CacheIsolatingProxy' to backend.
> No value present for key: 'keystone.resource.core:get_domain|default'
> NeedRegenerationException
> no value, waiting for create lock
> value creation lock <dogpile.cache.region.CacheRegion._LockWrapper object at 
> 0x7fbd236cf9a0> acquired
> No value present for key: 'keystone.resource.core:get_domain|default'
> Calling creation function for not-yet-present value
> Cache value generated in 0.009 seconds for key(s): 
> 'keystone.resource.core:get_domain|default'
> Released creation lock
> add item: dn=cn=eca09126311847028c2446e284b6f732,ou=Users,cn=example,cn=com, 
> attrs=[('objectClass', [b'person', b'inetOrgPerson']), ('cn', 
> [b'eca09126311847028c2446e284b6f732']), ('sn', [b'req_admin']), 
> ('userPassword', [b'password']), ('enabled', [b'TRUE'])]
> ID Mapping - Domain ID: default, Default Driver: True, Domains: False, UUIDs: 
> False, Compatible IDs: False
> Local ID: eca09126311847028c2446e284b6f732
> No value present for key: 'keystone.identity.core:_get_public_id|default 
> eca09126311847028c2446e284b6f732 user'
> NeedRegenerationException
> no value, waiting for create lock
> value creation lock <dogpile.cache.region.CacheRegion._LockWrapper object at 
> 0x7fbd2372a650> acquired
> No value present for key: 'keystone.identity.core:_get_public_id|default 
> eca09126311847028c2446e284b6f732 user'
> Calling creation function for not-yet-present value
> Cache value generated in 0.002 seconds for key(s): 
> 'keystone.identity.core:_get_public_id|default 
> eca09126311847028c2446e284b6f732 user'
> Released creation lock
> Created new mapping to public ID: 
> fd13ab8ff8589d8449ec7bf6536187a51f1a8a9690ad8382e86946cab037db7e
> add item: dn=cn=593accdc2e8949eabebe863b5eb8b9ee,ou=Users,cn=example,cn=com, 
> attrs=[('objectClass', [b'person', b'inetOrgPerson']), ('cn', 
> [b'593accdc2e8949eabebe863b5eb8b9ee']), ('sn', [b'foo']), ('userPassword', 
> [b'foo2']), ('enabled', [b'TRUE']), ('mail', [b'f...@bar.com'])]
> ID Mapping - Domain ID: default, Default Driver: True, Domains: False, UUIDs: 
> False, Compatible IDs: False
> Local ID: 593accdc2e8949eabebe863b5eb8b9ee
> No value present for key: 'keystone.identity.core:_get_public_id|default 
> 593accdc2e8949eabebe863b5eb8b9ee user'
> NeedRegenerationException
> no value, waiting for create lock
> value creation lock <dogpile.cache.region.CacheRegion._LockWrapper object at 
> 0x7fbd2a74c280> acquired
> No value present for key: 'keystone.identity.core:_get_public_id|default 
> 593accdc2e8949eabebe863b5eb8b9ee user'
> Calling creation function for not-yet-present value
> Cache value generated in 0.001 seconds for key(s): 
> 'keystone.identity.core:_get_public_id|default 
> 593accdc2e8949eabebe863b5eb8b9ee user'
> Released creation lock
> Created new mapping to public ID: 
> 0393067a3f50dd2d804bf2c3be82ef40461f1a1700e746ebb2674c7747b71ca4
> add item: dn=cn=8f161a0cd1484c48afa00e87e3521ded,ou=Users,cn=example,cn=com, 
> attrs=[('objectClass', [b'person', b'inetOrgPerson']), ('cn', 
> [b'8f161a0cd1484c48afa00e87e3521ded']), ('sn', [b'two']), ('userPassword', 
> [b'two2']), ('enabled', [b'TRUE']), ('mail', [b't...@three.com'])]
> ID Mapping - Domain ID: default, Default Driver: True, Domains: False, UUIDs: 
> False, Compatible IDs: False
> Local ID: 8f161a0cd1484c48afa00e87e3521ded
> No value present for key: 'keystone.identity.core:_get_public_id|default 
> 8f161a0cd1484c48afa00e87e3521ded user'
> NeedRegenerationException
> no value, waiting for create lock
> value creation lock <dogpile.cache.region.CacheRegion._LockWrapper object at 
> 0x7fbd2a74d780> acquired
> No value present for key: 'keystone.identity.core:_get_public_id|default 
> 8f161a0cd1484c48afa00e87e3521ded user'
> Calling creation function for not-yet-present value
> Cache value generated in 0.001 seconds for key(s): 
> 'keystone.identity.core:_get_public_id|default 
> 8f161a0cd1484c48afa00e87e3521ded user'
> Released creation lock
> Created new mapping to public ID: 
> 6933f32dd11618f4ebaffd77731c3fafea1887e59fcb412c1140437605ad2a8a
> add item: dn=cn=b9c6f9a0a1124fe6bbbea2324a02ed15,ou=Users,cn=example,cn=com, 
> attrs=[('objectClass', [b'person', b'inetOrgPerson']), ('cn', 
> [b'b9c6f9a0a1124fe6bbbea2324a02ed15']), ('sn', [b'badguy']), ('userPassword', 
> [b'bad']), ('enabled', [b'FALSE']), ('mail', [b'b...@guy.com'])]
> ID Mapping - Domain ID: default, Default Driver: True, Domains: False, UUIDs: 
> False, Compatible IDs: False
> Local ID: b9c6f9a0a1124fe6bbbea2324a02ed15
> No value present for key: 'keystone.identity.core:_get_public_id|default 
> b9c6f9a0a1124fe6bbbea2324a02ed15 user'
> NeedRegenerationException
> no value, waiting for create lock
> value creation lock <dogpile.cache.region.CacheRegion._LockWrapper object at 
> 0x7fbd25da3dc0> acquired
> No value present for key: 'keystone.identity.core:_get_public_id|default 
> b9c6f9a0a1124fe6bbbea2324a02ed15 user'
> Calling creation function for not-yet-present value
> Cache value generated in 0.001 seconds for key(s): 
> 'keystone.identity.core:_get_public_id|default 
> b9c6f9a0a1124fe6bbbea2324a02ed15 user'
> Released creation lock
> Created new mapping to public ID: 
> 77982593af45088b17598154821943922a1e6fe8e7117afad1ac290d4e327ee4
> add item: dn=cn=821228a999f7430e8b429003fd77696d,ou=Users,cn=example,cn=com, 
> attrs=[('objectClass', [b'person', b'inetOrgPerson']), ('cn', 
> [b'821228a999f7430e8b429003fd77696d']), ('sn', [b'sna']), ('userPassword', 
> [b'snafu']), ('enabled', [b'TRUE']), ('mail', [b's...@snl.coom'])]
> ID Mapping - Domain ID: default, Default Driver: True, Domains: False, UUIDs: 
> False, Compatible IDs: False
> Local ID: 821228a999f7430e8b429003fd77696d
> No value present for key: 'keystone.identity.core:_get_public_id|default 
> 821228a999f7430e8b429003fd77696d user'
> NeedRegenerationException
> no value, waiting for create lock
> value creation lock <dogpile.cache.region.CacheRegion._LockWrapper object at 
> 0x7fbd2a74c0d0> acquired
> No value present for key: 'keystone.identity.core:_get_public_id|default 
> 821228a999f7430e8b429003fd77696d user'
> Calling creation function for not-yet-present value
> Cache value generated in 0.001 seconds for key(s): 
> 'keystone.identity.core:_get_public_id|default 
> 821228a999f7430e8b429003fd77696d user'
> Released creation lock
> Created new mapping to public ID: 
> 90398446d3f350852e1adc4391677b4133bd3455c9c2426b910ef8b30dfbdf43
> add item: dn=cn=a9c8da01bee0423695fec1d052f14681,ou=Users,cn=example,cn=com, 
> attrs=[('objectClass', [b'person', b'inetOrgPerson']), ('sn', 
> [b'3af4b82f182f4d2d89ff0eb43d05980b']), ('enabled', [b'TRUE']), ('mail', 
> [b'175e05f3ba7c417db95e83d56b5b65b2']), ('userPassword', 
> [b'418f5375bc974aa38792c3f4df15ea08']), ('cn', 
> [b'a9c8da01bee0423695fec1d052f14681'])]
> ID Mapping - Domain ID: default, Default Driver: True, Domains: False, UUIDs: 
> False, Compatible IDs: False
> Local ID: a9c8da01bee0423695fec1d052f14681
> No value present for key: 'keystone.identity.core:_get_public_id|default 
> a9c8da01bee0423695fec1d052f14681 user'
> NeedRegenerationException
> no value, waiting for create lock
> value creation lock <dogpile.cache.region.CacheRegion._LockWrapper object at 
> 0x7fbd260546d0> acquired
> No value present for key: 'keystone.identity.core:_get_public_id|default 
> a9c8da01bee0423695fec1d052f14681 user'
> Calling creation function for not-yet-present value
> Cache value generated in 0.001 seconds for key(s): 
> 'keystone.identity.core:_get_public_id|default 
> a9c8da01bee0423695fec1d052f14681 user'
> Released creation lock
> Created new mapping to public ID: 
> a21775eb73acf152c9d26f6daee20ecf3200bed1278d59b3c27bfd520da50893
> No value present for key: 
> 'keystone.identity.core:get_user|a21775eb73acf152c9d26f6daee20ecf3200bed1278d59b3c27bfd520da50893'
> NeedRegenerationException
> no value, waiting for create lock
> value creation lock <dogpile.cache.region.CacheRegion._LockWrapper object at 
> 0x7fbd260548e0> acquired
> No value present for key: 
> 'keystone.identity.core:get_user|a21775eb73acf152c9d26f6daee20ecf3200bed1278d59b3c27bfd520da50893'
> Calling creation function for not-yet-present value
> ID Mapping - Domain ID: default, Default Driver: True, Domains: False, UUIDs: 
> False, Compatible IDs: False
> Local ID: a9c8da01bee0423695fec1d052f14681
> Found existing mapping to public ID: 
> a21775eb73acf152c9d26f6daee20ecf3200bed1278d59b3c27bfd520da50893
> Cache value generated in 0.003 seconds for key(s): 
> 'keystone.identity.core:get_user|a21775eb73acf152c9d26f6daee20ecf3200bed1278d59b3c27bfd520da50893'
> Released creation lock
> ID Mapping - Domain ID: default, Default Driver: True, Domains: False, UUIDs: 
> False, Compatible IDs: False
> Local ID: a9c8da01bee0423695fec1d052f14681
> Found existing mapping to public ID: 
> a21775eb73acf152c9d26f6daee20ecf3200bed1278d59b3c27bfd520da50893
> No value present for key: 
> "keystone.identity.core:_shadow_nonlocal_user|{'id': 
> 'a21775eb73acf152c9d26f6daee20ecf3200bed1278d59b3c27bfd520da50893', 'name': 
> '3af4b82f182f4d2d89ff0eb43d05980b', 'email': 
> '175e05f3ba7c417db95e83d56b5b65b2', 'enabled': True, 'options': {}, 
> 'password_expires_at': None, 'domain_id': 'default'}"
> NeedRegenerationException
> no value, waiting for create lock
> value creation lock <dogpile.cache.region.CacheRegion._LockWrapper object at 
> 0x7fbd260551b0> acquired
> No value present for key: 
> "keystone.identity.core:_shadow_nonlocal_user|{'id': 
> 'a21775eb73acf152c9d26f6daee20ecf3200bed1278d59b3c27bfd520da50893', 'name': 
> '3af4b82f182f4d2d89ff0eb43d05980b', 'email': 
> '175e05f3ba7c417db95e83d56b5b65b2', 'enabled': True, 'options': {}, 
> 'password_expires_at': None, 'domain_id': 'default'}"
> Calling creation function for not-yet-present value
> Cache value generated in 0.010 seconds for key(s): 
> "keystone.identity.core:_shadow_nonlocal_user|{'id': 
> 'a21775eb73acf152c9d26f6daee20ecf3200bed1278d59b3c27bfd520da50893', 'name': 
> '3af4b82f182f4d2d89ff0eb43d05980b', 'email': 
> '175e05f3ba7c417db95e83d56b5b65b2', 'enabled': True, 'options': {}, 
> 'password_expires_at': None, 'domain_id': 'default'}"
> Released creation lock
> }}}
> 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/keystone/tests/unit/identity/test_backends.py", line 
> 94, in test_authenticate_and_get_roles_no_metadata
>     self.assertDictContainsSubset(user, user_ref)
>   File "/usr/lib/python3.10/unittest/case.py", line 1148, in 
> assertDictContainsSubset
>     warnings.warn('assertDictContainsSubset is deprecated',
> DeprecationWarning: assertDictContainsSubset is deprecated
> 
> 
> make[1]: *** [debian/rules:55: override_dh_install] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/12/20/keystone_20.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.

Reply via email to