Fix gettext:store_action_names #595
Annotations
10 errors
Run rake test:foreman-tasks:
foreman-tasks/test/unit/task_test.rb#L108
Failure: test_0001_can search by seconds
Expected #<ActiveRecord::Relation [#<ForemanTasks::Task::DynflowTask id: "2e7d3453-a273-41c1-8bad-0252b203667a", type: "ForemanTasks::Task::DynflowTask", label: "Actions::CheckLongRunningTasks", started_at: nil, ended_at: nil, state: "scheduled", result: "pending", external_id: "0b3d34db-bfb3-4e3c-9e22-241a750eb80b", parent_task_id: nil, start_at: "2024-10-16 00:00:00.000000000 +0000", start_before: nil, action: "Check for long running tasks", user_id: 36826545, state_updated_at: "2024-10-15 12:34:13.297651000 +0000">]> to be empty.
|
Run rake test:foreman-tasks:
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: "183af81b-ec58-47a5-8f78-2cff996acf1d", 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: "3a2b7ef4-390e-4cd2-a9bf-820da991fd1d", parent_task_id: nil, start_at: nil, start_before: nil, action: "Dummy dynflow action", user_id: nil, state_updated_at: "2024-10-15 12:34:14.040263235 +0000">, #<ForemanTasks::Task::DynflowTask id: "e8cdda78-f5ea-4ec5-94cc-6ec298113eea", 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: "abfba3c5-ff2c-4b99-8f42-d1f653178fd0", parent_task_id: nil, start_at: nil, start_before: nil, action: "Dummy dynflow action", user_id: nil, state_updated_at: "2024-10-15 12:34:14.073112284 +0000">]
+#<ActiveRecord::Relation [#<ForemanTasks::Task::DynflowTask id: "183af81b-ec58-47a5-8f78-2cff996acf1d", 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: "3a2b7ef4-390e-4cd2-a9bf-820da991fd1d", parent_task_id: nil, start_at: nil, start_before: nil, action: "Dummy dynflow action", user_id: nil, state_updated_at: "2024-10-15 12:34:14.040263000 +0000">, #<ForemanTasks::Task::DynflowTask id: "2e7d3453-a273-41c1-8bad-0252b203667a", type: "ForemanTasks::Task::DynflowTask", label: "Actions::CheckLongRunningTasks", started_at: nil, ended_at: nil, state: "scheduled", result: "pending", external_id: "0b3d34db-bfb3-4e3c-9e22-241a750eb80b", parent_task_id: nil, start_at: "2024-10-16 00:00:00.000000000 +0000", start_before: nil, action: "Check for long running tasks", user_id: 36826545, state_updated_at: "2024-10-15 12:34:13.297651000 +0000">, #<ForemanTasks::Task::DynflowTask id: "e8cdda78-f5ea-4ec5-94cc-6ec298113eea", 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: "abfba3c5-ff2c-4b99-8f42-d1f653178fd0", parent_task_id: nil, start_at: nil, start_before: nil, action: "Dummy dynflow action", user_id: nil, state_updated_at: "2024-10-15 12:34:14.073112000 +0000">]>
|
Run rake test:foreman-tasks:
foreman-tasks/test/unit/task_test.rb#L50
Failure: test_0007_can search the tasks by user's id
--- expected
+++ actual
@@ -1 +1 @@
-[#<ForemanTasks::Task id: "83cacf0c-9e08-43a6-9dc9-545d045bfdf2", type: "ForemanTasks::Task", label: "task13", 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: 988725688, state_updated_at: "2024-10-15 12:34:14.898052994 +0000">]
+#<ActiveRecord::Relation [#<ForemanTasks::Task::DynflowTask id: "2e7d3453-a273-41c1-8bad-0252b203667a", type: "ForemanTasks::Task::DynflowTask", label: "Actions::CheckLongRunningTasks", started_at: nil, ended_at: nil, state: "scheduled", result: "pending", external_id: "0b3d34db-bfb3-4e3c-9e22-241a750eb80b", parent_task_id: nil, start_at: "2024-10-16 00:00:00.000000000 +0000", start_before: nil, action: "Check for long running tasks", user_id: 36826545, state_updated_at: "2024-10-15 12:34:13.297651000 +0000">, #<ForemanTasks::Task id: "83cacf0c-9e08-43a6-9dc9-545d045bfdf2", type: "ForemanTasks::Task", label: "task13", 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: 988725688, state_updated_at: "2024-10-15 12:34:14.898052000 +0000">]>
|
Run rake test:foreman-tasks:
foreman-tasks/test/unit/task_test.rb#L57
Failure: test_0008_can search by array of user ids
--- expected
+++ actual
@@ -1 +1 @@
-[#<ForemanTasks::Task id: "224ca215-3b8a-4e75-b46e-a307a523f126", type: "ForemanTasks::Task", label: "task25", 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: 988725700, state_updated_at: "2024-10-15 12:34:15.664867922 +0000">]
+#<ActiveRecord::Relation [#<ForemanTasks::Task::DynflowTask id: "2e7d3453-a273-41c1-8bad-0252b203667a", type: "ForemanTasks::Task::DynflowTask", label: "Actions::CheckLongRunningTasks", started_at: nil, ended_at: nil, state: "scheduled", result: "pending", external_id: "0b3d34db-bfb3-4e3c-9e22-241a750eb80b", parent_task_id: nil, start_at: "2024-10-16 00:00:00.000000000 +0000", start_before: nil, action: "Check for long running tasks", user_id: 36826545, state_updated_at: "2024-10-15 12:34:13.297651000 +0000">, #<ForemanTasks::Task id: "224ca215-3b8a-4e75-b46e-a307a523f126", type: "ForemanTasks::Task", label: "task25", 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: 988725700, state_updated_at: "2024-10-15 12:34:15.664867000 +0000">]>
|
Run rake test:foreman-tasks:
foreman-tasks/test/controllers/tasks_controller_test.rb#L81
Failure: test_0001_supports csv export
Expected: 2
Actual: 3
|
Run rake test:foreman-tasks:
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>'
|
Run rake test:foreman-tasks:
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>'
|
Run rake test:foreman-tasks:
foreman-tasks/test/controllers/tasks_controller_test.rb#L161
Failure: test_0003_scopes by organization if set
--- expected
+++ actual
@@ -1 +1 @@
-["64a24772-8d8e-4b35-b1fd-00ece7395530", "e0359e26-351f-4fb2-9481-7cd00c863c6e"]
+["2e7d3453-a273-41c1-8bad-0252b203667a", "64a24772-8d8e-4b35-b1fd-00ece7395530", "e0359e26-351f-4fb2-9481-7cd00c863c6e"]
|
Run rake test:foreman-tasks:
foreman-tasks/test/controllers/tasks_controller_test.rb#L153
Failure: test_0002_does not scope by taxonomy if unset
--- expected
+++ actual
@@ -1 +1 @@
-["61df9b8a-730d-4669-b9c4-305c4f92d524", "b9f76648-c088-4469-9cbc-c1bb3b00cdd6", "e88a55c9-5de4-4dd1-8579-7e514f5070d7"]
+["2e7d3453-a273-41c1-8bad-0252b203667a", "61df9b8a-730d-4669-b9c4-305c4f92d524", "b9f76648-c088-4469-9cbc-c1bb3b00cdd6", "e88a55c9-5de4-4dd1-8579-7e514f5070d7"]
|
Run rake test:foreman-tasks:
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
|
Loading