Actions
Bug #28284
closedTransient test failure Actions::Pulp::Repository::RemoveUnitTest.test_remove_with_contents
Description
Stacktrace ForemanTasks::TaskError: Task 0fcb327c-d120-499a-a7bc-39e4086955eb: VCR::Errors::UnhandledHTTPRequestError: ================================================================================ An HTTP request has been made that VCR does not know how to handle: POST https://localhost/pulp/api/v2/repositories/Fedora_17/actions/unassociate/ VCR is currently using the following cassette: - /home/jenkins/workspace/katello-master-source-release/test/fixtures/vcr_cassettes/actions/pulp/repository/remove_unit/remove_with_contents.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://www.relishapp.com/vcr/vcr/v/3-0-3/docs/configuration/debug-logging [2] https://www.relishapp.com/vcr/vcr/v/3-0-3/docs/record-modes/new-episodes [3] https://www.relishapp.com/vcr/vcr/v/3-0-3/docs/configuration/ignore-request [4] https://www.relishapp.com/vcr/vcr/v/3-0-3/docs/record-modes/none [5] https://www.relishapp.com/vcr/vcr/v/3-0-3/docs/request-matching ================================================================================ foreman-tasks (0.17.2) lib/foreman_tasks.rb:59:in `block in sync_task' foreman-tasks (0.17.2) lib/foreman_tasks.rb:58:in `tap' foreman-tasks (0.17.2) lib/foreman_tasks.rb:58:in `sync_task' /home/jenkins/workspace/katello-master-source-release/test/actions/pulp/repository/remove_units_test.rb:76:in `test_remove_with_contents' /home/jenkins/workspace/katello-master-source-release/test/support/vcr.rb:25:in `block in run' /home/jenkins/workspace/katello-master-source-release/test/support/vcr.rb:24:in `run' (ForemanTasks::TaskError) /usr/local/rvm/gems/ruby-2.5.1@katello-master-source-release-552/gems/foreman-tasks-0.17.2/lib/foreman_tasks.rb:59
Updated by The Foreman Bot about 5 years ago
- Status changed from New to Ready For Testing
- Assignee set to Justin Sherrill
- Pull request https://github.com/Katello/katello/pull/8436 added
Updated by The Foreman Bot about 5 years ago
- Fixed in Releases Katello 3.15.0 added
Updated by Justin Sherrill about 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|191e9aa77c88d6501552ad2d131da30b962924a6.
Updated by Chris Roberts about 5 years ago
- Target version set to Katello 3.15.0
- Triaged changed from No to Yes
Actions