Project

General

Profile

Actions

Bug #12914

closed

FTPTest#test_list_read_timeout_exceeded causes EPROTOTYPE on Mac OS X 10.10

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

Status:
Closed
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 1 (0 open1 closed)

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

Updated by shugo (Shugo Maeda) over 7 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]

Actions #2

Updated by nobu (Nobuyoshi Nakada) almost 6 years ago

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

Also available in: Atom PDF

Like0
Like0Like0