[DRE-maint] Bug#866870: ruby-rspec-puppet FTBFS: test failures

Adrian Bunk bunk at debian.org
Sun Jul 2 11:07:41 UTC 2017


Source: ruby-rspec-puppet
Version: 2.4.0-1
Severity: serious

Some recent change in unstable makes ruby-rspec-puppet FTBFS:

https://tests.reproducible-builds.org/debian/history/ruby-rspec-puppet.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-rspec-puppet.html

...
┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby2.3 from debian/ruby-tests.rake                            │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=/build/1st/ruby-rspec-puppet-2.4.0/debian/ruby-rspec-puppet/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/ruby-rspec-puppet/usr/share/rubygems-integration/all:/var/lib/gems/2.3.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0:/usr/share/rubygems-integration/2.3.0:/usr/share/rubygems-integration/all ruby2.3 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.3 /usr/bin/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb
...........................................................................................................................................................................................................FF.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Total resources:   62
Touched resources: 34
Resource coverage: 54.84%
Untouched resources:

  Class[Cycle::Bad]
  Class[Cycle::Good]
  Class[Export_resource]
  Class[Relationships::Before]
  Class[Relationships::Notify]
  Class[Test::Classes_used]
  Class[Test::Compile_error]
  Class[Test::Hiera]
  File[/tmp/deptest1]
  File[/tmp/deptest2]
  File[/tmp]
  File[tmpdir]
  Node[__node_regexp__testhost]
  Node[bad_dep_host]
  Node[default]
  Node[facts.acme.com]
  Node[good_dep_host]
  Node[testhost_a]
  Notify[["first", "second", ["third", "fourth"], 5, 6]]
  Notify[["first", 1, "second", 2]]
  Notify[["foo", "bar", "baz", "quux"]]
  Notify[message-test define]
  Notify[middle]
  Notify[{"first"=>1, "second"=>2, "third"=>{"alpha"=>"a", "beta"=>"b"}}]
  Notify[{"first"=>1, "second"=>2}]
  Notify[{"foo"=>"bar", "baz"=>"quux"}]
  Notify[{1=>"uno", 2=>"dos"}]
  User[foo]


Failures:

  1) split should run split("foo") and raise an ArgumentError with the message matching /mis-matched arguments/
     Failure/Error: it { should run.with_params('foo').and_raise_error(expected_error, expected_error_message) }
       expected split("foo") to have raised ArgumentError matching /mis-matched arguments/ instead of ArgumentError('split' expects 2 arguments, got 1)
     # ./spec/functions/split_spec.rb:23:in `block (2 levels) in <top (required)>'

  2) split should run split("foo") and raise an Exception with the message matching /mis-matched arguments/
     Failure/Error: it { should run.with_params('foo').and_raise_error(expected_error_message) }
       expected split("foo") to have raised Exception matching /mis-matched arguments/ instead of ArgumentError('split' expects 2 arguments, got 1)
     # ./spec/functions/split_spec.rb:25:in `block (2 levels) in <top (required)>'

Finished in 10.46 seconds (files took 2.25 seconds to load)
1030 examples, 2 failures

Failed examples:

rspec ./spec/functions/split_spec.rb:23 # split should run split("foo") and raise an ArgumentError with the message matching /mis-matched arguments/
rspec ./spec/functions/split_spec.rb:25 # split should run split("foo") and raise an Exception with the message matching /mis-matched arguments/

/usr/bin/ruby2.3 /usr/bin/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb failed
ERROR: Test "ruby2.3" failed. Exiting.
dh_auto_install: dh_ruby --install /build/1st/ruby-rspec-puppet-2.4.0/debian/ruby-rspec-puppet returned exit code 1
debian/rules:15: recipe for target 'binary' failed
make: *** [binary] Error 1


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