Fixes #36547 - Fix parsing of Ubuntu version in fact parsers #3
Annotations
3 errors
Run rake test:katello:
katello/test/actions/pulp3/orchestration/alternate_content_source_refresh_test.rb#L56
Failure: test_yum_refresh_updates_remote
RuntimeError: Neutered Exception ForemanTasks::TaskError: Task e55a34d8-107c-4282-bba1-b4905b7074ad: VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
POST https://fv-az975-318/pulp/api/v3/acs/rpm/rpm/
VCR is currently using the following cassette:
- /home/runner/work/foreman/foreman/katello/test/fixtures/vcr_cassettes/actions/pulp3/alternate_content_source_refresh/yum_refresh_updates_remote.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 31 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://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/record-modes/new-episodes
[3] https://www.relishapp.com/vcr/vcr/v/6-2-0/docs/configuration/ignore-request
[4] https://www.relishapp.com/vcr/vcr/v/6-2-0/docs/record-modes/none
[5] https://www.relishapp.com/vcr/vcr/v/6-2-0/docs/request-matching
================================================================================
foreman-tasks (9.1.1) lib/foreman_tasks.rb:56:in `block in sync_task'
foreman-tasks (9.1.1) lib/foreman_tasks.rb:55:in `tap'
foreman-tasks (9.1.1) lib/foreman_tasks.rb:55:in `sync_task'
katello/test/actions/pulp3/orchestration/alternate_content_source_refresh_test.rb:62:in `test_yum_refresh_updates_remote'
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/alternate_content_source_refresh_test.rb#L56
Failure: test_yum_refresh
RuntimeError: Neutered Exception ForemanTasks::TaskError: Task 85f0558f-cf65-4345-bb96-af016c0efca1: VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
POST https://fv-az975-318/pulp/api/v3/acs/rpm/rpm/
VCR is currently using the following cassette:
- /home/runner/work/foreman/foreman/katello/test/fixtures/vcr_cassettes/actions/pulp3/alternate_content_source_refresh/yum_refresh.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 29 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://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/record-modes/new-episodes
[3] https://www.relishapp.com/vcr/vcr/v/6-2-0/docs/configuration/ignore-request
[4] https://www.relishapp.com/vcr/vcr/v/6-2-0/docs/record-modes/none
[5] https://www.relishapp.com/vcr/vcr/v/6-2-0/docs/request-matching
================================================================================
foreman-tasks (9.1.1) lib/foreman_tasks.rb:56:in `block in sync_task'
foreman-tasks (9.1.1) lib/foreman_tasks.rb:55:in `tap'
foreman-tasks (9.1.1) lib/foreman_tasks.rb:55:in `sync_task'
katello/test/actions/pulp3/orchestration/alternate_content_source_refresh_test.rb:55:in `test_yum_refresh'
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