Project

General

Profile

Bug #8610

MinGW: OpenSSL test failures

Added by Luis Lavena almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
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)">.

3) 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

History

#1 [ruby-core:55841] Updated by Martin Bosslet almost 3 years ago

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

#2 [ruby-core:55842] Updated by Luis Lavena almost 3 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

#3 [ruby-core:55845] Updated by Luis Lavena almost 3 years ago

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

Build fixed. Thank you Martin!

Also available in: Atom PDF