Bug#854542: python-stopit: Non-determistically FTBFS due to unreliable timing in tests

Chris Lamb lamby at debian.org
Wed Feb 8 06:26:35 UTC 2017


Source: python-stopit
Version: 1.1.1-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Dear Maintainer,

python-stopit's testsuite appears to use method timing/benchmarking in such 
a way that it will non-deterministically FTBFS:

  […]

  /build/1st/python-stopit-1.1.1/README.rst
  Doctest: README.rst ... ok
  /build/1st/python-stopit-1.1.1/README.rst
  Doctest: README.rst ... FAIL
  
  ======================================================================
  FAIL: /build/1st/python-stopit-1.1.1/README.rst
  Doctest: README.rst
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/usr/lib/python2.7/doctest.py", line 2226, in runTest
      raise self.failureException(self.format_failure(new.getvalue()))
  AssertionError: Failed doctest test for README.rst
    File "/build/1st/python-stopit-1.1.1/README.rst", line 0
  
  ----------------------------------------------------------------------
  File "/build/1st/python-stopit-1.1.1/README.rst", line 487, in README.rst
  Failed example:
      time.time() - start_time < 2.2
  Expected:
      True
  Got:
      False
  
  
  ----------------------------------------------------------------------
  Ran 2 tests in 16.292s
  
  FAILED (failures=1)
  Test failed: <unittest.runner.TextTestResult run=2 errors=0 failures=1>
  error: Test failed: <unittest.runner.TextTestResult run=2 errors=0 failures=1>
  E: pybuild pybuild:276: test: plugin distutils failed with: exit code=1: python2.7 setup.py test 
  dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
  debian/rules:7: recipe for target 'build' failed
  make: *** [build] Error 25
  dpkg-buildpackage: error: debian/rules build gave error exit status 2
  I: copying local configuration
  E: Failed autobuilding of package

  […]

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

    https://tests.reproducible-builds.org/debian/logs/unstable/i386/python-stopit_1.1.1-1.build1.log.gz


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-stopit.1.1.1-1.logs.unstable.log.txt.gz
Type: application/octet-stream
Size: 5711 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-bugs/attachments/20170208/b43ae714/attachment-0001.obj>


More information about the Reproducible-bugs mailing list