Project

General

Profile

Actions

Bug #8610

closed

MinGW: OpenSSL test failures

Added by luislavena (Luis Lavena) over 11 years ago. Updated over 11 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 2.1.0dev (2013-07-08 trunk 41827) [i386-mingw32]
[ruby-core:55837]

Description

=begin
Hello,

RubyInstaller CI is reporting some failures of OpenSSL tests that might be worth to take a look:

http://ci.rubyinstaller.org/view/All/job/ruby-trunk-x86-test-all/1740/console
http://ci.rubyinstaller.org/view/All/job/ruby-trunk-x64-test-all/1539/console

  1. Failure:
    OpenSSL::TestEC#test_dsa_sign_asn1_FIPS186_3 [C:/Users/Worker/Jenkins/workspace/ruby-trunk-x86-build/test/openssl/test_pkey_ec.rb:103]:
    <"ECDSA_sign: data too large for key size"> expected but was
    <"ECDSA_sign: (null)">.

  2. Error:
    OpenSSL::TestEC#test_encoding:
    ArgumentError: string contains null byte
    C:/Users/Worker/Jenkins/workspace/ruby-trunk-x86-build/test/openssl/test_pkey_ec.rb:51:in initialize' C:/Users/Worker/Jenkins/workspace/ruby-trunk-x86-build/test/openssl/test_pkey_ec.rb:51:in new'
    C:/Users/Worker/Jenkins/workspace/ruby-trunk-x86-build/test/openssl/test_pkey_ec.rb:51:in block (2 levels) in test_encoding' C:/Users/Worker/Jenkins/workspace/ruby-trunk-x86-build/test/openssl/test_pkey_ec.rb:49:in each'
    C:/Users/Worker/Jenkins/workspace/ruby-trunk-x86-build/test/openssl/test_pkey_ec.rb:49:in block in test_encoding' C:/Users/Worker/Jenkins/workspace/ruby-trunk-x86-build/test/openssl/test_pkey_ec.rb:48:in each'
    C:/Users/Worker/Jenkins/workspace/ruby-trunk-x86-build/test/openssl/test_pkey_ec.rb:48:in `test_encoding'

And

  1. Failure:
    OpenSSL::TestEC#test_dsa_sign_asn1_FIPS186_3 [C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/test_pkey_ec.rb:103]:
    <"ECDSA_sign: data too large for key size"> expected but was
    <"ECDSA_verify: BN lib">.

  2. Error:
    OpenSSL::TestEC#test_dsa_sign_verify:
    OpenSSL::PKey::ECError: ECDSA_sign: (null)
    C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/test_pkey_ec.rb:88:in dsa_sign_asn1' C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/test_pkey_ec.rb:88:in block in test_dsa_sign_verify'
    C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/test_pkey_ec.rb:87:in each' C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/test_pkey_ec.rb:87:in test_dsa_sign_verify'

  3. Error:
    OpenSSL::TestEC#test_encoding:
    ArgumentError: string contains null byte
    C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/test_pkey_ec.rb:51:in initialize' C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/test_pkey_ec.rb:51:in new'
    C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/test_pkey_ec.rb:51:in block (2 levels) in test_encoding' C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/test_pkey_ec.rb:49:in each'
    C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/test_pkey_ec.rb:49:in block in test_encoding' C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/test_pkey_ec.rb:48:in each'
    C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/test_pkey_ec.rb:48:in `test_encoding'

Thank you.

=end

Updated by MartinBosslet (Martin Bosslet) over 11 years ago

Thanks! The errors should disappear with the last update of #8384?

Updated by luislavena (Luis Lavena) over 11 years ago

MartinBosslet (Martin Bosslet) wrote:

Thanks! The errors should disappear with the last update of #8384?

It is building right now, we can check in a bit:

http://ci.rubyinstaller.org/view/All/builds

Updated by luislavena (Luis Lavena) over 11 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Build fixed. Thank you Martin!

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0