Your message dated Tue, 5 Dec 2017 15:48:53 +0100
with message-id <[email protected]>
and subject line Re: Bug#883274: Tests fail at build time, but build succeeds
has caused the Debian Bug report #883274,
regarding Tests fail at build time, but build succeeds
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 [email protected]
immediately.)


-- 
883274: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=883274
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: flask-wtf
Version: 0.14.2-1
Severity: normal

https://buildd.debian.org/status/fetch.php?pkg=flask-wtf&arch=all&ver=0.14.2-1&stamp=1497945901&raw=0

   dh_auto_test -i -O--buildsystem=pybuild
I: pybuild base:184: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build; 
python2.7 -m nose tests
...........................[2017-06-20 08:04:44,774] ERROR in app: Exception on 
/ [POST]
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1614, in 
full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1517, in 
handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1612, in 
full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1598, in 
dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tests/test_recaptcha.py", 
line 29, in index
    if form.validate_on_submit():
  File "flask_wtf/form.py", line 101, in validate_on_submit
    return self.is_submitted() and self.validate()
  File "/usr/lib/python2.7/dist-packages/wtforms/form.py", line 310, in validate
    return super(Form, self).validate(extra)
  File "/usr/lib/python2.7/dist-packages/wtforms/form.py", line 152, in validate
    if not field.validate(self, extra):
  File "/usr/lib/python2.7/dist-packages/wtforms/fields/core.py", line 204, in 
validate
    stop_validation = self._run_validation_chain(form, chain)
  File "/usr/lib/python2.7/dist-packages/wtforms/fields/core.py", line 224, in 
_run_validation_chain
    validator(form, self)
  File "flask_wtf/recaptcha/validators.py", line 46, in __call__
    if not self._validate_recaptcha(response, remote_ip):
  File "flask_wtf/recaptcha/validators.py", line 55, in _validate_recaptcha
    raise RuntimeError("No RECAPTCHA_PRIVATE_KEY config set")
RuntimeError: No RECAPTCHA_PRIVATE_KEY config set
.[2017-06-20 08:04:44,781] ERROR in app: Exception on / [GET]
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1614, in 
full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1517, in 
handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1612, in 
full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1598, in 
dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tests/test_recaptcha.py", 
line 31, in index
    return render_template("recaptcha.html", form=form)
  File "/usr/lib/python2.7/dist-packages/flask/templating.py", line 134, in 
render_template
    context, ctx.app)
  File "/usr/lib/python2.7/dist-packages/flask/templating.py", line 116, in 
_render
    rv = template.render(context)
  File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 1008, in 
render
    return self.environment.handle_exception(exc_info, True)
  File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 780, in 
handle_exception
    reraise(exc_type, exc_value, tb)
  File 
"/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tests/templates/recaptcha.html", 
line 9, in top-level template code
    {{ form.recaptcha }}
  File "/usr/lib/python2.7/dist-packages/wtforms/fields/core.py", line 137, in 
__html__
    return self()
  File "/usr/lib/python2.7/dist-packages/wtforms/fields/core.py", line 153, in 
__call__
    return self.meta.render_field(self, kwargs)
  File "/usr/lib/python2.7/dist-packages/wtforms/meta.py", line 56, in 
render_field
    return field.widget(field, **render_kw)
  File "flask_wtf/recaptcha/widgets.py", line 40, in __call__
    raise RuntimeError("RECAPTCHA_PUBLIC_KEY config not set")
RuntimeError: RECAPTCHA_PUBLIC_KEY config not set
........................
----------------------------------------------------------------------
Ran 52 tests in 0.299s

OK
I: pybuild base:184: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build; 
python3.5 -m nose tests
...........................[2017-06-20 08:04:45,862] ERROR in app: Exception on 
/ [POST]
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/flask_wtf/recaptcha/validators.py",
 line 53, in _validate_recaptcha
    private_key = current_app.config['RECAPTCHA_PRIVATE_KEY']
KeyError: 'RECAPTCHA_PRIVATE_KEY'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/flask/app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/lib/python3/dist-packages/flask/app.py", line 1614, in 
full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/lib/python3/dist-packages/flask/app.py", line 1517, in 
handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/lib/python3/dist-packages/flask/_compat.py", line 33, in reraise
    raise value
  File "/usr/lib/python3/dist-packages/flask/app.py", line 1612, in 
full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/lib/python3/dist-packages/flask/app.py", line 1598, in 
dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/tests/test_recaptcha.py", 
line 29, in index
    if form.validate_on_submit():
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/flask_wtf/form.py", line 
101, in validate_on_submit
    return self.is_submitted() and self.validate()
  File "/usr/lib/python3/dist-packages/wtforms/form.py", line 310, in validate
    return super(Form, self).validate(extra)
  File "/usr/lib/python3/dist-packages/wtforms/form.py", line 152, in validate
    if not field.validate(self, extra):
  File "/usr/lib/python3/dist-packages/wtforms/fields/core.py", line 204, in 
validate
    stop_validation = self._run_validation_chain(form, chain)
  File "/usr/lib/python3/dist-packages/wtforms/fields/core.py", line 224, in 
_run_validation_chain
    validator(form, self)
  File 
"/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/flask_wtf/recaptcha/validators.py",
 line 46, in __call__
    if not self._validate_recaptcha(response, remote_ip):
  File 
"/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/flask_wtf/recaptcha/validators.py",
 line 55, in _validate_recaptcha
    raise RuntimeError("No RECAPTCHA_PRIVATE_KEY config set")
RuntimeError: No RECAPTCHA_PRIVATE_KEY config set
.[2017-06-20 08:04:45,869] ERROR in app: Exception on / [GET]
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/flask_wtf/recaptcha/widgets.py", 
line 38, in __call__
    public_key = current_app.config['RECAPTCHA_PUBLIC_KEY']
KeyError: 'RECAPTCHA_PUBLIC_KEY'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/flask/app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/lib/python3/dist-packages/flask/app.py", line 1614, in 
full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/lib/python3/dist-packages/flask/app.py", line 1517, in 
handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/lib/python3/dist-packages/flask/_compat.py", line 33, in reraise
    raise value
  File "/usr/lib/python3/dist-packages/flask/app.py", line 1612, in 
full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/lib/python3/dist-packages/flask/app.py", line 1598, in 
dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/tests/test_recaptcha.py", 
line 31, in index
    return render_template("recaptcha.html", form=form)
  File "/usr/lib/python3/dist-packages/flask/templating.py", line 134, in 
render_template
    context, ctx.app)
  File "/usr/lib/python3/dist-packages/flask/templating.py", line 116, in 
_render
    rv = template.render(context)
  File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1008, in 
render
    return self.environment.handle_exception(exc_info, True)
  File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 780, in 
handle_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/lib/python3/dist-packages/jinja2/_compat.py", line 37, in reraise
    raise value.with_traceback(tb)
  File 
"/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/tests/templates/recaptcha.html", 
line 9, in top-level template code
    {{ form.recaptcha }}
  File "/usr/lib/python3/dist-packages/wtforms/fields/core.py", line 137, in 
__html__
    return self()
  File "/usr/lib/python3/dist-packages/wtforms/fields/core.py", line 153, in 
__call__
    return self.meta.render_field(self, kwargs)
  File "/usr/lib/python3/dist-packages/wtforms/meta.py", line 56, in 
render_field
    return field.widget(field, **render_kw)
  File 
"/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/flask_wtf/recaptcha/widgets.py", 
line 40, in __call__
    raise RuntimeError("RECAPTCHA_PUBLIC_KEY config not set")
RuntimeError: RECAPTCHA_PUBLIC_KEY config not set
........................
----------------------------------------------------------------------
Ran 52 tests in 0.301s

OK
   create-stamp debian/debhelper-build-stamp

Christoph

--- End Message ---
--- Begin Message ---
Re: To Debian Bug Tracking System 2017-12-01 
<[email protected]>
> https://buildd.debian.org/status/fetch.php?pkg=flask-wtf&arch=all&ver=0.14.2-1&stamp=1497945901&raw=0
> 
>    dh_auto_test -i -O--buildsystem=pybuild
> I: pybuild base:184: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build; 
> python2.7 -m nose tests
> ...........................[2017-06-20 08:04:44,774] ERROR in app: Exception 
> on / [POST]
> RuntimeError: No RECAPTCHA_PRIVATE_KEY config set
> RuntimeError: RECAPTCHA_PUBLIC_KEY config not set

Upon closer inspection, these are expected errors thrown because the
test is deliberately not sending these items.

Christoph

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to