[DRE-maint] Bug#713163: ruby-sinatra-contrib: FTBFS: tests failed

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat Jun 22 11:56:14 UTC 2013


Source: ruby-sinatra-contrib
Version: 1.3.2-1
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-sinatra-contrib/usr/lib/ruby/vendor_ruby
> install -D -m644 /«PKGBUILDDIR»/lib/sinatra/test_helpers.rb /«PKGBUILDDIR»/debian/ruby-sinatra-contrib/usr/lib/ruby/vendor_ruby/sinatra/test_helpers.rb
> install -D -m644 /«PKGBUILDDIR»/lib/sinatra/streaming.rb /«PKGBUILDDIR»/debian/ruby-sinatra-contrib/usr/lib/ruby/vendor_ruby/sinatra/streaming.rb
> install -D -m644 /«PKGBUILDDIR»/lib/sinatra/respond_with.rb /«PKGBUILDDIR»/debian/ruby-sinatra-contrib/usr/lib/ruby/vendor_ruby/sinatra/respond_with.rb
> install -D -m644 /«PKGBUILDDIR»/lib/sinatra/reloader.rb /«PKGBUILDDIR»/debian/ruby-sinatra-contrib/usr/lib/ruby/vendor_ruby/sinatra/reloader.rb
> install -D -m644 /«PKGBUILDDIR»/lib/sinatra/namespace.rb /«PKGBUILDDIR»/debian/ruby-sinatra-contrib/usr/lib/ruby/vendor_ruby/sinatra/namespace.rb
> install -D -m644 /«PKGBUILDDIR»/lib/sinatra/multi_route.rb /«PKGBUILDDIR»/debian/ruby-sinatra-contrib/usr/lib/ruby/vendor_ruby/sinatra/multi_route.rb
> install -D -m644 /«PKGBUILDDIR»/lib/sinatra/link_header.rb /«PKGBUILDDIR»/debian/ruby-sinatra-contrib/usr/lib/ruby/vendor_ruby/sinatra/link_header.rb
> install -D -m644 /«PKGBUILDDIR»/lib/sinatra/json.rb /«PKGBUILDDIR»/debian/ruby-sinatra-contrib/usr/lib/ruby/vendor_ruby/sinatra/json.rb
> install -D -m644 /«PKGBUILDDIR»/lib/sinatra/extension.rb /«PKGBUILDDIR»/debian/ruby-sinatra-contrib/usr/lib/ruby/vendor_ruby/sinatra/extension.rb
> install -D -m644 /«PKGBUILDDIR»/lib/sinatra/engine_tracking.rb /«PKGBUILDDIR»/debian/ruby-sinatra-contrib/usr/lib/ruby/vendor_ruby/sinatra/engine_tracking.rb
> install -D -m644 /«PKGBUILDDIR»/lib/sinatra/decompile.rb /«PKGBUILDDIR»/debian/ruby-sinatra-contrib/usr/lib/ruby/vendor_ruby/sinatra/decompile.rb
> install -D -m644 /«PKGBUILDDIR»/lib/sinatra/cookies.rb /«PKGBUILDDIR»/debian/ruby-sinatra-contrib/usr/lib/ruby/vendor_ruby/sinatra/cookies.rb
> install -D -m644 /«PKGBUILDDIR»/lib/sinatra/contrib/version.rb /«PKGBUILDDIR»/debian/ruby-sinatra-contrib/usr/lib/ruby/vendor_ruby/sinatra/contrib/version.rb
> install -D -m644 /«PKGBUILDDIR»/lib/sinatra/contrib/setup.rb /«PKGBUILDDIR»/debian/ruby-sinatra-contrib/usr/lib/ruby/vendor_ruby/sinatra/contrib/setup.rb
> install -D -m644 /«PKGBUILDDIR»/lib/sinatra/contrib/all.rb /«PKGBUILDDIR»/debian/ruby-sinatra-contrib/usr/lib/ruby/vendor_ruby/sinatra/contrib/all.rb
> install -D -m644 /«PKGBUILDDIR»/lib/sinatra/contrib.rb /«PKGBUILDDIR»/debian/ruby-sinatra-contrib/usr/lib/ruby/vendor_ruby/sinatra/contrib.rb
> install -D -m644 /«PKGBUILDDIR»/lib/sinatra/content_for.rb /«PKGBUILDDIR»/debian/ruby-sinatra-contrib/usr/lib/ruby/vendor_ruby/sinatra/content_for.rb
> install -D -m644 /«PKGBUILDDIR»/lib/sinatra/config_file.rb /«PKGBUILDDIR»/debian/ruby-sinatra-contrib/usr/lib/ruby/vendor_ruby/sinatra/config_file.rb
> install -D -m644 /«PKGBUILDDIR»/lib/sinatra/capture.rb /«PKGBUILDDIR»/debian/ruby-sinatra-contrib/usr/lib/ruby/vendor_ruby/sinatra/capture.rb
> /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/capture_spec.rb ./spec/config_file_spec.rb ./spec/content_for_spec.rb ./spec/cookies_spec.rb ./spec/decompile_spec.rb ./spec/extension_spec.rb ./spec/json_spec.rb ./spec/link_header_spec.rb ./spec/multi_route_spec.rb ./spec/namespace_spec.rb ./spec/reloader_spec.rb ./spec/respond_with_spec.rb ./spec/streaming_spec.rb
> ......FF.....................................................................................................................................................................................FFF...FFF....F..F...F...F...F....FFF.......F..F..F...F.....F.....F........FF.F........F..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F.FF.........................................................
> 
> Failures:
> 
>   1) Sinatra::Capture erubis behaves like a template language captures content
>      Failure/Error: Unable to find matching line from backtrace
>      NameError:
>        uninitialized constant Erubis::Eruby
>      Shared Example Group: "a template language" called from 
>      # ./lib/sinatra/engine_tracking.rb:91:in `render'
>      # ./lib/sinatra/engine_tracking.rb:83:in `with_engine'
>      # ./lib/sinatra/engine_tracking.rb:91:in `render'
>      # ./spec/capture_spec.rb:18:in `send'
>      # ./spec/capture_spec.rb:18:in `render'
>      # ./spec/capture_spec.rb:25
> 
>   2) Sinatra::Capture erubis behaves like a template language allows nested captures
>      Failure/Error: Unable to find matching line from backtrace
>      NameError:
>        uninitialized constant Erubis::Eruby
>      Shared Example Group: "a template language" called from 
>      # ./lib/sinatra/engine_tracking.rb:91:in `render'
>      # ./lib/sinatra/engine_tracking.rb:83:in `with_engine'
>      # ./lib/sinatra/engine_tracking.rb:91:in `render'
>      # ./spec/capture_spec.rb:18:in `send'
>      # ./spec/capture_spec.rb:18:in `render'
>      # ./spec/capture_spec.rb:29
> 
>   3) Sinatra::Cookies clear removes request cookies from cookies hash
>      Failure/Error: Unable to find matching line from backtrace
>        expected: nil
>             got: ""
>      # ./spec/cookies_spec.rb:146
> 
>   4) Sinatra::Cookies clear removes response cookies from cookies hash
>      Failure/Error: Unable to find matching line from backtrace
>        expected: nil
>             got: ""
>      # ./spec/cookies_spec.rb:150
> 
>   5) Sinatra::Cookies clear expiers existing cookies
>      Failure/Error: Unable to find matching line from backtrace
>        expected "foo=; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 -0000" to include "foo=; expires=Thu, 01-Jan-1970 00:00:00 GMT"
>      # ./spec/cookies_spec.rb:158
> 
>   6) Sinatra::Cookies delete removes request cookies from cookies hash
>      Failure/Error: Unable to find matching line from backtrace
>        expected: nil
>             got: ""
>      # ./spec/cookies_spec.rb:182
> 
>   7) Sinatra::Cookies delete removes response cookies from cookies hash
>      Failure/Error: Unable to find matching line from backtrace
>        expected: nil
>             got: ""
>      # ./spec/cookies_spec.rb:186
> 
>   8) Sinatra::Cookies delete expiers existing cookies
>      Failure/Error: Unable to find matching line from backtrace
>        expected "foo=; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 -0000" to include "foo=; expires=Thu, 01-Jan-1970 00:00:00 GMT"
>      # ./spec/cookies_spec.rb:194
> 
>   9) Sinatra::Cookies delete_if deletes cookies that match the block
>      Failure/Error: Unable to find matching line from backtrace
>        expected: == [nil, nil, "foo"]
>             got:    ["", "", "foo"]
>      # ./spec/cookies_spec.rb:227
> 
>   10) Sinatra::Cookies each does not loop through deleted cookies
>      Failure/Error: Unable to find matching line from backtrace
>      RuntimeError:
>      # ./spec/cookies_spec.rb:271
>      # ./lib/sinatra/cookies.rb:126:in `each'
>      # ./lib/sinatra/cookies.rb:126:in `each'
>      # ./spec/cookies_spec.rb:271
>      # ./spec/cookies_spec.rb:9:in `instance_eval'
>      # ./spec/cookies_spec.rb:9:in `GET /'
>      # ./spec/cookies_spec.rb:12:in `cookie_route'
>      # ./spec/cookies_spec.rb:269
> 
>   11) Sinatra::Cookies each_key does not loop through deleted cookies
>      Failure/Error: Unable to find matching line from backtrace
>      RuntimeError:
>      # ./spec/cookies_spec.rb:310
>      # ./lib/sinatra/cookies.rb:131:in `each_key'
>      # ./lib/sinatra/cookies.rb:131:in `each_key'
>      # ./spec/cookies_spec.rb:310
>      # ./spec/cookies_spec.rb:9:in `instance_eval'
>      # ./spec/cookies_spec.rb:9:in `GET /'
>      # ./spec/cookies_spec.rb:12:in `cookie_route'
>      # ./spec/cookies_spec.rb:308
> 
>   12) Sinatra::Cookies each_pair does not loop through deleted cookies
>      Failure/Error: Unable to find matching line from backtrace
>      RuntimeError:
>      # ./spec/cookies_spec.rb:357
>      # ./lib/sinatra/cookies.rb:126:in `each'
>      # ./lib/sinatra/cookies.rb:126:in `each_pair'
>      # ./spec/cookies_spec.rb:357
>      # ./spec/cookies_spec.rb:9:in `instance_eval'
>      # ./spec/cookies_spec.rb:9:in `GET /'
>      # ./spec/cookies_spec.rb:12:in `cookie_route'
>      # ./spec/cookies_spec.rb:355
> 
>   13) Sinatra::Cookies each_value does not loop through deleted cookies
>      Failure/Error: Unable to find matching line from backtrace
>      RuntimeError:
>      # ./spec/cookies_spec.rb:397
>      # ./lib/sinatra/cookies.rb:138:in `each_value'
>      # ./lib/sinatra/cookies.rb:138:in `each_value'
>      # ./spec/cookies_spec.rb:397
>      # ./spec/cookies_spec.rb:9:in `instance_eval'
>      # ./spec/cookies_spec.rb:9:in `GET /'
>      # ./spec/cookies_spec.rb:12:in `cookie_route'
>      # ./spec/cookies_spec.rb:395
> 
>   14) Sinatra::Cookies empty? becomes true if response cookies are removed
>      Failure/Error: Unable to find matching line from backtrace
>        expected: true value
>             got: false
>      # ./spec/cookies_spec.rb:426
> 
>   15) Sinatra::Cookies empty? becomes true if request cookies are removed
>      Failure/Error: Unable to find matching line from backtrace
>        expected: true value
>             got: false
>      # ./spec/cookies_spec.rb:434
> 
>   16) Sinatra::Cookies empty? becomes true after clear
>      Failure/Error: Unable to find matching line from backtrace
>        expected: true value
>             got: false
>      # ./spec/cookies_spec.rb:441
> 
>   17) Sinatra::Cookies has_key? does not use deleted cookies
>      Failure/Error: Unable to find matching line from backtrace
>        expected #has_key?("foo") to return false, got true
>      # ./spec/cookies_spec.rb:496
> 
>   18) Sinatra::Cookies has_value? does not use deleted cookies
>      Failure/Error: Unable to find matching line from backtrace
>        expected #has_value?("bar") to return false, got true
>      # ./spec/cookies_spec.rb:514
> 
>   19) Sinatra::Cookies include? does not use deleted cookies
>      Failure/Error: Unable to find matching line from backtrace
>        expected <#Sinatra::Cookies::Jar: "foo"=>""> not to include "foo"
>        Diff:
>        @@ -1,2 +1,2 @@
>        -["foo"]
>        +<#Sinatra::Cookies::Jar: "foo"=>"">
>      # ./spec/cookies_spec.rb:532
> 
>   20) Sinatra::Cookies keep_if removes entries
>      Failure/Error: Unable to find matching line from backtrace
>        expected: == {"bar"=>"baz"}
>             got:    <#Sinatra::Cookies::Jar: "bar"=>"baz", "foo"=>"">
>      # ./spec/cookies_spec.rb:556
> 
>   21) Sinatra::Cookies key? does not use deleted cookies
>      Failure/Error: Unable to find matching line from backtrace
>        expected: false value
>             got: true
>      # ./spec/cookies_spec.rb:590
> 
>   22) Sinatra::Cookies member? does not use deleted cookies
>      Failure/Error: Unable to find matching line from backtrace
>        expected: false value
>             got: true
>      # ./spec/cookies_spec.rb:617
> 
>   23) Sinatra::Cookies reject! removes entries
>      Failure/Error: Unable to find matching line from backtrace
>        expected: == {"foo"=>"bar"}
>             got:    <#Sinatra::Cookies::Jar: "bar"=>"", "foo"=>"bar">
>      # ./spec/cookies_spec.rb:689
> 
>   24) Sinatra::Cookies replace replaces entries
>      Failure/Error: Unable to find matching line from backtrace
>        expected: == {"baz"=>"bar", "foo"=>"baz"}
>             got:    <#Sinatra::Cookies::Jar: "baz"=>"bar", "bar"=>"", "foo"=>"baz">
>      # ./spec/cookies_spec.rb:697
> 
>   25) Sinatra::Cookies select! removes entries
>      Failure/Error: Unable to find matching line from backtrace
>        expected: == {"foo"=>"bar"}
>             got:    <#Sinatra::Cookies::Jar: "bar"=>"", "foo"=>"bar">
>      # ./spec/cookies_spec.rb:714
> 
>   26) Sinatra::Cookies value? does not use deleted cookies
>      Failure/Error: Unable to find matching line from backtrace
>        expected: non-true value
>             got: true
>      # ./spec/cookies_spec.rb:771
> 
>   27) Sinatra::Streaming map! works with middleware
>      Failure/Error: Unable to find matching line from backtrace
>      NoMethodError:
>        undefined method `map!' for #<Sinatra::Response:0x2b3a1f257630>
>      # ./spec/streaming_spec.rb:172:in `call'
>      # ./spec/streaming_spec.rb:13:in `stream'
>      # ./spec/streaming_spec.rb:178
> 
>   28) Sinatra::Streaming map works with middleware
>      Failure/Error: Unable to find matching line from backtrace
>      NoMethodError:
>        undefined method `map' for #<Sinatra::Response:0x2b3a1f15aef8>
>      # ./spec/streaming_spec.rb:197:in `call'
>      # ./spec/streaming_spec.rb:13:in `stream'
>      # ./spec/streaming_spec.rb:202
> 
>   29) Sinatra::Streaming map is chainable
>      Failure/Error: Unable to find matching line from backtrace
>      NoMethodError:
>        undefined method `map' for #<Sinatra::Response:0x2b3a1f128278>
>      # ./spec/streaming_spec.rb:211:in `call'
>      # ./spec/streaming_spec.rb:13:in `stream'
>      # ./spec/streaming_spec.rb:216
> 
> Finished in 7.61 seconds
> 827 examples, 29 failures
> 
> Failed examples:
> 
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:185 # Sinatra::Capture erubis behaves like a template language captures content
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:185 # Sinatra::Capture erubis behaves like a template language allows nested captures
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:185 # Sinatra::Cookies clear removes request cookies from cookies hash
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:185 # Sinatra::Cookies clear removes response cookies from cookies hash
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:185 # Sinatra::Cookies clear expiers existing cookies
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:185 # Sinatra::Cookies delete removes request cookies from cookies hash
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:185 # Sinatra::Cookies delete removes response cookies from cookies hash
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:185 # Sinatra::Cookies delete expiers existing cookies
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:185 # Sinatra::Cookies delete_if deletes cookies that match the block
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:185 # Sinatra::Cookies each does not loop through deleted cookies
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:185 # Sinatra::Cookies each_key does not loop through deleted cookies
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:185 # Sinatra::Cookies each_pair does not loop through deleted cookies
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:185 # Sinatra::Cookies each_value does not loop through deleted cookies
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:185 # Sinatra::Cookies empty? becomes true if response cookies are removed
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:185 # Sinatra::Cookies empty? becomes true if request cookies are removed
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:185 # Sinatra::Cookies empty? becomes true after clear
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:185 # Sinatra::Cookies has_key? does not use deleted cookies
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:185 # Sinatra::Cookies has_value? does not use deleted cookies
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:185 # Sinatra::Cookies include? does not use deleted cookies
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:185 # Sinatra::Cookies keep_if removes entries
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:185 # Sinatra::Cookies key? does not use deleted cookies
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:185 # Sinatra::Cookies member? does not use deleted cookies
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:185 # Sinatra::Cookies reject! removes entries
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:185 # Sinatra::Cookies replace replaces entries
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:185 # Sinatra::Cookies select! removes entries
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:185 # Sinatra::Cookies value? does not use deleted cookies
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:185 # Sinatra::Streaming map! works with middleware
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:185 # Sinatra::Streaming map works with middleware
> rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:185 # Sinatra::Streaming map is chainable
> rake aborted!
> /usr/bin/ruby1.8 -S rspec ./spec/capture_spec.rb ./spec/config_file_spec.rb ./spec/content_for_spec.rb ./spec/cookies_spec.rb ./spec/decompile_spec.rb ./spec/extension_spec.rb ./spec/json_spec.rb ./spec/link_header_spec.rb ./spec/multi_route_spec.rb ./spec/namespace_spec.rb ./spec/reloader_spec.rb ./spec/respond_with_spec.rb ./spec/streaming_spec.rb failed
> -e:1
> Tasks: TOP => default => spec
> (See full trace by running task with --trace)
> ERROR: Test "ruby1.8" failed. Exiting.
> dh_auto_install: dh_ruby --install /«PKGBUILDDIR»/debian/ruby-sinatra-contrib 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-sinatra-contrib_1.3.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