Skip to content

Fixes #37139 - Block content view publish during repository publication tasks #120

Fixes #37139 - Block content view publish during repository publication tasks

Fixes #37139 - Block content view publish during repository publication tasks #120

Triggered via pull request February 16, 2024 15:32
Status Failure
Total duration 24m 38s
Artifacts 13

ruby.yml

on: pull_request
Ruby  /  Setup matrix
4s
Ruby / Setup matrix
Matrix: Ruby / existing-database
Matrix: Ruby / test
Fit to window
Zoom out
Zoom in

Annotations

16 errors
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 12: 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>'
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 12: 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'
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 12: 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>'
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 12: 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>'
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 12: 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>'
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 12: 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>'
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 12: 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>'
Ruby / test:katello - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 12
Process completed with exit code 1.
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 12: 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/b09aad44-848e-4c96-b877-7507012c9490 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>'
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 12: katello/test/lib/tasks/pulpcore/repository_vcr_test.rb#L56
Failure: test_correct_repositories_fixes_deleted_library_repo RuntimeError: Neutered Exception ForemanTasks::TaskError: Task 2997cc12-5008-46c4-b710-17214283c68a: 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/2997cc12-5008-46c4-b710-17214283c68a 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 `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'
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 12: 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>'
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 12: 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>'
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 12: 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>'
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 12: 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>'
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 12: 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>'
Ruby / test:katello - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 12
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
Gemfile-ruby-2.7-node-14-pg-12-develop-dbseed.lock Expired
5.48 KB
Gemfile-ruby-2.7-node-14-pg-12-develop-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.lock Expired
5.48 KB
Gemfile-ruby-2.7-node-14-pg-12-develop-testkatello.lock Expired
5.48 KB
Gemfile-ruby-3.0-node-14-pg-12-develop-dbseed.lock Expired
5.49 KB
Gemfile-ruby-3.0-node-14-pg-12-develop-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.lock Expired
5.49 KB
Gemfile-ruby-3.0-node-14-pg-12-develop-testkatello.lock Expired
5.49 KB
Gemfile-theforeman-actions-rubocop-ruby-2.7.lock Expired
2.63 KB
logs-ruby-2.7-node-14-pg-12-develop-testkatello Expired
3.63 MB
logs-ruby-3.0-node-14-pg-12-develop-testkatello Expired
3.65 MB
package-lock-ruby-2.7-node-14-pg-12-develop-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.json Expired
305 KB
package-lock-ruby-2.7-node-14-pg-12-develop-testkatello.json Expired
305 KB
package-lock-ruby-3.0-node-14-pg-12-develop-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.json Expired
305 KB
package-lock-ruby-3.0-node-14-pg-12-develop-testkatello.json Expired
305 KB