Project

General

Profile

Bug #12914

FTPTest#test_list_read_timeout_exceeded causes EPROTOTYPE on Mac OS X 10.10

Added by shugo (Shugo Maeda) over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:78066]

Description

FTPTest#test_list_read_timeout_exceeded sometimes causes EPROTOTYPE on Mac OS X 10.10.

From http://rubyci.org/logs/rubyci.s3.amazonaws.com/osx1010/ruby-trunk/log/20161106T234501Z.fail.html.gz:

  1) Failure:
FTPTest#test_list_read_timeout_exceeded [/Users/hsbt/Documents/cb/tmp/build/20161106T234501Z/ruby/test/net/ftp/test_ftp.rb:356]:
Expected #<Errno::EPROTOTYPE: Protocol wrong type for socket> to be nil.

Finished tests in 332.993252s, 50.3013 tests/s, 6726.4937 assertions/s.
16750 tests, 2239877 assertions, 1 failures, 0 errors, 42 skips

ruby -v: ruby 2.4.0dev (2016-11-07 trunk 56648) [x86_64-darwin14]

But I don't have any Mac.
Could anyone reproduce this bug?

dtruss output might be helpful to solve this bug.


Related issues

Related to Ruby trunk - Bug #14713: <internal:prelude>:132:in `__write_nonblock': Protocol wrong type for socket (Errno::EPROTOTYPE)ClosedActions

Associated revisions

Revision c0652def
Added by shugo (Shugo Maeda) about 2 years ago

rescue Errno::EPROTOTYPE in FTPTest#test_list_read_timeout_exceeded.

Errno::EPROTOTYPE is sometimes raised on Mac OS X 10.10.
[ruby-core:78066] [Bug #12914]

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

Revision 56882
Added by shugo (Shugo Maeda) about 2 years ago

rescue Errno::EPROTOTYPE in FTPTest#test_list_read_timeout_exceeded.

Errno::EPROTOTYPE is sometimes raised on Mac OS X 10.10.
[ruby-core:78066] [Bug #12914]

Revision 56882
Added by shugo (Shugo Maeda) about 2 years ago

rescue Errno::EPROTOTYPE in FTPTest#test_list_read_timeout_exceeded.

Errno::EPROTOTYPE is sometimes raised on Mac OS X 10.10.
[ruby-core:78066] [Bug #12914]

Revision 56882
Added by shugo (Shugo Maeda) about 2 years ago

rescue Errno::EPROTOTYPE in FTPTest#test_list_read_timeout_exceeded.

Errno::EPROTOTYPE is sometimes raised on Mac OS X 10.10.
[ruby-core:78066] [Bug #12914]

Revision 56882
Added by shugo (Shugo Maeda) about 2 years ago

rescue Errno::EPROTOTYPE in FTPTest#test_list_read_timeout_exceeded.

Errno::EPROTOTYPE is sometimes raised on Mac OS X 10.10.
[ruby-core:78066] [Bug #12914]

History

#1

Updated by shugo (Shugo Maeda) about 2 years ago

  • Status changed from Open to Closed

Applied in changeset r56882.


rescue Errno::EPROTOTYPE in FTPTest#test_list_read_timeout_exceeded.

Errno::EPROTOTYPE is sometimes raised on Mac OS X 10.10.
[ruby-core:78066] [Bug #12914]

#2

Updated by nobu (Nobuyoshi Nakada) 10 months ago

  • Related to Bug #14713: <internal:prelude>:132:in `__write_nonblock': Protocol wrong type for socket (Errno::EPROTOTYPE) added

Also available in: Atom PDF