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

Random failed tests #401

Open
miry opened this issue Sep 12, 2022 · 0 comments
Open

Random failed tests #401

miry opened this issue Sep 12, 2022 · 0 comments

Comments

@miry
Copy link
Contributor

miry commented Sep 12, 2022

$ bundle exec ruby -Itest test/resource_test.rb


 9) Failure:
TestGRPC#test_circuit_breaker_on_client_streamer_return_op [/workspace/test/adapters/grpc_test.rb:215]:
[GRPC::DeadlineExceeded] exception expected, not
Class: <GRPC::Unavailable>
Message: <"[0.0.0.1:0] 14:failed to connect to all addresses. debug_error_string:{\"created\":\"@1662745388.698313140\",\"description\":\"Failed to pick subchannel\",\"file\":\"src/core/ext/filters/client_channel/client_channel.cc\",\"file_line\":3217,\"referenced_errors\":[{\"created\":\"@1662745388.698293641\",\"description\":\"failed to connect to all addresses\",\"file\":\"src/core/lib/transport/error_utils.cc\",\"file_line\":165,\"grpc_status\":14}]}">
---Backtrace---
/usr/local/bundle/gems/grpc-1.46.3/src/ruby/lib/grpc/generic/active_call.rb:29:in `check_status'
/usr/local/bundle/gems/grpc-1.46.3/src/ruby/lib/grpc/generic/active_call.rb:186:in `attach_status_results_and_complete_call'
/usr/local/bundle/gems/grpc-1.46.3/src/ruby/lib/grpc/generic/active_call.rb:175:in `receive_and_check_status'
/usr/local/bundle/gems/grpc-1.46.3/src/ruby/lib/grpc/generic/active_call.rb:404:in `rescue in client_streamer'
/usr/local/bundle/gems/grpc-1.46.3/src/ruby/lib/grpc/generic/active_call.rb:403:in `client_streamer'
/usr/local/bundle/gems/grpc-1.46.3/src/ruby/lib/grpc/generic/client_stub.rb:251:in `block (2 levels) in client_streamer'
/usr/local/bundle/gems/grpc-1.46.3/src/ruby/lib/grpc/generic/interceptors.rb:170:in `intercept!'
/usr/local/bundle/gems/grpc-1.46.3/src/ruby/lib/grpc/generic/client_stub.rb:250:in `block in client_streamer'
/workspace/lib/semian/grpc.rb:120:in `call'
/workspace/lib/semian/grpc.rb:120:in `block (2 levels) in handle_operation'
/workspace/lib/semian/adapter.rb:74:in `mark_resource_as_acquired'
/workspace/lib/semian/adapter.rb:38:in `block in acquire_semian_resource'
/workspace/lib/semian/protected_resource.rb:30:in `block (2 levels) in acquire'
/workspace/lib/semian/protected_resource.rb:59:in `block in acquire_bulkhead'
/workspace/lib/semian/protected_resource.rb:58:in `acquire'
/workspace/lib/semian/protected_resource.rb:58:in `acquire_bulkhead'
/workspace/lib/semian/protected_resource.rb:28:in `block in acquire'
/workspace/lib/semian/protected_resource.rb:46:in `block in acquire_circuit_breaker'
/workspace/lib/semian/circuit_breaker.rb:168:in `maybe_with_half_open_resource_timeout'
/workspace/lib/semian/circuit_breaker.rb:39:in `acquire'
/workspace/lib/semian/protected_resource.rb:45:in `acquire_circuit_breaker'
/workspace/lib/semian/protected_resource.rb:27:in `acquire'
/workspace/lib/semian/adapter.rb:37:in `acquire_semian_resource'
/workspace/lib/semian/grpc.rb:120:in `block in handle_operation'
/workspace/test/adapters/grpc_test.rb:216:in `block (2 levels) in open_circuit!'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant