Your message dated Wed, 07 Feb 2024 19:19:06 +0000
with message-id <e1rxnrq-004b6c...@fasolo.debian.org>
and subject line Bug#1058366: fixed in beaker 1.12.1-3
has caused the Debian Bug report #1058366,
regarding beaker: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i 
python{version} -p "3.12 3.11" 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.)


-- 
1058366: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058366
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: beaker
Version: 1.12.1-1.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):
>  debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:310: python3.12 setup.py config 
> running config
> I: pybuild base:310: python3.11 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:310: /usr/bin/python3.12 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker
> copying beaker/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker
> copying beaker/converters.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker
> copying beaker/session.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker
> copying beaker/container.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker
> copying beaker/exceptions.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker
> copying beaker/middleware.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker
> copying beaker/synchronization.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker
> copying beaker/_compat.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker
> copying beaker/cookie.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker
> copying beaker/util.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker
> copying beaker/cache.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/crypto
> copying beaker/crypto/pycrypto.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/crypto
> copying beaker/crypto/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/crypto
> copying beaker/crypto/pyca_cryptography.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/crypto
> copying beaker/crypto/jcecrypto.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/crypto
> copying beaker/crypto/pbkdf2.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/crypto
> copying beaker/crypto/nsscrypto.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/crypto
> copying beaker/crypto/noencryption.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/crypto
> copying beaker/crypto/util.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/crypto
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/ext
> copying beaker/ext/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/ext
> copying beaker/ext/redisnm.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/ext
> copying beaker/ext/sqla.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/ext
> copying beaker/ext/database.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/ext
> copying beaker/ext/memcached.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/ext
> copying beaker/ext/mongodb.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/ext
> copying beaker/ext/google.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/ext
> I: pybuild base:310: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker
> copying beaker/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker
> copying beaker/converters.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker
> copying beaker/session.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker
> copying beaker/container.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker
> copying beaker/exceptions.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker
> copying beaker/middleware.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker
> copying beaker/synchronization.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker
> copying beaker/_compat.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker
> copying beaker/cookie.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker
> copying beaker/util.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker
> copying beaker/cache.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/crypto
> copying beaker/crypto/pycrypto.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/crypto
> copying beaker/crypto/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/crypto
> copying beaker/crypto/pyca_cryptography.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/crypto
> copying beaker/crypto/jcecrypto.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/crypto
> copying beaker/crypto/pbkdf2.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/crypto
> copying beaker/crypto/nsscrypto.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/crypto
> copying beaker/crypto/noencryption.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/crypto
> copying beaker/crypto/util.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/crypto
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/ext
> copying beaker/ext/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/ext
> copying beaker/ext/redisnm.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/ext
> copying beaker/ext/sqla.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/ext
> copying beaker/ext/database.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/ext
> copying beaker/ext/memcached.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/ext
> copying beaker/ext/mongodb.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/ext
> copying beaker/ext/google.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/ext
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build; 
> python3.12 -m pytest --ignore=tests/test_memcached.py 
> --ignore-glob=tests/test_managers/test_ext_*.py -k 'not 
> test_cookie_expires_different_locale'
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> configfile: setup.cfg
> plugins: cov-4.1.0
> collected 122 items / 1 deselected / 1 skipped / 121 selected
> 
> tests/test_cache.py .............                                        [ 
> 10%]
> tests/test_cache_decorator.py ..............                             [ 
> 22%]
> tests/test_cachemanager.py .........                                     [ 
> 29%]
> tests/test_container.py .............                                    [ 
> 40%]
> tests/test_converters.py ........                                        [ 
> 47%]
> tests/test_cookie_domain_only.py ..                                      [ 
> 48%]
> tests/test_cookie_expires.py ...                                         [ 
> 51%]
> tests/test_database.py ......                                            [ 
> 56%]
> tests/test_domain_setting.py ..                                          [ 
> 57%]
> tests/test_increment.py ........                                         [ 
> 64%]
> tests/test_namespacing.py .                                              [ 
> 65%]
> tests/test_pbkdf2.py .....                                               [ 
> 69%]
> tests/test_session.py F.......FFFF..........                             [ 
> 87%]
> tests/test_sqla.py ......                                                [ 
> 92%]
> tests/test_syncdict.py ..                                                [ 
> 94%]
> tests/test_synchronizer.py ...                                           [ 
> 96%]
> tests/test_unicode_cache_keys.py ....                                    
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _________________________________ test_session 
> _________________________________
> 
>     def test_session():
>         setup_cookie_request()
>         for test_case in (
>             check_save_load,
>             check_save_load_encryption,
>             check_save_load_encryption_cryptography,
>             check_decryption_failure,
>             check_delete,
>             check_revert,
>             check_invalidate,
>             check_timeout,
>         ):
>             for session_getter in (get_session, get_cookie_session,):
>                 setup_cookie_request()
> >               test_case(session_getter)
> 
> tests/test_session.py:57: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> tests/test_session.py:81: in check_save_load_encryption
>     session = session_getter(encrypt_key='666a19cf7f61c64c',
> tests/test_session.py:40: in get_cookie_session
>     return CookieSession(COOKIE_REQUEST, **options)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = {'_domain': None, '_path': '/'}, request = {}, key = 
> 'beaker.session.id'
> timeout = None, save_accessed_time = True, cookie_expires = True
> cookie_domain = None, cookie_path = '/', encrypt_key = '666a19cf7f61c64c'
> validate_key = 'hoobermas', secure = False, httponly = False
> data_serializer = 'pickle', encrypt_nonce_bits = 128, invalidate_corrupt = 
> False
> crypto_type = 'default', samesite = 'Lax', kwargs = {}
> 
>     def __init__(self, request, key='beaker.session.id', timeout=None,
>                  save_accessed_time=True, cookie_expires=True, 
> cookie_domain=None,
>                  cookie_path='/', encrypt_key=None, validate_key=None, 
> secure=False,
>                  httponly=False, data_serializer='pickle',
>                  encrypt_nonce_bits=DEFAULT_NONCE_BITS, 
> invalidate_corrupt=False,
>                  crypto_type='default', samesite='Lax',
>                  **kwargs):
>         _ConfigurableSession.__init__(
>             self,
>             cookie_domain=cookie_domain,
>             cookie_path=cookie_path
>         )
>         self.clear()
>     
>         self.crypto_module = get_crypto_module(crypto_type)
>     
>         if encrypt_key and not self.crypto_module.has_aes:
> >           raise InvalidCryptoBackendError("No AES library is installed, 
> > can't generate "
>                                             "encrypted cookie-only Session.")
> E           beaker.exceptions.InvalidCryptoBackendError: No AES library is 
> installed, can't generate encrypted cookie-only Session.
> 
> beaker/session.py:597: InvalidCryptoBackendError
> _________________________ test_invalidate_empty_cookie 
> _________________________
> 
>     def test_invalidate_empty_cookie():
>         setup_cookie_request()
>         kwargs = {'validate_key': 'test_key', 'encrypt_key': 'encrypt'}
> >       session = get_cookie_session(**kwargs)
> 
> tests/test_session.py:431: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> tests/test_session.py:40: in get_cookie_session
>     return CookieSession(COOKIE_REQUEST, **options)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = {'_domain': None, '_path': '/'}, request = {}, key = 
> 'beaker.session.id'
> timeout = None, save_accessed_time = True, cookie_expires = True
> cookie_domain = None, cookie_path = '/', encrypt_key = 'encrypt'
> validate_key = 'test_key', secure = False, httponly = False
> data_serializer = 'pickle', encrypt_nonce_bits = 128, invalidate_corrupt = 
> False
> crypto_type = 'default', samesite = 'Lax', kwargs = {}
> 
>     def __init__(self, request, key='beaker.session.id', timeout=None,
>                  save_accessed_time=True, cookie_expires=True, 
> cookie_domain=None,
>                  cookie_path='/', encrypt_key=None, validate_key=None, 
> secure=False,
>                  httponly=False, data_serializer='pickle',
>                  encrypt_nonce_bits=DEFAULT_NONCE_BITS, 
> invalidate_corrupt=False,
>                  crypto_type='default', samesite='Lax',
>                  **kwargs):
>         _ConfigurableSession.__init__(
>             self,
>             cookie_domain=cookie_domain,
>             cookie_path=cookie_path
>         )
>         self.clear()
>     
>         self.crypto_module = get_crypto_module(crypto_type)
>     
>         if encrypt_key and not self.crypto_module.has_aes:
> >           raise InvalidCryptoBackendError("No AES library is installed, 
> > can't generate "
>                                             "encrypted cookie-only Session.")
> E           beaker.exceptions.InvalidCryptoBackendError: No AES library is 
> installed, can't generate encrypted cookie-only Session.
> 
> beaker/session.py:597: InvalidCryptoBackendError
> ____________________________ test_unrelated_cookie 
> _____________________________
> 
>     def test_unrelated_cookie():
>         setup_cookie_request()
>         kwargs = {'validate_key': 'test_key', 'encrypt_key': 'encrypt'}
> >       session = get_cookie_session(**kwargs)
> 
> tests/test_session.py:443: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> tests/test_session.py:40: in get_cookie_session
>     return CookieSession(COOKIE_REQUEST, **options)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = {'_domain': None, '_path': '/'}, request = {}, key = 
> 'beaker.session.id'
> timeout = None, save_accessed_time = True, cookie_expires = True
> cookie_domain = None, cookie_path = '/', encrypt_key = 'encrypt'
> validate_key = 'test_key', secure = False, httponly = False
> data_serializer = 'pickle', encrypt_nonce_bits = 128, invalidate_corrupt = 
> False
> crypto_type = 'default', samesite = 'Lax', kwargs = {}
> 
>     def __init__(self, request, key='beaker.session.id', timeout=None,
>                  save_accessed_time=True, cookie_expires=True, 
> cookie_domain=None,
>                  cookie_path='/', encrypt_key=None, validate_key=None, 
> secure=False,
>                  httponly=False, data_serializer='pickle',
>                  encrypt_nonce_bits=DEFAULT_NONCE_BITS, 
> invalidate_corrupt=False,
>                  crypto_type='default', samesite='Lax',
>                  **kwargs):
>         _ConfigurableSession.__init__(
>             self,
>             cookie_domain=cookie_domain,
>             cookie_path=cookie_path
>         )
>         self.clear()
>     
>         self.crypto_module = get_crypto_module(crypto_type)
>     
>         if encrypt_key and not self.crypto_module.has_aes:
> >           raise InvalidCryptoBackendError("No AES library is installed, 
> > can't generate "
>                                             "encrypted cookie-only Session.")
> E           beaker.exceptions.InvalidCryptoBackendError: No AES library is 
> installed, can't generate encrypted cookie-only Session.
> 
> beaker/session.py:597: InvalidCryptoBackendError
> ____________________ test_invalidate_invalid_signed_cookie 
> _____________________
> 
>     def test_invalidate_invalid_signed_cookie():
>         setup_cookie_request()
>         kwargs = {'validate_key': 'test_key', 'encrypt_key': 'encrypt'}
> >       session = get_cookie_session(**kwargs)
> 
> tests/test_session.py:455: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> tests/test_session.py:40: in get_cookie_session
>     return CookieSession(COOKIE_REQUEST, **options)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = {'_domain': None, '_path': '/'}, request = {}, key = 
> 'beaker.session.id'
> timeout = None, save_accessed_time = True, cookie_expires = True
> cookie_domain = None, cookie_path = '/', encrypt_key = 'encrypt'
> validate_key = 'test_key', secure = False, httponly = False
> data_serializer = 'pickle', encrypt_nonce_bits = 128, invalidate_corrupt = 
> False
> crypto_type = 'default', samesite = 'Lax', kwargs = {}
> 
>     def __init__(self, request, key='beaker.session.id', timeout=None,
>                  save_accessed_time=True, cookie_expires=True, 
> cookie_domain=None,
>                  cookie_path='/', encrypt_key=None, validate_key=None, 
> secure=False,
>                  httponly=False, data_serializer='pickle',
>                  encrypt_nonce_bits=DEFAULT_NONCE_BITS, 
> invalidate_corrupt=False,
>                  crypto_type='default', samesite='Lax',
>                  **kwargs):
>         _ConfigurableSession.__init__(
>             self,
>             cookie_domain=cookie_domain,
>             cookie_path=cookie_path
>         )
>         self.clear()
>     
>         self.crypto_module = get_crypto_module(crypto_type)
>     
>         if encrypt_key and not self.crypto_module.has_aes:
> >           raise InvalidCryptoBackendError("No AES library is installed, 
> > can't generate "
>                                             "encrypted cookie-only Session.")
> E           beaker.exceptions.InvalidCryptoBackendError: No AES library is 
> installed, can't generate encrypted cookie-only Session.
> 
> beaker/session.py:597: InvalidCryptoBackendError
> ___________ test_invalidate_invalid_signed_cookie_invalidate_corrupt 
> ___________
> 
>     def test_invalidate_invalid_signed_cookie_invalidate_corrupt():
>         setup_cookie_request()
>         kwargs = {'validate_key': 'test_key', 'encrypt_key': 'encrypt'}
> >       session = get_cookie_session(**kwargs)
> 
> tests/test_session.py:472: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> tests/test_session.py:40: in get_cookie_session
>     return CookieSession(COOKIE_REQUEST, **options)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = {'_domain': None, '_path': '/'}, request = {}, key = 
> 'beaker.session.id'
> timeout = None, save_accessed_time = True, cookie_expires = True
> cookie_domain = None, cookie_path = '/', encrypt_key = 'encrypt'
> validate_key = 'test_key', secure = False, httponly = False
> data_serializer = 'pickle', encrypt_nonce_bits = 128, invalidate_corrupt = 
> False
> crypto_type = 'default', samesite = 'Lax', kwargs = {}
> 
>     def __init__(self, request, key='beaker.session.id', timeout=None,
>                  save_accessed_time=True, cookie_expires=True, 
> cookie_domain=None,
>                  cookie_path='/', encrypt_key=None, validate_key=None, 
> secure=False,
>                  httponly=False, data_serializer='pickle',
>                  encrypt_nonce_bits=DEFAULT_NONCE_BITS, 
> invalidate_corrupt=False,
>                  crypto_type='default', samesite='Lax',
>                  **kwargs):
>         _ConfigurableSession.__init__(
>             self,
>             cookie_domain=cookie_domain,
>             cookie_path=cookie_path
>         )
>         self.clear()
>     
>         self.crypto_module = get_crypto_module(crypto_type)
>     
>         if encrypt_key and not self.crypto_module.has_aes:
> >           raise InvalidCryptoBackendError("No AES library is installed, 
> > can't generate "
>                                             "encrypted cookie-only Session.")
> E           beaker.exceptions.InvalidCryptoBackendError: No AES library is 
> installed, can't generate encrypted cookie-only Session.
> 
> beaker/session.py:597: InvalidCryptoBackendError
> =============================== warnings summary 
> ===============================
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
>   /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373: 
> PytestConfigWarning: Unknown config option: cover-inclusive
>   
>     self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
> 
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
>   /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373: 
> PytestConfigWarning: Unknown config option: cover-package
>   
>     self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
> 
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
>   /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373: 
> PytestConfigWarning: Unknown config option: detailed-errors
>   
>     self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
> 
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
>   /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373: 
> PytestConfigWarning: Unknown config option: ignore-files
>   
>     self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
> 
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
>   /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373: 
> PytestConfigWarning: Unknown config option: verbose
>   
>     self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
> 
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
>   /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373: 
> PytestConfigWarning: Unknown config option: where
>   
>     self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
> 
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
>   /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373: 
> PytestConfigWarning: Unknown config option: with-doctest
>   
>     self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
> 
> ../../../../../../usr/lib/python3/dist-packages/bson/__init__.py:116
>   /usr/lib/python3/dist-packages/bson/__init__.py:116: DeprecationWarning: 
> datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal 
> in a future version. Use timezone-aware objects to represent datetimes in 
> UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
>     EPOCH_NAIVE = datetime.datetime.utcfromtimestamp(0)
> 
> ../../../../../../usr/lib/python3/dist-packages/webob/compat.py:5
>   /usr/lib/python3/dist-packages/webob/compat.py:5: DeprecationWarning: 'cgi' 
> is deprecated and slated for removal in Python 3.13
>     from cgi import parse_header
> 
> ../../../../../../usr/lib/python3/dist-packages/sqlalchemy/sql/sqltypes.py:2061
>   /usr/lib/python3/dist-packages/sqlalchemy/sql/sqltypes.py:2061: 
> DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and 
> scheduled for removal in a future version. Use timezone-aware objects to 
> represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, 
> datetime.UTC).
>     epoch = dt.datetime.utcfromtimestamp(0)
> 
> .pybuild/cpython3_3.12_beaker/build/tests/test_cache.py::test_clsmap_nonexistent
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/cache.py:83: 
> DeprecationWarning: pkg_resources is deprecated as an API. See 
> https://setuptools.pypa.io/en/latest/pkg_resources.html
>     import pkg_resources
> 
> .pybuild/cpython3_3.12_beaker/build/tests/test_cache.py::test_legacy_cache
> .pybuild/cpython3_3.12_beaker/build/tests/test_cache.py::test_legacy_cache
> .pybuild/cpython3_3.12_beaker/build/tests/test_cache.py::test_legacy_cache
> .pybuild/cpython3_3.12_beaker/build/tests/test_cache.py::test_legacy_cache
> .pybuild/cpython3_3.12_beaker/build/tests/test_cache.py::test_legacy_cache
> .pybuild/cpython3_3.12_beaker/build/tests/test_cache.py::test_legacy_cache
> .pybuild/cpython3_3.12_beaker/build/tests/test_cache.py::test_legacy_cache
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/cache.py:335: 
> DeprecationWarning: Specifying a 'type' and other namespace configuration 
> with cache.get()/put()/etc. is deprecated. Specify 'type' and other namespace 
> configuration to cache_manager.get_cache() and/or the Cache constructor 
> instead.
>     return self._legacy_get_value(key, **kw)
> 
> .pybuild/cpython3_3.12_beaker/build/tests/test_session.py::test_cookies_enabled
> .pybuild/cpython3_3.12_beaker/build/tests/test_session.py::test_load_deleted_from_storage_session__not_loaded
> .pybuild/cpython3_3.12_beaker/build/tests/test_session.py::TestSessionObject::test_no_autosave_saves_with_delete
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/beaker/session.py:378: 
> DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled 
> for removal in a future version. Use timezone-aware objects to represent 
> datetimes in UTC: datetime.datetime.now(datetime.UTC).
>     expires = datetime.utcnow() - timedelta(365)
> 
> .pybuild/cpython3_3.12_beaker/build/tests/test_session.py::test_invalidate_corrupt
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build/tests/test_session.py:24:
>  BeakerWarning: Invalidating corrupt session 
> e795372affa34b349e6c1683b85932ec; error was: pickle data was truncated.  Set 
> invalidate_corrupt=False to propagate this exception.
>     return Session({}, **options)
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info 
> ============================
> FAILED tests/test_session.py::test_session - 
> beaker.exceptions.InvalidCryptoB...
> FAILED tests/test_session.py::test_invalidate_empty_cookie - 
> beaker.exception...
> FAILED tests/test_session.py::test_unrelated_cookie - 
> beaker.exceptions.Inval...
> FAILED tests/test_session.py::test_invalidate_invalid_signed_cookie - 
> beaker....
> FAILED 
> tests/test_session.py::test_invalidate_invalid_signed_cookie_invalidate_corrupt
> = 5 failed, 116 passed, 1 skipped, 1 deselected, 22 warnings in 146.38s 
> (0:02:26) =
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_beaker/build; python3.12 -m pytest 
> --ignore=tests/test_memcached.py 
> --ignore-glob=tests/test_managers/test_ext_*.py -k 'not 
> test_cookie_expires_different_locale'
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build; 
> python3.11 -m pytest --ignore=tests/test_memcached.py 
> --ignore-glob=tests/test_managers/test_ext_*.py -k 'not 
> test_cookie_expires_different_locale'
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> configfile: setup.cfg
> plugins: cov-4.1.0
> collected 142 items / 1 deselected / 141 selected
> 
> tests/test_cache.py .............                                        [  
> 9%]
> tests/test_cache_decorator.py ..............                             [ 
> 19%]
> tests/test_cachemanager.py .........                                     [ 
> 25%]
> tests/test_container.py .............                                    [ 
> 34%]
> tests/test_converters.py ........                                        [ 
> 40%]
> tests/test_cookie_domain_only.py ..                                      [ 
> 41%]
> tests/test_cookie_expires.py ...                                         [ 
> 43%]
> tests/test_cookie_only.py ....................                           [ 
> 58%]
> tests/test_database.py ......                                            [ 
> 62%]
> tests/test_domain_setting.py ..                                          [ 
> 63%]
> tests/test_increment.py ........                                         [ 
> 69%]
> tests/test_namespacing.py .                                              [ 
> 70%]
> tests/test_pbkdf2.py .....                                               [ 
> 73%]
> tests/test_session.py ......................                             [ 
> 89%]
> tests/test_sqla.py ......                                                [ 
> 93%]
> tests/test_syncdict.py ..                                                [ 
> 95%]
> tests/test_synchronizer.py ...                                           [ 
> 97%]
> tests/test_unicode_cache_keys.py ....                                    
> [100%]
> 
> =============================== warnings summary 
> ===============================
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
>   /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373: 
> PytestConfigWarning: Unknown config option: cover-inclusive
>   
>     self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
> 
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
>   /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373: 
> PytestConfigWarning: Unknown config option: cover-package
>   
>     self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
> 
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
>   /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373: 
> PytestConfigWarning: Unknown config option: detailed-errors
>   
>     self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
> 
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
>   /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373: 
> PytestConfigWarning: Unknown config option: ignore-files
>   
>     self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
> 
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
>   /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373: 
> PytestConfigWarning: Unknown config option: verbose
>   
>     self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
> 
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
>   /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373: 
> PytestConfigWarning: Unknown config option: where
>   
>     self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
> 
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
>   /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373: 
> PytestConfigWarning: Unknown config option: with-doctest
>   
>     self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
> 
> ../../../../../../usr/lib/python3/dist-packages/webob/compat.py:5
>   /usr/lib/python3/dist-packages/webob/compat.py:5: DeprecationWarning: 'cgi' 
> is deprecated and slated for removal in Python 3.13
>     from cgi import parse_header
> 
> .pybuild/cpython3_3.11_beaker/build/tests/test_cache.py::test_clsmap_nonexistent
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/cache.py:83: 
> DeprecationWarning: pkg_resources is deprecated as an API. See 
> https://setuptools.pypa.io/en/latest/pkg_resources.html
>     import pkg_resources
> 
> .pybuild/cpython3_3.11_beaker/build/tests/test_cache.py::test_legacy_cache
> .pybuild/cpython3_3.11_beaker/build/tests/test_cache.py::test_legacy_cache
> .pybuild/cpython3_3.11_beaker/build/tests/test_cache.py::test_legacy_cache
> .pybuild/cpython3_3.11_beaker/build/tests/test_cache.py::test_legacy_cache
> .pybuild/cpython3_3.11_beaker/build/tests/test_cache.py::test_legacy_cache
> .pybuild/cpython3_3.11_beaker/build/tests/test_cache.py::test_legacy_cache
> .pybuild/cpython3_3.11_beaker/build/tests/test_cache.py::test_legacy_cache
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/cache.py:335: 
> DeprecationWarning: Specifying a 'type' and other namespace configuration 
> with cache.get()/put()/etc. is deprecated. Specify 'type' and other namespace 
> configuration to cache_manager.get_cache() and/or the Cache constructor 
> instead.
>     return self._legacy_get_value(key, **kw)
> 
> .pybuild/cpython3_3.11_beaker/build/tests/test_cookie_only.py::test_changing_encrypt_key_with_timeout
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/beaker/session.py:785: 
> BeakerWarning: Invalidating corrupt session c0e468a4bb2f4036bc2779ef34c7cf89; 
> error was: (SEC_ERROR_BAD_DATA) security library: received bad data..  Set 
> invalidate_corrupt=False to propagate this exception.
>     self.__dict__['_sess'] = session_cls(req, **params)
> 
> .pybuild/cpython3_3.11_beaker/build/tests/test_session.py::test_session
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/tests/test_session.py:24:
>  BeakerWarning: Invalidating corrupt session 
> fe8d5d59b1e04f9ea99a1f14f6f2386a; error was: (SEC_ERROR_BAD_DATA) security 
> library: received bad data..  Set invalidate_corrupt=False to propagate this 
> exception.
>     return Session({}, **options)
> 
> .pybuild/cpython3_3.11_beaker/build/tests/test_session.py::test_session
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/tests/test_session.py:40:
>  BeakerWarning: Invalidating corrupt session 
> e66b751367d24726a951eddc2a576416; error was: (SEC_ERROR_BAD_DATA) security 
> library: received bad data..  Set invalidate_corrupt=False to propagate this 
> exception.
>     return CookieSession(COOKIE_REQUEST, **options)
> 
> .pybuild/cpython3_3.11_beaker/build/tests/test_session.py::test_invalidate_corrupt
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/tests/test_session.py:24:
>  BeakerWarning: Invalidating corrupt session 
> 547428add28f4134a40f28038b4c8ae0; error was: pickle data was truncated.  Set 
> invalidate_corrupt=False to propagate this exception.
>     return Session({}, **options)
> 
> .pybuild/cpython3_3.11_beaker/build/tests/test_session.py::test_invalidate_invalid_signed_cookie_invalidate_corrupt
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_beaker/build/tests/test_session.py:40:
>  BeakerWarning: Invalidating corrupt session 
> dac4011dd229448f9899d9b1988dfedb; error was: Invalid signature.  Set 
> invalidate_corrupt=False to propagate this exception.
>     return CookieSession(COOKIE_REQUEST, **options)
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> ========== 141 passed, 1 deselected, 21 warnings in 151.28s (0:02:31) 
> ==========
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 
> 3.11" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/beaker_1.12.1-1.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: beaker
Source-Version: 1.12.1-3
Done: Andreas Tille <ti...@debian.org>

We believe that the bug you reported is fixed in the latest version of
beaker, 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.
Andreas Tille <ti...@debian.org> (supplier of updated beaker 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: Wed, 07 Feb 2024 19:06:02 +0100
Source: beaker
Architecture: source
Version: 1.12.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Andreas Tille <ti...@debian.org>
Closes: 1058366
Changes:
 beaker (1.12.1-3) unstable; urgency=medium
 .
   * Team upload.
   * Reorder sequence of d/control fields by cme (routine-update)
   * Build-Depends: s/dh-python/dh-sequence-python3/ (routine-update)
   * Use nocheck profile instead of comment
   * Versioned Build-Depends: python3-pycryptodome (>= 3.20)
     Closes: #1058366
   * Drop python3-pycryptopp from alternatives since this was removed
     from Debian
Checksums-Sha1:
 16754270ec62c261198e11aa38592aecbfb23c03 2290 beaker_1.12.1-3.dsc
 c368c9bb780b1d74de04d4f17c37f4a28d3def89 6644 beaker_1.12.1-3.debian.tar.xz
 421a632fa75f272b769cd0a668a97e9a2d57170b 7973 beaker_1.12.1-3_amd64.buildinfo
Checksums-Sha256:
 7fb9e4e704f419cbd1b7b9ced90936aec5e100ee471facdc5ebf61a0e91b002a 2290 
beaker_1.12.1-3.dsc
 b8e3ab97ec1e15aec779aad430172b5b20fd8e3cd889d26cdaba583372387815 6644 
beaker_1.12.1-3.debian.tar.xz
 dc4e6e3e216ae684b7a4057299ebbe826af31f48efd96565ea1519a98a3bfb01 7973 
beaker_1.12.1-3_amd64.buildinfo
Files:
 4dab710e47dd34b2cf53d84f453df400 2290 python optional beaker_1.12.1-3.dsc
 c8dcb1e428ed5219a59b9805c12bd2d2 6644 python optional 
beaker_1.12.1-3.debian.tar.xz
 92065588df21f1a78278058a674bd75e 7973 python optional 
beaker_1.12.1-3_amd64.buildinfo

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

iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmXDxwURHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtFXqQ//c5zkHYjxJ/+5b2S8X3+9mRm+TtWuVCvx
QnEqL1w7UGERduZYwjHk0YlTJs+Ubiq4jjO4aAHuz8sLQzN83yvOIJac3M5VA/IV
ypawg75PFLFIEsmHxnqkxFE1Po6ifQoMePwkKPGQwiGwgudONNLvm1ZyK4Khlsn0
xlBdvx3yY8ZnaoQf5jyGFQJblsqSPmlsPmwT7b7pv9IvDzAHc+0vjsuew5yDqzLp
dqN3Ty9b2JiftW7ptPr/dU4pmlErmBEsTgzZvu4V3bdMBALrUnOFUCg1l9CYp2bp
j4piflxPca1L7c9tjKi6VBR+w3E+O/Irg5RQQ6QByDXRG8HZZ9ZzSgjHW9B/7y+f
x7PGOxIFXEBSX8QrOYOhcmKYj8IyEQPY9WwA1HY7IJzv93vRMoe4xKcumqXn0Jn8
DfyXaQ6kJXRSGtW8FJROYyJZaMc8OLZNA6k6HKDKFkxEtyj4Qjvi9HUILojQm4FY
lsggbpj/s3O2ZNYeSLiIaNWK3tI7AWyOm8gOmJ4jtBmxi96k5zjFnZDp8ucCn+qx
RCHhsLZtD/9MbY2VDlT4i5xDy525h6mMgdYfV7H3ODHg3m2X1UsfRw2GWxEKdCXu
blGb8sMpP7BvsjkfttnxT7OWBkP8dykCHu1Mgll/U7qVkpipxjyrUOQE5IHO0Mho
tbrv9yjkN4k=
=xSZa
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to