[PKG-Openstack-devel] Bug#909993: python-google-auth: FTBFS (AssertionError: Pattern 'Incorrect padding' not found)

Santiago Vila sanvila at debian.org
Mon Oct 1 00:03:58 BST 2018


Package: src:python-google-auth
Version: 1.3.0-2
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
dh build-indep --buildsystem=python_distutils --with python2,python3
   dh_update_autotools_config -i -O--buildsystem=python_distutils
   dh_autoreconf -i -O--buildsystem=python_distutils
   dh_auto_configure -i -O--buildsystem=python_distutils
dh_auto_configure: Please use the third-party "pybuild" build system instead of python-distutils
dh_auto_configure: This feature will be removed in compat 12.
   dh_auto_build -i -O--buildsystem=python_distutils
dh_auto_build: Please use the third-party "pybuild" build system instead of python-distutils
dh_auto_build: This feature will be removed in compat 12.
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions

[... snipped ...]

tests/transport/test_requests.py ..........                              [ 94%]
tests/transport/test_urllib3.py .............                            [100%]

==================== 243 passed, 4 skipped in 21.73 seconds ====================
============================= test session starts ==============================
platform linux -- Python 3.7.0, pytest-3.6.4, py-1.6.0, pluggy-0.6.0
rootdir: /<<PKGBUILDDIR>>, inifile:
plugins: localserver-0.3.7
collected 247 items

tests/test__cloud_sdk.py ............                                    [  4%]
tests/test__default.py ..........................                        [ 15%]
tests/test__helpers.py ..................                                [ 22%]
tests/test__oauth2client.py .........                                    [ 26%]
tests/test__service_account_info.py ....                                 [ 27%]
tests/test_app_engine.py .............                                   [ 33%]
tests/test_credentials.py ............                                   [ 38%]
tests/test_iam.py ....                                                   [ 39%]
tests/test_jwt.py ......F.....................................           [ 57%]
tests/compute_engine/test__metadata.py ............                      [ 62%]
tests/compute_engine/test_credentials.py ....                            [ 63%]
tests/crypt/test__python_rsa.py ..................                       [ 71%]
tests/crypt/test_crypt.py ..                                             [ 72%]
tests/oauth2/test__client.py ..........                                  [ 76%]
tests/oauth2/test_credentials.py ....                                    [ 77%]
tests/oauth2/test_id_token.py ......                                     [ 80%]
tests/oauth2/test_service_account.py ...............                     [ 86%]
tests/transport/test__http_client.py .......                             [ 89%]
tests/transport/test_grpc.py ssss                                        [ 90%]
tests/transport/test_requests.py ..........                              [ 94%]
tests/transport/test_urllib3.py .............                            [100%]

=================================== FAILURES ===================================
_______________________ test_decode_bad_token_not_base64 _______________________

    def test_decode_bad_token_not_base64():
        with pytest.raises((ValueError, TypeError)) as excinfo:
            jwt.decode('1.2.3', PUBLIC_CERT_BYTES)
>       assert excinfo.match(r'Incorrect padding')
E       AssertionError: Pattern 'Incorrect padding' not found in 'Invalid base64-encoded string: length cannot be 1 more than a multiple of 4'

tests/test_jwt.py:121: AssertionError
=============== 1 failed, 242 passed, 4 skipped in 21.91 seconds ===============
make[1]: *** [debian/rules:14: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made in my autobuilder with "dpkg-buildpackage -A"
but it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-google-auth.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



More information about the Openstack-devel mailing list