Bug#1006999: python-plac: Non-determinstically FTBFS on amd64/unstable due to timing in tests

Chris Lamb lamby at debian.org
Thu Mar 10 10:11:36 GMT 2022


Source: python-plac
Version: 1.3.4-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
Tags: fbtfs

Dear maintainer,

python-plac will randomly fail to build because the testsuite performs
timing/benchmarking. This will vary on (for example) CPU and I/O load.

  ____________________________________ test3 _____________________________________
  
      def test3():
          t0 = time.time()
          plac.runp([gen(9), gen(9)])
  >       assert int(time.time() - t0) == 1 # it must take 1 second, not 2
  E       assert 2 == 1
  E         +2
  E         -1
  
  /build/1st/python-plac-1.3.4/.pybuild/cpython3_3.9_plac/build/doc/test_runp.py:26: AssertionError
  =========================== short test summary info ============================
  FAILED doc/test_runp.py::test3 - assert 2 == 1
  ========================= 1 failed, 28 passed in 6.12s =========================

  […]

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

  https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/python-plac_1.3.4-1.rbuild.log.gz


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-plac.1.3.4-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 9756 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220310/03c5d01d/attachment-0001.obj>


More information about the Reproducible-bugs mailing list