Build And Publish Preview Environment #6429
5 fail, 51 skipped, 19 540 pass in 42m 52s
Annotations
Check warning on line 0 in ./spec/requests/breakers_integration_spec.rb
github-actions / Test Results
breakers statsd calls from the plugin increments successes (spec.requests.breakers_integration_spec) failed
Test Results/rspec10.xml [took 0s]
Raw output
No StatsD calls for metric api.external_http_request.Rx.success were made.
\e[1mFailure/Error: \e[0m
expect do
get '/v0/prescriptions', headers: { 'Source-App-Name' => 'profile' }
end.to trigger_statsd_increment('api.external_http_request.Rx.success',
times: 1,
value: 1,
tags: ['endpoint:/mhv-api/patient/v1/prescription/gethistoryrx', 'method:get',
'source:profile'])
No StatsD calls for metric api.external_http_request.Rx.success were made.
/usr/local/bundle/gems/super_diff-0.11.0/lib/super_diff/rspec/monkey_patches.rb:45:in `handle_failure'
./spec/requests/breakers_integration_spec.rb:75:in `block (3 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.23.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
Check warning on line 0 in ./spec/requests/breakers_integration_spec.rb
github-actions / Test Results
breakers statsd calls from the plugin measures request times (spec.requests.breakers_integration_spec) failed
Test Results/rspec10.xml [took 0s]
Raw output
No StatsD calls for metric api.external_http_request.Rx.time were made.
\e[1mFailure/Error: \e[0mexpect { get '/v0/prescriptions' }.to trigger_statsd_measure('api.external_http_request.Rx.time', times: 1)
No StatsD calls for metric api.external_http_request.Rx.time were made.
/usr/local/bundle/gems/super_diff-0.11.0/lib/super_diff/rspec/monkey_patches.rb:45:in `handle_failure'
./spec/requests/breakers_integration_spec.rb:94:in `block (3 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.23.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
Check warning on line 0 in ./spec/requests/breakers_integration_spec.rb
github-actions / Test Results
breakers statsd calls from the plugin increments errors (spec.requests.breakers_integration_spec) failed
Test Results/rspec10.xml [took 0s]
Raw output
No StatsD calls for metric api.external_http_request.Rx.failed were made.
\e[1mFailure/Error: \e[0m
expect do
get '/v0/prescriptions'
end.to trigger_statsd_increment('api.external_http_request.Rx.failed', times: 1, value: 1)
No StatsD calls for metric api.external_http_request.Rx.failed were made.
/usr/local/bundle/gems/super_diff-0.11.0/lib/super_diff/rspec/monkey_patches.rb:45:in `handle_failure'
./spec/requests/breakers_integration_spec.rb:86:in `block (3 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.23.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
Check warning on line 0 in ./spec/requests/breakers_integration_spec.rb
github-actions / Test Results
breakers integration test for breakers raises a breakers exception after 50% failure rate (spec.requests.breakers_integration_spec) failed
Test Results/rspec10.xml [took 12s]
Raw output
No StatsD calls for metric api.external_http_request.Rx.skipped were made.
\e[1mFailure/Error: \e[0m
expect do
get '/v0/prescriptions'
end.to trigger_statsd_increment('api.external_http_request.Rx.skipped', times: 1, value: 1)
No StatsD calls for metric api.external_http_request.Rx.skipped were made.
/usr/local/bundle/gems/super_diff-0.11.0/lib/super_diff/rspec/monkey_patches.rb:45:in `handle_failure'
./spec/requests/breakers_integration_spec.rb:56:in `block (3 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.23.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
Check warning on line 0 in ./spec/controllers/application_controller_spec.rb
github-actions / Test Results
ApplicationController Sentry Handling does not log to sentry if Breakers::OutageException (spec.controllers.application_controller_spec) failed
Test Results/rspec7.xml [took 0s]
Raw output
(Sentry).capture_exception(#<VCR::Errors::UnhandledHTTPRequestError:0x00007fa872af9ca0 @cassettes=[], @relish_version_slug="6-2-0", @request=#<VCR::Request:0x00007fa87b834bd8 @normalized_header_keys={ "accept" => "Accept", "content-type" => "Content-Type", "user-agent" => "User-Agent", "apptoken" => "Apptoken", "mhvcorrelationid" => "Mhvcorrelationid", "accept-encoding" => "Accept-Encoding" }>>, { level: "error" }) expected: 0 times with any arguments received: 1 time with arguments: (#<VCR::Errors::UnhandledHTTPRequestError:0x00007fa872af9ca0 @cassettes=[], @relish_version_slug="6-2-0", @request=#<VCR::Request:0x00007fa87b834bd8 @normalized_header_keys={ "accept" => "Accept", "content-type" => "Content-Type", "user-agent" => "User-Agent", "apptoken" => "Apptoken", "mhvcorrelationid" => "Mhvcorrelationid", "accept-encoding" => "Accept-Encoding" }>>, { level: "error" })
\e[1mFailure/Error: \e[0mSentry.capture_exception(exception.cause.presence || exception, level:)
(Sentry).capture_exception(#<VCR::Errors::UnhandledHTTPRequestError:0x00007fa872af9ca0 @cassettes=[], @relish_version_slug="6-2-0", @request=#<VCR::Request:0x00007fa87b834bd8 @normalized_header_keys={ "accept" => "Accept", "content-type" => "Content-Type", "user-agent" => "User-Agent", "apptoken" => "Apptoken", "mhvcorrelationid" => "Mhvcorrelationid", "accept-encoding" => "Accept-Encoding" }>>, { level: "error" })
expected: 0 times with any arguments
received: 1 time with arguments: (#<VCR::Errors::UnhandledHTTPRequestError:0x00007fa872af9ca0 @cassettes=[], @relish_version_slug="6-2-0", @request=#<VCR::Request:0x00007fa87b834bd8 @normalized_header_keys={ "accept" => "Accept", "content-type" => "Content-Type", "user-agent" => "User-Agent", "apptoken" => "Apptoken", "mhvcorrelationid" => "Mhvcorrelationid", "accept-encoding" => "Accept-Encoding" }>>, { level: "error" })
./lib/sentry_logging.rb:22:in `log_exception_to_sentry'
./app/controllers/concerns/exception_handling.rb:89:in `report_mapped_exception'
./app/controllers/concerns/exception_handling.rb:55:in `block (2 levels) in <module:ExceptionHandling>'
./spec/controllers/application_controller_spec.rb:174:in `block (3 levels) in <top (required)>'
./spec/controllers/application_controller_spec.rb:152:in `block (4 levels) in <top (required)>'
./spec/rails_helper.rb:58:in `with_settings'
./spec/controllers/application_controller_spec.rb:151:in `block (3 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.23.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
------------------
--- Caused by: ---
VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
GET https://mhv-api.example.com/mhv-api/patient/v1/session
There is currently no cassette in use. There are a few ways
you can configure VCR to handle this request:
* If you're surprised VCR is raising this error
and want insight about how VCR attempted to handle the request,
you can use the debug_logger configuration option to log more details [1].
* If you want VCR to record this request and play it back during future test
runs, you should wrap your test (or this portion of your test) in a
`VCR.use_cassette` block [2].
* If you only want VCR to handle requests made while a cassette is in use,
configure `allow_http_connections_when_no_cassette = true`. VCR will
ignore this request since it is made when there is no cassette [3].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [4].
[1] https://www.relishapp.com/vcr/vcr/v/6-2-0/docs/configuration/debug-logging
[2] https://www.relishapp.com/vcr/vcr/v/6-2-0/docs/getting-started
[3] https://www.relishapp.com/vcr/vcr/v/6-2-0/docs/configuration/allow-http-connections-when-no-cassette
[4] https://www.relishapp.com/vcr/vcr/v/6-2-0/docs/configuration/ignore-request
================================================================================
/usr/local/bundle/gems/vcr-6.2.0/lib/vcr/request_handler.rb:97:in `on_unhandled_request'