Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't alloc thread (ThreadError) #345

Open
lmayorga1980 opened this issue Jun 13, 2024 · 0 comments
Open

can't alloc thread (ThreadError) #345

lmayorga1980 opened this issue Jun 13, 2024 · 0 comments

Comments

@lmayorga1980
Copy link

Using ruby 3.2.1 to run a test-kitchen verification against a Windows Server.

Is the new winrm with ruby 3.x support coming soon?

bundle exec kitchen converge                                                                                                        
-----> Starting Test Kitchen (v3.6.0)
-----> Converging <default-windows-2019>...
       Preparing files for transfer
       Preparing script
       No provisioner script file specified, skipping
       Transferring files to <default-windows-2019>
       Downloading files from <default-windows-2019>
       Finished converging <default-windows-2019> (0m1.05s).
-----> Test Kitchen is finished. (0m1.76s)
/Users/lcentinel/.rbenv/versions/3.3.0/bin/bundle: warning: Exception in finalizer #<Proc:0x0000000130f724a8 /Users/lcentinel/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/winrm-2.3.6/lib/winrm/shells/power_shell.rb:33>
/Users/lcentinel/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/logging-2.4.0/lib/logging/diagnostic_context.rb:471:in `new': can't alloc thread (ThreadError)
	from /Users/lcentinel/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/logging-2.4.0/lib/logging/diagnostic_context.rb:471:in `create_with_logging_context'
	from /Users/lcentinel/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/logging-2.4.0/lib/logging/diagnostic_context.rb:436:in `new'
	from /Users/lcentinel/.rbenv/versions/3.3.0/lib/ruby/3.3.0/timeout.rb:98:in `create_timeout_thread'
	from /Users/lcentinel/.rbenv/versions/3.3.0/lib/ruby/3.3.0/timeout.rb:131:in `block in ensure_timeout_thread_created'
	from /Users/lcentinel/.rbenv/versions/3.3.0/lib/ruby/3.3.0/timeout.rb:129:in `synchronize'
	from /Users/lcentinel/.rbenv/versions/3.3.0/lib/ruby/3.3.0/timeout.rb:129:in `ensure_timeout_thread_created'
	from /Users/lcentinel/.rbenv/versions/3.3.0/lib/ruby/3.3.0/timeout.rb:178:in `timeout'
	from /Users/lcentinel/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:515:in `query'
	from /Users/lcentinel/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:177:in `query'
	from /Users/lcentinel/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/httpclient-2.8.3/lib/httpclient.rb:1242:in `do_get_block'
	from /Users/lcentinel/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/httpclient-2.8.3/lib/httpclient.rb:1019:in `block in do_request'
	from /Users/lcentinel/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/httpclient-2.8.3/lib/httpclient.rb:1133:in `protect_keep_alive_disconnected'
	from /Users/lcentinel/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/httpclient-2.8.3/lib/httpclient.rb:1014:in `do_request'
	from /Users/lcentinel/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/httpclient-2.8.3/lib/httpclient.rb:856:in `request'
	from /Users/lcentinel/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/httpclient-2.8.3/lib/httpclient.rb:765:in `post'
	from /Users/lcentinel/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/winrm-2.3.6/lib/winrm/http/transport.rb:176:in `send_request'
	from /Users/lcentinel/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/winrm-2.3.6/lib/winrm/shells/power_shell.rb:42:in `close_shell'
	from /Users/lcentinel/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/winrm-2.3.6/lib/winrm/shells/power_shell.rb:33:in `block in finalize'
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

No branches or pull requests

1 participant