Fixes #37987 - Filters dont inherit taxonomy on creation #2394
foreman.yml
on: pull_request
Setup matrix
4s
Matrix: tests
Matrix: Katello / existing-database
Matrix: Katello / test
Test suite
2s
Annotations
41 errors and 2 warnings
test:functionals - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/controllers/api/v2/roles_controller_test.rb#L450
Failure: test_0004_should update non-overridable filter taxonomies on role taxonomies update
NoMethodError: undefined method `organizations' for #<Filter:0x000055b05e4cb468>
test/controllers/api/v2/roles_controller_test.rb:211:in `block (2 levels) in <class:RolesControllerTest>'
|
test:functionals - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/controllers/api/v2/roles_controller_test.rb#L450
Failure: test_0005_should not update overridable filter taxonomies on role taxonomies update
NoMethodError: undefined method `organizations' for #<Filter:0x000055b057d73ea0>
test/controllers/api/v2/roles_controller_test.rb:226:in `block (2 levels) in <class:RolesControllerTest>'
|
test:functionals - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/controllers/api/v2/filters_controller_test.rb#L450
Failure: test_0002_taxonomies are ignored if override is not explicitly enabled
NoMethodError: undefined method `organizations' for #<Filter:0x000055b05c7a1b30>
test/controllers/api/v2/filters_controller_test.rb:140:in `block (2 levels) in <class:FiltersControllerTest>'
|
test:functionals - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/controllers/api/v2/filters_controller_test.rb#L450
Failure: test_0001_filter can override taxonomies
NoMethodError: undefined method `organizations' for #<Filter:0x00007f926c0d7540>
test/controllers/api/v2/filters_controller_test.rb:131:in `block (2 levels) in <class:FiltersControllerTest>'
|
test:functionals - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/controllers/api/v2/filters_controller_test.rb#L49
Failure: test_0005_should create non-overridable filter
Expected: false
Actual: nil
|
test:functionals - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/controllers/api/v2/filters_controller_test.rb#L104
Failure: test_0003_should not create overridable filter
"Filter.count" didn't change by 0.
Expected: 59
Actual: 60
|
test:functionals - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/controllers/api/v2/filters_controller_test.rb#L98
Failure: test_0002_should create filter without override
NoMethodError: undefined method `[]' for nil:NilClass
test/controllers/api/v2/filters_controller_test.rb:98:in `block (2 levels) in <class:FiltersControllerTest>'
|
test:functionals - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/controllers/api/v2/filters_controller_test.rb#L450
Failure: test_0001_should disable filter override
NoMethodError: undefined method `locations=' for #<Filter:0x000055b059b894f8>
test/controllers/api/v2/filters_controller_test.rb:75:in `block (2 levels) in <class:FiltersControllerTest>'
|
test:functionals - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/controllers/roles_controller_test.rb#L450
Failure: test_0002_sets new taxonomies to filters after cloning properly
NoMethodError: undefined method `organizations' for #<Filter:0x00007f926d9813c0>
test/controllers/roles_controller_test.rb:89:in `block (2 levels) in <class:RolesControllerTest>'
|
test:functionals - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/controllers/roles_controller_test.rb#L450
Failure: test_0001_update syncs filters taxonomies if configuration changed
NoMethodError: undefined method `organizations' for #<Filter:0x00007f926e06fb00>
test/controllers/roles_controller_test.rb:78:in `block (2 levels) in <class:RolesControllerTest>'
|
test:functionals - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/controllers/api/v2/filters_controller_test.rb#L49
Failure: test_0005_should create non-overridable filter
Expected: false
Actual: nil
|
test:functionals - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/controllers/api/v2/filters_controller_test.rb#L450
Failure: test_0001_should disable filter override
NoMethodError: undefined method `locations=' for #<Filter id: nil, search: nil, role_id: 424, created_at: nil, updated_at: nil, taxonomy_search: nil, override: true>
test/controllers/api/v2/filters_controller_test.rb:75:in `block (2 levels) in <class:FiltersControllerTest>'
|
test:functionals - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/controllers/api/v2/filters_controller_test.rb#L104
Failure: test_0003_should not create overridable filter
"Filter.count" didn't change by 0.
Expected: 59
Actual: 60
|
test:functionals - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/controllers/api/v2/filters_controller_test.rb#L98
Failure: test_0002_should create filter without override
NoMethodError: undefined method `[]' for nil:NilClass
test/controllers/api/v2/filters_controller_test.rb:98:in `block (2 levels) in <class:FiltersControllerTest>'
|
test:functionals - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/controllers/api/v2/roles_controller_test.rb#L450
Failure: test_0005_should not update overridable filter taxonomies on role taxonomies update
NoMethodError: undefined method `organizations' for #<Filter id: 1062414794, search: nil, role_id: 501, created_at: "2025-01-29 18:05:52.247034000 +0000", updated_at: "2025-01-29 18:05:52.280753000 +0000", taxonomy_search: "(organization_id ^ (447626438)) and (location_id ^...", override: true>
test/controllers/api/v2/roles_controller_test.rb:226:in `block (2 levels) in <class:RolesControllerTest>'
|
test:functionals - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/controllers/api/v2/roles_controller_test.rb#L450
Failure: test_0004_should update non-overridable filter taxonomies on role taxonomies update
NoMethodError: undefined method `organizations' for #<Filter id: 1062414795, search: nil, role_id: 504, created_at: "2025-01-29 18:05:52.542866000 +0000", updated_at: "2025-01-29 18:05:52.571159000 +0000", taxonomy_search: "(organization_id ^ (447626438)) and (location_id ^...", override: false>
test/controllers/api/v2/roles_controller_test.rb:211:in `block (2 levels) in <class:RolesControllerTest>'
|
test:functionals - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/controllers/api/v2/filters_controller_test.rb#L450
Failure: test_0001_filter can override taxonomies
NoMethodError: undefined method `organizations' for #<Filter id: 1062414973, search: nil, role_id: 8, created_at: "2025-01-29 18:06:24.531245633 +0000", updated_at: "2025-01-29 18:06:24.531245633 +0000", taxonomy_search: nil, override: false>
test/controllers/api/v2/filters_controller_test.rb:131:in `block (2 levels) in <class:FiltersControllerTest>'
|
test:functionals - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/controllers/api/v2/filters_controller_test.rb#L450
Failure: test_0002_taxonomies are ignored if override is not explicitly enabled
NoMethodError: undefined method `organizations' for #<Filter id: 1062414974, search: nil, role_id: 8, created_at: "2025-01-29 18:06:24.604779682 +0000", updated_at: "2025-01-29 18:06:24.604779682 +0000", taxonomy_search: nil, override: false>
test/controllers/api/v2/filters_controller_test.rb:140:in `block (2 levels) in <class:FiltersControllerTest>'
|
test:functionals - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/controllers/roles_controller_test.rb#L450
Failure: test_0001_update syncs filters taxonomies if configuration changed
NoMethodError: undefined method `organizations' for #<Filter id: 1062414975, search: nil, role_id: 553, created_at: "2025-01-29 18:06:24.663890000 +0000", updated_at: "2025-01-29 18:06:24.722200000 +0000", taxonomy_search: "(organization_id ^ (447626936))", override: false>
test/controllers/roles_controller_test.rb:78:in `block (2 levels) in <class:RolesControllerTest>'
|
test:functionals - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/controllers/roles_controller_test.rb#L450
Failure: test_0002_sets new taxonomies to filters after cloning properly
NoMethodError: undefined method `organizations' for #<Filter id: 1062414977, search: nil, role_id: 555, created_at: "2025-01-29 18:06:24.850749000 +0000", updated_at: "2025-01-29 18:06:24.850749000 +0000", taxonomy_search: "(organization_id ^ (447626938))", override: false>
test/controllers/roles_controller_test.rb:89:in `block (2 levels) in <class:RolesControllerTest>'
|
test:units - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/models/filter_test.rb#L450
Failure: test_0018_filter remains set to unlimited when no taxonomy assigned and has empty search
NoMethodError: undefined method `organization_ids=' for #<Filter id: nil, search: "", role_id: 78, created_at: nil, updated_at: nil, taxonomy_search: nil, override: false>
test/models/filter_test.rb:186:in `block in <class:FilterTest>'
|
test:units - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/models/filter_test.rb#L450
Failure: test_0024_enforce_inherited_taxonomies respects override configuration
NoMethodError: undefined method `organizations' for #<Filter id: 1062414239, search: nil, role_id: 86, created_at: "2025-01-29 18:01:28.909741992 +0000", updated_at: "2025-01-29 18:01:28.909741992 +0000", taxonomy_search: "(organization_id ^ (447626452))", override: true>
test/models/filter_test.rb:237:in `block in <class:FilterTest>'
|
test:units - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/models/filter_test.rb#L450
Failure: test_0017_filter remains unlimited when no organization assigned
NoMethodError: undefined method `organization_ids=' for #<Filter id: nil, search: "", role_id: 95, created_at: nil, updated_at: nil, taxonomy_search: nil, override: false>
test/models/filter_test.rb:179:in `block in <class:FilterTest>'
|
test:units - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/models/filter_test.rb#L450
Failure: test_0025_enforce_inherited_taxonomies builds the taxonomy search string
NoMethodError: undefined method `organizations' for #<Filter id: 1062414244, search: nil, role_id: 97, created_at: "2025-01-29 18:01:29.244848532 +0000", updated_at: "2025-01-29 18:01:29.244848532 +0000", taxonomy_search: "(organization_id ^ (447626455))", override: false>
test/models/filter_test.rb:248:in `block in <class:FilterTest>'
|
test:units - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/models/role_test.rb#L450
Failure: test_0006_does not touch filters that do not support taxonomies even if they override
NoMethodError: undefined method `organizations' for #<Filter id: 1062414247, search: nil, role_id: 100, created_at: "2025-01-29 18:01:57.141860000 +0000", updated_at: "2025-01-29 18:01:57.191462000 +0000", taxonomy_search: nil, override: true>
test/models/role_test.rb:425:in `block (3 levels) in <class:RoleTest>'
|
test:units - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/models/role_test.rb#L450
Failure: test_0005_does not touch filters that do not support taxonomies
NoMethodError: undefined method `organizations' for #<Filter id: 1062414249, search: nil, role_id: 101, created_at: "2025-01-29 18:01:57.289593000 +0000", updated_at: "2025-01-29 18:01:57.289593000 +0000", taxonomy_search: nil, override: false>
test/models/role_test.rb:416:in `block (3 levels) in <class:RoleTest>'
|
test:units - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/models/role_test.rb#L450
Failure: test_0001_automatically propagates taxonomies to filters after save
NoMethodError: undefined method `organizations' for #<Filter id: 1062414252, search: nil, role_id: 103, created_at: "2025-01-29 18:01:57.538267000 +0000", updated_at: "2025-01-29 18:01:57.598851000 +0000", taxonomy_search: "(organization_id ^ (447626474))", override: false>
test/models/role_test.rb:378:in `block (3 levels) in <class:RoleTest>'
|
test:units - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/models/role_test.rb#L450
Failure: test_0002_automatically propagates taxonomies only to inheriting filters
NoMethodError: undefined method `organizations' for #<Filter id: 1062414257, search: nil, role_id: 106, created_at: "2025-01-29 18:01:58.131232000 +0000", updated_at: "2025-01-29 18:01:58.218082000 +0000", taxonomy_search: "(organization_id ^ (447626479))", override: true>
test/models/role_test.rb:386:in `block (3 levels) in <class:RoleTest>'
|
test:units - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/models/filter_test.rb#L235
Failure: test_0006_taxonomies can be assigned only if resource allows it
ActiveRecord::AssociationTypeMismatch: Taxonomy(#22340) expected, got 447626484 which is an instance of Integer(#7220)
test/models/filter_test.rb:160:in `block (2 levels) in <class:FilterTest>'
|
test:units - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/models/filter_test.rb#L450
Failure: test_0005_removing all organizations and locations from filter nilify taxonomy search
NoMethodError: undefined method `organization_ids=' for #<Filter id: nil, search: "", role_id: 127, created_at: nil, updated_at: nil, taxonomy_search: nil, override: false>
test/models/filter_test.rb:146:in `block (2 levels) in <class:FilterTest>'
|
test:units - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/helpers/form_helper_test.rb#L450
Failure: test_0002_multiple_checkboxes produces right output for taxonomy relations
NoMethodError: undefined method `organizations' for #<Filter:0x000055fddd8b1920>
app/helpers/form_helper.rb:52:in `multiple_checkboxes'
test/helpers/form_helper_test.rb:106:in `block (2 levels) in <class:FormHelperTest>'
app/helpers/form_helper.rb:289:in `form_for'
test/helpers/form_helper_test.rb:104:in `block in <class:FormHelperTest>'
|
test:units - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/models/role_test.rb#L450
Failure: test_0002_automatically propagates taxonomies only to inheriting filters
NoMethodError: undefined method `organizations' for #<Filter:0x000055fde4df6e38>
test/models/role_test.rb:386:in `block (3 levels) in <class:RoleTest>'
|
test:units - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/models/role_test.rb#L450
Failure: test_0006_does not touch filters that do not support taxonomies even if they override
NoMethodError: undefined method `organizations' for #<Filter:0x000055fde58080e8>
test/models/role_test.rb:425:in `block (3 levels) in <class:RoleTest>'
|
test:units - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/models/role_test.rb#L450
Failure: test_0001_automatically propagates taxonomies to filters after save
NoMethodError: undefined method `organizations' for #<Filter:0x000055fde7af42a0>
test/models/role_test.rb:378:in `block (3 levels) in <class:RoleTest>'
|
test:units - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/models/role_test.rb#L450
Failure: test_0005_does not touch filters that do not support taxonomies
NoMethodError: undefined method `organizations' for #<Filter:0x000055fddf150f08>
test/models/role_test.rb:416:in `block (3 levels) in <class:RoleTest>'
|
test:units - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/models/filter_test.rb#L450
Failure: test_0017_filter remains unlimited when no organization assigned
NoMethodError: undefined method `organization_ids=' for #<Filter:0x000055fdddd57da8>
test/models/filter_test.rb:179:in `block in <class:FilterTest>'
|
test:units - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/models/filter_test.rb#L450
Failure: test_0025_enforce_inherited_taxonomies builds the taxonomy search string
NoMethodError: undefined method `organizations' for #<Filter:0x000055fddf7d7778>
test/models/filter_test.rb:248:in `block in <class:FilterTest>'
|
test:units - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/models/filter_test.rb#L450
Failure: test_0018_filter remains set to unlimited when no taxonomy assigned and has empty search
NoMethodError: undefined method `organization_ids=' for #<Filter:0x000055fde1e86590>
test/models/filter_test.rb:186:in `block in <class:FilterTest>'
|
test:units - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/models/filter_test.rb#L450
Failure: test_0024_enforce_inherited_taxonomies respects override configuration
NoMethodError: undefined method `organizations' for #<Filter:0x000055fde38e4388>
test/models/filter_test.rb:237:in `block in <class:FilterTest>'
|
test:units - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/models/filter_test.rb#L450
Failure: test_0002_filter with organization set is always limited before validation
NoMethodError: undefined method `organization_ids=' for #<Filter:0x000055fddf22dc28>
test/models/filter_test.rb:117:in `block (2 levels) in <class:FilterTest>'
|
Test suite
Process completed with exit code 1.
|
assets:precompile RAILS_ENV=production DATABASE_URL=nulldb://nohost - Ruby 3.0 and Node 18 on PostgreSQL 13
No files were found with the provided path: webpack/assets/javascripts/all_react_app_exports.js. No artifacts will be uploaded.
|
assets:precompile RAILS_ENV=production DATABASE_URL=nulldb://nohost - Ruby 2.7 and Node 18 on PostgreSQL 13
No files were found with the provided path: webpack/assets/javascripts/all_react_app_exports.js. No artifacts will be uploaded.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Gemfile-ruby-2.7-node-18-pg-13-assetsprecompileRAILSENVproductionDATABASEURLnulldbnohost.lock
|
4.7 KB |
|
Gemfile-ruby-2.7-node-18-pg-13-dbseed.lock
|
4.7 KB |
|
Gemfile-ruby-2.7-node-18-pg-13-testexternal.lock
|
4.7 KB |
|
Gemfile-ruby-2.7-node-18-pg-13-testfunctionals.lock
|
4.7 KB |
|
Gemfile-ruby-2.7-node-18-pg-13-testgraphql.lock
|
4.7 KB |
|
Gemfile-ruby-2.7-node-18-pg-13-testunits.lock
|
4.7 KB |
|
Gemfile-ruby-2.7-node-18-pg-13-webpackcompiletestintegration.lock
|
4.7 KB |
|
Gemfile-ruby-27-node-18-pg-13-foreman-refspull10370merge-dbseed.lock
|
5.48 KB |
|
Gemfile-ruby-27-node-18-pg-13-foreman-refspull10370merge-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.lock
|
5.48 KB |
|
Gemfile-ruby-27-node-18-pg-13-foreman-refspull10370merge-testkatello.lock
|
5.48 KB |
|
Gemfile-ruby-3.0-node-18-pg-13-assetsprecompileRAILSENVproductionDATABASEURLnulldbnohost.lock
|
4.71 KB |
|
Gemfile-ruby-3.0-node-18-pg-13-dbseed.lock
|
4.71 KB |
|
Gemfile-ruby-3.0-node-18-pg-13-testexternal.lock
|
4.71 KB |
|
Gemfile-ruby-3.0-node-18-pg-13-testfunctionals.lock
|
4.71 KB |
|
Gemfile-ruby-3.0-node-18-pg-13-testgraphql.lock
|
4.71 KB |
|
Gemfile-ruby-3.0-node-18-pg-13-testunits.lock
|
4.71 KB |
|
Gemfile-ruby-3.0-node-18-pg-13-webpackcompiletestintegration.lock
|
4.71 KB |
|
Gemfile-ruby-30-node-18-pg-13-foreman-refspull10370merge-dbseed.lock
|
5.49 KB |
|
Gemfile-ruby-30-node-18-pg-13-foreman-refspull10370merge-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.lock
|
5.49 KB |
|
Gemfile-ruby-30-node-18-pg-13-foreman-refspull10370merge-testkatello.lock
|
5.49 KB |
|
all_react_app_exports-ruby-2.7-node-18-pg-13-webpackcompiletestintegration.js
|
8.09 KB |
|
all_react_app_exports-ruby-27-node-18-pg-13-foreman-refspull10370merge-testkatello.js
|
8.09 KB |
|
all_react_app_exports-ruby-3.0-node-18-pg-13-webpackcompiletestintegration.js
|
8.09 KB |
|
all_react_app_exports-ruby-30-node-18-pg-13-foreman-refspull10370merge-testkatello.js
|
8.09 KB |
|
package-lock-ruby-2.7-node-18-pg-13-assetsprecompileRAILSENVproductionDATABASEURLnulldbnohost.json
|
227 KB |
|
package-lock-ruby-2.7-node-18-pg-13-webpackcompiletestintegration.json
|
227 KB |
|
package-lock-ruby-27-node-18-pg-13-foreman-refspull10370merge-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.json
|
324 KB |
|
package-lock-ruby-27-node-18-pg-13-foreman-refspull10370merge-testkatello.json
|
324 KB |
|
package-lock-ruby-3.0-node-18-pg-13-assetsprecompileRAILSENVproductionDATABASEURLnulldbnohost.json
|
227 KB |
|
package-lock-ruby-3.0-node-18-pg-13-webpackcompiletestintegration.json
|
227 KB |
|
package-lock-ruby-30-node-18-pg-13-foreman-refspull10370merge-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.json
|
324 KB |
|
package-lock-ruby-30-node-18-pg-13-foreman-refspull10370merge-testkatello.json
|
324 KB |
|