Skip to content

Rescue Errno::EINPROGRESS in OpenSSL::TestSSL#protocol_version_available? - #1114

Open
jeremyevans wants to merge 1 commit into
ruby:masterfrom
jeremyevans:test-einprogress
Open

jeremyevans wants to merge 1 commit into
ruby:masterfrom
jeremyevans:test-einprogress

Conversation

@jeremyevans

Copy link
Copy Markdown
Contributor

No idea whether this is the correct fix. This is just a guess based on a RubyCI OpenBSD failure:

  1) Failure:
OpenSSL::TestSSL#test_fallback_scsv [/home/chkbuild/chkbuild/tmp/build/20260922T213018Z/ruby/test/openssl/utils.rb:258]:
exceptions on 1 threads:
/home/chkbuild/chkbuild/tmp/build/20260922T213018Z/ruby/test/openssl/test_ssl.rb:2411:in 'OpenSSL::SSL::SSLSocket#connect': Operation now in progress - SSL_connect (Errno::EINPROGRESS)
	from /home/chkbuild/chkbuild/tmp/build/20260922T213018Z/ruby/test/openssl/test_ssl.rb:2411:in 'OpenSSL::TestSSL#server_connect'
	from /home/chkbuild/chkbuild/tmp/build/20260922T213018Z/ruby/test/openssl/test_ssl.rb:1312:in 'block in OpenSSL::TestSSL#protocol_version_available?'
	from /home/chkbuild/chkbuild/tmp/build/20260922T213018Z/ruby/test/openssl/utils.rb:236:in 'block (2 levels) in OpenSSL::SSLTestCase#start_server_proc'

…ble?

No idea whether this is the correct fix. This is just a guess based on
a RubyCI OpenBSD failure:

```
  1) Failure:
OpenSSL::TestSSL#test_fallback_scsv [/home/chkbuild/chkbuild/tmp/build/20260922T213018Z/ruby/test/openssl/utils.rb:258]:
exceptions on 1 threads:
/home/chkbuild/chkbuild/tmp/build/20260922T213018Z/ruby/test/openssl/test_ssl.rb:2411:in 'OpenSSL::SSL::SSLSocket#connect': Operation now in progress - SSL_connect (Errno::EINPROGRESS)
	from /home/chkbuild/chkbuild/tmp/build/20260922T213018Z/ruby/test/openssl/test_ssl.rb:2411:in 'OpenSSL::TestSSL#server_connect'
	from /home/chkbuild/chkbuild/tmp/build/20260922T213018Z/ruby/test/openssl/test_ssl.rb:1312:in 'block in OpenSSL::TestSSL#protocol_version_available?'
	from /home/chkbuild/chkbuild/tmp/build/20260922T213018Z/ruby/test/openssl/utils.rb:236:in 'block (2 levels) in OpenSSL::SSLTestCase#start_server_proc'
```

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant