Fixes #37853 - Add OSTree remote option depth #1363
Annotations
4 errors
|
Run rake test:katello:
katello/test/services/katello/pulp3/repository_integration_test.rb#L18
Failure: test_sync
RuntimeError: Neutered Exception VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
POST https://fv-az1771-801/pulp/api/v3/remotes/ostree/ostree/
VCR is currently using the following cassette:
- /home/runner/work/katello/katello/katello/test/fixtures/vcr_cassettes/katello/pulp3/repository/ostree_type_sync/sync.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 27 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/services/katello/pulp3/service_common.rb:12:in `block in create_remote'
katello/app/services/katello/pulp3/service_common.rb:50:in `reformat_api_exception'
katello/app/services/katello/pulp3/service_common.rb:11:in `create_remote'
katello/app/services/katello/pulp3/repository.rb:72:in `create_remote'
katello/app/lib/actions/pulp3/repository/create_remote.rb:6:in `plan'
katello/app/lib/actions/middleware/backend_services_check.rb:23:in `plan'
katello/app/lib/actions/middleware/remote_action.rb:9:in `plan'
katello/app/lib/actions/pulp3/orchestration/repository/create.rb:12:in `block in plan'
katello/app/lib/actions/pulp3/orchestration/repository/create.rb:7:in `plan'
katello/app/lib/actions/middleware/backend_services_check.rb:23:in `plan'
katello/app/lib/actions/middleware/remote_action.rb:9:in `plan'
foreman-tasks (10.0.0) lib/foreman_tasks.rb:20:in `trigger'
foreman-tasks (10.0.0) lib/foreman_tasks.rb:26:in `block in trigger_task'
foreman-tasks (10.0.0) lib/foreman_tasks.rb:46:in `block in rails_safe_trigger_task'
foreman-tasks (10.0.0) lib/foreman_tasks.rb:45:in `rails_safe_trigger_task'
foreman-tasks (10.0.0) lib/foreman_tasks.rb:24:in `trigger_task'
foreman-tasks (10.0.0) lib/foreman_tasks.rb:55:in `sync_task'
katello/test/support/pulp3_support.rb:75:in `create_repo'
katello/test/services/katello/pulp3/repository_integration_test.rb:26: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/services/katello/pulp3/repository_integration_test.rb#L18
Failure: test_upload_files
RuntimeError: Neutered Exception VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
POST https://fv-az1771-801/pulp/api/v3/remotes/ostree/ostree/
VCR is currently using the following cassette:
- /home/runner/work/katello/katello/katello/test/fixtures/vcr_cassettes/katello/pulp3/repository/ostree_type_sync/upload_files.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 18 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/services/katello/pulp3/service_common.rb:12:in `block in create_remote'
katello/app/services/katello/pulp3/service_common.rb:50:in `reformat_api_exception'
katello/app/services/katello/pulp3/service_common.rb:11:in `create_remote'
katello/app/services/katello/pulp3/repository.rb:72:in `create_remote'
katello/app/lib/actions/pulp3/repository/create_remote.rb:6:in `plan'
katello/app/lib/actions/middleware/backend_services_check.rb:23:in `plan'
katello/app/lib/actions/middleware/remote_action.rb:9:in `plan'
katello/app/lib/actions/pulp3/orchestration/repository/create.rb:12:in `block in plan'
katello/app/lib/actions/pulp3/orchestration/repository/create.rb:7:in `plan'
katello/app/lib/actions/middleware/backend_services_check.rb:23:in `plan'
katello/app/lib/actions/middleware/remote_action.rb:9:in `plan'
foreman-tasks (10.0.0) lib/foreman_tasks.rb:20:in `trigger'
foreman-tasks (10.0.0) lib/foreman_tasks.rb:26:in `block in trigger_task'
foreman-tasks (10.0.0) lib/foreman_tasks.rb:46:in `block in rails_safe_trigger_task'
foreman-tasks (10.0.0) lib/foreman_tasks.rb:45:in `rails_safe_trigger_task'
foreman-tasks (10.0.0) lib/foreman_tasks.rb:24:in `trigger_task'
foreman-tasks (10.0.0) lib/foreman_tasks.rb:55:in `sync_task'
katello/test/support/pulp3_support.rb:75:in `create_repo'
katello/test/services/katello/pulp3/repository_integration_test.rb:26:in `setup'
katello/test/support/vcr.rb:24:in `block in run'
katello/test/support/vcr.rb:23:in `run'
|
Run rake test:katello
The operation was canceled.
|
Loading