Hack around source location lookup failure #589
Annotations
10 errors
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"]
|
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"]
|
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
|
foreman-tasks/test/controllers/api/tasks_controller_test.rb#L44
Failure: test_0004_supports ordering by duration
Expected: 5
Actual: 6
|
foreman-tasks/test/controllers/api/tasks_controller_test.rb#L20
Failure: test_0001_lists all tasks with default sorting
Expected: 5
Actual: 6
|
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.
|
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">]>
|
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"
|
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>'
|
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>'
|
This job failed
Loading