[PKG-Openstack-devel] Bug#848654: python-requests-unixsocket: FTBFS: assert 'http+unix://.../path/to/page' == 'http+unix://%.../path/to/page'

Chris Lamb lamby at debian.org
Mon Dec 19 09:01:35 UTC 2016


Source: python-requests-unixsocket
Version: 0.1.5-2
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Dear Maintainer,

python-requests-unixsocket fails to build from source in unstable/amd64:

  […]

  Preparing to unpack .../15-libhttp-message-perl_6.11-1_all.deb ...
  Unpacking libhttp-message-perl (6.11-1) ...
  Selecting previously unselected package libhttp-cookies-perl.
  Preparing to unpack .../16-libhttp-cookies-perl_6.01-1_all.deb ...
  Unpacking libhttp-cookies-perl (6.01-1) ...
  Selecting previously unselected package libhttp-negotiate-perl.
  Preparing to unpack .../17-libhttp-negotiate-perl_6.00-2_all.deb ...
  Unpacking libhttp-negotiate-perl (6.00-2) ...
  Selecting previously unselected package libnet-http-perl.
  Preparing to unpack .../18-libnet-http-perl_6.09-1_all.deb ...
  Unpacking libnet-http-perl (6.09-1) ...
  Selecting previously unselected package liblwp-protocol-https-perl.
  Preparing to unpack .../19-liblwp-protocol-https-perl_6.06-2_all.deb ...
  Unpacking liblwp-protocol-https-perl (6.06-2) ...
  Selecting previously unselected package libwww-robotrules-perl.
  Preparing to unpack .../20-libwww-robotrules-perl_6.01-1_all.deb ...
  Unpacking libwww-robotrules-perl (6.01-1) ...
  Selecting previously unselected package libwww-perl.
  Preparing to unpack .../21-libwww-perl_6.15-1_all.deb ...
  Unpacking libwww-perl (6.15-1) ...
  Selecting previously unselected package libxml-parser-perl.
  Preparing to unpack .../22-libxml-parser-perl_2.44-2+b1_amd64.deb ...
  Unpacking libxml-parser-perl (2.44-2+b1) ...
  Selecting previously unselected package libxml-xpath-perl.
  Preparing to unpack .../23-libxml-xpath-perl_1.40-1_all.deb ...
  Unpacking libxml-xpath-perl (1.40-1) ...
  Selecting previously unselected package madison-lite.
  Preparing to unpack .../24-madison-lite_0.22_all.deb ...
  Unpacking madison-lite (0.22) ...
  Selecting previously unselected package openstack-pkg-tools.
  Preparing to unpack .../25-openstack-pkg-tools_53_all.deb ...
  Unpacking openstack-pkg-tools (53) ...
  Selecting previously unselected package python-all.
  Preparing to unpack .../26-python-all_2.7.11-2_amd64.deb ...
  Unpacking python-all (2.7.11-2) ...
  Selecting previously unselected package python-pbr.
  Preparing to unpack .../27-python-pbr_1.10.0-1_all.deb ...
  Unpacking python-pbr (1.10.0-1) ...
  Selecting previously unselected package python-setuptools.
  Preparing to unpack .../28-python-setuptools_32.0.0-1_all.deb ...
  Unpacking python-setuptools (32.0.0-1) ...
  Selecting previously unselected package python3-all.
  Preparing to unpack .../29-python3-all_3.5.1-4_amd64.deb ...
  Unpacking python3-all (3.5.1-4) ...
  Selecting previously unselected package python3-pbr.
  Preparing to unpack .../30-python3-pbr_1.10.0-1_all.deb ...
  Unpacking python3-pbr (1.10.0-1) ...
  Selecting previously unselected package python3-setuptools.
  Preparing to unpack .../31-python3-setuptools_32.0.0-1_all.deb ...
  Unpacking python3-setuptools (32.0.0-1) ...
  Selecting previously unselected package python-py.
  Preparing to unpack .../32-python-py_1.4.31-2_all.deb ...
  Unpacking python-py (1.4.31-2) ...
  Selecting previously unselected package python-pytest.
  Preparing to unpack .../33-python-pytest_3.0.5-2_all.deb ...
  Unpacking python-pytest (3.0.5-2) ...
  Selecting previously unselected package python-urllib3.
  Preparing to unpack .../34-python-urllib3_1.19.1-1_all.deb ...
  Unpacking python-urllib3 (1.19.1-1) ...
  Selecting previously unselected package python-chardet.
  Preparing to unpack .../35-python-chardet_2.3.0-2_all.deb ...
  Unpacking python-chardet (2.3.0-2) ...
  Selecting previously unselected package python-requests.
  Preparing to unpack .../36-python-requests_2.12.3-1_all.deb ...
  Unpacking python-requests (2.12.3-1) ...
  Selecting previously unselected package python-waitress.
  Preparing to unpack .../37-python-waitress_1.0.1-1_all.deb ...
  Unpacking python-waitress (1.0.1-1) ...
  Selecting previously unselected package python3-py.
  Preparing to unpack .../38-python3-py_1.4.31-2_all.deb ...
  Unpacking python3-py (1.4.31-2) ...
  Selecting previously unselected package python3-pytest.
  Preparing to unpack .../39-python3-pytest_3.0.5-2_all.deb ...
  Unpacking python3-pytest (3.0.5-2) ...
  Selecting previously unselected package python3-urllib3.
  Preparing to unpack .../40-python3-urllib3_1.19.1-1_all.deb ...
  Unpacking python3-urllib3 (1.19.1-1) ...
  Selecting previously unselected package python3-requests.
  Preparing to unpack .../41-python3-requests_2.12.3-1_all.deb ...
  Unpacking python3-requests (2.12.3-1) ...
  Selecting previously unselected package python3-waitress.
  Preparing to unpack .../42-python3-waitress_1.0.1-1_all.deb ...
  Unpacking python3-waitress (1.0.1-1) ...
  Setting up madison-lite (0.22) ...
  Setting up libapt-inst2.0:amd64 (1.4~beta2) ...
  Setting up python-setuptools (32.0.0-1) ...
  Setting up python-urllib3 (1.19.1-1) ...
  Setting up libhttp-date-perl (6.02-1) ...
  Setting up python-chardet (2.3.0-2) ...
  Setting up libencode-locale-perl (1.05-1) ...
  Setting up python3-waitress (1.0.1-1) ...
  update-alternatives: using /usr/bin/waitress-serve-python3 to provide /usr/bin/waitress-serve (waitress-serve) in auto mode
  Setting up apt-utils (1.4~beta2) ...
  Setting up python-py (1.4.31-2) ...
  Setting up libio-html-perl (1.001-1) ...
  Setting up python3-six (1.10.0-3) ...
  Setting up python-waitress (1.0.1-1) ...
  Setting up python3-pkg-resources (32.0.0-1) ...
  Setting up python-pytest (3.0.5-2) ...
  Setting up libhtml-tree-perl (5.03-2) ...
  Setting up liblwp-mediatypes-perl (6.02-1) ...
  Processing triggers for libc-bin (2.24-8) ...
  Setting up python3-chardet (2.3.0-2) ...
  Setting up python-pbr (1.10.0-1) ...
  update-alternatives: using /usr/bin/python2-pbr to provide /usr/bin/pbr (pbr) in auto mode
  Setting up python3-all (3.5.1-4) ...
  Setting up openssl (1.1.0c-2) ...
  Setting up libfile-listing-perl (6.04-1) ...
  Processing triggers for man-db (2.7.6.1-2) ...
  Setting up libhttp-message-perl (6.11-1) ...
  Setting up libnet-http-perl (6.09-1) ...
  Setting up python3-urllib3 (1.19.1-1) ...
  Setting up python3-setuptools (32.0.0-1) ...
  Setting up ca-certificates (20161130) ...
  Updating certificates in /etc/ssl/certs...
  173 added, 0 removed; done.
  Setting up python-all (2.7.11-2) ...
  Setting up libwww-robotrules-perl (6.01-1) ...
  Setting up python3-debian (0.1.29) ...
  Setting up libhttp-negotiate-perl (6.00-2) ...
  Setting up autopkgtest (4.2.2) ...
  Setting up python3-pbr (1.10.0-1) ...
  Setting up libhttp-cookies-perl (6.01-1) ...
  Setting up python3-py (1.4.31-2) ...
  Setting up python3-pytest (3.0.5-2) ...
  Setting up python3-requests (2.12.3-1) ...
  Setting up python-requests (2.12.3-1) ...
  Setting up liblwp-protocol-https-perl (6.06-2) ...
  Setting up libwww-perl (6.15-1) ...
  Setting up libxml-parser-perl (2.44-2+b1) ...
  Setting up libxml-xpath-perl (1.40-1) ...
  Setting up openstack-pkg-tools (53) ...
  Setting up python-requests-unixsocket-build-deps (0.1.5-2) ...
  Processing triggers for ca-certificates (20161130) ...
  Updating certificates in /etc/ssl/certs...
  0 added, 0 removed; done.
  Running hooks in /etc/ca-certificates/update.d...
  done.
  
  **************************************************************************************
  ** Environment                                                                      **
  **************************************************************************************
  
  PATH=/home/lamby/git/projects/dotfiles/dotfiles/..//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  HOSTNAME=52618eb4d10a
  TERM=xterm
  PAGER=more
  DISPLAY=:0
  DOCKER_IMAGE=lamby-debian-sid
  DEB_BUILD_OPTIONS=parallel=9
  PIP_DOWNLOAD_CACHE=/home/lamby/.cache/pip
  HOME=/home/lamby
  LOGNAME=lamby
  SHLVL=1
  PWD=/home/lamby/temp/cdt.20161219085739.36gBD6PhSB.db.python-requests-unixsocket/python-requests-unixsocket-0.1.5
  OLDPWD=/home/lamby/temp/cdt.20161219085739.36gBD6PhSB.db.python-requests-unixsocket
  GPG_TTY=/dev/console
  QUILT_PATCHES=debian/patches
  QUILT_NO_DIFF_INDEX=1
  QUILT_REFRESH_ARGS=-p ab --no-timestamps --no-index
  DEBEMAIL=lamby at debian.org
  DEBFULLNAME=Chris Lamb
  EDITOR=vim
  LESS=-cgiFx4M
  GPG_KEY=1E953E27D4311E58
  BLASTER=A220 I5 D1 H5 P330 T6
  _=/usr/bin/env
  
  **************************************************************************************
  ** Building python-requests-unixsocket 0.1.5-2 on amd64                             **
  **************************************************************************************
  
   dpkg-buildpackage -rfakeroot -us -uc -b
  dpkg-buildpackage: info: source package python-requests-unixsocket
  dpkg-buildpackage: info: source version 0.1.5-2
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by Ondřej Nový <novy at ondrej.org>
   dpkg-source --before-build python-requests-unixsocket-0.1.5
  dpkg-buildpackage: info: host architecture amd64
  dpkg-source: info: using options from python-requests-unixsocket-0.1.5/debian/source/options: --extend-diff-ignore=^[^/]*[.]egg-info/ --extend-diff-ignore=^[.]gitreview$
   fakeroot debian/rules clean
  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
  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 clean --buildsystem=python_distutils --with python2,python3
     dh_testdir -O--buildsystem=python_distutils
     dh_auto_clean -O--buildsystem=python_distutils
  pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
  pyversions: missing debian/pyversions file, fall back to supported versions
  	python setup.py clean -a
  running clean
  'build/lib.linux-x86_64-2.7' does not exist -- can't clean it
  'build/bdist.linux-x86_64' does not exist -- can't clean it
  'build/scripts-2.7' does not exist -- can't clean it
  	find . -name \*.pyc -exec rm {} \+
     debian/rules override_dh_clean
  make[1]: Entering directory '«BUILDDIR»'
  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
  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_clean -O--buildsystem=python_distutils
  rm -rf build
  make[1]: Leaving directory '«BUILDDIR»'
   debian/rules build
  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
  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 --buildsystem=python_distutils --with python2,python3
     dh_testdir -O--buildsystem=python_distutils
     dh_update_autotools_config -O--buildsystem=python_distutils
     dh_auto_configure -O--buildsystem=python_distutils
     dh_auto_build -O--buildsystem=python_distutils
  pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
  pyversions: missing debian/pyversions file, fall back to supported versions
  	python setup.py build --force
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-2.7
  creating build/lib.linux-x86_64-2.7/requests_unixsocket
  copying requests_unixsocket/__init__.py -> build/lib.linux-x86_64-2.7/requests_unixsocket
  copying requests_unixsocket/testutils.py -> build/lib.linux-x86_64-2.7/requests_unixsocket
  copying requests_unixsocket/adapters.py -> build/lib.linux-x86_64-2.7/requests_unixsocket
  running egg_info
  creating requests_unixsocket.egg-info
  writing requirements to requests_unixsocket.egg-info/requires.txt
  writing requests_unixsocket.egg-info/PKG-INFO
  writing top-level names to requests_unixsocket.egg-info/top_level.txt
  writing dependency_links to requests_unixsocket.egg-info/dependency_links.txt
  [pbr] Processing SOURCES.txt
  writing manifest file 'requests_unixsocket.egg-info/SOURCES.txt'
  warning: no files found matching 'AUTHORS'
  warning: no files found matching 'ChangeLog'
  warning: no previously-included files found matching '.gitignore'
  warning: no previously-included files found matching '.gitreview'
  warning: no previously-included files matching '*.pyc' found anywhere in distribution
  writing manifest file 'requests_unixsocket.egg-info/SOURCES.txt'
     debian/rules override_dh_auto_test
  make[1]: Entering directory '«BUILDDIR»'
  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
  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
  set -e ; set -x ; for pyvers in 2.7 3.5; do \
  	PYTHONPATH=«BUILDDIR» python$pyvers -m pytest requests_unixsocket/tests ; \
  done
  + PYTHONPATH=«BUILDDIR» python2.7 -m pytest requests_unixsocket/tests
  ============================= test session starts ==============================
  platform linux2 -- Python 2.7.13, pytest-3.0.5, py-1.4.31, pluggy-0.4.0
  rootdir: «BUILDDIR», inifile: pytest.ini
  collected 5 items
  
  requests_unixsocket/tests/test_requests_unixsocket.py FF..F
  
  =================================== FAILURES ===================================
  _________________________ test_unix_domain_adapter_ok __________________________
  requests_unixsocket/tests/test_requests_unixsocket.py:37: in test_unix_domain_adapter_ok
      assert r.url == url
  E   assert 'http+unix://.../path/to/page' == 'http+unix://%.../path/to/page'
  E     Skipping 40 identical trailing characters in diff, use -v to show
  E     - http+unix://%2ftmp%2ftest_requ
  E     ?               ^     ^
  E     + http+unix://%2Ftmp%2Ftest_requ
  E     ?               ^     ^
  ________________ test_unix_domain_adapter_url_with_query_params ________________
  requests_unixsocket/tests/test_requests_unixsocket.py:65: in test_unix_domain_adapter_url_with_query_params
      assert r.url == url
  E   assert 'http+unix://...imestamp=true' == 'http+unix://%...imestamp=true'
  E     Skipping 64 identical trailing characters in diff, use -v to show
  E     - http+unix://%2ftmp%2ftest_requ
  E     ?               ^     ^
  E     + http+unix://%2Ftmp%2Ftest_requ
  E     ?               ^     ^
  _____________________ test_unix_domain_adapter_monkeypatch _____________________
  requests_unixsocket/tests/test_requests_unixsocket.py:113: in test_unix_domain_adapter_monkeypatch
      assert r.url == url
  E   assert 'http+unix://.../path/to/page' == 'http+unix://%.../path/to/page'
  E     Skipping 40 identical trailing characters in diff, use -v to show
  E     - http+unix://%2ftmp%2ftest_requ
  E     ?               ^     ^
  E     + http+unix://%2Ftmp%2Ftest_requ
  E     ?               ^     ^
  ====================== 3 failed, 2 passed in 0.14 seconds ======================
  debian/rules:27: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 1
  make[1]: Leaving directory '«BUILDDIR»'
  debian/rules:12: recipe for target 'build' failed
  make: *** [build] Error 2
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

  […]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-requests-unixsocket.0.1.5-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 5104 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20161219/60569010/attachment.obj>


More information about the Openstack-devel mailing list