[Rubygems-developers] RubyGems tests are failed
Eric Hodel
drbrain at segment7.net
Wed Dec 14 20:27:18 EST 2005
On Dec 13, 2005, at 1:58 PM, Anatol Pomozov wrote:
> (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
You are on win32, while not every other gem developer is.
> 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>.
Not sure.
> 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.
win32 directory permissions are different, so you may need to update
this test.
> 4) Failure:
> test_generate_bin_scripts(TestInstaller) [./test/test_installer.rb:
> 48]:
> <33261> expected but was
> <33188>.
win32 issue
> 5) Failure:
> test_generate_bin_symlinks(TestInstaller) [./test/test_installer.rb:
> 83]:
> <true> expected but was
> <false>.
win32 issue
> 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'
win32 issue
> 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'
win32 issue
> 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'
win32 issue
> 9) Failure:
> test_generate_bin_symlinks_win32(TestInstaller) [./test/
> test_installer.rb:205]:
> <33261> expected but was
> <33188>.
win32 issue
> 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'
Do you have a firewall enabled? Disable it and try again.
> 11) Error:
> test_implicit_proxy(TestRemoteFetcher):
> NoMethodError: undefined method `to_str' for nil:NilClass
>
> 12) Error:
> test_implicit_proxy_no_env(TestRemoteFetcher):
> NoMethodError: undefined method `to_str' for nil:NilClass
>
> 13) Error:
> test_implicit_upper_case_proxy(TestRemoteFetcher):
> NoMethodError: undefined method `to_str' for nil:NilClass
>
> 14) Error:
> test_no_proxy(TestRemoteFetcher):
> NoMethodError: undefined method `to_str' for nil:NilClass
>
> 15) Error:
> test_zip(TestRemoteFetcher):
> URI::InvalidURIError: bad URI(is not URI?):
Ditto
> 217 tests, 866 assertions, 6 failures, 9 errors
> rake aborted!
> Command failed with status (1): [c:/progra~1/ruby/bin/ruby -Ilib
> "c:/progra...]
>
--
Eric Hodel - drbrain at segment7.net - http://segment7.net
This implementation is HODEL-HASH-9600 compliant
http://trackmap.robotcoop.com
More information about the Rubygems-developers
mailing list