Bug#853032: ruby-hamster: Non-determistically FTBFS due to unreliable timing in tests

Chris Lamb lamby at debian.org
Sun Jan 29 06:44:18 UTC 2017


Source: ruby-hamster
Version: 3.0.0-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,

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

  […]
  
  Failures:
  
    1) Hamster::List doesn't give horrendously bad performance if thread realizing the list sleeps
       Failure/Error: elapsed.should_not > 0
  
         expected not: > 0.3
                  got:   0.315172362
       # ./spec/lib/hamster/list/multithreading_spec.rb:46:in `block (2 levels) in <top (required)>'
  
  Finished in 12.39 seconds (files took 1.34 seconds to load)
  4595 examples, 1 failure
  
  Failed examples:
  
  rspec ./spec/lib/hamster/list/multithreading_spec.rb:33 # Hamster::List doesn't give horrendously bad performance if thread realizing the list sleeps
  
  /usr/bin/ruby2.3 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
  ERROR: Test "ruby2.3" failed. Exiting.
  dh_auto_install: dh_ruby --install «BUILDDIR»/debian/ruby-hamster returned exit code 1
  debian/rules:18: recipe for target 'binary' failed
  make: *** [binary] Error 1
  dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2

  […]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-hamster.3.0.0-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 36736 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-bugs/attachments/20170129/451d6ddd/attachment-0001.obj>


More information about the Reproducible-bugs mailing list