Fix gettext:store_action_names #595
ruby_tests.yml
on: pull_request
Rubocop
/
Rubocop
2m 12s
Matrix: Ruby / existing-database
Matrix: Ruby / test
Ruby
/
Test suite
4s
Annotations
11 errors
Ruby / test:foreman-tasks - Foreman develop with Ruby 3.0 and Node 18 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: "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.
|
Ruby / test:foreman-tasks - Foreman develop with Ruby 3.0 and Node 18 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: "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">]>
|
Ruby / test:foreman-tasks - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13:
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">]>
|
Ruby / test:foreman-tasks - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13:
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">]>
|
Ruby / test:foreman-tasks - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13:
foreman-tasks/test/controllers/tasks_controller_test.rb#L81
Failure: test_0001_supports csv export
Expected: 2
Actual: 3
|
Ruby / test:foreman-tasks - Foreman develop with Ruby 3.0 and Node 18 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 18 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/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"]
|
Ruby / test:foreman-tasks - Foreman develop with Ruby 3.0 and Node 18 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 @@
-["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"]
|
Ruby / test:foreman-tasks - Foreman develop with Ruby 3.0 and Node 18 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 suite
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Gemfile-ruby-27-node-14-pg-13-foreman-develop-dbseed.lock
|
4.85 KB |
|
Gemfile-ruby-27-node-14-pg-13-foreman-develop-pluginassetsprecompileforeman-tasksRAILSENVproductionDATABASEURLnulldbnohost.lock
|
4.85 KB |
|
Gemfile-ruby-27-node-14-pg-13-foreman-develop-testforeman-tasks.lock
|
4.85 KB |
|
Gemfile-ruby-27-node-18-pg-13-foreman-develop-dbseed.lock
|
4.85 KB |
|
Gemfile-ruby-27-node-18-pg-13-foreman-develop-pluginassetsprecompileforeman-tasksRAILSENVproductionDATABASEURLnulldbnohost.lock
|
4.85 KB |
|
Gemfile-ruby-27-node-18-pg-13-foreman-develop-testforeman-tasks.lock
|
4.85 KB |
|
Gemfile-ruby-30-node-14-pg-13-foreman-develop-dbseed.lock
|
4.86 KB |
|
Gemfile-ruby-30-node-14-pg-13-foreman-develop-pluginassetsprecompileforeman-tasksRAILSENVproductionDATABASEURLnulldbnohost.lock
|
4.86 KB |
|
Gemfile-ruby-30-node-14-pg-13-foreman-develop-testforeman-tasks.lock
|
4.86 KB |
|
Gemfile-ruby-30-node-18-pg-13-foreman-develop-dbseed.lock
|
4.86 KB |
|
Gemfile-ruby-30-node-18-pg-13-foreman-develop-pluginassetsprecompileforeman-tasksRAILSENVproductionDATABASEURLnulldbnohost.lock
|
4.86 KB |
|
Gemfile-ruby-30-node-18-pg-13-foreman-develop-testforeman-tasks.lock
|
4.86 KB |
|
Gemfile-theforeman-actions-rubocop-ruby-2.7.lock
|
1.57 KB |
|
all_react_app_exports-ruby-27-node-14-pg-13-foreman-develop-testforeman-tasks.js
|
8.06 KB |
|
all_react_app_exports-ruby-27-node-18-pg-13-foreman-develop-testforeman-tasks.js
|
8.06 KB |
|
all_react_app_exports-ruby-30-node-14-pg-13-foreman-develop-testforeman-tasks.js
|
8.06 KB |
|
all_react_app_exports-ruby-30-node-18-pg-13-foreman-develop-testforeman-tasks.js
|
8.06 KB |
|
logs-ruby-30-node-18-pg-13-foreman-develop-testforeman-tasks
Expired
|
48.6 KB |
|
package-lock-ruby-27-node-14-pg-13-foreman-develop-pluginassetsprecompileforeman-tasksRAILSENVproductionDATABASEURLnulldbnohost.json
|
416 KB |
|
package-lock-ruby-27-node-14-pg-13-foreman-develop-testforeman-tasks.json
|
416 KB |
|
package-lock-ruby-27-node-18-pg-13-foreman-develop-pluginassetsprecompileforeman-tasksRAILSENVproductionDATABASEURLnulldbnohost.json
|
436 KB |
|
package-lock-ruby-27-node-18-pg-13-foreman-develop-testforeman-tasks.json
|
436 KB |
|
package-lock-ruby-30-node-14-pg-13-foreman-develop-pluginassetsprecompileforeman-tasksRAILSENVproductionDATABASEURLnulldbnohost.json
|
416 KB |
|
package-lock-ruby-30-node-14-pg-13-foreman-develop-testforeman-tasks.json
|
416 KB |
|
package-lock-ruby-30-node-18-pg-13-foreman-develop-pluginassetsprecompileforeman-tasksRAILSENVproductionDATABASEURLnulldbnohost.json
|
436 KB |
|
package-lock-ruby-30-node-18-pg-13-foreman-develop-testforeman-tasks.json
|
436 KB |
|