[DRE-maint] Bug#743071: ruby-shoulda-context: FTBFS: ERROR: Test "ruby2.0" failed: NoMethodError: undefined method `expects' for Test::Unit::TestCase:Class

David Suárez david.sephirot at gmail.com
Sun Mar 30 16:50:36 UTC 2014


Source: ruby-shoulda-context
Version: 1.1.2-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140329 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part (hopefully):
>   NoMethodError: undefined method `expects' for Test::Unit::TestCase:Class
> /«PKGBUILDDIR»/test/shoulda/should_test.rb:212:in `test_should_create_test_methods_on_build_when_subcontext'
>      209:       end
>      210:     end
>      211: 
>   => 212:     tu_class.expects(:define_method).with(:"test: A Context with a child should define the test. ")
>      213:     context.build
>      214:   end
>      215: 
> ===============================================================================
> .....
> 
> Finished in 0.762444236 seconds.
> 
> 102 tests, 107 assertions, 0 failures, 29 errors, 0 pendings, 0 omissions, 0 notifications
> 71.5686% passed
> 
> 133.78 tests/s, 140.34 assertions/s
> rake aborted!
> Command failed with status (1): [ruby -I"lib:debian/ruby-shoulda-context/usr/lib/ruby/vendor_ruby:test" -I"/usr/lib/ruby/vendor_ruby" "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/**/*_test.rb" ]
> -e:1:in `<main>'
> Tasks: TOP => default => test
> (See full trace by running task with --trace)
> ERROR: Test "ruby2.0" failed: 

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/03/29/ruby-shoulda-context_1.1.2-1_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