Project

General

Profile

Actions

Bug #8831

closed

test-all error: OpenSSL::SSL::SSLError: SSL_write: bad write retry

Added by ko1 (Koichi Sasada) over 10 years ago. Updated over 7 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
r42695 ruby 2.1.0dev (2013-08-27) [i686-linux] (boron)
Backport:
[ruby-dev:47660]

Description

There is a test-all error on some environments from r42695.
It seems depend on openssl's version.

http://www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/log/20130826T224700Z.diff.html.gz

  • ) Error:
    +OpenSSL::TestPair#test_write_nonblock_no_exceptions:
    +OpenSSL::SSL::SSLError: SSL_write: bad write retry
  • /extdisk/chkbuild/chkbuild/tmp/build//ruby/.ext/common/openssl/buffering.rb:<line_a>:in `syswrite_nonblock'
  • /extdisk/chkbuild/chkbuild/tmp/build//ruby/.ext/common/openssl/buffering.rb:<line_a>:in `write_nonblock'
  • /extdisk/chkbuild/chkbuild/tmp/build//ruby/test/openssl/test_pair.rb:<line_a>:in `write_nonblock_no_ex'
  • /extdisk/chkbuild/chkbuild/tmp/build//ruby/test/openssl/test_pair.rb:<line_a>:in `block in test_write_nonblock_no_exceptions'
  • /extdisk/chkbuild/chkbuild/tmp/build//ruby/test/openssl/test_pair.rb:<line_a>:in `ssl_pair'
  • /extdisk/chkbuild/chkbuild/tmp/build//ruby/test/openssl/test_pair.rb:<line_a>:in `test_write_nonblock_no_exceptions'

Updated by naruse (Yui NARUSE) over 10 years ago

FreeBSD also has failures:

  1. Failure:
    OpenSSL::TestPair#test_read_nonblock_no_exception [/home/chkbuild/build/20130830T000301Z/ruby/test/openssl/test_pair.rb:175]:
    expected but was
    <:wait_readable>.

  2. Failure:
    OpenSSL::TestPair#test_read_nonblock [/home/chkbuild/build/20130830T000301Z/ruby/test/openssl/test_pair.rb:160]:
    [EOFError] exception expected, not
    Class: OpenSSL::SSL::SSLErrorWaitReadable
    Message: <"read would block">
    ---Backtrace---
    /home/chkbuild/build/20130830T000301Z/ruby/.ext/common/openssl/buffering.rb:174:in sysread_nonblock' /home/chkbuild/build/20130830T000301Z/ruby/.ext/common/openssl/buffering.rb:174:in read_nonblock'
    /home/chkbuild/build/20130830T000301Z/ruby/test/openssl/test_pair.rb:160:in `block (2 levels) in test_read_nonblock'


http://fb.rubyci.org/~chkbuild/ruby-trunk/log/20130830T000301Z.log.html.gz#rubyspec

Updated by naruse (Yui NARUSE) over 10 years ago

  • Status changed from Open to Assigned

On r42790 usa ignored this error, but tenderlove should confirm this.

Updated by hsbt (Hiroshi SHIBATA) about 10 years ago

  • Target version changed from 2.1.0 to 2.2.0
Actions #4

Updated by zzak (zzak _) over 8 years ago

  • Assignee changed from tenderlovemaking (Aaron Patterson) to 7150

Updated by rhenium (Kazuki Yamaguchi) over 7 years ago

  • Status changed from Assigned to Closed
  • Backport deleted (1.9.3: UNKNOWN, 2.0.0: UNKNOWN)

#12126 should have fixed the root cause. r42790 is already reverted (EDIT: by f542fb60add7 at GitHub ruby/openssl and imported to trunk by r56946) and RubyCI seems to be happy with this.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0