Fixes #37929 - support download policies for file #1426
Annotations
10 errors
Run rake test:katello:
katello/test/services/katello/pulp3/repository/file/refresh_test.rb#L97
Failure: test_updates
RuntimeError: Neutered Exception VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
PATCH https://fv-az661-991/pulp/api/v3/remotes/file/file/019134b6-6535-7b96-a31d-4bc62d2b46e9/
VCR is currently using the following cassette:
- /home/runner/work/katello/katello/katello/test/fixtures/vcr_cassettes/katello/service/repository/file/refresh_distribution/updates.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 14 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/repository.rb:99:in `remote_partial_update'
katello/app/services/katello/pulp3/repository.rb:85:in `update_remote'
katello/app/services/katello/pulp3/repository.rb:141:in `refresh_if_needed'
katello/test/services/katello/pulp3/repository/file/refresh_test.rb:37:in `test_updates'
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/pulp3/orchestration/copy_all_units_test.rb#L56
Failure: test_all_package_environments_are_copied_even_if_no_groups_match
RuntimeError: Neutered Exception ForemanTasks::TaskError: Task 19ba61dd-25dc-4ea5-847e-ca3b5b2fcffe: NameError: uninitialized constant PulpRpmClient::AnyType
foreman-tasks (10.0.0) lib/foreman_tasks.rb:56:in `block in sync_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/actions/pulp3/orchestration/copy_all_units_test.rb:731: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/actions/pulp3/orchestration/copy_all_units_test.rb#L56
Failure: test_all_package_environments_are_copied_by_default
RuntimeError: Neutered Exception ForemanTasks::TaskError: Task e7b08215-f2c0-467d-b7ff-21a0653ec2c6: NameError: uninitialized constant PulpRpmClient::AnyType
foreman-tasks (10.0.0) lib/foreman_tasks.rb:56:in `block in sync_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/actions/pulp3/orchestration/copy_all_units_test.rb:731: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/lib/tasks/pulpcore/repository_vcr_test.rb#L56
Failure: test_correct_repositories_fixes_deleted_library_repo
RuntimeError: Neutered Exception ForemanTasks::TaskError: Task 0d516765-2ec2-4a79-ac2f-9b929d177640: NameError: uninitialized constant PulpRpmClient::AnyType
foreman-tasks (10.0.0) lib/foreman_tasks.rb:56:in `block in sync_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/lib/tasks/pulpcore/repository_vcr_test.rb:31: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/actions/pulp3/orchestration/multi_copy_all_units_test.rb#L56
Failure: test_no_package_environments_are_copied_despite_whitelist_ids
RuntimeError: Neutered Exception ForemanTasks::TaskError: Task 096e4fcc-339a-4963-a605-765598ba3ed9: NameError: uninitialized constant PulpRpmClient::AnyType
foreman-tasks (10.0.0) lib/foreman_tasks.rb:56:in `block in sync_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/actions/pulp3/orchestration/multi_copy_all_units_test.rb:750: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/actions/pulp3/orchestration/multi_copy_all_units_test.rb#L56
Failure: test_all_distribution_trees_are_copied_by_default
RuntimeError: Neutered Exception ForemanTasks::TaskError: Task 7a702e61-2c95-4f84-bdf4-e61cd08ef6e3: NameError: uninitialized constant PulpRpmClient::AnyType
foreman-tasks (10.0.0) lib/foreman_tasks.rb:56:in `block in sync_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/actions/pulp3/orchestration/multi_copy_all_units_test.rb:750: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/srpm_test.rb#L56
Failure: test_repo_srpms
RuntimeError: Neutered Exception ForemanTasks::TaskError: Task 5add2512-eecb-40f5-b68b-dd18a42352ca: NameError: uninitialized constant PulpRpmClient::AnyType
foreman-tasks (10.0.0) lib/foreman_tasks.rb:56:in `block in sync_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/srpm_test.rb:17:in `setup'
katello/test/services/katello/pulp3/srpm_test.rb:30: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/srpm_test.rb#L56
Failure: test_pulp_data
RuntimeError: Neutered Exception ForemanTasks::TaskError: Task 3ff67849-c06b-4d67-b67d-e3ff9245351d: NameError: uninitialized constant PulpRpmClient::AnyType
foreman-tasks (10.0.0) lib/foreman_tasks.rb:56:in `block in sync_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/srpm_test.rb:17:in `setup'
katello/test/services/katello/pulp3/srpm_test.rb:30: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/actions/pulp3/orchestration/copy_all_units_test.rb#L56
Failure: test_yum_copy_with_whitelist_max_version_filter
RuntimeError: Neutered Exception ForemanTasks::TaskError: Task ae7bc815-f31c-42e6-bc85-73373f62cffb: NameError: uninitialized constant PulpRpmClient::AnyType
foreman-tasks (10.0.0) lib/foreman_tasks.rb:56:in `block in sync_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/actions/pulp3/orchestration/copy_all_units_test.rb:110: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/actions/pulp3/orchestration/copy_all_units_test.rb#L56
Failure: test_copy_duplicated_errata
RuntimeError: Neutered Exception ForemanTasks::TaskError: Task 28bf2b2a-bf9b-473c-ba1b-f4f0d3433a1a: NameError: uninitialized constant PulpRpmClient::AnyType
foreman-tasks (10.0.0) lib/foreman_tasks.rb:56:in `block in sync_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/actions/pulp3/orchestration/copy_all_units_test.rb:110:in `setup'
katello/test/support/vcr.rb:24:in `block in run'
katello/test/support/vcr.rb:23:in `run'
|
Loading