[DRE-maint] Bug#736409: ruby-prof: FTBFS nearly everywhere in a timing test

Andreas Beckmann anbe at debian.org
Thu Jan 23 11:51:11 UTC 2014


Source: ruby-prof
Version: 0.13.1-1
Severity: serious

Hi,

ruby-prof FTBFS on all architectures except powerpc:

https://buildd.debian.org/status/package.php?p=ruby-prof

Excerpt from
https://buildd.debian.org/status/fetch.php?pkg=ruby-prof&arch=i386&ver=0.13.1-1&stamp=1387838705

make "DESTDIR=" install
make[2]: Entering directory `/«PKGBUILDDIR»/ext/ruby_prof'
/usr/bin/install -c -m 0755 ruby_prof.so ./.gem.20131223-15730-1fqm95i
installing default ruby_prof libraries
make[2]: Leaving directory `/«PKGBUILDDIR»/ext/ruby_prof'
Rewriting shebang line of /«PKGBUILDDIR»/debian/ruby-prof/usr/bin/ruby-prof
/usr/bin/ruby1.9.1 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
Loaded suite -e
Started
.............................F
===============================================================================
Failure:
  <1.3800000000000001> -/+ <0.02> expected to include
  <1.4003886979999998>.
  
  Relation:
  <<1.3800000000000001>-<0.02>[1.36] <= <1.3800000000000001>+<0.02>[1.4000000000000001] < <1.4003886979999998>>
test_primes(MeasureProcessTimeTest)
/«PKGBUILDDIR»/test/measure_process_time_test.rb:45:in `test_primes'
     42: 
     43:     # Check times
     44:     assert_equal("MeasureProcessTimeTest#test_primes", methods[0].full_name)
  => 45:     assert_in_delta(total_time, methods[0].total_time, 0.02)
     46:     assert_in_delta(0.0, methods[0].wait_time, 0.01)
     47:     assert_in_delta(0.0, methods[0].self_time, 0.01)
     48: 
===============================================================================
.............................................................

Finished in 54.392949591 seconds.

89 tests, 741 assertions, 1 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
98.8764% passed

1.64 tests/s, 13.62 assertions/s
ERROR: Test "ruby1.9.1" failed. Exiting.
dh_auto_install: dh_ruby --install /«PKGBUILDDIR»/debian/ruby-prof returned exit code 1
make[1]: *** [override_dh_auto_install] Error 1
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [binary-arch] Error 2


Andreas



More information about the Pkg-ruby-extras-maintainers mailing list