This project is archived and is in readonly mode.

#6616 new
vo.x

ActiveSupport test suite fails with Rake 0.9.0.beta*

Reported by vo.x | March 24th, 2011 @ 03:15 PM

I am not sure if it is Rails or Rake problem :/

mock-chroot> rake test
(in /builddir/build/BUILDROOT/rubygem-activesupport-3.0.5-1.fc15.x86_64/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.5) /usr/bin/ruby -w -I"lib:test" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/log_subscriber_test.rb" "test/descendants_tracker_test.rb" "test/isolation_test.rb" "test/core_ext/load_error_test.rb" "test/core_ext/file_test.rb" "test/core_ext/class_test.rb" "test/core_ext/uri_ext_test.rb" "test/core_ext/module/attribute_aliasing_test.rb" "test/core_ext/module/attr_internal_test.rb" "test/core_ext/module/reachable_test.rb" "test/core_ext/module/anonymous_test.rb" "test/core_ext/module/attribute_accessor_test.rb" "test/core_ext/module/attr_accessor_with_default_test.rb" "test/core_ext/module/synchronization_test.rb" "test/core_ext/array_ext_test.rb" "test/core_ext/enumerable_test.rb" "test/core_ext/base64_ext_test.rb" "test/core_ext/float_ext_test.rb" "test/core_ext/proc_test.rb" "test/core_ext/name_error_test.rb" "test/core_ext/duplicable_test.rb" "test/core_ext/integer_ext_test.rb" "test/core_ext/regexp_ext_test.rb" "test/core_ext/blank_test.rb" "test/core_ext/object/to_param_test.rb" "test/core_ext/object/to_query_test.rb" "test/core_ext/class/attribute_test.rb" "test/core_ext/class/attribute_accessor_test.rb" "test/core_ext/class/delegating_attributes_test.rb" "test/core_ext/class/class_inheritable_attributes_test.rb" "test/core_ext/cgi_ext_test.rb" "test/core_ext/date_ext_test.rb" "test/core_ext/date_time_ext_test.rb" "test/core_ext/duration_test.rb" "test/core_ext/kernel_test.rb" "test/core_ext/module_test.rb" "test/core_ext/numeric_ext_test.rb" "test/core_ext/range_ext_test.rb" "test/core_ext/string_ext_test.rb" "test/core_ext/time_ext_test.rb" "test/core_ext/time_with_zone_test.rb" "test/core_ext/bigdecimal_test.rb" "test/core_ext/hash_ext_test.rb" "test/core_ext/object_and_class_ext_test.rb" "test/time_zone_test.rb" "test/load_paths_test.rb" "test/flush_cache_on_private_memoization_test.rb" "test/concern_test.rb" "test/clean_backtrace_test.rb" "test/message_verifier_test.rb" "test/rescuable_test.rb" "test/benchmarkable_test.rb" "test/ordered_options_test.rb" "test/deprecation/proxy_wrappers_test.rb" "test/json/decoding_test.rb" "test/json/encoding_test.rb" "test/option_merger_test.rb" "test/xml_mini/nokogiri_engine_test.rb" "test/xml_mini/rexml_engine_test.rb" "test/xml_mini/jdom_engine_test.rb" "test/xml_mini/libxmlsax_engine_test.rb" "test/xml_mini/nokogirisax_engine_test.rb" "test/xml_mini/libxml_engine_test.rb" "test/string_inquirer_test.rb" "test/lazy_load_hooks_test.rb" "test/deprecation_test.rb" "test/multibyte_unicode_database_test.rb" "test/secure_random_test.rb" "test/memoizable_test.rb" "test/multibyte_utils_test.rb" "test/i18n_test.rb" "test/clean_logger_test.rb" "test/file_update_checker_test.rb" "test/message_encryptor_test.rb" "test/multibyte_chars_test.rb" "test/transliterate_test.rb" "test/buffered_logger_test.rb" "test/callback_inheritance_test.rb" "test/callbacks_test.rb" "test/configurable_test.rb" "test/dependencies_test.rb" "test/notifications_test.rb" "test/ordered_hash_test.rb" "test/safe_buffer_test.rb" "test/test_case_test.rb" "test/test_test.rb" "test/whiny_nil_test.rb" "test/gzip_test.rb" "test/inflector_test.rb" "test/caching_test.rb" Skipping memcached backed store tests. Install memcache-client and try again.
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. Finished in 6.871673 seconds.

2142 tests, 9380 assertions, 0 failures, 0 errors
mock-chroot> gem install rake --pre
Fetching: rake-0.9.0.beta.5.gem (100%)
Successfully installed rake-0.9.0.beta.5
1 gem installed
Installing ri documentation for rake-0.9.0.beta.5...
Installing RDoc documentation for rake-0.9.0.beta.5...
mock-chroot> rake test
rake/gempackagetask is deprecated. Use rubygems/package_task instead
/usr/bin/ruby -w -I"lib:test" -I"/usr/lib/ruby/gems/1.8/gems/rake-0.9.0.beta.5/lib" "/usr/lib/ruby/gems/1.8/gems/rake-0.9.0.beta.5/lib/rake/rake_test_loader.rb" "test/*/_test.rb" Skipping memcached backed store tests. Install memcache-client and try again.
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.9.0.beta.5/lib/rake/rake_test_loader
Started
......................................................................................................................................................................................................................................................................................................................................................................................................................F.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Finished in 6.86375 seconds.

1) Failure: test_deprecate_class_method(DeprecationTest)

[./lib/active_support/testing/deprecation.rb:11:in `assert_deprecated'
 /builddir/build/BUILDROOT/rubygem-activesupport-3.0.5-1.fc15.x86_64/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.5/test/deprecation_test.rb:65:in `test_deprecate_class_method'
 ./lib/active_support/testing/setup_and_teardown.rb:67:in `__send__'
 ./lib/active_support/testing/setup_and_teardown.rb:67:in `run'
 ./lib/active_support/callbacks.rb:413:in `_run_setup_callbacks'
 ./lib/active_support/testing/setup_and_teardown.rb:65:in `run']:

No deprecation warning matched (?-mix:none is deprecated.*test_deprecate_class_method): DEPRECATION WARNING: none is deprecated and will be removed from Rails 3.0. (called from collect_deprecations at ./lib/active_support/testing/deprecation.rb:29).
is not true.

2) Failure: test_uniq_load_paths(LoadPathsTest)

[/builddir/build/BUILDROOT/rubygem-activesupport-3.0.5-1.fc15.x86_64/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.5/test/load_paths_test.rb:13:in `test_uniq_load_paths'
 /usr/lib/ruby/gems/1.8/gems/mocha-0.9.12/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:22:in `__send__'
 /usr/lib/ruby/gems/1.8/gems/mocha-0.9.12/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:22:in `run']:

["/builddir/build/BUILDROOT/rubygem-activesupport-3.0.5-1.fc15.x86_64/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.5", "lib", "test", "/usr/lib/ruby/gems/1.8/gems/rake-0.9.0.beta.5/lib", "/usr/lib/ruby/gems/1.8/gems/mocha-0.9.12/lib", "/usr/lib/ruby/gems/1.8/gems/i18n-0.4.2/lib", "/usr/lib/ruby/gems/1.8/gems/tzinfo-0.3.24/lib", "/usr/lib/ruby/gems/1.8/gems/builder-2.1.2/lib", "/usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib", "/usr/lib/ruby/site_ruby/1.8", "/usr/lib64/ruby/site_ruby/1.8", "/usr/lib64/ruby/site_ruby/1.8/x86_64-linux", "/usr/lib/ruby/site_ruby", "/usr/lib64/ruby/site_ruby", "/usr/lib64/site_ruby/1.8", "/usr/lib64/site_ruby/1.8/x86_64-linux", "/usr/lib64/site_ruby", "/usr/lib/ruby/1.8", "/usr/lib64/ruby/1.8", "/usr/lib64/ruby/1.8/x86_64-linux", "."]. is not true.

2142 tests, 9374 assertions, 2 failures, 0 errors
rake aborted!
Command failed with status (1): [/usr/bin/ruby -w -I"lib:test" -I"/usr/lib/...]

Tasks: TOP => test
(See full trace by running task with --trace)

Comments and changes to this ticket

  • vo.x

    vo.x March 24th, 2011 @ 03:19 PM

    I have opened ticked also on Rake side for this issue: https://github.com/jimweirich/rake/issues/26

  • vo.x

    vo.x March 24th, 2011 @ 04:30 PM

    Hmmm, now it appears to be test suite issue. When I am using different execution command on different system, I got different error count :(

    • ruby -e 'Dir.glob('''test/*/_test.rb''').each {|t| require t}' Skipping memcached backed store tests. Install memcache-client and try again.
      Loaded suite -e
      Started
      ..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Finished in 8.898557 seconds.
      1) Failure: test_uniq_load_paths(LoadPathsTest)
      [./test/load_paths_test.rb:13:in test_uniq_load_paths' /usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:insend' /usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run']: ["/builddir/build/BUILDROOT/rubygem-activesupport-3.0.5-1.fc15.noarch/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.5/lib", "test", "/usr/lib/ruby/gems/1.8/gems/rake-0.9.0.beta.4/lib", "/usr/lib/ruby/gems/1.8/gems/mocha-0.9.8/lib", "/usr/lib/ruby/gems/1.8/gems/i18n-0.4.2/lib", "/usr/lib/ruby/gems/1.8/gems/tzinfo-0.3.24/lib", "/usr/lib/ruby/gems/1.8/gems/builder-2.1.2/lib", "/usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib", "/usr/lib/ruby/site_ruby/1.8", "/usr/lib/ruby/site_ruby/1.8", "/usr/lib/ruby/site_ruby/1.8/i386-linux", "/usr/lib/ruby/site_ruby", "/usr/lib/ruby/site_ruby", "/usr/lib/site_ruby/1.8", "/usr/lib/site_ruby/1.8/i386-linux", "/usr/lib/site_ruby", "/usr/lib/ruby/1.8", "/usr/lib/ruby/1.8", "/usr/lib/ruby/1.8/i386-linux", "."]. is not true.
      2142 tests, 9386 assertions, 1 failures, 0 errors

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Pages