--- Begin Message ---
Source: flask
Version: 0.10.1-2
Severity: serious
Tags: jessie sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20140601 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
> ======================================================================
> ERROR: test_login_logout (minitwit_tests.MiniTwitTestCase)
> Make sure logging in and logging out works
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/«PKGBUILDDIR»/flask/testsuite/../../examples/minitwit/minitwit_tests.py",
> line 89, in test_login_logout
> rv = self.register_and_login('user1', 'default')
> File
> "/«PKGBUILDDIR»/flask/testsuite/../../examples/minitwit/minitwit_tests.py",
> line 55, in register_and_login
> return self.login(username, password)
> File
> "/«PKGBUILDDIR»/flask/testsuite/../../examples/minitwit/minitwit_tests.py",
> line 50, in login
> }, follow_redirects=True)
> File "/usr/lib/python2.7/dist-packages/werkzeug/test.py", line 771, in post
> return self.open(*args, **kw)
> File "/«PKGBUILDDIR»/flask/testing.py", line 108, in open
> follow_redirects=follow_redirects)
> File "/usr/lib/python2.7/dist-packages/werkzeug/test.py", line 735, in open
> response = self.run_wsgi_app(environ, buffered=buffered)
> File "/usr/lib/python2.7/dist-packages/werkzeug/test.py", line 658, in
> run_wsgi_app
> rv = run_wsgi_app(self.application, environ, buffered=buffered)
> File "/usr/lib/python2.7/dist-packages/werkzeug/test.py", line 854, in
> run_wsgi_app
> app_iter = app(environ, start_response)
> File "/«PKGBUILDDIR»/flask/app.py", line 1836, in __call__
> return self.wsgi_app(environ, start_response)
> File "/«PKGBUILDDIR»/flask/app.py", line 1820, in wsgi_app
> response = self.make_response(self.handle_exception(e))
> File "/«PKGBUILDDIR»/flask/app.py", line 1403, in handle_exception
> reraise(exc_type, exc_value, tb)
> File "/«PKGBUILDDIR»/flask/app.py", line 1817, in wsgi_app
> response = self.full_dispatch_request()
> File "/«PKGBUILDDIR»/flask/app.py", line 1477, in full_dispatch_request
> rv = self.handle_user_exception(e)
> File "/«PKGBUILDDIR»/flask/app.py", line 1381, in handle_user_exception
> reraise(exc_type, exc_value, tb)
> File "/«PKGBUILDDIR»/flask/app.py", line 1475, in full_dispatch_request
> rv = self.dispatch_request()
> File "/«PKGBUILDDIR»/flask/app.py", line 1461, in dispatch_request
> return self.view_functions[rule.endpoint](**req.view_args)
> File "/«PKGBUILDDIR»/flask/testsuite/../../examples/minitwit/minitwit.py",
> line 201, in login
> request.form['password']):
> File "/usr/lib/python2.7/dist-packages/werkzeug/security.py", line 224, in
> check_password_hash
> return safe_str_cmp(_hash_internal(method, salt, password)[0], hashval)
> File "/usr/lib/python2.7/dist-packages/werkzeug/security.py", line 117, in
> safe_str_cmp
> return _builtin_safe_str_cmp(a, b)
> TypeError: 'unicode' does not have the buffer interface
>
> ======================================================================
> ERROR: test_message_recording (minitwit_tests.MiniTwitTestCase)
> Check if adding messages works
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/«PKGBUILDDIR»/flask/testsuite/../../examples/minitwit/minitwit_tests.py",
> line 100, in test_message_recording
> self.register_and_login('foo', 'default')
> File
> "/«PKGBUILDDIR»/flask/testsuite/../../examples/minitwit/minitwit_tests.py",
> line 55, in register_and_login
> return self.login(username, password)
> File
> "/«PKGBUILDDIR»/flask/testsuite/../../examples/minitwit/minitwit_tests.py",
> line 50, in login
> }, follow_redirects=True)
> File "/usr/lib/python2.7/dist-packages/werkzeug/test.py", line 771, in post
> return self.open(*args, **kw)
> File "/«PKGBUILDDIR»/flask/testing.py", line 108, in open
> follow_redirects=follow_redirects)
> File "/usr/lib/python2.7/dist-packages/werkzeug/test.py", line 735, in open
> response = self.run_wsgi_app(environ, buffered=buffered)
> File "/usr/lib/python2.7/dist-packages/werkzeug/test.py", line 658, in
> run_wsgi_app
> rv = run_wsgi_app(self.application, environ, buffered=buffered)
> File "/usr/lib/python2.7/dist-packages/werkzeug/test.py", line 854, in
> run_wsgi_app
> app_iter = app(environ, start_response)
> File "/«PKGBUILDDIR»/flask/app.py", line 1836, in __call__
> return self.wsgi_app(environ, start_response)
> File "/«PKGBUILDDIR»/flask/app.py", line 1820, in wsgi_app
> response = self.make_response(self.handle_exception(e))
> File "/«PKGBUILDDIR»/flask/app.py", line 1403, in handle_exception
> reraise(exc_type, exc_value, tb)
> File "/«PKGBUILDDIR»/flask/app.py", line 1817, in wsgi_app
> response = self.full_dispatch_request()
> File "/«PKGBUILDDIR»/flask/app.py", line 1477, in full_dispatch_request
> rv = self.handle_user_exception(e)
> File "/«PKGBUILDDIR»/flask/app.py", line 1381, in handle_user_exception
> reraise(exc_type, exc_value, tb)
> File "/«PKGBUILDDIR»/flask/app.py", line 1475, in full_dispatch_request
> rv = self.dispatch_request()
> File "/«PKGBUILDDIR»/flask/app.py", line 1461, in dispatch_request
> return self.view_functions[rule.endpoint](**req.view_args)
> File "/«PKGBUILDDIR»/flask/testsuite/../../examples/minitwit/minitwit.py",
> line 201, in login
> request.form['password']):
> File "/usr/lib/python2.7/dist-packages/werkzeug/security.py", line 224, in
> check_password_hash
> return safe_str_cmp(_hash_internal(method, salt, password)[0], hashval)
> File "/usr/lib/python2.7/dist-packages/werkzeug/security.py", line 117, in
> safe_str_cmp
> return _builtin_safe_str_cmp(a, b)
> TypeError: 'unicode' does not have the buffer interface
>
> ======================================================================
> ERROR: test_timelines (minitwit_tests.MiniTwitTestCase)
> Make sure that timelines work
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/«PKGBUILDDIR»/flask/testsuite/../../examples/minitwit/minitwit_tests.py",
> line 109, in test_timelines
> self.register_and_login('foo', 'default')
> File
> "/«PKGBUILDDIR»/flask/testsuite/../../examples/minitwit/minitwit_tests.py",
> line 55, in register_and_login
> return self.login(username, password)
> File
> "/«PKGBUILDDIR»/flask/testsuite/../../examples/minitwit/minitwit_tests.py",
> line 50, in login
> }, follow_redirects=True)
> File "/usr/lib/python2.7/dist-packages/werkzeug/test.py", line 771, in post
> return self.open(*args, **kw)
> File "/«PKGBUILDDIR»/flask/testing.py", line 108, in open
> follow_redirects=follow_redirects)
> File "/usr/lib/python2.7/dist-packages/werkzeug/test.py", line 735, in open
> response = self.run_wsgi_app(environ, buffered=buffered)
> File "/usr/lib/python2.7/dist-packages/werkzeug/test.py", line 658, in
> run_wsgi_app
> rv = run_wsgi_app(self.application, environ, buffered=buffered)
> File "/usr/lib/python2.7/dist-packages/werkzeug/test.py", line 854, in
> run_wsgi_app
> app_iter = app(environ, start_response)
> File "/«PKGBUILDDIR»/flask/app.py", line 1836, in __call__
> return self.wsgi_app(environ, start_response)
> File "/«PKGBUILDDIR»/flask/app.py", line 1820, in wsgi_app
> response = self.make_response(self.handle_exception(e))
> File "/«PKGBUILDDIR»/flask/app.py", line 1403, in handle_exception
> reraise(exc_type, exc_value, tb)
> File "/«PKGBUILDDIR»/flask/app.py", line 1817, in wsgi_app
> response = self.full_dispatch_request()
> File "/«PKGBUILDDIR»/flask/app.py", line 1477, in full_dispatch_request
> rv = self.handle_user_exception(e)
> File "/«PKGBUILDDIR»/flask/app.py", line 1381, in handle_user_exception
> reraise(exc_type, exc_value, tb)
> File "/«PKGBUILDDIR»/flask/app.py", line 1475, in full_dispatch_request
> rv = self.dispatch_request()
> File "/«PKGBUILDDIR»/flask/app.py", line 1461, in dispatch_request
> return self.view_functions[rule.endpoint](**req.view_args)
> File "/«PKGBUILDDIR»/flask/testsuite/../../examples/minitwit/minitwit.py",
> line 201, in login
> request.form['password']):
> File "/usr/lib/python2.7/dist-packages/werkzeug/security.py", line 224, in
> check_password_hash
> return safe_str_cmp(_hash_internal(method, salt, password)[0], hashval)
> File "/usr/lib/python2.7/dist-packages/werkzeug/security.py", line 117, in
> safe_str_cmp
> return _builtin_safe_str_cmp(a, b)
> TypeError: 'unicode' does not have the buffer interface
>
> ----------------------------------------------------------------------
> Ran 231 tests in 1.139s
>
> FAILED (errors=3)
> E: pybuild pybuild:256: test: plugin distutils failed with: exit code=1:
> python2.7 setup.py test
> dh_auto_test: pybuild --test -i python{version} -p 2.7 --dir . returned exit
> code 13
The full build log is available from:
http://aws-logs.debian.net/ftbfs-logs/2014/06/01/flask_0.10.1-2_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!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
--- End Message ---