[DRE-maint] Bug#593020: librspec-ruby: FTBFS: failed tests

Lucas Nussbaum lucas at lucas-nussbaum.net
Sun Aug 15 07:55:01 UTC 2010


Source: librspec-ruby
Version: 1.3.0-2
Severity: serious
Tags: squeeze sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20100815 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
>  /usr/bin/fakeroot debian/rules binary
> test -x debian/rules
> dh_testroot
> dh_clean -k 
> dh_clean: dh_clean -k is deprecated; use dh_prep instead
> dh_installdirs -A 
> mkdir -p "."
> Adding cdbs dependencies to debian/librspec-ruby1.8.substvars
> dh_installdirs -plibrspec-ruby1.8 
> INLINEDIR=. ruby1.8 bin/spec --options spec/spec.opts spec/spec
> Profiling enabled.
> ......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*.....*.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*.....................................*.........................................................................
> 
> 
> Top 10 slowest examples:
> 0.3222500 HeckleRunner should heckle all methods in all classes in a module
> 0.1984970 HeckleRunner should heckle all methods in a class
> 0.1684400 ExampleGroup with test/unit/interop with passing examples should output 0 failures
> 0.1683820 ExampleGroup with test/unit/interop with failing examples should output 1 failure
> 0.1683370 ExampleGroup with test/unit/interop with example that raises an error should output 1 failure
> 0.1676820 TestSuiteAdapter should pass
> 0.1672560 ExampleGroup with test/unit/interop with failing examples should return an exit code of 256
> 0.1671660 ExampleGroup with test/unit/interop with passing examples should return an exit code of 0
> 0.1671490 Test::Unit::TestCase with test case that raises an error should return an exit code of 256
> 0.1671430 Test::Unit::TestCase with failing test case should return an exit code of 256
> 
> Pending:
> 
> Spec::Runner::Formatter::TextMateFormatter functional spec using --diff should produce HTML identical to the one we designed manually with --diff (The required syntax higlighting library is not available as a debian package yet.)
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/runner/formatter/text_mate_formatter_spec.rb:62
> 
> Spec::Runner::Formatter::HtmlFormatter should produce HTML identical to the one we designed manually with --diff (The required syntax higlighting library is not available as a debian package yet.)
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/runner/formatter/html_formatter_spec.rb:51
> 
> mock failure should tell you when it receives the right message with the wrong args if you stub the method (fix bug 15719)
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/mocks/bug_report_15719_spec.rb:16
> 
> a message expectation on a base class object should correctly pick up message sent to it subclass (fix for http://rspec.lighthouseapp.com/projects/5645/tickets/496)
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/mocks/bug_report_496_spec.rb:11
> 
> Finished in 6.364877 seconds
> 
> 1556 examples, 0 failures, 4 pending
> Adding cdbs dependencies to debian/librspec-ruby1.9.1.substvars
> dh_installdirs -plibrspec-ruby1.9.1 
> mv spec/spec/interop/test debian/test.backup
> INLINEDIR=. ruby1.9.1 bin/spec --options spec/spec.opts spec/spec
> Profiling enabled.
> ................................................................................................................................................................................................................................................................................................................................................................................................................F..........................................................................................................................................................................................................................................................................FFFF...F...F...........F..F..................................F.........................................................................................F...................................................................................................................................*.FFFFFF...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................*.....................................*............FF......FF.....FF............................................
> 
> 
> Top 10 slowest examples:
> 0.4741131 Spec::Runner::CommandLine should not output twice
> 0.2826161 The bin/spec script should have no warnings
> 0.2790974 The bin/spec script should show the help w/ no args
> 0.0514740 OptionParser when attempting a focussed spec with the --line flag should correctly identify the spec
> 0.0417046 Spec::Runner::Formatter::TextMateFormatter functional spec using --dry-run should produce HTML identical to the one we designed manually with --dry-run
> 0.0413548 OptionParser when attempting a focussed spec with the colon syntax (filename:LINE_NUMBER) should correctly identify the spec
> 0.0412233 OptionParser should use specdoc formatter when format is specdoc
> 0.0381198 A method stub should clear itself when verified
> 0.0360509 LineNumberQuery should find spec name for 'specify' at end of spec line
> 0.0353876 Spec::Runner::Options#run_examples when there are no examples does not run Examples and does not output a result
> 
> Pending:
> 
> Spec::Runner::Formatter::TextMateFormatter functional spec using --diff should produce HTML identical to the one we designed manually with --diff (The required syntax higlighting library is not available as a debian package yet.)
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/runner/formatter/text_mate_formatter_spec.rb:62:in `block (2 levels) in <module:Formatter>'
> 
> mock failure should tell you when it receives the right message with the wrong args if you stub the method (fix bug 15719)
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/mocks/bug_report_15719_spec.rb:16:in `block in <module:Mocks>'
> 
> a message expectation on a base class object should correctly pick up message sent to it subclass (fix for http://rspec.lighthouseapp.com/projects/5645/tickets/496)
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/mocks/bug_report_496_spec.rb:11:in `block in <module:BugReport496>'
> 
> 1)
> 'array.should =~ other_array should not sort items in the error message if they don't all respond to <=>' FAILED
> expected Spec::Expectations::ExpectationNotMetError with "expected collection contained:  [4, 3]\nactual collection contained:    [2, 1]\nthe missing elements were:      [4, 3]\nthe extra elements were:        [2, 1]\n", got #<ArgumentError: comparison of UnsortableObject with UnsortableObject failed>
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/matchers/match_array_spec.rb:70:in `block (2 levels) in <top (required)>'
> 
> 2)
> ArgumentError in 'implicit subject with a class returns an instance of the class'
> wrong number of arguments (1 for 0)
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/example/subject_spec.rb:10:in `block (3 levels) in <module:Example>'
> 
> 3)
> ArgumentError in 'implicit subject with a Module returns the Module'
> wrong number of arguments (1 for 0)
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/example/subject_spec.rb:18:in `block (3 levels) in <module:Example>'
> 
> 4)
> ArgumentError in 'implicit subject with a string return the string'
> wrong number of arguments (1 for 0)
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/example/subject_spec.rb:26:in `block (3 levels) in <module:Example>'
> 
> 5)
> ArgumentError in 'implicit subject with a number returns the number'
> wrong number of arguments (1 for 0)
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/example/subject_spec.rb:34:in `block (3 levels) in <module:Example>'
> 
> 6)
> '.its (to access subject's attributes) passes when expectation should pass' FAILED
> expected: true,
>      got: false (using ==)
> 
>  Diff:
> @@ -1,2 +1,2 @@
> -true
> +false
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/example/subject_spec.rb:92:in `block (3 levels) in <module:Example>'
> 
> 7)
> TypeError in 'Spec::Example::ExampleGroupProxy#filtered_description (DEPRECATED) is deprecated'
> can't convert Spec::Mocks::Mock to Array (Spec::Mocks::Mock#to_a gives Spec::Mocks::Mock)
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/example/example_group_proxy_spec.rb:36:in `block (3 levels) in <module:Example>'
> 
> 8)
> 'Spec::Example::ExampleMethods#should in an ExampleGroup with an implicit subject delegates matcher to the implied subject' FAILED
> expected false to be true
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/example/example_methods_spec.rb:46:in `block (4 levels) in <module:Example>'
> 
> 9)
> 'Spec::Example::ExampleMethods#should_not in an ExampleGroup with an implicit subject delegates matcher to the implied subject' FAILED
> expected false to be true
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/example/example_methods_spec.rb:86:in `block (4 levels) in <module:Example>'
> 
> 10)
> 'Spec::Example::ExampleGroup via a class definition can NOT access class variables in examples in Ruby 1.9' FAILED
> expected NameError but nothing was raised
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/example/example_group_spec.rb:29:in `block (2 levels) in <class:ExampleModuleScopingSpec>'
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec_helper.rb:46:in `with_ruby'
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/example/example_group_spec.rb:28:in `block in <class:ExampleModuleScopingSpec>'
> 
> 11)
> LoadError in 'Spec::Runner::CommandLine.run should run directory'
> no such file to load -- examples/passing/file_accessor
> <internal:lib/rubygems/custom_require>:29:in `require'
> <internal:lib/rubygems/custom_require>:29:in `require'
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/examples/passing/file_accessor_spec.rb:1:in `<top (required)>'
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec_helper.rb:42:in `run_with'
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/runner/command_line_spec.rb:15:in `block (3 levels) in <module:Runner>'
> 
> 12)
> RuntimeError in 'Spec::Runner::Formatter::HtmlFormatter should have method_missing as private'
> There is no HTML file with expected content for this platform: /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/runner/formatter/html_formatted-1.9.2.html
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/runner/formatter/html_formatter_spec.rb:21:in `block (2 levels) in <module:Formatter>'
> 
> 13)
> RuntimeError in 'Spec::Runner::Formatter::HtmlFormatter should not respond_to? method_missing (because it's private)'
> There is no HTML file with expected content for this platform: /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/runner/formatter/html_formatted-1.9.2.html
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/runner/formatter/html_formatter_spec.rb:21:in `block (2 levels) in <module:Formatter>'
> 
> 14)
> RuntimeError in 'Spec::Runner::Formatter::HtmlFormatter should respond_to? all messages'
> There is no HTML file with expected content for this platform: /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/runner/formatter/html_formatted-1.9.2.html
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/runner/formatter/html_formatter_spec.rb:21:in `block (2 levels) in <module:Formatter>'
> 
> 15)
> RuntimeError in 'Spec::Runner::Formatter::HtmlFormatter should respond_to? anything, when given the private flag'
> There is no HTML file with expected content for this platform: /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/runner/formatter/html_formatted-1.9.2.html
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/runner/formatter/html_formatter_spec.rb:21:in `block (2 levels) in <module:Formatter>'
> 
> 16)
> RuntimeError in 'Spec::Runner::Formatter::HtmlFormatter should produce HTML identical to the one we designed manually with --diff'
> There is no HTML file with expected content for this platform: /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/runner/formatter/html_formatted-1.9.2.html
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/runner/formatter/html_formatter_spec.rb:21:in `block (2 levels) in <module:Formatter>'
> 
> 17)
> RuntimeError in 'Spec::Runner::Formatter::HtmlFormatter should produce HTML identical to the one we designed manually with --dry-run'
> There is no HTML file with expected content for this platform: /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/runner/formatter/html_formatted-1.9.2.html
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/runner/formatter/html_formatter_spec.rb:21:in `block (2 levels) in <module:Formatter>'
> 
> 18)
> ArgumentError in 'Spec::Example::Fish should == false'
> wrong number of arguments (1 for 0)
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/example/predicate_matcher_spec.rb:27:in `block (4 levels) in <module:Example>'
> 
> 19)
> ArgumentError in 'Spec::Example::Fish should == false'
> wrong number of arguments (1 for 0)
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/example/predicate_matcher_spec.rb:35:in `block (4 levels) in <module:Example>'
> 
> 20)
> ArgumentError in 'Thing should not be nil'
> wrong number of arguments (1 for 0)
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/example/example_methods_spec.rb:44:in `block (5 levels) in <module:Example>'
> 
> 21)
> ArgumentError in 'Thing should not be nil'
> wrong number of arguments (1 for 0)
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/example/example_methods_spec.rb:45:in `block (5 levels) in <module:Example>'
> 
> 22)
> ArgumentError in 'Thing should be true'
> wrong number of arguments (1 for 0)
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/example/example_methods_spec.rb:84:in `block (5 levels) in <module:Example>'
> 
> 23)
> ArgumentError in 'Thing should be true'
> wrong number of arguments (1 for 0)
> /build/user-librspec-ruby_1.3.0-2-amd64-iuPeiB/librspec-ruby-1.3.0/spec/spec/example/example_methods_spec.rb:85:in `block (5 levels) in <module:Example>'
> 
> Finished in 2.984675367 seconds
> 
> 1533 examples, 23 failures, 3 pending
> make: *** [install/librspec-ruby1.9.1] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2010/08/15/librspec-ruby_1.3.0-2_lsid64.buildlog

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 about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |






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