Bug#853244: ruby-sshkit: Non-determistically FTBFS due to unreliable timing in tests

Chris Lamb lamby at debian.org
Mon Jan 30 19:38:32 UTC 2017


Source: ruby-sshkit
Version: 1.9.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-sshkit's testsuite appears to use method timing/benchmarking in
such a way that it will non-deterministically FTBFS:

117     def assert_within_10_ms(array)
118       assert_in_delta(*array, 0.01) # 10 msec
119     end

  […]
  
  Finished in 23.29586s
  179 tests, 3317 assertions, 3 failures, 0 errors, 0 skips
  rake aborted!
  Command failed with status (1): [ruby -I"lib:test"  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/unit/backends/test_abstract.rb" "test/unit/backends/test_connection_pool.rb" "test/unit/backends/test_local.rb" "test/unit/backends/test_netssh.rb" "test/unit/backends/test_printer.rb" "test/unit/core_ext/test_string.rb" "test/unit/formatters/test_custom.rb" "test/unit/formatters/test_dot.rb" "test/unit/formatters/test_pretty.rb" "test/unit/formatters/test_simple_text.rb" "test/unit/test_color.rb" "test/unit/test_command.rb" "test/unit/test_command_map.rb" "test/unit/test_configuration.rb" "test/unit/test_coordinator.rb" "test/unit/test_deprecation_logger.rb" "test/unit/test_dsl.rb" "test/unit/test_host.rb" "test/unit/test_logger.rb" "test/unit/test_mapping_interaction_handler.rb" ]
  
  Tasks: TOP => default => test
  (See full trace by running task with --trace)
  ERROR: Test "ruby2.3" failed. Exiting.
  dh_auto_install: dh_ruby --install «BUILDDIR»/debian/ruby-sshkit returned exit code 1
  debian/rules:6: 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-sshkit.1.9.0-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 5613 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-bugs/attachments/20170130/8cc4fe79/attachment.obj>


More information about the Reproducible-bugs mailing list