[Reproducible-builds] Bug#798441: python-bleach: Non-determistically FTBFS due to unreliable tests

Chris Lamb lamby at debian.org
Wed Sep 9 11:32:53 UTC 2015


Source: python-bleach
Version: 1.4-1
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,

python-bleach's testsuite can non-deterministically fail, causing the
package
to FTBFS:

  [..]
  nosetests3
  ...................F............................................................................................................
  ======================================================================
  FAIL: Make sure that applying the filter twice doesn't change
  anything.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/nose/case.py", line 198, in
    runTest
      self.test(*self.arg)
    File "/tmp/buildd/python-bleach-1.4/bleach/tests/test_basics.py",
    line 156, in test_idempotent
      eq_(linked, bleach.linkify(linked))
  AssertionError: '<span>invalid & </span> < extra <a
  rel="nofollow" href="http://link.com">http://link.com</a><em></em>' !=
  '<span>invalid & </span> < extra <a href="http://link.com"
  rel="nofollow">http://link.com</a><em></em>'
  
  ----------------------------------------------------------------------
  Ran 128 tests in 1.007s
  
  FAILED (failures=1)
  debian/rules:13: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 1
  make[1]: Leaving directory '/tmp/buildd/python-bleach-1.4'
  debian/rules:6: recipe for target 'build' failed
  make: *** [build] Error 2
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

  [..]

You can see demonstrate this by leaving this to run for a minute or so:

  $ while nosetests3 bleach.tests.test_basics:test_idempotent; do :;
  done

Curiously, I cannot reproduce when running the tests under Python 2.X
which may help track down the underlying issue.

The full build log is attached or can be viewed here:

    https://reproducible.debian.net/logs/unstable/amd64/python-bleach_1.4-1.build2.log.gz


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: python-bleach.1.4-1.unstable.amd64.log.txt
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150909/39331ecb/attachment.txt>


More information about the Reproducible-builds mailing list