[Python-modules-team] Bug#851722: Bug#851722: django-pipeline: FTBFS randomly (failing tests)

Brian May bam at debian.org
Sun Jan 22 05:01:26 UTC 2017


Santiago Vila <sanvila at debian.org> writes:

> I tried to build this package in stretch with "dpkg-buildpackage -A"
> but it failed:

I am not able to reproduce this :-(

I am guessing it might be related to different order the tests are being
run in or something. Which can be non-determinstic - depends on order
files are listed in filesystem.

Are you able to reproduce with the following patch? This will show what
order the tests are being run in:


diff --git a/debian/rules b/debian/rules
index dc35e19..f53ec96 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,4 +21,4 @@ override_dh_installchangelogs:
        dh_installchangelogs -- HISTORY.rst
 
 override_dh_auto_test:
-       PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="PYTHONPATH=. python{version} /usr/bin/django-admin test --settings=tests.settings" dh_auto_test
+       PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="PYTHONPATH=. python{version} /usr/bin/django-admin test -v3 --settings=tests.settings" dh_auto_test


Thanks!
-- 
Brian May <bam at debian.org>



More information about the Python-modules-team mailing list