Forum: Ruby-dev [ruby-trunk - Bug #8831][Open] test-all error: OpenSSL::SSL::SSLError: SSL_write: bad write retry

C4e88907313843cf07f6d85ba8162120?d=identicon&s=25 ko1 (Koichi Sasada) (Guest)
on 2013-08-29 07:43
(Received via mailing list)
Issue #8831 has been reported by ko1 (Koichi Sasada).

----------------------------------------
Bug #8831: test-all error: OpenSSL::SSL::SSLError: SSL_write: bad write
retry
https://bugs.ruby-lang.org/issues/8831

Author: ko1 (Koichi Sasada)
Status: Open
Priority: Normal
Assignee: tenderlovemaking (Aaron Patterson)
Category: ext/openssl
Target version: current: 2.1.0
ruby -v: r42695 ruby 2.1.0dev (2013-08-27) [i686-linux] (boron)
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


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-t...

+ <n>) Error:
+OpenSSL::TestPair#test_write_nonblock_no_exceptions:
+OpenSSL::SSL::SSLError: SSL_write: bad write retry
+
/extdisk/chkbuild/chkbuild/tmp/build/<buildtime>/ruby/.ext/common/openssl/buffering.rb:<line_a>:in
`syswrite_nonblock'
+
/extdisk/chkbuild/chkbuild/tmp/build/<buildtime>/ruby/.ext/common/openssl/buffering.rb:<line_a>:in
`write_nonblock'
+
/extdisk/chkbuild/chkbuild/tmp/build/<buildtime>/ruby/test/openssl/test_pair.rb:<line_a>:in
`write_nonblock_no_ex'
+
/extdisk/chkbuild/chkbuild/tmp/build/<buildtime>/ruby/test/openssl/test_pair.rb:<line_a>:in
`block in test_write_nonblock_no_exceptions'
+
/extdisk/chkbuild/chkbuild/tmp/build/<buildtime>/ruby/test/openssl/test_pair.rb:<line_a>:in
`ssl_pair'
+
/extdisk/chkbuild/chkbuild/tmp/build/<buildtime>/ruby/test/openssl/test_pair.rb:<line_a>:in
`test_write_nonblock_no_exceptions'
9361878d459f1709feec780518946ee5?d=identicon&s=25 naruse (Yui NARUSE) (Guest)
on 2013-08-30 03:17
(Received via mailing list)
Issue #8831 has been updated by naruse (Yui NARUSE).


FreeBSD also has failures:

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

  5) 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/2013...
----------------------------------------
Bug #8831: test-all error: OpenSSL::SSL::SSLError: SSL_write: bad write
retry
https://bugs.ruby-lang.org/issues/8831#change-41418

Author: ko1 (Koichi Sasada)
Status: Open
Priority: Normal
Assignee: tenderlovemaking (Aaron Patterson)
Category: ext/openssl
Target version: current: 2.1.0
ruby -v: r42695 ruby 2.1.0dev (2013-08-27) [i686-linux] (boron)
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


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-t...

+ <n>) Error:
+OpenSSL::TestPair#test_write_nonblock_no_exceptions:
+OpenSSL::SSL::SSLError: SSL_write: bad write retry
+
/extdisk/chkbuild/chkbuild/tmp/build/<buildtime>/ruby/.ext/common/openssl/buffering.rb:<line_a>:in
`syswrite_nonblock'
+
/extdisk/chkbuild/chkbuild/tmp/build/<buildtime>/ruby/.ext/common/openssl/buffering.rb:<line_a>:in
`write_nonblock'
+
/extdisk/chkbuild/chkbuild/tmp/build/<buildtime>/ruby/test/openssl/test_pair.rb:<line_a>:in
`write_nonblock_no_ex'
+
/extdisk/chkbuild/chkbuild/tmp/build/<buildtime>/ruby/test/openssl/test_pair.rb:<line_a>:in
`block in test_write_nonblock_no_exceptions'
+
/extdisk/chkbuild/chkbuild/tmp/build/<buildtime>/ruby/test/openssl/test_pair.rb:<line_a>:in
`ssl_pair'
+
/extdisk/chkbuild/chkbuild/tmp/build/<buildtime>/ruby/test/openssl/test_pair.rb:<line_a>:in
`test_write_nonblock_no_exceptions'
9361878d459f1709feec780518946ee5?d=identicon&s=25 naruse (Yui NARUSE) (Guest)
on 2013-09-04 10:20
(Received via mailing list)
Issue #8831 has been updated by naruse (Yui NARUSE).

Status changed from Open to Assigned

On r42790 usa ignored this error, but tenderlove should confirm this.
----------------------------------------
Bug #8831: test-all error: OpenSSL::SSL::SSLError: SSL_write: bad write
retry
https://bugs.ruby-lang.org/issues/8831#change-41606

Author: ko1 (Koichi Sasada)
Status: Assigned
Priority: Normal
Assignee: tenderlovemaking (Aaron Patterson)
Category: ext/openssl
Target version: current: 2.1.0
ruby -v: r42695 ruby 2.1.0dev (2013-08-27) [i686-linux] (boron)
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


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-t...

+ <n>) Error:
+OpenSSL::TestPair#test_write_nonblock_no_exceptions:
+OpenSSL::SSL::SSLError: SSL_write: bad write retry
+
/extdisk/chkbuild/chkbuild/tmp/build/<buildtime>/ruby/.ext/common/openssl/buffering.rb:<line_a>:in
`syswrite_nonblock'
+
/extdisk/chkbuild/chkbuild/tmp/build/<buildtime>/ruby/.ext/common/openssl/buffering.rb:<line_a>:in
`write_nonblock'
+
/extdisk/chkbuild/chkbuild/tmp/build/<buildtime>/ruby/test/openssl/test_pair.rb:<line_a>:in
`write_nonblock_no_ex'
+
/extdisk/chkbuild/chkbuild/tmp/build/<buildtime>/ruby/test/openssl/test_pair.rb:<line_a>:in
`block in test_write_nonblock_no_exceptions'
+
/extdisk/chkbuild/chkbuild/tmp/build/<buildtime>/ruby/test/openssl/test_pair.rb:<line_a>:in
`ssl_pair'
+
/extdisk/chkbuild/chkbuild/tmp/build/<buildtime>/ruby/test/openssl/test_pair.rb:<line_a>:in
`test_write_nonblock_no_exceptions'
Eabad423977cfc6873b8f5df62b848a6?d=identicon&s=25 unknown (Guest)
on 2014-01-30 07:27
(Received via mailing list)
Issue #8831 has been updated by Hiroshi SHIBATA.

Target version changed from 2.1.0 to current: 2.2.0

----------------------------------------
Bug #8831: test-all error: OpenSSL::SSL::SSLError: SSL_write: bad write
retry
https://bugs.ruby-lang.org/issues/8831#change-44794

* Author: Koichi Sasada
* Status: Assigned
* Priority: Normal
* Assignee: Aaron Patterson
* Category: ext/openssl
* Target version: current: 2.2.0
* ruby -v: r42695 ruby 2.1.0dev (2013-08-27) [i686-linux] (boron)
* Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN
----------------------------------------
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-t...

+ <n>) Error:
+OpenSSL::TestPair#test_write_nonblock_no_exceptions:
+OpenSSL::SSL::SSLError: SSL_write: bad write retry
+
/extdisk/chkbuild/chkbuild/tmp/build/<buildtime>/ruby/.ext/common/openssl/buffering.rb:<line_a>:in
`syswrite_nonblock'
+
/extdisk/chkbuild/chkbuild/tmp/build/<buildtime>/ruby/.ext/common/openssl/buffering.rb:<line_a>:in
`write_nonblock'
+
/extdisk/chkbuild/chkbuild/tmp/build/<buildtime>/ruby/test/openssl/test_pair.rb:<line_a>:in
`write_nonblock_no_ex'
+
/extdisk/chkbuild/chkbuild/tmp/build/<buildtime>/ruby/test/openssl/test_pair.rb:<line_a>:in
`block in test_write_nonblock_no_exceptions'
+
/extdisk/chkbuild/chkbuild/tmp/build/<buildtime>/ruby/test/openssl/test_pair.rb:<line_a>:in
`ssl_pair'
+
/extdisk/chkbuild/chkbuild/tmp/build/<buildtime>/ruby/test/openssl/test_pair.rb:<line_a>:in
`test_write_nonblock_no_exceptions'
This topic is locked and can not be replied to.