From: "nagachika (Tomoyuki Chikanaga)" Date: 2013-10-18T02:04:29+09:00 Subject: [ruby-core:57922] [Backport 200 - Backport #9014] Import RubyGems 2.0.11 and 2.0.12 Issue #9014 has been updated by nagachika (Tomoyuki Chikanaga). Assignee changed from nagachika (Tomoyuki Chikanaga) to drbrain (Eric Hodel) Hello, With rubygems.2_0_11.2_0_12.ruby.2_0_0.patch, `make test-all TESTS=rubygems` report 3 failures on my environment. [ 835/1347] TestGemRemoteFetcher#test_ssl_connection_allow_verify_none = 0.20 s 1) Error: test_ssl_connection_allow_verify_none(TestGemRemoteFetcher): OpenSSL::X509::StoreError: /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/lib/rubygems/remote_fetcher.rb:451:in `add_file' /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/lib/rubygems/remote_fetcher.rb:451:in `block in add_rubygems_trusted_certs' /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/lib/rubygems/remote_fetcher.rb:450:in `each' /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/lib/rubygems/remote_fetcher.rb:450:in `add_rubygems_trusted_certs' /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/lib/rubygems/remote_fetcher.rb:437:in `configure_connection_for_https' /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/lib/rubygems/remote_fetcher.rb:412:in `connection_for' /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/lib/rubygems/remote_fetcher.rb:495:in `request' /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/lib/rubygems/remote_fetcher.rb:236:in `fetch_http' /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/lib/rubygems/remote_fetcher.rb:271:in `fetch_path' /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/test/rubygems/test_gem_remote_fetcher.rb:845:in `block in test_ssl_connection_allow_verify_none' /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/test/rubygems/test_gem_remote_fetcher.rb:867:in `with_configured_fetcher' /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/test/rubygems/test_gem_remote_fetcher.rb:844:in `test_ssl_connection_allow_verify_none' [ 859/1347] TestGemRemoteFetcher#test_do_not_allow_insecure_ssl_connection_by_default = 0.13 s 2) Failure: test_do_not_allow_insecure_ssl_connection_by_default(TestGemRemoteFetcher) [/Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/test/rubygems/test_gem_remote_fetcher.rb:836]: [Gem::RemoteFetcher::FetchError] exception expected, not Class: Message: <""> ---Backtrace--- /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/lib/rubygems/remote_fetcher.rb:451:in `add_file' /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/lib/rubygems/remote_fetcher.rb:451:in `block in add_rubygems_trusted_certs' /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/lib/rubygems/remote_fetcher.rb:450:in `each' /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/lib/rubygems/remote_fetcher.rb:450:in `add_rubygems_trusted_certs' /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/lib/rubygems/remote_fetcher.rb:437:in `configure_connection_for_https' /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/lib/rubygems/remote_fetcher.rb:412:in `connection_for' /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/lib/rubygems/remote_fetcher.rb:495:in `request' /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/lib/rubygems/remote_fetcher.rb:236:in `fetch_http' /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/lib/rubygems/remote_fetcher.rb:271:in `fetch_path' /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/test/rubygems/test_gem_remote_fetcher.rb:837:in `block (2 levels) in test_do_not_allow_insecure_ssl_connection_by_default' --------------- [ 862/1347] TestGemRemoteFetcher#test_do_not_follow_insecure_redirect = 0.18 s 3) Failure: test_do_not_follow_insecure_redirect(TestGemRemoteFetcher) [/Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/test/rubygems/test_gem_remote_fetcher.rb:853]: [Gem::RemoteFetcher::FetchError] exception expected, not Class: Message: <""> ---Backtrace--- /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/lib/rubygems/remote_fetcher.rb:451:in `add_file' /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/lib/rubygems/remote_fetcher.rb:451:in `block in add_rubygems_trusted_certs' /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/lib/rubygems/remote_fetcher.rb:450:in `each' /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/lib/rubygems/remote_fetcher.rb:450:in `add_rubygems_trusted_certs' /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/lib/rubygems/remote_fetcher.rb:437:in `configure_connection_for_https' /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/lib/rubygems/remote_fetcher.rb:412:in `connection_for' /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/lib/rubygems/remote_fetcher.rb:495:in `request' /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/lib/rubygems/remote_fetcher.rb:236:in `fetch_http' /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/lib/rubygems/remote_fetcher.rb:271:in `fetch_path' /Users/nagachika/opt/ruby-2.0.0/src/ruby_2_0_0/test/rubygems/test_gem_remote_fetcher.rb:854:in `block (2 levels) in test_do_not_follow_insecure_redirect' --------------- Finished tests in 92.790492s, 14.5166 tests/s, 47.0630 assertions/s. 1347 tests, 4367 assertions, 2 failures, 1 errors, 0 skips ruby -v: ruby 2.0.0p335 (2013-10-11 revision 43242) [x86_64-darwin12.5.0] ---------------------------------------- Backport #9014: Import RubyGems 2.0.11 and 2.0.12 https://bugs.ruby-lang.org/issues/9014#change-42507 Author: drbrain (Eric Hodel) Status: Assigned Priority: Normal Assignee: drbrain (Eric Hodel) Category: Target version: This fixes the following bugs: http://rubygems.rubyforge.org/rubygems-update/History_txt.html#label-2.0.12+%2F+2013-10-14 -- http://bugs.ruby-lang.org/