Bug #8831
closedtest-all error: OpenSSL::SSL::SSLError: SSL_write: bad write retry
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:
-
Failure:
OpenSSL::TestPair#test_read_nonblock_no_exception [/home/chkbuild/build/20130830T000301Z/ruby/test/openssl/test_pair.rb:175]:
expected but was
<:wait_readable>. -
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:insysread_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) over 10 years ago
- Target version changed from 2.1.0 to 2.2.0
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.