feat: test Flipper feature flag in ApplicationController #21160
7 fail, 4 skipped, 28 373 pass in 1h 11m 1s
Annotations
Check warning on line 0 in ./spec/lib/iam_ssoe_oauth/session_manager_spec.rb
github-actions / Test Results
IAMSSOeOAuth::SessionManager #find_or_create_user with a valid access token last_signed_in is set and is a time (spec.lib.iam_ssoe_oauth.session_manager_spec) failed
Test Results/rspec8.xml [took 0s]
Raw output
#<InstanceDouble(OpenSSL::X509::Certificate) (anonymous)> was originally created in one example but has leaked into another example and can no longer be used. rspec-mocks' doubles are designed to only last for one example, and you need to create a new one in each example you wish to use it for.
\e[1mFailure/Error: \e[0m
connection.send(method.to_sym, path, params) do |request|
request.headers.update(headers)
options.each { |option, value| request.options.send("#{option}=", value) }
end.env
#<InstanceDouble(OpenSSL::X509::Certificate) (anonymous)> was originally created in one example but has leaked into another example and can no longer be used. rspec-mocks' doubles are designed to only last for one example, and you need to create a new one in each example you wish to use it for.
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:137:in `configure_ssl'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:45:in `block in build_connection'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:44:in `build_connection'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/adapter.rb:42:in `connection'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:65:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/middleware.rb:56:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/middleware.rb:56:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/middleware.rb:56:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/breakers-0.7.1/lib/breakers/uptime_middleware.rb:56:in `handle_request'
/usr/local/bundle/cache/ruby/3.3.0/gems/breakers-0.7.1/lib/breakers/uptime_middleware.rb:31:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/rack_builder.rb:152:in `build_response'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/connection.rb:452:in `run_request'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/connection.rb:280:in `post'
./lib/common/client/base.rb:109:in `request'
./lib/common/client/base.rb:152:in `post'
./lib/common/client/base.rb:102:in `perform'
./lib/iam_ssoe_oauth/service.rb:32:in `post_introspect'
./lib/iam_ssoe_oauth/session_manager.rb:69:in `build_profile'
./lib/iam_ssoe_oauth/session_manager.rb:48:in `create_user_session'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument.rb:133:in `block (2 levels) in statsd_count_success'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument.rb:86:in `block (3 levels) in statsd_measure'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument/client.rb:393:in `latency'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument/client.rb:256:in `measure'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument.rb:85:in `block (2 levels) in statsd_measure'
./lib/iam_ssoe_oauth/session_manager.rb:17:in `find_or_create_user'
./spec/lib/iam_ssoe_oauth/session_manager_spec.rb:14:in `block (5 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'
./spec/lib/iam_ssoe_oauth/session_manager_spec.rb:13:in `block (4 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.25.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
Check warning on line 0 in ./spec/lib/iam_ssoe_oauth/session_manager_spec.rb
github-actions / Test Results
IAMSSOeOAuth::SessionManager #find_or_create_user with a valid access token creates a session object (spec.lib.iam_ssoe_oauth.session_manager_spec) failed
Test Results/rspec8.xml [took 0s]
Raw output
#<InstanceDouble(OpenSSL::X509::Certificate) (anonymous)> was originally created in one example but has leaked into another example and can no longer be used. rspec-mocks' doubles are designed to only last for one example, and you need to create a new one in each example you wish to use it for.
\e[1mFailure/Error: \e[0m
connection.send(method.to_sym, path, params) do |request|
request.headers.update(headers)
options.each { |option, value| request.options.send("#{option}=", value) }
end.env
#<InstanceDouble(OpenSSL::X509::Certificate) (anonymous)> was originally created in one example but has leaked into another example and can no longer be used. rspec-mocks' doubles are designed to only last for one example, and you need to create a new one in each example you wish to use it for.
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:137:in `configure_ssl'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:45:in `block in build_connection'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:44:in `build_connection'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/adapter.rb:42:in `connection'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:65:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/middleware.rb:56:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/middleware.rb:56:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/middleware.rb:56:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/breakers-0.7.1/lib/breakers/uptime_middleware.rb:56:in `handle_request'
/usr/local/bundle/cache/ruby/3.3.0/gems/breakers-0.7.1/lib/breakers/uptime_middleware.rb:31:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/rack_builder.rb:152:in `build_response'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/connection.rb:452:in `run_request'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/connection.rb:280:in `post'
./lib/common/client/base.rb:109:in `request'
./lib/common/client/base.rb:152:in `post'
./lib/common/client/base.rb:102:in `perform'
./lib/iam_ssoe_oauth/service.rb:32:in `post_introspect'
./lib/iam_ssoe_oauth/session_manager.rb:69:in `build_profile'
./lib/iam_ssoe_oauth/session_manager.rb:48:in `create_user_session'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument.rb:133:in `block (2 levels) in statsd_count_success'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument.rb:86:in `block (3 levels) in statsd_measure'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument/client.rb:393:in `latency'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument/client.rb:256:in `measure'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument.rb:85:in `block (2 levels) in statsd_measure'
./lib/iam_ssoe_oauth/session_manager.rb:17:in `find_or_create_user'
./spec/lib/iam_ssoe_oauth/session_manager_spec.rb:14:in `block (5 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'
./spec/lib/iam_ssoe_oauth/session_manager_spec.rb:13:in `block (4 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.25.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
Check warning on line 0 in ./spec/lib/iam_ssoe_oauth/session_manager_spec.rb
github-actions / Test Results
IAMSSOeOAuth::SessionManager #find_or_create_user with a valid access token creates a user identity (spec.lib.iam_ssoe_oauth.session_manager_spec) failed
Test Results/rspec8.xml [took 0s]
Raw output
#<InstanceDouble(OpenSSL::X509::Certificate) (anonymous)> was originally created in one example but has leaked into another example and can no longer be used. rspec-mocks' doubles are designed to only last for one example, and you need to create a new one in each example you wish to use it for.
\e[1mFailure/Error: \e[0m
connection.send(method.to_sym, path, params) do |request|
request.headers.update(headers)
options.each { |option, value| request.options.send("#{option}=", value) }
end.env
#<InstanceDouble(OpenSSL::X509::Certificate) (anonymous)> was originally created in one example but has leaked into another example and can no longer be used. rspec-mocks' doubles are designed to only last for one example, and you need to create a new one in each example you wish to use it for.
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:137:in `configure_ssl'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:45:in `block in build_connection'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:44:in `build_connection'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/adapter.rb:42:in `connection'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:65:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/middleware.rb:56:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/middleware.rb:56:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/middleware.rb:56:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/breakers-0.7.1/lib/breakers/uptime_middleware.rb:56:in `handle_request'
/usr/local/bundle/cache/ruby/3.3.0/gems/breakers-0.7.1/lib/breakers/uptime_middleware.rb:31:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/rack_builder.rb:152:in `build_response'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/connection.rb:452:in `run_request'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/connection.rb:280:in `post'
./lib/common/client/base.rb:109:in `request'
./lib/common/client/base.rb:152:in `post'
./lib/common/client/base.rb:102:in `perform'
./lib/iam_ssoe_oauth/service.rb:32:in `post_introspect'
./lib/iam_ssoe_oauth/session_manager.rb:69:in `build_profile'
./lib/iam_ssoe_oauth/session_manager.rb:48:in `create_user_session'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument.rb:133:in `block (2 levels) in statsd_count_success'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument.rb:86:in `block (3 levels) in statsd_measure'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument/client.rb:393:in `latency'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument/client.rb:256:in `measure'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument.rb:85:in `block (2 levels) in statsd_measure'
./lib/iam_ssoe_oauth/session_manager.rb:17:in `find_or_create_user'
./spec/lib/iam_ssoe_oauth/session_manager_spec.rb:14:in `block (5 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'
./spec/lib/iam_ssoe_oauth/session_manager_spec.rb:13:in `block (4 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.25.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
Check warning on line 0 in ./spec/lib/iam_ssoe_oauth/session_manager_spec.rb
github-actions / Test Results
IAMSSOeOAuth::SessionManager #find_or_create_user with a valid access token creates a user with a uuid (spec.lib.iam_ssoe_oauth.session_manager_spec) failed
Test Results/rspec8.xml [took 0s]
Raw output
#<InstanceDouble(OpenSSL::X509::Certificate) (anonymous)> was originally created in one example but has leaked into another example and can no longer be used. rspec-mocks' doubles are designed to only last for one example, and you need to create a new one in each example you wish to use it for.
\e[1mFailure/Error: \e[0m
connection.send(method.to_sym, path, params) do |request|
request.headers.update(headers)
options.each { |option, value| request.options.send("#{option}=", value) }
end.env
#<InstanceDouble(OpenSSL::X509::Certificate) (anonymous)> was originally created in one example but has leaked into another example and can no longer be used. rspec-mocks' doubles are designed to only last for one example, and you need to create a new one in each example you wish to use it for.
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:137:in `configure_ssl'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:45:in `block in build_connection'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:44:in `build_connection'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/adapter.rb:42:in `connection'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:65:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/middleware.rb:56:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/middleware.rb:56:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/middleware.rb:56:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/breakers-0.7.1/lib/breakers/uptime_middleware.rb:56:in `handle_request'
/usr/local/bundle/cache/ruby/3.3.0/gems/breakers-0.7.1/lib/breakers/uptime_middleware.rb:31:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/rack_builder.rb:152:in `build_response'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/connection.rb:452:in `run_request'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/connection.rb:280:in `post'
./lib/common/client/base.rb:109:in `request'
./lib/common/client/base.rb:152:in `post'
./lib/common/client/base.rb:102:in `perform'
./lib/iam_ssoe_oauth/service.rb:32:in `post_introspect'
./lib/iam_ssoe_oauth/session_manager.rb:69:in `build_profile'
./lib/iam_ssoe_oauth/session_manager.rb:48:in `create_user_session'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument.rb:133:in `block (2 levels) in statsd_count_success'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument.rb:86:in `block (3 levels) in statsd_measure'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument/client.rb:393:in `latency'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument/client.rb:256:in `measure'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument.rb:85:in `block (2 levels) in statsd_measure'
./lib/iam_ssoe_oauth/session_manager.rb:17:in `find_or_create_user'
./spec/lib/iam_ssoe_oauth/session_manager_spec.rb:14:in `block (5 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'
./spec/lib/iam_ssoe_oauth/session_manager_spec.rb:13:in `block (4 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.25.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
Check warning on line 0 in ./spec/lib/iam_ssoe_oauth/session_manager_spec.rb
github-actions / Test Results
IAMSSOeOAuth::SessionManager #logout with a signed in user who logs out destroys the session in redis (spec.lib.iam_ssoe_oauth.session_manager_spec) failed
Test Results/rspec8.xml [took 0s]
Raw output
#<InstanceDouble(OpenSSL::X509::Certificate) (anonymous)> was originally created in one example but has leaked into another example and can no longer be used. rspec-mocks' doubles are designed to only last for one example, and you need to create a new one in each example you wish to use it for.
\e[1mFailure/Error: \e[0m
connection.send(method.to_sym, path, params) do |request|
request.headers.update(headers)
options.each { |option, value| request.options.send("#{option}=", value) }
end.env
#<InstanceDouble(OpenSSL::X509::Certificate) (anonymous)> was originally created in one example but has leaked into another example and can no longer be used. rspec-mocks' doubles are designed to only last for one example, and you need to create a new one in each example you wish to use it for.
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:137:in `configure_ssl'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:45:in `block in build_connection'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:44:in `build_connection'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/adapter.rb:42:in `connection'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:65:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/middleware.rb:56:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/middleware.rb:56:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/middleware.rb:56:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/breakers-0.7.1/lib/breakers/uptime_middleware.rb:56:in `handle_request'
/usr/local/bundle/cache/ruby/3.3.0/gems/breakers-0.7.1/lib/breakers/uptime_middleware.rb:31:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/rack_builder.rb:152:in `build_response'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/connection.rb:452:in `run_request'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/connection.rb:280:in `post'
./lib/common/client/base.rb:109:in `request'
./lib/common/client/base.rb:152:in `post'
./lib/common/client/base.rb:102:in `perform'
./lib/iam_ssoe_oauth/service.rb:32:in `post_introspect'
./lib/iam_ssoe_oauth/session_manager.rb:69:in `build_profile'
./lib/iam_ssoe_oauth/session_manager.rb:48:in `create_user_session'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument.rb:133:in `block (2 levels) in statsd_count_success'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument.rb:86:in `block (3 levels) in statsd_measure'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument/client.rb:393:in `latency'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument/client.rb:256:in `measure'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument.rb:85:in `block (2 levels) in statsd_measure'
./lib/iam_ssoe_oauth/session_manager.rb:17:in `find_or_create_user'
./spec/lib/iam_ssoe_oauth/session_manager_spec.rb:94:in `block (5 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'
./spec/lib/iam_ssoe_oauth/session_manager_spec.rb:93:in `block (4 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.25.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
Check warning on line 0 in ./spec/lib/iam_ssoe_oauth/session_manager_spec.rb
github-actions / Test Results
IAMSSOeOAuth::SessionManager #logout with a signed in user who logs out destroys the user object in redis (spec.lib.iam_ssoe_oauth.session_manager_spec) failed
Test Results/rspec8.xml [took 0s]
Raw output
#<InstanceDouble(OpenSSL::X509::Certificate) (anonymous)> was originally created in one example but has leaked into another example and can no longer be used. rspec-mocks' doubles are designed to only last for one example, and you need to create a new one in each example you wish to use it for.
\e[1mFailure/Error: \e[0m
connection.send(method.to_sym, path, params) do |request|
request.headers.update(headers)
options.each { |option, value| request.options.send("#{option}=", value) }
end.env
#<InstanceDouble(OpenSSL::X509::Certificate) (anonymous)> was originally created in one example but has leaked into another example and can no longer be used. rspec-mocks' doubles are designed to only last for one example, and you need to create a new one in each example you wish to use it for.
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:137:in `configure_ssl'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:45:in `block in build_connection'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:44:in `build_connection'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/adapter.rb:42:in `connection'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:65:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/middleware.rb:56:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/middleware.rb:56:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/middleware.rb:56:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/breakers-0.7.1/lib/breakers/uptime_middleware.rb:56:in `handle_request'
/usr/local/bundle/cache/ruby/3.3.0/gems/breakers-0.7.1/lib/breakers/uptime_middleware.rb:31:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/rack_builder.rb:152:in `build_response'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/connection.rb:452:in `run_request'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/connection.rb:280:in `post'
./lib/common/client/base.rb:109:in `request'
./lib/common/client/base.rb:152:in `post'
./lib/common/client/base.rb:102:in `perform'
./lib/iam_ssoe_oauth/service.rb:32:in `post_introspect'
./lib/iam_ssoe_oauth/session_manager.rb:69:in `build_profile'
./lib/iam_ssoe_oauth/session_manager.rb:48:in `create_user_session'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument.rb:133:in `block (2 levels) in statsd_count_success'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument.rb:86:in `block (3 levels) in statsd_measure'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument/client.rb:393:in `latency'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument/client.rb:256:in `measure'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument.rb:85:in `block (2 levels) in statsd_measure'
./lib/iam_ssoe_oauth/session_manager.rb:17:in `find_or_create_user'
./spec/lib/iam_ssoe_oauth/session_manager_spec.rb:94:in `block (5 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'
./spec/lib/iam_ssoe_oauth/session_manager_spec.rb:93:in `block (4 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.25.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
Check warning on line 0 in ./spec/lib/iam_ssoe_oauth/session_manager_spec.rb
github-actions / Test Results
IAMSSOeOAuth::SessionManager #logout with a signed in user who logs out destroys the user identity in redis (spec.lib.iam_ssoe_oauth.session_manager_spec) failed
Test Results/rspec8.xml [took 0s]
Raw output
#<InstanceDouble(OpenSSL::X509::Certificate) (anonymous)> was originally created in one example but has leaked into another example and can no longer be used. rspec-mocks' doubles are designed to only last for one example, and you need to create a new one in each example you wish to use it for.
\e[1mFailure/Error: \e[0m
connection.send(method.to_sym, path, params) do |request|
request.headers.update(headers)
options.each { |option, value| request.options.send("#{option}=", value) }
end.env
#<InstanceDouble(OpenSSL::X509::Certificate) (anonymous)> was originally created in one example but has leaked into another example and can no longer be used. rspec-mocks' doubles are designed to only last for one example, and you need to create a new one in each example you wish to use it for.
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:137:in `configure_ssl'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:45:in `block in build_connection'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:44:in `build_connection'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/adapter.rb:42:in `connection'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-net_http-3.4.0/lib/faraday/adapter/net_http.rb:65:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/middleware.rb:56:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/middleware.rb:56:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/middleware.rb:56:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/breakers-0.7.1/lib/breakers/uptime_middleware.rb:56:in `handle_request'
/usr/local/bundle/cache/ruby/3.3.0/gems/breakers-0.7.1/lib/breakers/uptime_middleware.rb:31:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/rack_builder.rb:152:in `build_response'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/connection.rb:452:in `run_request'
/usr/local/bundle/cache/ruby/3.3.0/gems/faraday-2.12.2/lib/faraday/connection.rb:280:in `post'
./lib/common/client/base.rb:109:in `request'
./lib/common/client/base.rb:152:in `post'
./lib/common/client/base.rb:102:in `perform'
./lib/iam_ssoe_oauth/service.rb:32:in `post_introspect'
./lib/iam_ssoe_oauth/session_manager.rb:69:in `build_profile'
./lib/iam_ssoe_oauth/session_manager.rb:48:in `create_user_session'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument.rb:133:in `block (2 levels) in statsd_count_success'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument.rb:86:in `block (3 levels) in statsd_measure'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument/client.rb:393:in `latency'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument/client.rb:256:in `measure'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.8/lib/statsd/instrument.rb:85:in `block (2 levels) in statsd_measure'
./lib/iam_ssoe_oauth/session_manager.rb:17:in `find_or_create_user'
./spec/lib/iam_ssoe_oauth/session_manager_spec.rb:94:in `block (5 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'
./spec/lib/iam_ssoe_oauth/session_manager_spec.rb:93:in `block (4 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.25.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'