Skip to content

Hack around source location lookup failure #589

Hack around source location lookup failure

Hack around source location lookup failure #589

Triggered via pull request September 19, 2024 10:22
Status Failure
Total duration 12m 56s
Artifacts 27

ruby_tests.yml

on: pull_request
Ruby  /  Setup matrix
3s
Ruby / Setup matrix
Matrix: Ruby / existing-database
Matrix: Ruby / test
Ruby  /  Test suite
2s
Ruby / Test suite
Fit to window
Zoom out
Zoom in

Annotations

13 errors
Ruby / test:foreman-tasks - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: foreman-tasks/test/controllers/tasks_controller_test.rb#L161
Failure: test_0003_scopes by organization if set --- expected +++ actual @@ -1 +1 @@ -["cfdd0931-ac24-41d0-ba9f-4ef45c516f0e", "d48e8746-626f-4920-bbae-36ff5eb6586c"] +["75c6c79d-29eb-416a-b177-594f8c0fc626", "cfdd0931-ac24-41d0-ba9f-4ef45c516f0e", "d48e8746-626f-4920-bbae-36ff5eb6586c"]
Ruby / test:foreman-tasks - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: foreman-tasks/test/controllers/tasks_controller_test.rb#L153
Failure: test_0002_does not scope by taxonomy if unset --- expected +++ actual @@ -1 +1 @@ -["20d1293a-ca2d-43a4-b541-b340be9c3b71", "5d5aedcc-2c9e-423a-b0ec-64510d895969", "f596b923-9b6e-4b16-90af-2a2352301f3e"] +["20d1293a-ca2d-43a4-b541-b340be9c3b71", "5d5aedcc-2c9e-423a-b0ec-64510d895969", "75c6c79d-29eb-416a-b177-594f8c0fc626", "f596b923-9b6e-4b16-90af-2a2352301f3e"]
Ruby / test:foreman-tasks - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: foreman-tasks/test/controllers/api/tasks_controller_test.rb#L56
Failure: test_0001_includes untaxed tasks and taxed by current taxonomy Expected: 6 Actual: 7
Ruby / test:foreman-tasks - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: foreman-tasks/test/unit/task_test.rb#L108
Failure: test_0001_can search by seconds Expected #<ActiveRecord::Relation [#<ForemanTasks::Task::DynflowTask id: "75c6c79d-29eb-416a-b177-594f8c0fc626", type: "ForemanTasks::Task::DynflowTask", label: "Actions::CheckLongRunningTasks", started_at: nil, ended_at: nil, state: "scheduled", result: "pending", external_id: "4e674956-d162-43ae-beda-27697bbce02f", parent_task_id: nil, start_at: "2024-09-20 00:00:00.000000000 +0000", start_before: nil, action: "Check for long running tasks", user_id: 36826545, state_updated_at: "2024-09-19 10:31:46.242135000 +0000">]> to be empty.
Ruby / test:foreman-tasks - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: foreman-tasks/test/unit/task_test.rb#L120
Failure: test_0002_can search by other time intervals --- expected +++ actual @@ -1 +1 @@ -[#<ForemanTasks::Task::DynflowTask id: "2f03ec46-a086-4d8c-89f6-599809bd76d8", type: "ForemanTasks::Task::DynflowTask", label: "Support::DummyDynflowAction", started_at: "2014-10-01 11:15:55.000000000 +0000", ended_at: "2014-10-01 11:15:57.000000000 +0000", state: "stopped", result: "success", external_id: "9112978a-e2dc-4716-8873-45c69ac431c1", parent_task_id: nil, start_at: nil, start_before: nil, action: "Dummy dynflow action", user_id: nil, state_updated_at: "2024-09-19 10:31:54.700933325 +0000">, #<ForemanTasks::Task::DynflowTask id: "a2e98959-7123-4d4d-85eb-cfa368c1366a", type: "ForemanTasks::Task::DynflowTask", label: "Support::DummyDynflowAction", started_at: "2014-10-01 11:15:55.000000000 +0000", ended_at: "2014-10-01 11:15:57.000000000 +0000", state: "stopped", result: "success", external_id: "f39a4c28-087c-4997-b08e-989a59e4e78c", parent_task_id: nil, start_at: nil, start_before: nil, action: "Dummy dynflow action", user_id: nil, state_updated_at: "2024-09-19 10:31:54.669084164 +0000">] +#<ActiveRecord::Relation [#<ForemanTasks::Task::DynflowTask id: "2f03ec46-a086-4d8c-89f6-599809bd76d8", type: "ForemanTasks::Task::DynflowTask", label: "Support::DummyDynflowAction", started_at: "2014-10-01 11:15:55.000000000 +0000", ended_at: "2014-10-01 11:15:57.000000000 +0000", state: "stopped", result: "success", external_id: "9112978a-e2dc-4716-8873-45c69ac431c1", parent_task_id: nil, start_at: nil, start_before: nil, action: "Dummy dynflow action", user_id: nil, state_updated_at: "2024-09-19 10:31:54.700933000 +0000">, #<ForemanTasks::Task::DynflowTask id: "75c6c79d-29eb-416a-b177-594f8c0fc626", type: "ForemanTasks::Task::DynflowTask", label: "Actions::CheckLongRunningTasks", started_at: nil, ended_at: nil, state: "scheduled", result: "pending", external_id: "4e674956-d162-43ae-beda-27697bbce02f", parent_task_id: nil, start_at: "2024-09-20 00:00:00.000000000 +0000", start_before: nil, action: "Check for long running tasks", user_id: 36826545, state_updated_at: "2024-09-19 10:31:46.242135000 +0000">, #<ForemanTasks::Task::DynflowTask id: "a2e98959-7123-4d4d-85eb-cfa368c1366a", type: "ForemanTasks::Task::DynflowTask", label: "Support::DummyDynflowAction", started_at: "2014-10-01 11:15:55.000000000 +0000", ended_at: "2014-10-01 11:15:57.000000000 +0000", state: "stopped", result: "success", external_id: "f39a4c28-087c-4997-b08e-989a59e4e78c", parent_task_id: nil, start_at: nil, start_before: nil, action: "Dummy dynflow action", user_id: nil, state_updated_at: "2024-09-19 10:31:54.669084000 +0000">]>
Ruby / test:foreman-tasks - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: foreman-tasks/test/controllers/api/tasks_controller_test.rb#L121
Failure: test_0001_shows duration column --- expected +++ actual @@ -1,3 +1 @@ -# encoding: US-ASCII -# valid: true -"2" +"0"
Ruby / test:foreman-tasks - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: foreman-tasks/test/unit/task_groups_test.rb#L45
Failure: test_0001_has the task group assigned ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "foreman_tasks_task_groups_pkey" DETAIL: Key (id)=(1) already exists. foreman-tasks/test/unit/task_groups_test.rb:40:in `plan' foreman-tasks/app/lib/actions/middleware/load_setting_values.rb:15:in `plan' foreman-tasks/app/lib/actions/middleware/keep_current_request_id.rb:10:in `block in plan' foreman-tasks/app/lib/actions/middleware/keep_current_request_id.rb:34:in `with_current_request_id' foreman-tasks/app/lib/actions/middleware/keep_current_request_id.rb:9:in `plan' foreman-tasks/app/lib/actions/middleware/keep_current_timezone.rb:10:in `block in plan' foreman-tasks/app/lib/actions/middleware/keep_current_timezone.rb:31:in `with_current_timezone' foreman-tasks/app/lib/actions/middleware/keep_current_timezone.rb:9:in `plan' foreman-tasks/app/lib/actions/middleware/keep_current_taxonomies.rb:10:in `block in plan' foreman-tasks/app/lib/actions/middleware/keep_current_taxonomies.rb:30:in `with_current_taxonomies' foreman-tasks/app/lib/actions/middleware/keep_current_taxonomies.rb:9:in `plan' foreman-tasks/app/lib/actions/middleware/keep_current_user.rb:10:in `block in plan' foreman-tasks/app/lib/actions/middleware/keep_current_user.rb:41:in `with_current_user' foreman-tasks/app/lib/actions/middleware/keep_current_user.rb:9:in `plan' foreman-tasks/lib/foreman_tasks.rb:20:in `trigger' foreman-tasks/test/unit/task_groups_test.rb:53:in `block (3 levels) in <class:TaskGroupsTest>' foreman-tasks/test/unit/task_groups_test.rb:61:in `block (2 levels) in <class:TaskGroupsTest>'
Ruby / test:foreman-tasks - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: foreman-tasks/test/unit/task_groups_test.rb#L45
Failure: test_0002_tasks inherit task groups correctly ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "foreman_tasks_task_groups_pkey" DETAIL: Key (id)=(1) already exists. foreman-tasks/test/unit/task_groups_test.rb:22:in `plan' foreman-tasks/app/lib/actions/middleware/inherit_task_groups.rb:10:in `plan' foreman-tasks/app/lib/actions/middleware/load_setting_values.rb:15:in `plan' foreman-tasks/app/lib/actions/middleware/keep_current_request_id.rb:10:in `block in plan' foreman-tasks/app/lib/actions/middleware/keep_current_request_id.rb:34:in `with_current_request_id' foreman-tasks/app/lib/actions/middleware/keep_current_request_id.rb:9:in `plan' foreman-tasks/app/lib/actions/middleware/keep_current_timezone.rb:10:in `block in plan' foreman-tasks/app/lib/actions/middleware/keep_current_timezone.rb:31:in `with_current_timezone' foreman-tasks/app/lib/actions/middleware/keep_current_timezone.rb:9:in `plan' foreman-tasks/app/lib/actions/middleware/keep_current_taxonomies.rb:10:in `block in plan' foreman-tasks/app/lib/actions/middleware/keep_current_taxonomies.rb:30:in `with_current_taxonomies' foreman-tasks/app/lib/actions/middleware/keep_current_taxonomies.rb:9:in `plan' foreman-tasks/app/lib/actions/middleware/keep_current_user.rb:10:in `block in plan' foreman-tasks/app/lib/actions/middleware/keep_current_user.rb:41:in `with_current_user' foreman-tasks/app/lib/actions/middleware/keep_current_user.rb:9:in `plan' foreman-tasks/lib/foreman_tasks.rb:20:in `trigger' foreman-tasks/test/unit/task_groups_test.rb:53:in `block (3 levels) in <class:TaskGroupsTest>' foreman-tasks/test/unit/task_groups_test.rb:67:in `block (2 levels) in <class:TaskGroupsTest>'
Ruby / test:foreman-tasks - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: foreman-tasks/test/unit/task_test.rb#L23
Failure: test_0002_can search by implicit search --- expected +++ actual @@ -1 +1 @@ -[#<ForemanTasks::Task id: "937a4160-9943-491d-952d-0cfc461351a6", type: "ForemanTasks::Task", label: "task19", started_at: nil, ended_at: nil, state: "stopped", result: "success", external_id: nil, parent_task_id: nil, start_at: nil, start_before: nil, action: nil, user_id: 988725698, state_updated_at: "2024-09-19 10:31:56.614467161 +0000">] +#<ActiveRecord::Relation [#<ForemanTasks::Task id: "937a4160-9943-491d-952d-0cfc461351a6", type: "ForemanTasks::Task", label: "task19", started_at: nil, ended_at: nil, state: "stopped", result: "success", external_id: nil, parent_task_id: nil, start_at: nil, start_before: nil, action: nil, user_id: 988725698, state_updated_at: "2024-09-19 10:31:56.614467000 +0000">, #<ForemanTasks::Task id: "b0af18a6-d31a-4fa5-956c-7ab83a73a0d2", type: "ForemanTasks::Task", label: "task20", started_at: nil, ended_at: nil, state: "stopped", result: "success", external_id: nil, parent_task_id: nil, start_at: nil, start_before: nil, action: nil, user_id: 988725699, state_updated_at: "2024-09-19 10:31:56.616095000 +0000">]>
Ruby / Test suite
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
Gemfile-ruby-27-node-14-pg-13-foreman-develop-dbseed.lock Expired
4.85 KB
Gemfile-ruby-27-node-14-pg-13-foreman-develop-pluginassetsprecompileforeman-tasksRAILSENVproductionDATABASEURLnulldbnohost.lock Expired
4.85 KB
Gemfile-ruby-27-node-14-pg-13-foreman-develop-testforeman-tasks.lock Expired
4.85 KB
Gemfile-ruby-27-node-18-pg-13-foreman-develop-dbseed.lock Expired
4.85 KB
Gemfile-ruby-27-node-18-pg-13-foreman-develop-pluginassetsprecompileforeman-tasksRAILSENVproductionDATABASEURLnulldbnohost.lock Expired
4.85 KB
Gemfile-ruby-27-node-18-pg-13-foreman-develop-testforeman-tasks.lock Expired
4.85 KB
Gemfile-ruby-30-node-14-pg-13-foreman-develop-dbseed.lock Expired
4.86 KB
Gemfile-ruby-30-node-14-pg-13-foreman-develop-pluginassetsprecompileforeman-tasksRAILSENVproductionDATABASEURLnulldbnohost.lock Expired
4.86 KB
Gemfile-ruby-30-node-14-pg-13-foreman-develop-testforeman-tasks.lock Expired
4.86 KB
Gemfile-ruby-30-node-18-pg-13-foreman-develop-dbseed.lock Expired
4.86 KB
Gemfile-ruby-30-node-18-pg-13-foreman-develop-pluginassetsprecompileforeman-tasksRAILSENVproductionDATABASEURLnulldbnohost.lock Expired
4.86 KB
Gemfile-ruby-30-node-18-pg-13-foreman-develop-testforeman-tasks.lock Expired
4.86 KB
Gemfile-theforeman-actions-rubocop-ruby-2.7.lock Expired
1.57 KB
all_react_app_exports-ruby-27-node-14-pg-13-foreman-develop-testforeman-tasks.js Expired
8.06 KB
all_react_app_exports-ruby-27-node-18-pg-13-foreman-develop-testforeman-tasks.js Expired
8.06 KB
all_react_app_exports-ruby-30-node-14-pg-13-foreman-develop-testforeman-tasks.js Expired
8.06 KB
all_react_app_exports-ruby-30-node-18-pg-13-foreman-develop-testforeman-tasks.js Expired
8.06 KB
logs-ruby-30-node-14-pg-13-foreman-develop-testforeman-tasks Expired
52.9 KB
logs-ruby-30-node-18-pg-13-foreman-develop-testforeman-tasks Expired
48.2 KB
package-lock-ruby-27-node-14-pg-13-foreman-develop-pluginassetsprecompileforeman-tasksRAILSENVproductionDATABASEURLnulldbnohost.json Expired
416 KB
package-lock-ruby-27-node-14-pg-13-foreman-develop-testforeman-tasks.json Expired
416 KB
package-lock-ruby-27-node-18-pg-13-foreman-develop-pluginassetsprecompileforeman-tasksRAILSENVproductionDATABASEURLnulldbnohost.json Expired
436 KB
package-lock-ruby-27-node-18-pg-13-foreman-develop-testforeman-tasks.json Expired
436 KB
package-lock-ruby-30-node-14-pg-13-foreman-develop-pluginassetsprecompileforeman-tasksRAILSENVproductionDATABASEURLnulldbnohost.json Expired
416 KB
package-lock-ruby-30-node-14-pg-13-foreman-develop-testforeman-tasks.json Expired
416 KB
package-lock-ruby-30-node-18-pg-13-foreman-develop-pluginassetsprecompileforeman-tasksRAILSENVproductionDATABASEURLnulldbnohost.json Expired
436 KB
package-lock-ruby-30-node-18-pg-13-foreman-develop-testforeman-tasks.json Expired
436 KB