Fixes #37139 - Block content view publish during repository publication tasks #120
Annotations
8 errors
Run rake test:katello:
katello/test/actions/katello/repository_test.rb#L17
Failure: test_0004_no clone flag means generate metadata in run phase
ForemanTasks::Lock::LockConflict: Required lock is already taken by other running tasks.
Please inspect their state, fix their errors and resume them.
Conflicts with tasks:
- http://foreman.example.com/foreman_tasks/tasks/ca736d3e-1207-47bc-aaa9-b29f873568b1
foreman-tasks (9.1.0) app/models/foreman_tasks/lock.rb:33:in `block in <class:Lock>'
foreman-tasks (9.1.0) app/models/foreman_tasks/lock.rb:48:in `save!'
foreman-tasks (9.1.0) app/models/foreman_tasks/lock.rb:62:in `exclusive!'
foreman-tasks (9.1.0) app/lib/actions/helpers/lock.rb:12:in `exclusive_lock!'
foreman-tasks (9.1.0) app/lib/actions/entry_action.rb:42:in `action_subject'
katello/app/lib/actions/katello/repository/metadata_generate.rb:6:in `plan'
foreman-tasks (9.1.0) lib/foreman_tasks.rb:20:in `trigger'
foreman-tasks (9.1.0) lib/foreman_tasks.rb:26:in `block in trigger_task'
foreman-tasks (9.1.0) lib/foreman_tasks.rb:46:in `block in rails_safe_trigger_task'
foreman-tasks (9.1.0) lib/foreman_tasks.rb:45:in `rails_safe_trigger_task'
foreman-tasks (9.1.0) lib/foreman_tasks.rb:24:in `trigger_task'
foreman-tasks (9.1.0) lib/foreman_tasks.rb:51:in `async_task'
katello/app/lib/actions/katello/repository/create.rb:53:in `run'
katello/test/actions/katello/repository_test.rb:87:in `block in <class:CreateTest>'
|
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 6c05498c-ad85-4c34-acfb-c16ce2657b0b: ForemanTasks::Lock::LockConflict: Required lock is already taken by other running tasks.
Please inspect their state, fix their errors and resume them.
Conflicts with tasks:
- http://foreman.example.com/foreman_tasks/tasks/6c05498c-ad85-4c34-acfb-c16ce2657b0b
foreman-tasks (9.1.0) lib/foreman_tasks.rb:56:in `block in sync_task'
foreman-tasks (9.1.0) lib/foreman_tasks.rb:55:in `tap'
foreman-tasks (9.1.0) lib/foreman_tasks.rb:55:in `sync_task'
katello/lib/katello/tasks/repository.rake:102:in `handle_missing_repo'
katello/lib/katello/tasks/repository.rake:42:in `block (3 levels) in <top (required)>'
katello/lib/katello/tasks/repository.rake:39:in `with_index'
katello/lib/katello/tasks/repository.rake:39:in `block (2 levels) in <top (required)>'
katello/test/lib/tasks/pulpcore/repository_vcr_test.rb:48:in `test_correct_repositories_fixes_deleted_library_repo'
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/repository/metadata_generate_test.rb#L36
Failure: test_0004_plans a yum refresh with matching content true
ActiveRecord::RecordNotFound: Couldn't find ForemanTasks::Task::DynflowTask with [WHERE "foreman_tasks_tasks"."type" = $1 AND "foreman_tasks_tasks"."external_id" = $2]
foreman-tasks (9.1.0) app/lib/actions/base.rb:10:in `task'
foreman-tasks (9.1.0) app/lib/actions/helpers/lock.rb:7:in `exclusive_lock!'
foreman-tasks (9.1.0) app/lib/actions/entry_action.rb:42:in `action_subject'
katello/app/lib/actions/katello/repository/metadata_generate.rb:6:in `plan'
katello/test/actions/katello/repository/metadata_generate_test.rb:55:in `block (2 levels) in <module:Actions>'
|
Run rake test:katello:
katello/test/actions/katello/repository/metadata_generate_test.rb#L36
Failure: test_0001_plans a yum metadata generate
ActiveRecord::RecordNotFound: Couldn't find ForemanTasks::Task::DynflowTask with [WHERE "foreman_tasks_tasks"."type" = $1 AND "foreman_tasks_tasks"."external_id" = $2]
foreman-tasks (9.1.0) app/lib/actions/base.rb:10:in `task'
foreman-tasks (9.1.0) app/lib/actions/helpers/lock.rb:7:in `exclusive_lock!'
foreman-tasks (9.1.0) app/lib/actions/entry_action.rb:42:in `action_subject'
katello/app/lib/actions/katello/repository/metadata_generate.rb:6:in `plan'
katello/test/actions/katello/repository/metadata_generate_test.rb:23:in `block (2 levels) in <module:Actions>'
|
Run rake test:katello:
katello/test/actions/katello/repository/metadata_generate_test.rb#L36
Failure: test_0002_plans a yum refresh in other location
ActiveRecord::RecordNotFound: Couldn't find ForemanTasks::Task::DynflowTask with [WHERE "foreman_tasks_tasks"."type" = $1 AND "foreman_tasks_tasks"."external_id" = $2]
foreman-tasks (9.1.0) app/lib/actions/base.rb:10:in `task'
foreman-tasks (9.1.0) app/lib/actions/helpers/lock.rb:7:in `exclusive_lock!'
foreman-tasks (9.1.0) app/lib/actions/entry_action.rb:42:in `action_subject'
katello/app/lib/actions/katello/repository/metadata_generate.rb:6:in `plan'
katello/test/actions/katello/repository/metadata_generate_test.rb:34:in `block (2 levels) in <module:Actions>'
|
Run rake test:katello:
katello/test/actions/katello/repository/metadata_generate_test.rb#L36
Failure: test_0005_plans a yum refresh with matching content set to some deferred object
ActiveRecord::RecordNotFound: Couldn't find ForemanTasks::Task::DynflowTask with [WHERE "foreman_tasks_tasks"."type" = $1 AND "foreman_tasks_tasks"."external_id" = $2]
foreman-tasks (9.1.0) app/lib/actions/base.rb:10:in `task'
foreman-tasks (9.1.0) app/lib/actions/helpers/lock.rb:7:in `exclusive_lock!'
foreman-tasks (9.1.0) app/lib/actions/entry_action.rb:42:in `action_subject'
katello/app/lib/actions/katello/repository/metadata_generate.rb:6:in `plan'
katello/test/actions/katello/repository/metadata_generate_test.rb:66:in `block (2 levels) in <module:Actions>'
|
Run rake test:katello:
katello/test/actions/katello/repository/metadata_generate_test.rb#L36
Failure: test_0003_plans a yum refresh with source repo
ActiveRecord::RecordNotFound: Couldn't find ForemanTasks::Task::DynflowTask with [WHERE "foreman_tasks_tasks"."type" = $1 AND "foreman_tasks_tasks"."external_id" = $2]
foreman-tasks (9.1.0) app/lib/actions/base.rb:10:in `task'
foreman-tasks (9.1.0) app/lib/actions/helpers/lock.rb:7:in `exclusive_lock!'
foreman-tasks (9.1.0) app/lib/actions/entry_action.rb:42:in `action_subject'
katello/app/lib/actions/katello/repository/metadata_generate.rb:6:in `plan'
katello/test/actions/katello/repository/metadata_generate_test.rb:44:in `block (2 levels) in <module:Actions>'
|
Run rake test:katello
Process completed with exit code 1.
|
The logs for this run have expired and are no longer available.
Loading