Bug 1252070

Summary: Latest OpenSSL breaks Ruby test suite
Product: Red Hat Software Collections Reporter: Vít Ondruch <vondruch>
Component: rubyAssignee: Vít Ondruch <vondruch>
Status: CLOSED EOL QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rh-ruby22CC: kanderso
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1255417 (view as bug list) Environment:
Last Closed: 2018-05-18 08:41:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vít Ondruch 2015-08-10 15:56:25 UTC
Description of problem:
  1) Error:
TestGemRemoteFetcher#test_ssl_client_cert_auth_connection:
Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate request A: dh key too small (https://localhost:44050/yaml)
    /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/request.rb:88:in `rescue in connection_for'
    /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/request.rb:85:in `connection_for'
    /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/request.rb:140:in `perform_request'
    /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/request.rb:109:in `fetch'
    /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/remote_fetcher.rb:352:in `request'
    /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/remote_fetcher.rb:237:in `fetch_http'
    /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/remote_fetcher.rb:273:in `fetch_path'
    /builddir/build/BUILD/ruby-2.2.2/test/rubygems/test_gem_remote_fetcher.rb:748:in `block in test_ssl_client_cert_auth_connection'
    /builddir/build/BUILD/ruby-2.2.2/test/rubygems/test_gem_remote_fetcher.rb:806:in `with_configured_fetcher'
    /builddir/build/BUILD/ruby-2.2.2/test/rubygems/test_gem_remote_fetcher.rb:745:in `test_ssl_client_cert_auth_connection'
  2) Error:
TestGemRemoteFetcher#test_ssl_connection:
Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate request A: dh key too small (https://localhost:43820/yaml)
    /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/request.rb:88:in `rescue in connection_for'
    /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/request.rb:85:in `connection_for'
    /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/request.rb:140:in `perform_request'
    /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/request.rb:109:in `fetch'
    /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/remote_fetcher.rb:352:in `request'
    /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/remote_fetcher.rb:237:in `fetch_http'
    /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/remote_fetcher.rb:273:in `fetch_path'
    /builddir/build/BUILD/ruby-2.2.2/test/rubygems/test_gem_remote_fetcher.rb:731:in `block in test_ssl_connection'
    /builddir/build/BUILD/ruby-2.2.2/test/rubygems/test_gem_remote_fetcher.rb:806:in `with_configured_fetcher'
    /builddir/build/BUILD/ruby-2.2.2/test/rubygems/test_gem_remote_fetcher.rb:730:in `test_ssl_connection'
  3) Error:
TestGemRemoteFetcher#test_ssl_connection_allow_verify_none:
Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate request A: dh key too small (https://localhost:54262/yaml)
    /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/request.rb:88:in `rescue in connection_for'
    /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/request.rb:85:in `connection_for'
    /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/request.rb:140:in `perform_request'
    /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/request.rb:109:in `fetch'
    /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/remote_fetcher.rb:352:in `request'
    /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/remote_fetcher.rb:237:in `fetch_http'
    /builddir/build/BUILD/ruby-2.2.2/lib/rubygems/remote_fetcher.rb:273:in `fetch_path'
    /builddir/build/BUILD/ruby-2.2.2/test/rubygems/test_gem_remote_fetcher.rb:783:in `block in test_ssl_connection_allow_verify_none'
    /builddir/build/BUILD/ruby-2.2.2/test/rubygems/test_gem_remote_fetcher.rb:806:in `with_configured_fetcher'
    /builddir/build/BUILD/ruby-2.2.2/test/rubygems/test_gem_remote_fetcher.rb:782:in `test_ssl_connection_allow_verify_none'


Version-Release number of selected component (if applicable):
openssl-1.0.1e-30.el6_6.11.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Ruby build just fine with rhscl-2.0-rh-ruby22-rhel-6 branch so far, but it fails agains rhscl-2.1-rh-ruby22-rhel-6.

Comment 6 Joe Orton 2018-01-31 14:02:45 UTC
Red Hat does not currently plan to provide any further changes to this collection in a Red Hat Software Collections update release.

This software collection is nearing the retirement date (April 2018) after which customers are encouraged to upgrade to a later release.

Please contact Red Hat Support if you have further questions, or refer to the support lifecycle page for more information. https://access.redhat.com/support/policy/updates/rhscl/

Comment 7 Joe Orton 2018-05-18 08:41:56 UTC
In accordance with the Red Hat Software Collections Product Life Cycle, the support period for this collection has ended.

New bug fix, enhancement, and security errata updates, as well as technical support services will no longer be made available for this collection.

Customers are encouraged to upgrade to a later release.

Please contact Red Hat Support if you have further questions, or refer to the support lifecycle page for more information. https://access.redhat.com/support/policy/updates/rhscl/