[Rubygems-developers] RubyGems tests are failed

Anatol Pomozov anatol.pomozov at gmail.com
Tue Dec 13 16:58:17 EST 2005


Hi, all.

Just for your eyes.

CVS RubyGems tests are failed for me. I think it is mostly beacuse of that
fact that I am under Windows.
Errors something like this "NotImplementedError: The readlink() function is
unimplemented on this machine"

See full test log in attach
--
anatol (http://pomozov.info)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rubygems-developers/attachments/20051213/6e8d4ec4/attachment.htm
-------------- next part --------------
(in C:/work/opensource/ruby/rubygems)
Loaded suite c:/progra~1/ruby/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/rake_test_loader
Started
.............................F..................................................................FF...............F..F..EEEF.........................ERROR during server thread: No such file or directory - /dev/null
ERROR during server thread: No such file or directory - /dev/null
EEEEE..E.............................................................
Finished in 12.984 seconds.

  1) Failure:
test_cache_hit(TestCachedFetcher) [./test/test_cached_fetcher.rb:52]:
<0> expected but was
<1>.

  2) Failure:
test_ensure_gem_directories_with_parents_write_protected(TestGemPaths) [./test/test_gempaths.rb:133]:
<false> is not true.

  3) Failure:
test_ensure_gem_directories_write_protected(TestGemPaths) [./test/test_gempaths.rb:118]:
<false> is not true.

  4) Failure:
test_generate_bin_scripts(TestInstaller) [./test/test_installer.rb:48]:
<33261> expected but was
<33188>.

  5) Failure:
test_generate_bin_symlinks(TestInstaller) [./test/test_installer.rb:83]:
<true> expected but was
<false>.

  6) Error:
test_generate_bin_symlinks_update_newer(TestInstaller):
NotImplementedError: The readlink() function is unimplemented on this machine
    ./test/test_installer.rb:118:in `readlink'
    ./test/test_installer.rb:118:in `test_generate_bin_symlinks_update_newer'

  7) Error:
test_generate_bin_symlinks_update_older(TestInstaller):
NotImplementedError: The readlink() function is unimplemented on this machine
    ./test/test_installer.rb:146:in `readlink'
    ./test/test_installer.rb:146:in `test_generate_bin_symlinks_update_older'

  8) Error:
test_generate_bin_symlinks_update_remove_wrapper(TestInstaller):
NotImplementedError: The readlink() function is unimplemented on this machine
    ./test/test_installer.rb:190:in `readlink'
    ./test/test_installer.rb:190:in `test_generate_bin_symlinks_update_remove_wrapper'

  9) Failure:
test_generate_bin_symlinks_win32(TestInstaller) [./test/test_installer.rb:205]:
<33261> expected but was
<33188>.

 10) Error:
test_explicit_proxy(TestRemoteFetcher):
Errno::ECONNREFUSED: No connection could be made because the target machine actively refused it. - connect(2)
    c:/progra~1/ruby/lib/ruby/1.8/net/protocol.rb:83:in `initialize'
    c:/progra~1/ruby/lib/ruby/1.8/net/protocol.rb:83:in `new'
    c:/progra~1/ruby/lib/ruby/1.8/net/protocol.rb:83:in `connect'
    c:/progra~1/ruby/lib/ruby/1.8/net/protocol.rb:82:in `timeout'
    c:/progra~1/ruby/lib/ruby/1.8/timeout.rb:55:in `timeout'
    c:/progra~1/ruby/lib/ruby/1.8/net/protocol.rb:82:in `connect'
    c:/progra~1/ruby/lib/ruby/1.8/net/protocol.rb:64:in `initialize'
    c:/progra~1/ruby/lib/ruby/1.8/net/http.rb:430:in `open'
    c:/progra~1/ruby/lib/ruby/1.8/net/http.rb:430:in `do_start'
    c:/progra~1/ruby/lib/ruby/1.8/net/http.rb:419:in `start'
    c:/progra~1/ruby/lib/ruby/1.8/net/http.rb:821:in `request'
    c:/progra~1/ruby/lib/ruby/1.8/net/http.rb:644:in `head'
    ./lib/rubygems/remote_installer.rb:104:in `read_size'
    ./lib/rubygems/remote_installer.rb:92:in `get_size'
    ./lib/rubygems/remote_installer.rb:39:in `size'
    ./test/test_remote_fetcher.rb:43:in `test_explicit_proxy'
    ./test/test_remote_fetcher.rb:39:in `use_ui'
    ./lib/rubygems/user_interaction.rb:21:in `use_ui'
    ./test/test_remote_fetcher.rb:39:in `test_explicit_proxy'

 11) Error:
test_implicit_proxy(TestRemoteFetcher):
NoMethodError: undefined method `to_str' for nil:NilClass
    ./lib/rubygems/open-uri.rb:160:in `open_loop'
    ./lib/rubygems/open-uri.rb:137:in `open_uri'
    ./lib/rubygems/open-uri.rb:590:in `open'
    ./lib/rubygems/open-uri.rb:86:in `open'
    ./lib/rubygems/remote_installer.rb:133:in `open_uri_or_path'
    ./lib/rubygems/remote_installer.rb:112:in `read_data'
    ./lib/rubygems/remote_installer.rb:44:in `fetch_path'
    ./test/test_remote_fetcher.rb:56:in `test_implicit_proxy'
    ./test/test_remote_fetcher.rb:53:in `use_ui'
    ./lib/rubygems/user_interaction.rb:21:in `use_ui'
    ./test/test_remote_fetcher.rb:53:in `test_implicit_proxy'

 12) Error:
test_implicit_proxy_no_env(TestRemoteFetcher):
NoMethodError: undefined method `to_str' for nil:NilClass
    ./lib/rubygems/open-uri.rb:160:in `open_loop'
    ./lib/rubygems/open-uri.rb:137:in `open_uri'
    ./lib/rubygems/open-uri.rb:590:in `open'
    ./lib/rubygems/open-uri.rb:86:in `open'
    ./lib/rubygems/remote_installer.rb:133:in `open_uri_or_path'
    ./lib/rubygems/remote_installer.rb:112:in `read_data'
    ./lib/rubygems/remote_installer.rb:44:in `fetch_path'
    ./test/test_remote_fetcher.rb:71:in `test_implicit_proxy_no_env'
    ./test/test_remote_fetcher.rb:69:in `use_ui'
    ./lib/rubygems/user_interaction.rb:21:in `use_ui'
    ./test/test_remote_fetcher.rb:69:in `test_implicit_proxy_no_env'

 13) Error:
test_implicit_upper_case_proxy(TestRemoteFetcher):
NoMethodError: undefined method `to_str' for nil:NilClass
    ./lib/rubygems/open-uri.rb:160:in `open_loop'
    ./lib/rubygems/open-uri.rb:137:in `open_uri'
    ./lib/rubygems/open-uri.rb:590:in `open'
    ./lib/rubygems/open-uri.rb:86:in `open'
    ./lib/rubygems/remote_installer.rb:133:in `open_uri_or_path'
    ./lib/rubygems/remote_installer.rb:112:in `read_data'
    ./lib/rubygems/remote_installer.rb:44:in `fetch_path'
    ./test/test_remote_fetcher.rb:64:in `test_implicit_upper_case_proxy'
    ./test/test_remote_fetcher.rb:61:in `use_ui'
    ./lib/rubygems/user_interaction.rb:21:in `use_ui'
    ./test/test_remote_fetcher.rb:61:in `test_implicit_upper_case_proxy'

 14) Error:
test_no_proxy(TestRemoteFetcher):
NoMethodError: undefined method `to_str' for nil:NilClass
    ./lib/rubygems/open-uri.rb:160:in `open_loop'
    ./lib/rubygems/open-uri.rb:137:in `open_uri'
    ./lib/rubygems/open-uri.rb:590:in `open'
    ./lib/rubygems/open-uri.rb:86:in `open'
    ./lib/rubygems/remote_installer.rb:133:in `open_uri_or_path'
    ./lib/rubygems/remote_installer.rb:112:in `read_data'
    ./lib/rubygems/remote_installer.rb:44:in `fetch_path'
    ./test/test_remote_fetcher.rb:29:in `test_no_proxy'
    ./test/test_remote_fetcher.rb:27:in `use_ui'
    ./lib/rubygems/user_interaction.rb:21:in `use_ui'
    ./test/test_remote_fetcher.rb:27:in `test_no_proxy'

 15) Error:
test_zip(TestRemoteFetcher):
URI::InvalidURIError: bad URI(is not URI?): 
    c:/progra~1/ruby/lib/ruby/1.8/uri/common.rb:432:in `split'
    c:/progra~1/ruby/lib/ruby/1.8/uri/common.rb:481:in `parse'
    ./lib/rubygems/remote_installer.rb:82:in `connect_to'
    ./lib/rubygems/remote_installer.rb:102:in `read_size'
    ./lib/rubygems/remote_installer.rb:92:in `get_size'
    ./lib/rubygems/remote_installer.rb:39:in `size'
    ./test/test_remote_fetcher.rb:79:in `test_zip'
    ./test/test_remote_fetcher.rb:76:in `use_ui'
    ./lib/rubygems/user_interaction.rb:21:in `use_ui'
    ./test/test_remote_fetcher.rb:76:in `test_zip'

217 tests, 866 assertions, 6 failures, 9 errors
rake aborted!
Command failed with status (1): [c:/progra~1/ruby/bin/ruby -Ilib "c:/progra...]



More information about the Rubygems-developers mailing list