Skip to content

Fixes #37848 - Support Rails 7.0 #1481

Fixes #37848 - Support Rails 7.0

Fixes #37848 - Support Rails 7.0 #1481

Triggered via pull request September 20, 2024 14:17
Status Failure
Total duration 9m 8s
Artifacts 29

ruby_tests.yml

on: pull_request
Rubocop  /  Rubocop
31s
Rubocop / Rubocop
Ruby  /  Setup matrix
3s
Ruby / Setup matrix
Matrix: Ruby / existing-database
Matrix: Ruby / test
Ruby  /  Test suite
2s
Ruby / Test suite
Fit to window
Zoom out
Zoom in

Annotations

9 errors
Ruby / test:foreman_ansible - Foreman refs/pull/10299/head with Ruby 3.0 and Node 14 on PostgreSQL 13: foreman_ansible/test/functional/hosts_controller_test.rb#L783
Failure: test_0003_delete a host with ansible roles ActiveRecord::StatementInvalid: PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block app/models/concerns/audit_extensions.rb:236:in `ensure_auditable_and_associated_name' app/controllers/hosts_controller.rb:130:in `destroy' app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone' app/models/concerns/foreman/thread_session.rb:32:in `clear_thread' app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller' foreman_ansible/test/functional/hosts_controller_test.rb:46:in `block (2 levels) in <class:HostsControllerExtensionsTest>'
Ruby / test:foreman_ansible - Foreman refs/pull/10299/head with Ruby 2.7 and Node 14 on PostgreSQL 13: foreman_ansible/test/functional/hosts_controller_test.rb#L783
Failure: test_0003_delete a host with ansible roles ActiveRecord::StatementInvalid: PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block app/models/concerns/audit_extensions.rb:236:in `ensure_auditable_and_associated_name' app/controllers/hosts_controller.rb:130:in `destroy' app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone' app/models/concerns/foreman/thread_session.rb:32:in `clear_thread' app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller' foreman_ansible/test/functional/hosts_controller_test.rb:46:in `block (2 levels) in <class:HostsControllerExtensionsTest>'
Ruby / test:foreman_ansible - Foreman refs/pull/10299/head with Ruby 3.0 and Node 18 on PostgreSQL 13: foreman_ansible/test/functional/hosts_controller_test.rb#L783
Failure: test_0003_delete a host with ansible roles ActiveRecord::StatementInvalid: PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block app/models/concerns/audit_extensions.rb:236:in `ensure_auditable_and_associated_name' app/controllers/hosts_controller.rb:130:in `destroy' app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone' app/models/concerns/foreman/thread_session.rb:32:in `clear_thread' app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller' foreman_ansible/test/functional/hosts_controller_test.rb:46:in `block (2 levels) in <class:HostsControllerExtensionsTest>'
Ruby / test:foreman_ansible - Foreman refs/pull/10299/head with Ruby 2.7 and Node 18 on PostgreSQL 13: foreman_ansible/test/functional/hosts_controller_test.rb#L783
Failure: test_0003_delete a host with ansible roles ActiveRecord::StatementInvalid: PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block app/models/concerns/audit_extensions.rb:236:in `ensure_auditable_and_associated_name' app/controllers/hosts_controller.rb:130:in `destroy' app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone' app/models/concerns/foreman/thread_session.rb:32:in `clear_thread' app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller' foreman_ansible/test/functional/hosts_controller_test.rb:46:in `block (2 levels) in <class:HostsControllerExtensionsTest>'
Ruby / Test suite
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
Gemfile-ruby-27-node-14-pg-13-foreman-refspull10299head-dbseed.lock
4.93 KB
Gemfile-ruby-27-node-14-pg-13-foreman-refspull10299head-pluginassetsprecompileforemanansibleRAILSENVproductionDATABASEURLnulldbnohost.lock
4.93 KB
Gemfile-ruby-27-node-14-pg-13-foreman-refspull10299head-testforemanansible.lock
4.93 KB
Gemfile-ruby-27-node-18-pg-13-foreman-refspull10299head-dbseed.lock
4.93 KB
Gemfile-ruby-27-node-18-pg-13-foreman-refspull10299head-pluginassetsprecompileforemanansibleRAILSENVproductionDATABASEURLnulldbnohost.lock
4.93 KB
Gemfile-ruby-27-node-18-pg-13-foreman-refspull10299head-testforemanansible.lock
4.93 KB
Gemfile-ruby-30-node-14-pg-13-foreman-refspull10299head-dbseed.lock
4.95 KB
Gemfile-ruby-30-node-14-pg-13-foreman-refspull10299head-pluginassetsprecompileforemanansibleRAILSENVproductionDATABASEURLnulldbnohost.lock
4.95 KB
Gemfile-ruby-30-node-14-pg-13-foreman-refspull10299head-testforemanansible.lock
4.95 KB
Gemfile-ruby-30-node-18-pg-13-foreman-refspull10299head-dbseed.lock
4.95 KB
Gemfile-ruby-30-node-18-pg-13-foreman-refspull10299head-pluginassetsprecompileforemanansibleRAILSENVproductionDATABASEURLnulldbnohost.lock
4.95 KB
Gemfile-ruby-30-node-18-pg-13-foreman-refspull10299head-testforemanansible.lock
4.95 KB
Gemfile-theforeman-actions-rubocop-ruby-2.7.lock
1.66 KB
all_react_app_exports-ruby-27-node-14-pg-13-foreman-refspull10299head-testforemanansible.js
7.97 KB
all_react_app_exports-ruby-27-node-18-pg-13-foreman-refspull10299head-testforemanansible.js
7.97 KB
all_react_app_exports-ruby-30-node-14-pg-13-foreman-refspull10299head-testforemanansible.js
7.97 KB
all_react_app_exports-ruby-30-node-18-pg-13-foreman-refspull10299head-testforemanansible.js
7.97 KB
logs-ruby-27-node-14-pg-13-foreman-refspull10299head-testforemanansible Expired
59.9 KB
logs-ruby-27-node-18-pg-13-foreman-refspull10299head-testforemanansible Expired
59.7 KB
logs-ruby-30-node-14-pg-13-foreman-refspull10299head-testforemanansible Expired
60.3 KB
logs-ruby-30-node-18-pg-13-foreman-refspull10299head-testforemanansible Expired
43.1 KB
package-lock-ruby-27-node-14-pg-13-foreman-refspull10299head-pluginassetsprecompileforemanansibleRAILSENVproductionDATABASEURLnulldbnohost.json
393 KB
package-lock-ruby-27-node-14-pg-13-foreman-refspull10299head-testforemanansible.json
393 KB
package-lock-ruby-27-node-18-pg-13-foreman-refspull10299head-pluginassetsprecompileforemanansibleRAILSENVproductionDATABASEURLnulldbnohost.json
413 KB
package-lock-ruby-27-node-18-pg-13-foreman-refspull10299head-testforemanansible.json
413 KB
package-lock-ruby-30-node-14-pg-13-foreman-refspull10299head-pluginassetsprecompileforemanansibleRAILSENVproductionDATABASEURLnulldbnohost.json
393 KB
package-lock-ruby-30-node-14-pg-13-foreman-refspull10299head-testforemanansible.json
393 KB
package-lock-ruby-30-node-18-pg-13-foreman-refspull10299head-pluginassetsprecompileforemanansibleRAILSENVproductionDATABASEURLnulldbnohost.json
413 KB
package-lock-ruby-30-node-18-pg-13-foreman-refspull10299head-testforemanansible.json
413 KB