Bug #8610

MinGW: OpenSSL test failures

Added by Luis Lavena 10 months ago. Updated 10 months ago.

[ruby-core:55837]
Status:Closed
Priority:Normal
Assignee:Martin Bosslet
Category:test
Target version:2.1.0
ruby -v:ruby 2.1.0dev (2013-07-08 trunk 41827) [i386-mingw32] Backport:1.9.3: UNKNOWN, 2.0.0: UNKNOWN

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#testdsasignasn1FIPS1863 [C:/Users/Worker/Jenkins/workspace/ruby-trunk-x86-build/test/openssl/testpkeyec.rb:103]:
<"ECDSA
sign: data too large for key size"> expected but was
<"ECDSA_sign: (null)">.

3) Error:
OpenSSL::TestEC#testencoding:
ArgumentError: string contains null byte
C:/Users/Worker/Jenkins/workspace/ruby-trunk-x86-build/test/openssl/test
pkeyec.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
pkeyec.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
pkeyec.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
pkeyec.rb:48:in `testencoding'

And

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

2) Error:
OpenSSL::TestEC#testdsasignverify:
OpenSSL::PKey::ECError: ECDSA
sign: (null)
C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/testpkeyec.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 testdsasignverify'
C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/test
pkeyec.rb:87:in each'
C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/test_pkey_ec.rb:87:in
test
dsasignverify'

3) Error:
OpenSSL::TestEC#testencoding:
ArgumentError: string contains null byte
C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/test
pkeyec.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
pkeyec.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
pkeyec.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
pkeyec.rb:48:in `testencoding'

Thank you.

=end

History

#1 Updated by Martin Bosslet 10 months ago

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

#2 Updated by Luis Lavena 10 months 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 Updated by Luis Lavena 10 months ago

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

Build fixed. Thank you Martin!

Also available in: Atom PDF