Skip to content

Fixes #37936 - Invalidate jwt for any user or users(API) #2315

Fixes #37936 - Invalidate jwt for any user or users(API)

Fixes #37936 - Invalidate jwt for any user or users(API) #2315

Triggered via pull request December 26, 2024 07:06
Status Failure
Total duration 44m 21s
Artifacts 65

foreman.yml

on: pull_request
Setup matrix
5s
Setup matrix
Katello  /  Setup matrix
4s
Katello / Setup matrix
Matrix: tests
Matrix: Katello / existing-database
Matrix: Katello / test
Katello  /  Test suite
2s
Katello / Test suite
Test suite
1s
Test suite
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 17 warnings
test:units - Ruby 2.7 and Node 14 on PostgreSQL 13: test/unit/sso/openid_connect_test.rb#L57
Failure: test_0007_returns false when api request contain nil JWT token NameError: undefined local variable or method `logger' for #<struct OidcJwt token="***"> app/services/jwt_token.rb:57:in `decoded_payload' app/services/sso/openid_connect.rb:65:in `valid_issuer?' app/services/sso/openid_connect.rb:11:in `available?' test/unit/sso/openid_connect_test.rb:77:in `block (2 levels) in <class:OpenidConnectTest>'
test:units - Ruby 2.7 and Node 14 on PostgreSQL 13
Process completed with exit code 1.
test:units - Ruby 2.7 and Node 18 on PostgreSQL 13: test/unit/sso/openid_connect_test.rb#L57
Failure: test_0007_returns false when api request contain nil JWT token NameError: undefined local variable or method `logger' for #<struct OidcJwt token="***"> app/services/jwt_token.rb:57:in `decoded_payload' app/services/sso/openid_connect.rb:65:in `valid_issuer?' app/services/sso/openid_connect.rb:11:in `available?' test/unit/sso/openid_connect_test.rb:77:in `block (2 levels) in <class:OpenidConnectTest>'
test:units - Ruby 2.7 and Node 18 on PostgreSQL 13
Process completed with exit code 1.
test:units - Ruby 3.0 and Node 14 on PostgreSQL 13: test/unit/sso/openid_connect_test.rb#L57
Failure: test_0007_returns false when api request contain nil JWT token NameError: undefined local variable or method `logger' for #<struct OidcJwt token="***"> app/services/jwt_token.rb:57:in `decoded_payload' app/services/sso/openid_connect.rb:65:in `valid_issuer?' app/services/sso/openid_connect.rb:11:in `available?' test/unit/sso/openid_connect_test.rb:77:in `block (2 levels) in <class:OpenidConnectTest>'
test:units - Ruby 3.0 and Node 14 on PostgreSQL 13
Process completed with exit code 1.
test:units - Ruby 3.0 and Node 18 on PostgreSQL 13: test/unit/sso/openid_connect_test.rb#L57
Failure: test_0007_returns false when api request contain nil JWT token NameError: undefined local variable or method `logger' for #<struct OidcJwt token="***"> app/services/jwt_token.rb:57:in `decoded_payload' app/services/sso/openid_connect.rb:65:in `valid_issuer?' app/services/sso/openid_connect.rb:11:in `available?' test/unit/sso/openid_connect_test.rb:77:in `block (2 levels) in <class:OpenidConnectTest>'
test:units - Ruby 3.0 and Node 18 on PostgreSQL 13
Process completed with exit code 1.
Katello / test:katello - Foreman refs/pull/10397/merge with Ruby 2.7 and Node 18 on PostgreSQL 13: katello/test/lib/util/module_stream_clause_generator_test.rb#L475
Failure: test_module_streams ActiveRecord::RecordNotFound: Couldn't find Katello::ModuleStream with 'id'=113629430 katello/test/lib/util/module_stream_clause_generator_test.rb:14:in `setup'
Katello / test:katello - Foreman refs/pull/10397/merge with Ruby 2.7 and Node 18 on PostgreSQL 13: katello/test/lib/util/errata_test.rb#L475
Failure: test_filter_by_pulp_id_returns_nothing_with_empty_list_of_pulp_ids ActiveRecord::RecordNotFound: Couldn't find Katello::Rpm with 'id'=528479827 katello/test/lib/util/errata_test.rb:41:in `setup' katello/test/support/vcr.rb:24:in `block in run' katello/test/support/vcr.rb:23:in `run'
Katello / test:katello - Foreman refs/pull/10397/merge with Ruby 2.7 and Node 18 on PostgreSQL 13: katello/test/lib/util/errata_test.rb#L475
Failure: test_filter_by_pulp_href_excludes_errata_with_missing_module_streams ActiveRecord::RecordNotFound: Couldn't find Katello::Rpm with 'id'=528479827 katello/test/lib/util/errata_test.rb:41:in `setup' katello/test/support/vcr.rb:24:in `block in run' katello/test/support/vcr.rb:23:in `run'
Katello / test:katello - Foreman refs/pull/10397/merge with Ruby 2.7 and Node 18 on PostgreSQL 13: katello/test/lib/util/errata_test.rb#L475
Failure: test_filter_by_pulp_href_includes_errata_with_proper_module_streams ActiveRecord::RecordNotFound: Couldn't find Katello::Rpm with 'id'=528479827 katello/test/lib/util/errata_test.rb:41:in `setup' katello/test/support/vcr.rb:24:in `block in run' katello/test/support/vcr.rb:23:in `run'
Katello / test:katello - Foreman refs/pull/10397/merge with Ruby 2.7 and Node 18 on PostgreSQL 13: katello/test/lib/util/errata_test.rb#L475
Failure: test_filter_by_pulp_id_includes_errata_with_missing_packages_not_in_source_repo ActiveRecord::RecordNotFound: Couldn't find Katello::Rpm with 'id'=528479827 katello/test/lib/util/errata_test.rb:41:in `setup' katello/test/support/vcr.rb:24:in `block in run' katello/test/support/vcr.rb:23:in `run'
Katello / test:katello - Foreman refs/pull/10397/merge with Ruby 2.7 and Node 18 on PostgreSQL 13: katello/test/lib/util/errata_test.rb#L475
Failure: test_filter_by_pulp_id_returns_proper_errata_if_no_matching_packages ActiveRecord::RecordNotFound: Couldn't find Katello::Rpm with 'id'=528479827 katello/test/lib/util/errata_test.rb:41:in `setup' katello/test/support/vcr.rb:24:in `block in run' katello/test/support/vcr.rb:23:in `run'
Katello / test:katello - Foreman refs/pull/10397/merge with Ruby 2.7 and Node 18 on PostgreSQL 13: katello/test/lib/util/errata_test.rb#L475
Failure: test_filter_by_pulp_id_identifies_errata_with_all_matching_packages ActiveRecord::RecordNotFound: Couldn't find Katello::Rpm with 'id'=528479827 katello/test/lib/util/errata_test.rb:41:in `setup' katello/test/support/vcr.rb:24:in `block in run' katello/test/support/vcr.rb:23:in `run'
Katello / test:katello - Foreman refs/pull/10397/merge with Ruby 2.7 and Node 18 on PostgreSQL 13: katello/test/lib/util/errata_test.rb#L475
Failure: test_filter_by_pulp_id_returns_nothing_with_empty_list_of_errata ActiveRecord::RecordNotFound: Couldn't find Katello::Rpm with 'id'=528479827 katello/test/lib/util/errata_test.rb:41:in `setup' katello/test/support/vcr.rb:24:in `block in run' katello/test/support/vcr.rb:23:in `run'
Katello / test:katello - Foreman refs/pull/10397/merge with Ruby 2.7 and Node 18 on PostgreSQL 13: katello/test/lib/util/errata_test.rb#L475
Failure: test_filter_by_pulp_id_returns_proper_errata_with_some_matching_packages ActiveRecord::RecordNotFound: Couldn't find Katello::Rpm with 'id'=528479827 katello/test/lib/util/errata_test.rb:41:in `setup' katello/test/support/vcr.rb:24:in `block in run' katello/test/support/vcr.rb:23:in `run'
Katello / test:katello - Foreman refs/pull/10397/merge with Ruby 2.7 and Node 18 on PostgreSQL 13: katello/test/services/katello/applicability/applicable_content_helper_test.rb#L475
Failure: test_rpm_content_ids_returns_multiple_packages ActiveRecord::RecordNotFound: Couldn't find Katello::Rpm with 'id'=737645823 katello/test/services/katello/applicability/applicable_content_helper_test.rb:133:in `test_rpm_content_ids_returns_multiple_packages'
Katello / Test suite
Process completed with exit code 1.
Test suite
Process completed with exit code 1.
Katello / Setup matrix
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
assets:precompile RAILS_ENV=production DATABASE_URL=nulldb://nohost - Ruby 3.0 and Node 14 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 14 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 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-14-pg-13-assetsprecompileRAILSENVproductionDATABASEURLnulldbnohost.lock
4.72 KB
Gemfile-ruby-2.7-node-14-pg-13-dbseed.lock
4.72 KB
Gemfile-ruby-2.7-node-14-pg-13-testexternal.lock
4.72 KB
Gemfile-ruby-2.7-node-14-pg-13-testfunctionals.lock
4.72 KB
Gemfile-ruby-2.7-node-14-pg-13-testgraphql.lock
4.72 KB
Gemfile-ruby-2.7-node-14-pg-13-testunits.lock
4.72 KB
Gemfile-ruby-2.7-node-14-pg-13-webpackcompiletestintegration.lock
4.72 KB
Gemfile-ruby-2.7-node-18-pg-13-assetsprecompileRAILSENVproductionDATABASEURLnulldbnohost.lock
4.72 KB
Gemfile-ruby-2.7-node-18-pg-13-dbseed.lock
4.72 KB
Gemfile-ruby-2.7-node-18-pg-13-testexternal.lock
4.72 KB
Gemfile-ruby-2.7-node-18-pg-13-testfunctionals.lock
4.72 KB
Gemfile-ruby-2.7-node-18-pg-13-testgraphql.lock
4.72 KB
Gemfile-ruby-2.7-node-18-pg-13-testunits.lock
4.72 KB
Gemfile-ruby-2.7-node-18-pg-13-webpackcompiletestintegration.lock
4.72 KB
Gemfile-ruby-27-node-14-pg-13-foreman-refspull10397merge-dbseed.lock
5.48 KB
Gemfile-ruby-27-node-14-pg-13-foreman-refspull10397merge-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.lock
5.48 KB
Gemfile-ruby-27-node-14-pg-13-foreman-refspull10397merge-testkatello.lock
5.48 KB
Gemfile-ruby-27-node-18-pg-13-foreman-refspull10397merge-dbseed.lock
5.48 KB
Gemfile-ruby-27-node-18-pg-13-foreman-refspull10397merge-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.lock
5.48 KB
Gemfile-ruby-27-node-18-pg-13-foreman-refspull10397merge-testkatello.lock
5.48 KB
Gemfile-ruby-3.0-node-14-pg-13-assetsprecompileRAILSENVproductionDATABASEURLnulldbnohost.lock
4.73 KB
Gemfile-ruby-3.0-node-14-pg-13-dbseed.lock
4.73 KB
Gemfile-ruby-3.0-node-14-pg-13-testexternal.lock
4.73 KB
Gemfile-ruby-3.0-node-14-pg-13-testfunctionals.lock
4.73 KB
Gemfile-ruby-3.0-node-14-pg-13-testgraphql.lock
4.73 KB
Gemfile-ruby-3.0-node-14-pg-13-testunits.lock
4.73 KB
Gemfile-ruby-3.0-node-14-pg-13-webpackcompiletestintegration.lock
4.73 KB
Gemfile-ruby-3.0-node-18-pg-13-assetsprecompileRAILSENVproductionDATABASEURLnulldbnohost.lock
4.73 KB
Gemfile-ruby-3.0-node-18-pg-13-dbseed.lock
4.73 KB
Gemfile-ruby-3.0-node-18-pg-13-testexternal.lock
4.73 KB
Gemfile-ruby-3.0-node-18-pg-13-testfunctionals.lock
4.73 KB
Gemfile-ruby-3.0-node-18-pg-13-testgraphql.lock
4.73 KB
Gemfile-ruby-3.0-node-18-pg-13-testunits.lock
4.73 KB
Gemfile-ruby-3.0-node-18-pg-13-webpackcompiletestintegration.lock
4.73 KB
Gemfile-ruby-30-node-14-pg-13-foreman-refspull10397merge-dbseed.lock
5.5 KB
Gemfile-ruby-30-node-14-pg-13-foreman-refspull10397merge-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.lock
5.5 KB
Gemfile-ruby-30-node-14-pg-13-foreman-refspull10397merge-testkatello.lock
5.5 KB
Gemfile-ruby-30-node-18-pg-13-foreman-refspull10397merge-dbseed.lock
5.5 KB
Gemfile-ruby-30-node-18-pg-13-foreman-refspull10397merge-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.lock
5.5 KB
Gemfile-ruby-30-node-18-pg-13-foreman-refspull10397merge-testkatello.lock
5.5 KB
all_react_app_exports-ruby-2.7-node-14-pg-13-webpackcompiletestintegration.js
8.08 KB
all_react_app_exports-ruby-2.7-node-18-pg-13-webpackcompiletestintegration.js
8.08 KB
all_react_app_exports-ruby-27-node-14-pg-13-foreman-refspull10397merge-testkatello.js
8.08 KB
all_react_app_exports-ruby-27-node-18-pg-13-foreman-refspull10397merge-testkatello.js
8.08 KB
all_react_app_exports-ruby-3.0-node-14-pg-13-webpackcompiletestintegration.js
8.08 KB
all_react_app_exports-ruby-3.0-node-18-pg-13-webpackcompiletestintegration.js
8.08 KB
all_react_app_exports-ruby-30-node-14-pg-13-foreman-refspull10397merge-testkatello.js
8.08 KB
all_react_app_exports-ruby-30-node-18-pg-13-foreman-refspull10397merge-testkatello.js
8.08 KB
logs-ruby-27-node-18-pg-13-foreman-refspull10397merge-testkatello Expired
4.03 MB
package-lock-ruby-2.7-node-14-pg-13-assetsprecompileRAILSENVproductionDATABASEURLnulldbnohost.json
209 KB
package-lock-ruby-2.7-node-14-pg-13-webpackcompiletestintegration.json
209 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-14-pg-13-foreman-refspull10397merge-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.json
305 KB
package-lock-ruby-27-node-14-pg-13-foreman-refspull10397merge-testkatello.json
305 KB
package-lock-ruby-27-node-18-pg-13-foreman-refspull10397merge-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.json
323 KB
package-lock-ruby-27-node-18-pg-13-foreman-refspull10397merge-testkatello.json
323 KB
package-lock-ruby-3.0-node-14-pg-13-assetsprecompileRAILSENVproductionDATABASEURLnulldbnohost.json
209 KB
package-lock-ruby-3.0-node-14-pg-13-webpackcompiletestintegration.json
209 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-14-pg-13-foreman-refspull10397merge-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.json
305 KB
package-lock-ruby-30-node-14-pg-13-foreman-refspull10397merge-testkatello.json
305 KB
package-lock-ruby-30-node-18-pg-13-foreman-refspull10397merge-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.json
323 KB
package-lock-ruby-30-node-18-pg-13-foreman-refspull10397merge-testkatello.json
323 KB