Project

General

Profile

ActionsLike0

Bug #12504

closed

test failure of openssl with ubuntu 16.04

Added by hsbt (Hiroshi SHIBATA) almost 9 years ago. Updated over 8 years ago.

Status:
Closed
Target version:
-
[ruby-dev:49670]

Description

CI is broken at OpenSSL Ubuntu 16.04(xenial). It shows following log.

[ 1071/16956] OpenSSL::TestEOF1#test_eof_0fips.c(139): OpenSSL internal error, assertion failed: FATAL FIPS SELFTEST FAILURE

see full of log. http://rubyci.s3.amazonaws.com/ubuntu/ruby-trunk/log/20160618T063004Z.fail.html.gz

version of openssl on above instance is here:

Package: openssl
Version: 1.0.2g-1ubuntu4.1
(snip)

Added by rhenium (Kazuki Yamaguchi) almost 9 years ago

Revision c2158dd5

openssl: avoid test crash on Ubuntu 16.04

  • test/openssl/test_pkey_ec.rb (setup): Don't call EC#generate_key! for
    Oakley-* curves. This causes an odd error on Ubuntu 16.04 with openssl
    1.0.2g-1ubuntu4.1.

    begin
    OpenSSL::PKey::EC.new("Oakley-EC2N-4").generate_key
    rescue
    p $!
    end
    OpenSSL::PKey::RSA.new(512)

    This sometimes causes:

    #<OpenSSL::PKey::ECError: EC_KEY_generate_key: pairwise test failed>
    fips.c(139): OpenSSL internal error, assertion failed: FATAL FIPS SELFTEST FAILURE

    [ruby-dev:49670] [Bug #12504]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

ActionsLike0

Also available in: Atom PDF