[DRE-maint] Bug#795677: ruby-hitimes: Non-determinstic FTBFS due to unreliable timing benchmarks in tests
Chris Lamb
lamby at debian.org
Sun Aug 16 09:07:27 UTC 2015
Source: ruby-hitimes
Version: 1.2.1-2
Severity: serious
Justification: fails to build from source
Dear Maintainer,
ruby-hitimes non-deterministically fails to build from source due to
unreliable
timing benchmarks in tests:
[..]
7) Hitimes::TimedValueMetric can measure a block of code from an
instance
Failure/Error: t.duration.should be_within(0.004).of(0.15)
expected 0.156623768 to be within 0.004 of 0.15
# ./spec/timed_value_metric_spec.rb:125:in `block (2 levels) in
<top (required)>'
Deprecation Warnings:
Requiring `rspec/autorun` when running RSpec via the `rspec` command
is deprecated. Called from
/tmp/buildd/ruby-hitimes-1.2.1/spec/spec_helper.rb:7:in `<top
(required)>'.
Using `should` from rspec-expectations' old `:should` syntax without
explicitly enabling the syntax is deprecated. Use the new `:expect`
syntax or explicitly enable `:should` with `config.expect_with(:rspec)
{ |c| c.syntax = :should }` instead. Called from
/tmp/buildd/ruby-hitimes-1.2.1/spec/hitimes_spec.rb:8:in `block (2
levels) in <top (required)>'.
If you need more of the backtrace for any of these deprecations to
identify where to make the necessary changes, you can configure
`config.raise_errors_for_deprecations!`, and it will turn the
deprecation warnings into errors, giving you the full backtrace.
2 deprecation warnings total
Finished in 7.67 seconds (files took 1.1 seconds to load)
130 examples, 7 failures
Failed examples:
rspec ./spec/timed_metric_spec.rb:69 # Hitimes::TimedMetric keeps
track of the max value
rspec ./spec/timed_metric_spec.rb:140 # Hitimes::TimedMetric#to_hash
has the right sum
rspec ./spec/timed_value_metric_spec.rb:53 # Hitimes::TimedValueMetric
calculates the rate of the counts
rspec ./spec/timed_value_metric_spec.rb:59 # Hitimes::TimedValueMetric
calculates the stddev of the durations
rspec ./spec/timed_value_metric_spec.rb:76 # Hitimes::TimedValueMetric
keeps track of the max value
rspec ./spec/timed_value_metric_spec.rb:88 # Hitimes::TimedValueMetric
keeps track of the sum of squares value
rspec ./spec/timed_value_metric_spec.rb:122 #
Hitimes::TimedValueMetric can measure a block of code from an instance
/usr/bin/ruby2.1 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb
failed
ERROR: Test "ruby2.1" failed. Exiting.
dh_auto_install: dh_ruby --install
/tmp/buildd/ruby-hitimes-1.2.1/debian/ruby-hitimes returned exit code
1
debian/rules:15: 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 or can be viewed here:
https://reproducible.debian.net/logs/unstable/amd64/ruby-hitimes_1.2.1-2.build1.log.gz
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ruby-hitimes.1.2.1-2.unstable.amd64.log.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20150816/144d5a82/attachment-0001.txt>
More information about the Pkg-ruby-extras-maintainers
mailing list