[DRE-maint] Bug#713167: ruby-hiera-puppet: FTBFS: tests failed

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat Jun 22 11:54:44 UTC 2013


Source: ruby-hiera-puppet
Version: 1.0.0~rc1-2
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130620 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
>  fakeroot debian/rules binary
> dh binary --buildsystem=ruby --with ruby
>    dh_testroot -O--buildsystem=ruby
>    dh_prep -O--buildsystem=ruby
>    dh_auto_install -O--buildsystem=ruby
> /usr/lib/ruby/vendor_ruby/gem2deb.rb:17: warning: setting Encoding.default_external
> /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:31: warning: method redefined; discarding old visit_String
> /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:4: warning: previous definition of visit_String was here
> /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:39: warning: method redefined; discarding old register
> /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:12: warning: previous definition of register was here
> /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:43: warning: method redefined; discarding old format_time
> /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:16: warning: previous definition of format_time was here
> /usr/lib/ruby/1.9.1/rubygems/syck_hack.rb:115: warning: method redefined; discarding old to_s
> /usr/lib/ruby/1.9.1/rubygems/syck_hack.rb:44: warning: previous definition of to_s was here
>   Entering dh_ruby --install
> install -d /«PKGBUILDDIR»/debian/ruby-hiera-puppet/usr/bin
> install -D -m755 /«PKGBUILDDIR»/bin/extlookup2hiera /«PKGBUILDDIR»/debian/ruby-hiera-puppet/usr/bin/extlookup2hiera
> install -d /«PKGBUILDDIR»/debian/ruby-hiera-puppet/usr/lib/ruby/vendor_ruby
> install -D -m644 /«PKGBUILDDIR»/lib/puppet/parser/functions/hiera_include.rb /«PKGBUILDDIR»/debian/ruby-hiera-puppet/usr/lib/ruby/vendor_ruby/puppet/parser/functions/hiera_include.rb
> install -D -m644 /«PKGBUILDDIR»/lib/puppet/parser/functions/hiera_hash.rb /«PKGBUILDDIR»/debian/ruby-hiera-puppet/usr/lib/ruby/vendor_ruby/puppet/parser/functions/hiera_hash.rb
> install -D -m644 /«PKGBUILDDIR»/lib/puppet/parser/functions/hiera_array.rb /«PKGBUILDDIR»/debian/ruby-hiera-puppet/usr/lib/ruby/vendor_ruby/puppet/parser/functions/hiera_array.rb
> install -D -m644 /«PKGBUILDDIR»/lib/puppet/parser/functions/hiera.rb /«PKGBUILDDIR»/debian/ruby-hiera-puppet/usr/lib/ruby/vendor_ruby/puppet/parser/functions/hiera.rb
> install -D -m644 /«PKGBUILDDIR»/lib/hiera/scope.rb /«PKGBUILDDIR»/debian/ruby-hiera-puppet/usr/lib/ruby/vendor_ruby/hiera/scope.rb
> install -D -m644 /«PKGBUILDDIR»/lib/hiera/backend/puppet_backend.rb /«PKGBUILDDIR»/debian/ruby-hiera-puppet/usr/lib/ruby/vendor_ruby/hiera/backend/puppet_backend.rb
> Rewriting shebang line of /«PKGBUILDDIR»/debian/ruby-hiera-puppet/usr/bin/extlookup2hiera
> /usr/bin/ruby1.8 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
> /usr/bin/ruby1.8 -S rspec spec/unit/parser/functions/hiera_hash_spec.rb spec/unit/puppet_backend_spec.rb spec/unit/scope_spec.rb
> 
> *** Mocha deprecation warning: Change `require 'mocha'` to `require 'mocha/setup'`.
> 
> 
> *** Mocha deprecation warning: Test::Unit or MiniTest must be loaded *before* Mocha.
> 
> 
> *** Mocha deprecation warning: If you're integrating with a test library other than Test::Unit or MiniTest, you should use `require 'mocha/api'` instead of `require 'mocha'`.
> 
> F...............
> 
> Failures:
> 
>   1) Puppet::Parser::Functions#hiera_hash should require a key argument
>      Failure/Error: Unable to find matching line from backtrace
>      ArgumentError:
>        wrong number of arguments (0 for 1)
>      # ./spec/unit/parser/functions/hiera_hash_spec.rb:8:in `initialize'
>      # ./spec/unit/parser/functions/hiera_hash_spec.rb:8:in `new'
>      # ./spec/unit/parser/functions/hiera_hash_spec.rb:8
> 
> Finished in 0.03741 seconds
> 16 examples, 1 failure
> 
> Failed examples:
> 
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:185 # Puppet::Parser::Functions#hiera_hash should require a key argument
> rake aborted!
> /usr/bin/ruby1.8 -S rspec spec/unit/parser/functions/hiera_hash_spec.rb spec/unit/puppet_backend_spec.rb spec/unit/scope_spec.rb failed
> -e:1
> Tasks: TOP => default => test
> (See full trace by running task with --trace)
> ERROR: Test "ruby1.8" failed. Exiting.
> dh_auto_install: dh_ruby --install /«PKGBUILDDIR»/debian/ruby-hiera-puppet returned exit code 1
> make: *** [binary] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/06/20/ruby-hiera-puppet_1.0.0~rc1-2_unstable.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



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