[Python-modules-team] Bug#844139: python-django: FTBFS: Tests failures
Lucas Nussbaum
lucas at debian.org
Fri Nov 18 17:31:13 UTC 2016
Hi,
On 16/11/16 at 18:44 +0100, Raphael Hertzog wrote:
> Hi,
>
> On Sat, 12 Nov 2016, Scott Kitterman wrote:
> > > This failure happens on a CPU with TSX extensions available, but is not
> > > reproducible on a machine without them.
>
> I can't reproduce this either on my machine. But I have other failures
> (see below).
>
> Lucas, can you see if you reproduce your problem with this small
> patch:
> --- a/debian/rules
> +++ b/debian/rules
> @@ -23,7 +23,7 @@ override_dh_auto_test:
> ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
> set -e; cd tests && for python in $$(pyversions -s) $$(py3versions -s); do \
> echo "——— Running tests with $$python ———"; \
> - LC_ALL=C.UTF-8 PYTHONPATH=.. $$python ./runtests.py --verbosity=2; \
> + LC_ALL=C.UTF-8 PYTHONPATH=.. $$python ./runtests.py --verbosity=2 --parallel=4; \
> done
> endif
I can still reproduce the problem today _without_ the patch;
and adding --parallel=4 "fixes" the problem.
Lucas
More information about the Python-modules-team
mailing list