[Reproducible-builds] Bug#828815: pyvows: FTBFS: Expected strings to be equal, but they were different
Chris Lamb
lamby at debian.org
Tue Jun 28 05:51:01 UTC 2016
Source: pyvows
Version: 2.0.6-2
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
pyvows fails to build from source in unstable/amd64:
[..]
**************************************************************************************
** Starting build **
**************************************************************************************
Package: pyvows
Version: 2.0.6-2
Build architecture: amd64
Date: Tue, 28 Jun 2016 07:44:25 +0200
Hostname: 5d4680d1283e
Uname: Linux 5d4680d1283e 4.5.0-2-amd64 #1 SMP Debian 4.5.4-1 (2016-05-16) x86_64 GNU/Linux
/etc/timezone: Africa/Johannesburg
**************************************************************************************
** Installing build dependencies **
**************************************************************************************
dh_testdir
dh_testroot
dh_prep
dh_testdir
dh_testroot
dh_install
dh_installdocs
dh_installchangelogs
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package 'pyvows-build-deps' in '../pyvows-build-deps_2.0.6-2_all.deb'.
The package has been created.
Attention, the package has been created in the current directory,
not in ".." as indicated by the message above!
Selecting previously unselected package pyvows-build-deps.
(Reading database ... 23073 files and directories currently installed.)
Preparing to unpack pyvows-build-deps_2.0.6-2_all.deb ...
Unpacking pyvows-build-deps (2.0.6-2) ...
Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... Done
The following additional packages will be installed:
help2man python-all python-colorama python-coverage python-gevent
python-greenlet python-preggy python-setuptools python-unidecode
Suggested packages:
python-gevent-doc python-gevent-dbg python-openssl python-greenlet-doc
python-greenlet-dev python-greenlet-dbg python-setuptools-doc
Recommended packages:
libjs-jquery-hotkeys libjs-jquery-isonscreen libjs-jquery-tablesorter
libjs-jquery
The following NEW packages will be installed:
help2man python-all python-colorama python-coverage python-gevent
python-greenlet python-preggy python-setuptools python-unidecode
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 1011 kB of archives.
After this operation, 3956 kB of additional disk space will be used.
Get:1 http://httpredir.debian.org/debian sid/main amd64 python-setuptools all 20.10.1-1.1 [203 kB]
Get:2 http://httpredir.debian.org/debian sid/main amd64 python-all amd64 2.7.11-2 [938 B]
Get:3 http://httpredir.debian.org/debian sid/main amd64 python-colorama all 0.3.7-1 [25.7 kB]
Get:4 http://httpredir.debian.org/debian sid/main amd64 python-coverage amd64 4.1+dfsg.1-2 [124 kB]
Get:5 http://httpredir.debian.org/debian sid/main amd64 python-greenlet amd64 0.4.9-2+b1 [19.2 kB]
Get:6 http://httpredir.debian.org/debian sid/main amd64 python-gevent amd64 1.1.1-1 [340 kB]
Get:7 http://httpredir.debian.org/debian sid/main amd64 python-unidecode all 0.04.19-1 [122 kB]
Get:8 http://httpredir.debian.org/debian sid/main amd64 python-preggy all 1.3.0-1 [15.4 kB]
Get:9 http://httpredir.debian.org/debian sid/main amd64 help2man amd64 1.47.4 [162 kB]
Fetched 1011 kB in 0s (2297 kB/s)
Selecting previously unselected package python-setuptools.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 23077 files and directories currently installed.)
Preparing to unpack .../python-setuptools_20.10.1-1.1_all.deb ...
Unpacking python-setuptools (20.10.1-1.1) ...
Selecting previously unselected package python-all.
Preparing to unpack .../python-all_2.7.11-2_amd64.deb ...
Unpacking python-all (2.7.11-2) ...
Selecting previously unselected package python-colorama.
Preparing to unpack .../python-colorama_0.3.7-1_all.deb ...
Unpacking python-colorama (0.3.7-1) ...
Selecting previously unselected package python-coverage.
Preparing to unpack .../python-coverage_4.1+dfsg.1-2_amd64.deb ...
Unpacking python-coverage (4.1+dfsg.1-2) ...
Selecting previously unselected package python-greenlet.
Preparing to unpack .../python-greenlet_0.4.9-2+b1_amd64.deb ...
Unpacking python-greenlet (0.4.9-2+b1) ...
Selecting previously unselected package python-gevent.
Preparing to unpack .../python-gevent_1.1.1-1_amd64.deb ...
Unpacking python-gevent (1.1.1-1) ...
Selecting previously unselected package python-unidecode.
Preparing to unpack .../python-unidecode_0.04.19-1_all.deb ...
Unpacking python-unidecode (0.04.19-1) ...
Selecting previously unselected package python-preggy.
Preparing to unpack .../python-preggy_1.3.0-1_all.deb ...
Unpacking python-preggy (1.3.0-1) ...
Selecting previously unselected package help2man.
Preparing to unpack .../help2man_1.47.4_amd64.deb ...
Unpacking help2man (1.47.4) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up python-setuptools (20.10.1-1.1) ...
Setting up python-all (2.7.11-2) ...
Setting up python-colorama (0.3.7-1) ...
Setting up python-coverage (4.1+dfsg.1-2) ...
Setting up python-greenlet (0.4.9-2+b1) ...
Setting up python-gevent (1.1.1-1) ...
Setting up python-unidecode (0.04.19-1) ...
Setting up python-preggy (1.3.0-1) ...
Setting up help2man (1.47.4) ...
Setting up pyvows-build-deps (2.0.6-2) ...
**************************************************************************************
** Environment **
**************************************************************************************
PATH=/home/lamby/git/projects/dotfiles/dotfiles/..//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=5d4680d1283e
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.20160628074423.SoPAofVB5j.pyvows/pyvows-2.0.6
OLDPWD=/home/lamby/temp/cdt.20160628074423.SoPAofVB5j.pyvows
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
BLASTER=A220 I5 D1 H5 P330 T6
_=/usr/bin/env
**************************************************************************************
** Building pyvows 2.0.6-2 on amd64 **
**************************************************************************************
dpkg-buildpackage -rfakeroot -D -us -uc -b
dpkg-buildpackage: info: source package pyvows
dpkg-buildpackage: info: source version 2.0.6-2
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Marcelo Jorge Vieira <metal at debian.org>
dpkg-source --before-build pyvows-2.0.6
dpkg-buildpackage: info: host architecture amd64
dpkg-source: info: using options from pyvows-2.0.6/debian/source/options: --extend-diff-ignore=\.egg-info
fakeroot debian/rules clean
dh clean --with python2 --buildsystem=python_distutils
dh_testdir -O--buildsystem=python_distutils
debian/rules override_dh_auto_clean
make[1]: Entering directory '/home/lamby/temp/cdt.20160628074423.SoPAofVB5j.pyvows/pyvows-2.0.6'
rm -f debian/pyvows.1
dh_auto_clean
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 {} \+
make[1]: Leaving directory '/home/lamby/temp/cdt.20160628074423.SoPAofVB5j.pyvows/pyvows-2.0.6'
dh_clean -O--buildsystem=python_distutils
debian/rules build
dh build --with python2 --buildsystem=python_distutils
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
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/pyvows
copying pyvows/utils.py -> build/lib.linux-x86_64-2.7/pyvows
copying pyvows/__init__.py -> build/lib.linux-x86_64-2.7/pyvows
copying pyvows/errors.py -> build/lib.linux-x86_64-2.7/pyvows
copying pyvows/version.py -> build/lib.linux-x86_64-2.7/pyvows
copying pyvows/color.py -> build/lib.linux-x86_64-2.7/pyvows
copying pyvows/result.py -> build/lib.linux-x86_64-2.7/pyvows
copying pyvows/decorators.py -> build/lib.linux-x86_64-2.7/pyvows
copying pyvows/__main__.py -> build/lib.linux-x86_64-2.7/pyvows
copying pyvows/core.py -> build/lib.linux-x86_64-2.7/pyvows
copying pyvows/async_topic.py -> build/lib.linux-x86_64-2.7/pyvows
copying pyvows/cli.py -> build/lib.linux-x86_64-2.7/pyvows
creating build/lib.linux-x86_64-2.7/pyvows/reporting
copying pyvows/reporting/common.py -> build/lib.linux-x86_64-2.7/pyvows/reporting
copying pyvows/reporting/__init__.py -> build/lib.linux-x86_64-2.7/pyvows/reporting
copying pyvows/reporting/test.py -> build/lib.linux-x86_64-2.7/pyvows/reporting
copying pyvows/reporting/coverage.py -> build/lib.linux-x86_64-2.7/pyvows/reporting
copying pyvows/reporting/profile.py -> build/lib.linux-x86_64-2.7/pyvows/reporting
copying pyvows/reporting/xunit.py -> build/lib.linux-x86_64-2.7/pyvows/reporting
creating build/lib.linux-x86_64-2.7/pyvows/runner
copying pyvows/runner/utils.py -> build/lib.linux-x86_64-2.7/pyvows/runner
copying pyvows/runner/__init__.py -> build/lib.linux-x86_64-2.7/pyvows/runner
copying pyvows/runner/sequential.py -> build/lib.linux-x86_64-2.7/pyvows/runner
copying pyvows/runner/abc.py -> build/lib.linux-x86_64-2.7/pyvows/runner
copying pyvows/runner/gevent.py -> build/lib.linux-x86_64-2.7/pyvows/runner
debian/rules override_dh_auto_test
make[1]: Entering directory '/home/lamby/temp/cdt.20160628074423.SoPAofVB5j.pyvows/pyvows-2.0.6'
/usr/bin/make test
make[2]: Entering directory '/home/lamby/temp/cdt.20160628074423.SoPAofVB5j.pyvows/pyvows-2.0.6'
Expected strings to be equal, but they were different:
a
b
Test context
Test context
Error in topic:
Nested tests following this error have not been run.
============
Vows Results
============
Py vows command line interface
Argument parser
Parses correctly
✗ should contain cover
'Namespace' object is not iterable
Traceback (most recent call last):
File "/home/lamby/temp/cdt.20160628074423.SoPAofVB5j.pyvows/pyvows-2.0.6/pyvows/runner/abc.py", line 63, in run_vow
result = vow(ctx_obj, topic)
File "/home/lamby/temp/cdt.20160628074423.SoPAofVB5j.pyvows/pyvows-2.0.6/pyvows/decorators.py", line 76, in wrapper
ret = method(*args, **kw)
File "/home/lamby/temp/cdt.20160628074423.SoPAofVB5j.pyvows/pyvows-2.0.6/tests/cli_vows.py", line 42, in should_contain_cover
expect(topic).to_include('cover')
File "/usr/lib/python2.7/dist-packages/preggy/core.py", line 285, in _assert_topic
return _registered_assertions[method_name](self.topic, *args, **kw)
File "/usr/lib/python2.7/dist-packages/preggy/core.py", line 58, in wrapper
func(*args, **kw)
File "/usr/lib/python2.7/dist-packages/preggy/core.py", line 123, in test_assertion
if not func(*args):
File "/usr/lib/python2.7/dist-packages/preggy/assertions/inclusion.py", line 29, in to_include
for t in topic:
TypeError: 'Namespace' object is not iterable
found in /home/lamby/temp/cdt.20160628074423.SoPAofVB5j.pyvows/pyvows-2.0.6/tests/cli_vows.py at line 41
Assertion errors
Errors
When error messages do not match
✗ we get an understandable message
Expected topic(u"Expected topic(u'some bogus error') to be an error with message 'some bogus'") to be an error with message "Expected topic('some bogus error') to be an error with message 'some bogus'"
Traceback (most recent call last):
File "/home/lamby/temp/cdt.20160628074423.SoPAofVB5j.pyvows/pyvows-2.0.6/pyvows/runner/abc.py", line 63, in run_vow
result = vow(ctx_obj, topic)
File "/home/lamby/temp/cdt.20160628074423.SoPAofVB5j.pyvows/pyvows-2.0.6/pyvows/decorators.py", line 76, in wrapper
ret = method(*args, **kw)
File "/home/lamby/temp/cdt.20160628074423.SoPAofVB5j.pyvows/pyvows-2.0.6/tests/assertions/types/errors_vows.py", line 56, in we_get_an_understandable_message
expect(topic).to_have_an_error_message_of(expected_message)
File "/usr/lib/python2.7/dist-packages/preggy/core.py", line 285, in _assert_topic
return _registered_assertions[method_name](self.topic, *args, **kw)
File "/usr/lib/python2.7/dist-packages/preggy/core.py", line 58, in wrapper
func(*args, **kw)
File "/usr/lib/python2.7/dist-packages/preggy/assertions/types/errors.py", line 35, in to_have_an_error_message_of
raise err
AssertionError: Expected topic(u"Expected topic(u'some bogus error') to be an error with message 'some bogus'") to be an error with message "Expected topic('some bogus error') to be an error with message 'some bogus'"
found in /home/lamby/temp/cdt.20160628074423.SoPAofVB5j.pyvows/pyvows-2.0.6/tests/assertions/types/errors_vows.py at line 51
Errors in topic function
When topic raises an exception
Error in topic:
integer division or modulo by zero
Traceback (most recent call last):
File "/home/lamby/temp/cdt.20160628074423.SoPAofVB5j.pyvows/pyvows-2.0.6/pyvows/runner/gevent.py", line 104, in _run_setup_and_topic
topic = topic_func(*topic_list)
File "/home/lamby/temp/cdt.20160628074423.SoPAofVB5j.pyvows/pyvows-2.0.6/tests/errors_in_topic_vows.py", line 22, in topic
return 42 / 0
ZeroDivisionError: integer division or modulo by zero
Nested tests following this error have not been run.
✗ OK » 532 honored • 2 broken (0.333651s)
Makefile:2: recipe for target 'test' failed
make[2]: *** [test] Error 2
make[2]: Leaving directory '/home/lamby/temp/cdt.20160628074423.SoPAofVB5j.pyvows/pyvows-2.0.6'
debian/rules:7: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 2
make[1]: Leaving directory '/home/lamby/temp/cdt.20160628074423.SoPAofVB5j.pyvows/pyvows-2.0.6'
debian/rules:4: recipe for target 'build' failed
make: *** [build] Error 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: pyvows.2.0.6-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 3558 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160628/023d3c6b/attachment.obj>
More information about the Reproducible-builds
mailing list