Bug #1541
closedmingw ssl: Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
Description
=begin
If you delete test_io.rb and test_exception.rb and re-run make test-all for mingw, it completes!
Yea!
Here are a few bug reports from said run.
mingw32, gcc 3.4.5, TRUNK.
overall result: 6050 tests, 2510241 assertions, 40 failures, 89 errors, 7 skips
the first 9 look related:
-
Error:
test_client_auth(OpenSSL::TestSSL):
Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:inaccept' c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:in
accept'
c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:79:inblock in server_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:in
loop'
c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:inserver_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:124:in
block in start_server' -
Error:
test_client_session(OpenSSL::TestSSL):
Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:inaccept' c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:in
accept'
c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:79:inblock in server_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:in
loop'
c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:inserver_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:124:in
block in start_server' -
Error:
test_connect_and_close(OpenSSL::TestSSL):
Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:inaccept' c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:in
accept'
c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:79:inblock in server_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:in
loop'
c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:inserver_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:124:in
block in start_server' -
Error:
test_parallel(OpenSSL::TestSSL):
Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:inaccept' c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:in
accept'
c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:79:inblock in server_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:in
loop'
c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:inserver_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:124:in
block in start_server' -
Error:
test_post_connection_check(OpenSSL::TestSSL):
Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:inaccept' c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:in
accept'
c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:79:inblock in server_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:in
loop'
c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:inserver_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:124:in
block in start_server' -
Error:
test_read_and_write(OpenSSL::TestSSL):
Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:inaccept' c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:in
accept'
c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:79:inblock in server_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:in
loop'
c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:inserver_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:124:in
block in start_server' -
Error:
test_server_session(OpenSSL::TestSSL):
Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:inaccept' c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:in
accept'
c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:79:inblock in server_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:in
loop'
c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:inserver_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:124:in
block in start_server' -
Error:
test_ssl_read_nonblock(OpenSSL::TestSSL):
Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:inaccept' c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:in
accept'
c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:79:inblock in server_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:in
loop'
c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:inserver_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:124:in
block in start_server' -
Error:
test_starttls(OpenSSL::TestSSL):
Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:inaccept' c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:in
accept'
c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:79:inblock in server_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:in
loop'
c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:inserver_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:124:in
block in start_server'
Thanks much for your help with any of these. Just wanted to bring them to public knowledge, as well as the next ones.
-=r
=end