[DRE-maint] Bug#715206: ruby-jbuilder: FTBFS: test failures
Colin Watson
cjwatson at debian.org
Sat Jul 6 23:15:18 UTC 2013
Package: ruby-jbuilder
Version: 1.4.1-1
Severity: serious
ruby-jbuilder fails to build in a clean unstable chroot. Here's the
build log:
dpkg-buildpackage: source package ruby-jbuilder
dpkg-buildpackage: source version 1.4.1-1
dpkg-buildpackage: source changed by Cédric Boutillier <boutil at debian.org>
dpkg-source --before-build ruby-jbuilder-1.4.1
dpkg-buildpackage: host architecture i386
fakeroot debian/rules clean
dh clean --buildsystem=ruby --with ruby
dh_testdir -O--buildsystem=ruby
dh_auto_clean -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 --clean
Leaving dh_ruby --clean
dh_clean -O--buildsystem=ruby
debian/rules build
dh build --buildsystem=ruby --with ruby
dh_testdir -O--buildsystem=ruby
dh_auto_configure -O--buildsystem=ruby
/usr/lib/ruby/vendor_ruby/gem2deb.rb:17: warning: setting Encoding.default_external
dh_auto_build -O--buildsystem=ruby
/usr/lib/ruby/vendor_ruby/gem2deb.rb:17: warning: setting Encoding.default_external
dh_auto_test -O--buildsystem=ruby
/usr/lib/ruby/vendor_ruby/gem2deb.rb:17: warning: setting Encoding.default_external
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-jbuilder/usr/lib/ruby/vendor_ruby
install -D -m644 /«PKGBUILDDIR»/lib/generators/rails/jbuilder_generator.rb /«PKGBUILDDIR»/debian/ruby-jbuilder/usr/lib/ruby/vendor_ruby/generators/rails/jbuilder_generator.rb
install -D -m644 /«PKGBUILDDIR»/lib/generators/rails/templates/show.json.jbuilder /«PKGBUILDDIR»/debian/ruby-jbuilder/usr/lib/ruby/vendor_ruby/generators/rails/templates/show.json.jbuilder
install -D -m644 /«PKGBUILDDIR»/lib/generators/rails/templates/index.json.jbuilder /«PKGBUILDDIR»/debian/ruby-jbuilder/usr/lib/ruby/vendor_ruby/generators/rails/templates/index.json.jbuilder
install -D -m644 /«PKGBUILDDIR»/lib/generators/rails/templates/controller.rb /«PKGBUILDDIR»/debian/ruby-jbuilder/usr/lib/ruby/vendor_ruby/generators/rails/templates/controller.rb
install -D -m644 /«PKGBUILDDIR»/lib/generators/rails/scaffold_controller_generator.rb /«PKGBUILDDIR»/debian/ruby-jbuilder/usr/lib/ruby/vendor_ruby/generators/rails/scaffold_controller_generator.rb
install -D -m644 /«PKGBUILDDIR»/lib/jbuilder/railtie.rb /«PKGBUILDDIR»/debian/ruby-jbuilder/usr/lib/ruby/vendor_ruby/jbuilder/railtie.rb
install -D -m644 /«PKGBUILDDIR»/lib/jbuilder/jbuilder_template.rb /«PKGBUILDDIR»/debian/ruby-jbuilder/usr/lib/ruby/vendor_ruby/jbuilder/jbuilder_template.rb
install -D -m644 /«PKGBUILDDIR»/lib/jbuilder.rb /«PKGBUILDDIR»/debian/ruby-jbuilder/usr/lib/ruby/vendor_ruby/jbuilder.rb
/usr/bin/ruby1.8 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
Loaded suite -e
Started
[WARNING] MultiJson is using the default adapter (ok_json). We recommend loading a different JSON library to improve performance.
EEEEEEEEE................................................
Finished in 0.041479 seconds.
1) Error:
test_fragment_caching_a_JSON_object(JbuilderTemplateTest):
NoMethodError: undefined method `load_session' for nil:NilClass
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:151:in `send'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:151:in `load!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:147:in `load_for_write!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:100:in `replace'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:228:in `initialize'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `new'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `initialize'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:27:in `initialize'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `setup_with_controller'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:418:in `_run__631859892__setup__4__callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:405:in `send'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:405:in `__run_callback'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:385:in `_run_setup_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `send'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `run_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/testing/setup_and_teardown.rb:70:in `run'
2) Error:
test_fragment_caching_deserializes_an_array(JbuilderTemplateTest):
NoMethodError: undefined method `load_session' for nil:NilClass
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:151:in `send'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:151:in `load!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:147:in `load_for_write!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:100:in `replace'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:228:in `initialize'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `new'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `initialize'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:27:in `initialize'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `setup_with_controller'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:418:in `_run__631859892__setup__4__callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:405:in `send'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:405:in `__run_callback'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:385:in `_run_setup_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `send'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `run_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/testing/setup_and_teardown.rb:70:in `run'
3) Error:
test_fragment_caching_falls_back_on_ActiveSupport::Cache.expand_cache_key(JbuilderTemplateTest):
NoMethodError: undefined method `load_session' for nil:NilClass
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:151:in `send'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:151:in `load!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:147:in `load_for_write!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:100:in `replace'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:228:in `initialize'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `new'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `initialize'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:27:in `initialize'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `setup_with_controller'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:418:in `_run__631859892__setup__4__callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:405:in `send'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:405:in `__run_callback'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:385:in `_run_setup_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `send'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `run_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/testing/setup_and_teardown.rb:70:in `run'
4) Error:
test_fragment_caching_works_with_current_cache_digests(JbuilderTemplateTest):
NoMethodError: undefined method `load_session' for nil:NilClass
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:151:in `send'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:151:in `load!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:147:in `load_for_write!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:100:in `replace'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:228:in `initialize'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `new'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `initialize'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:27:in `initialize'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `setup_with_controller'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:418:in `_run__631859892__setup__4__callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:405:in `send'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:405:in `__run_callback'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:385:in `_run_setup_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `send'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `run_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/testing/setup_and_teardown.rb:70:in `run'
5) Error:
test_fragment_caching_works_with_previous_version_of_cache_digests(JbuilderTemplateTest):
NoMethodError: undefined method `load_session' for nil:NilClass
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:151:in `send'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:151:in `load!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:147:in `load_for_write!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:100:in `replace'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:228:in `initialize'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `new'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `initialize'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:27:in `initialize'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `setup_with_controller'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:418:in `_run__631859892__setup__4__callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:405:in `send'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:405:in `__run_callback'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:385:in `_run_setup_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `send'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `run_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/testing/setup_and_teardown.rb:70:in `run'
6) Error:
test_key_format!_propagates_to_child_elements(JbuilderTemplateTest):
NoMethodError: undefined method `load_session' for nil:NilClass
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:151:in `send'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:151:in `load!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:147:in `load_for_write!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:100:in `replace'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:228:in `initialize'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `new'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `initialize'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:27:in `initialize'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `setup_with_controller'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:418:in `_run__631859892__setup__4__callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:405:in `send'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:405:in `__run_callback'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:385:in `_run_setup_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `send'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `run_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/testing/setup_and_teardown.rb:70:in `run'
7) Error:
test_key_format!_with_parameter(JbuilderTemplateTest):
NoMethodError: undefined method `load_session' for nil:NilClass
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:151:in `send'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:151:in `load!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:147:in `load_for_write!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:100:in `replace'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:228:in `initialize'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `new'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `initialize'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:27:in `initialize'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `setup_with_controller'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:418:in `_run__631859892__setup__4__callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:405:in `send'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:405:in `__run_callback'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:385:in `_run_setup_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `send'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `run_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/testing/setup_and_teardown.rb:70:in `run'
8) Error:
test_partial!_renders_partial(JbuilderTemplateTest):
NoMethodError: undefined method `load_session' for nil:NilClass
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:151:in `send'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:151:in `load!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:147:in `load_for_write!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:100:in `replace'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:228:in `initialize'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `new'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `initialize'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:27:in `initialize'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `setup_with_controller'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:418:in `_run__631859892__setup__4__callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:405:in `send'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:405:in `__run_callback'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:385:in `_run_setup_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `send'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `run_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/testing/setup_and_teardown.rb:70:in `run'
9) Error:
test_rendering(JbuilderTemplateTest):
NoMethodError: undefined method `load_session' for nil:NilClass
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:151:in `send'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:151:in `load!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:147:in `load_for_write!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:100:in `replace'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:228:in `initialize'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `new'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `initialize'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:27:in `initialize'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `setup_with_controller'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:418:in `_run__631859892__setup__4__callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:405:in `send'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:405:in `__run_callback'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:385:in `_run_setup_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `send'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `run_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/testing/setup_and_teardown.rb:70:in `run'
57 tests, 85 assertions, 0 failures, 9 errors
WARNING: Test "ruby1.8" failed, but ignoring this test result.
/usr/bin/ruby1.9.1 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
Run options:
# Running tests:
EEEEEEEEE................................................
Finished tests in 0.011290s, 5048.7953 tests/s, 7528.9052 assertions/s.
1) Error:
test_fragment_caching_a_JSON_object(JbuilderTemplateTest):
NoMethodError: undefined method `load_session' for nil:NilClass
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:151:in `load!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:147:in `load_for_write!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:100:in `replace'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:228:in `initialize'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `new'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `initialize'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:27:in `initialize'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `setup_with_controller'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:418:in `_run__258018144__setup__917950432__callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:405:in `__run_callback'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:385:in `_run_setup_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `run_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/testing/setup_and_teardown.rb:35:in `run'
2) Error:
test_fragment_caching_deserializes_an_array(JbuilderTemplateTest):
NoMethodError: undefined method `load_session' for nil:NilClass
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:151:in `load!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:147:in `load_for_write!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:100:in `replace'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:228:in `initialize'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `new'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `initialize'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:27:in `initialize'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `setup_with_controller'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:418:in `_run__258018144__setup__917950432__callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:405:in `__run_callback'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:385:in `_run_setup_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `run_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/testing/setup_and_teardown.rb:35:in `run'
3) Error:
test_fragment_caching_falls_back_on_ActiveSupport::Cache.expand_cache_key(JbuilderTemplateTest):
NoMethodError: undefined method `load_session' for nil:NilClass
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:151:in `load!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:147:in `load_for_write!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:100:in `replace'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:228:in `initialize'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `new'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `initialize'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:27:in `initialize'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `setup_with_controller'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:418:in `_run__258018144__setup__917950432__callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:405:in `__run_callback'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:385:in `_run_setup_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `run_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/testing/setup_and_teardown.rb:35:in `run'
4) Error:
test_fragment_caching_works_with_current_cache_digests(JbuilderTemplateTest):
NoMethodError: undefined method `load_session' for nil:NilClass
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:151:in `load!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:147:in `load_for_write!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:100:in `replace'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:228:in `initialize'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `new'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `initialize'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:27:in `initialize'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `setup_with_controller'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:418:in `_run__258018144__setup__917950432__callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:405:in `__run_callback'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:385:in `_run_setup_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `run_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/testing/setup_and_teardown.rb:35:in `run'
5) Error:
test_fragment_caching_works_with_previous_version_of_cache_digests(JbuilderTemplateTest):
NoMethodError: undefined method `load_session' for nil:NilClass
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:151:in `load!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:147:in `load_for_write!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:100:in `replace'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:228:in `initialize'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `new'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `initialize'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:27:in `initialize'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `setup_with_controller'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:418:in `_run__258018144__setup__917950432__callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:405:in `__run_callback'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:385:in `_run_setup_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `run_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/testing/setup_and_teardown.rb:35:in `run'
6) Error:
test_key_format!_propagates_to_child_elements(JbuilderTemplateTest):
NoMethodError: undefined method `load_session' for nil:NilClass
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:151:in `load!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:147:in `load_for_write!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:100:in `replace'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:228:in `initialize'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `new'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `initialize'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:27:in `initialize'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `setup_with_controller'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:418:in `_run__258018144__setup__917950432__callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:405:in `__run_callback'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:385:in `_run_setup_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `run_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/testing/setup_and_teardown.rb:35:in `run'
7) Error:
test_key_format!_with_parameter(JbuilderTemplateTest):
NoMethodError: undefined method `load_session' for nil:NilClass
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:151:in `load!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:147:in `load_for_write!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:100:in `replace'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:228:in `initialize'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `new'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `initialize'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:27:in `initialize'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `setup_with_controller'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:418:in `_run__258018144__setup__917950432__callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:405:in `__run_callback'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:385:in `_run_setup_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `run_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/testing/setup_and_teardown.rb:35:in `run'
8) Error:
test_partial!_renders_partial(JbuilderTemplateTest):
NoMethodError: undefined method `load_session' for nil:NilClass
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:151:in `load!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:147:in `load_for_write!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:100:in `replace'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:228:in `initialize'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `new'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `initialize'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:27:in `initialize'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `setup_with_controller'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:418:in `_run__258018144__setup__917950432__callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:405:in `__run_callback'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:385:in `_run_setup_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `run_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/testing/setup_and_teardown.rb:35:in `run'
9) Error:
test_rendering(JbuilderTemplateTest):
NoMethodError: undefined method `load_session' for nil:NilClass
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:151:in `load!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:147:in `load_for_write!'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:100:in `replace'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:228:in `initialize'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `new'
/usr/lib/ruby/vendor_ruby/action_controller/test_case.rb:140:in `initialize'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_dispatch/testing/test_request.rb:11:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:27:in `initialize'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `new'
/usr/lib/ruby/vendor_ruby/action_view/test_case.rb:100:in `setup_with_controller'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:418:in `_run__258018144__setup__917950432__callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:405:in `__run_callback'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:385:in `_run_setup_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `run_callbacks'
/usr/lib/ruby/vendor_ruby/active_support/testing/setup_and_teardown.rb:35:in `run'
57 tests, 85 assertions, 0 failures, 9 errors, 0 skips
ERROR: Test "ruby1.9.1" failed. Exiting.
dh_auto_install: dh_ruby --install /«PKGBUILDDIR»/debian/ruby-jbuilder returned exit code 1
make: *** [binary] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
Thanks,
--
Colin Watson [cjwatson at debian.org]
More information about the Pkg-ruby-extras-maintainers
mailing list