Fixes #37852 - Support Rails 7.0 #1522
Annotations
5 errors
Run rake test:katello:
katello/test/actions/katello/host/hypervisors_test.rb#L97
Failure: test_duplicate_hostname
RuntimeError: Neutered Exception VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
GET https://localhost:8443/candlepin/environments/58d9c97df3e17e39f23b56e8215bb91a
VCR is currently using the following cassette:
- /home/runner/work/katello/katello/katello/test/fixtures/vcr_cassettes/katello/host/hypervisors_vcr/duplicate_hostname.yml
- :record => :none
- :match_requests_on => [:method, :path, :params, :body_json]
Under the current configuration VCR can not find a suitable HTTP interaction
to replay and is prevented from recording new requests. There are a few ways
you can deal with this:
* 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].
* You can use the :new_episodes record mode to allow VCR to
record this new request to the existing cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
* The current record mode (:none) does not allow requests to be recorded. You
can temporarily change the record mode to :once, delete the cassette file
and re-run your tests to allow the cassette to be recorded with this request [4].
* The cassette contains 10 HTTP interactions that have not been
played back. If your request is non-deterministic, you may need to
change your :match_requests_on cassette option to be more lenient
or use a custom request matcher to allow it to match [5].
[1] https://benoittgt.github.io/vcr/?v=6-3-1#/configuration/debug_logging
[2] https://benoittgt.github.io/vcr/?v=6-3-1#/record_modes/new_episodes
[3] https://benoittgt.github.io/vcr/?v=6-3-1#/configuration/ignore_request
[4] https://benoittgt.github.io/vcr/?v=6-3-1#/record_modes/none
[5] https://benoittgt.github.io/vcr/?v=6-3-1#/request_matching
================================================================================
katello/app/lib/katello/http_resource.rb:98:in `issue_request'
katello/app/lib/katello/http_resource.rb:49:in `block (2 levels) in singleton class'
katello/app/lib/katello/resources/candlepin/environment.rb:7:in `find'
katello/app/models/katello/glue/candlepin/environment.rb:11:in `candlepin_info'
katello/app/models/katello/glue/candlepin/environment.rb:15:in `exists_in_candlepin?'
katello/app/services/katello/content_view_manager.rb:14:in `create_candlepin_environment'
katello/app/services/katello/organization_creator.rb:74:in `create_backend_objects!'
katello/app/services/katello/organization_creator.rb:56:in `block in create!'
katello/app/services/katello/organization_creator.rb:53:in `create!'
katello/test/actions/katello/host/hypervisors_test.rb:59:in `create_org'
katello/test/actions/katello/host/hypervisors_test.rb:67:in `test_duplicate_hostname'
katello/test/support/vcr.rb:24:in `block in run'
katello/test/support/vcr.rb:23:in `run'
|
Run rake test:katello:
katello/test/actions/katello/host/hypervisors_test.rb#L97
Failure: test_altered_hypervisor_id
RuntimeError: Neutered Exception VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
GET https://localhost:8443/candlepin/environments/1b16b48ea60a6d2e1e8ea4e86368e206
VCR is currently using the following cassette:
- /home/runner/work/katello/katello/katello/test/fixtures/vcr_cassettes/katello/host/hypervisors_vcr/altered_hypervisor_id.yml
- :record => :none
- :match_requests_on => [:method, :path, :params, :body_json]
Under the current configuration VCR can not find a suitable HTTP interaction
to replay and is prevented from recording new requests. There are a few ways
you can deal with this:
* 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].
* You can use the :new_episodes record mode to allow VCR to
record this new request to the existing cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
* The current record mode (:none) does not allow requests to be recorded. You
can temporarily change the record mode to :once, delete the cassette file
and re-run your tests to allow the cassette to be recorded with this request [4].
* The cassette contains 17 HTTP interactions that have not been
played back. If your request is non-deterministic, you may need to
change your :match_requests_on cassette option to be more lenient
or use a custom request matcher to allow it to match [5].
[1] https://benoittgt.github.io/vcr/?v=6-3-1#/configuration/debug_logging
[2] https://benoittgt.github.io/vcr/?v=6-3-1#/record_modes/new_episodes
[3] https://benoittgt.github.io/vcr/?v=6-3-1#/configuration/ignore_request
[4] https://benoittgt.github.io/vcr/?v=6-3-1#/record_modes/none
[5] https://benoittgt.github.io/vcr/?v=6-3-1#/request_matching
================================================================================
katello/app/lib/katello/http_resource.rb:98:in `issue_request'
katello/app/lib/katello/http_resource.rb:49:in `block (2 levels) in singleton class'
katello/app/lib/katello/resources/candlepin/environment.rb:7:in `find'
katello/app/models/katello/glue/candlepin/environment.rb:11:in `candlepin_info'
katello/app/models/katello/glue/candlepin/environment.rb:15:in `exists_in_candlepin?'
katello/app/services/katello/content_view_manager.rb:14:in `create_candlepin_environment'
katello/app/services/katello/organization_creator.rb:74:in `create_backend_objects!'
katello/app/services/katello/organization_creator.rb:56:in `block in create!'
katello/app/services/katello/organization_creator.rb:53:in `create!'
katello/test/actions/katello/host/hypervisors_test.rb:59:in `create_org'
katello/test/actions/katello/host/hypervisors_test.rb:88:in `test_altered_hypervisor_id'
katello/test/support/vcr.rb:24:in `block in run'
katello/test/support/vcr.rb:23:in `run'
|
Run rake test:katello:
katello/test/scenarios/scenario_test.rb#L97
Failure: test_update_org_service_level
RuntimeError: Neutered Exception VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
GET https://localhost:8443/candlepin/environments/5c354a373f7e3fc6e222225f1e26d71b
VCR are currently using the following cassettes:
- /home/runner/work/katello/katello/katello/test/fixtures/vcr_cassettes/scenarios/org_create.yml
- :record => :none
- :match_requests_on => [:method, :path, :params, :body_json]
- /home/runner/work/katello/katello/katello/test/fixtures/vcr_cassettes/scenarios/repository_create/update_org_service_level.yml
- :record => :none
- :match_requests_on => [:method, :path, :params, :body_json]
Under the current configuration VCR can not find a suitable HTTP interaction
to replay and is prevented from recording new requests. There are a few ways
you can deal with this:
* 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].
* You can use the :new_episodes record mode to allow VCR to
record this new request to the existing cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
* The current record mode (:none) does not allow requests to be recorded. You
can temporarily change the record mode to :once, delete the cassette file
and re-run your tests to allow the cassette to be recorded with this request [4].
* The cassette contains 13 HTTP interactions that have not been
played back. If your request is non-deterministic, you may need to
change your :match_requests_on cassette option to be more lenient
or use a custom request matcher to allow it to match [5].
[1] https://benoittgt.github.io/vcr/?v=6-3-1#/configuration/debug_logging
[2] https://benoittgt.github.io/vcr/?v=6-3-1#/record_modes/new_episodes
[3] https://benoittgt.github.io/vcr/?v=6-3-1#/configuration/ignore_request
[4] https://benoittgt.github.io/vcr/?v=6-3-1#/record_modes/none
[5] https://benoittgt.github.io/vcr/?v=6-3-1#/request_matching
================================================================================
katello/app/lib/katello/http_resource.rb:98:in `issue_request'
katello/app/lib/katello/http_resource.rb:49:in `block (2 levels) in singleton class'
katello/app/lib/katello/resources/candlepin/environment.rb:7:in `find'
katello/app/models/katello/glue/candlepin/environment.rb:11:in `candlepin_info'
katello/app/models/katello/glue/candlepin/environment.rb:15:in `exists_in_candlepin?'
katello/app/services/katello/content_view_manager.rb:14:in `create_candlepin_environment'
katello/app/services/katello/organization_creator.rb:74:in `create_backend_objects!'
katello/app/services/katello/organization_creator.rb:56:in `block in create!'
katello/app/services/katello/organization_creator.rb:53:in `create!'
katello/test/support/scenario_support.rb:13:in `block in create_org'
katello/test/support/scenario_support.rb:61:in `record'
katello/test/support/scenario_support.rb:13:in `create_org'
katello/test/scenarios/scenario_test.rb:14:in `setup'
katello/test/support/vcr.rb:24:in `block in run'
katello/test/support/vcr.rb:23:in `run'
|
Run rake test:katello:
katello/test/scenarios/scenario_test.rb#L97
Failure: test_manifest_import
RuntimeError: Neutered Exception VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
GET https://localhost:8443/candlepin/environments/5c354a373f7e3fc6e222225f1e26d71b
VCR are currently using the following cassettes:
- /home/runner/work/katello/katello/katello/test/fixtures/vcr_cassettes/scenarios/org_create.yml
- :record => :none
- :match_requests_on => [:method, :path, :params, :body_json]
- /home/runner/work/katello/katello/katello/test/fixtures/vcr_cassettes/scenarios/repository_create/manifest_import.yml
- :record => :none
- :match_requests_on => [:method, :path, :params, :body_json]
Under the current configuration VCR can not find a suitable HTTP interaction
to replay and is prevented from recording new requests. There are a few ways
you can deal with this:
* 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].
* You can use the :new_episodes record mode to allow VCR to
record this new request to the existing cassette [2].
* If you want VCR to ignore this request (and others like it), you can
set an `ignore_request` callback [3].
* The current record mode (:none) does not allow requests to be recorded.
One or more cassette names registered was not found. Use
:new_episodes or :once record modes to record a new cassette [4].
* The cassette contains 6 HTTP interactions that have not been
played back. If your request is non-deterministic, you may need to
change your :match_requests_on cassette option to be more lenient
or use a custom request matcher to allow it to match [5].
[1] https://benoittgt.github.io/vcr/?v=6-3-1#/configuration/debug_logging
[2] https://benoittgt.github.io/vcr/?v=6-3-1#/record_modes/new_episodes
[3] https://benoittgt.github.io/vcr/?v=6-3-1#/configuration/ignore_request
[4] https://benoittgt.github.io/vcr/?v=6-3-1#/record_modes/none
[5] https://benoittgt.github.io/vcr/?v=6-3-1#/request_matching
================================================================================
katello/app/lib/katello/http_resource.rb:98:in `issue_request'
katello/app/lib/katello/http_resource.rb:49:in `block (2 levels) in singleton class'
katello/app/lib/katello/resources/candlepin/environment.rb:7:in `find'
katello/app/models/katello/glue/candlepin/environment.rb:11:in `candlepin_info'
katello/app/models/katello/glue/candlepin/environment.rb:15:in `exists_in_candlepin?'
katello/app/services/katello/content_view_manager.rb:14:in `create_candlepin_environment'
katello/app/services/katello/organization_creator.rb:74:in `create_backend_objects!'
katello/app/services/katello/organization_creator.rb:56:in `block in create!'
katello/app/services/katello/organization_creator.rb:53:in `create!'
katello/test/support/scenario_support.rb:13:in `block in create_org'
katello/test/support/scenario_support.rb:61:in `record'
katello/test/support/scenario_support.rb:13:in `create_org'
katello/test/scenarios/scenario_test.rb:14:in `setup'
katello/test/support/vcr.rb:24:in `block in run'
katello/test/support/vcr.rb:23:in `run'
|
Run rake test:katello
Process completed with exit code 1.
|
Loading