Bug #8610
closedMinGW: OpenSSL test failures
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
-
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)">. -
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:ininitialize' 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:inblock (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:inblock 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
-
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">. -
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:indsa_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:ineach' C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/test_pkey_ec.rb:87:in
test_dsa_sign_verify' -
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:ininitialize' 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:inblock (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:inblock 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