Skip to content

Put back webpacked_plugins_js_for, this is required for webpack #52

Put back webpacked_plugins_js_for, this is required for webpack

Put back webpacked_plugins_js_for, this is required for webpack #52

Triggered via pull request February 16, 2024 09:49
Status Cancelled
Total duration 9m 33s
Artifacts 12

ruby.yml

on: pull_request
rubocop  /  Rubocop
32s
rubocop / Rubocop
Ruby  /  Setup matrix
5s
Ruby / Setup matrix
Matrix: Ruby / existing-database
Matrix: Ruby / test
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruby / test:foreman_discovery - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 12: foreman_discovery/test/functional/discovered_hosts_controller_test.rb#L5
Failure: test_add_entry_to_nav_menu ActionView::Template::Error: DEPRECATION WARNING: You are using a deprecated behavior, it will be removed in version 3.12, `webpacked_plugins_css_for` is deprecated, plugin css is already loaded. (called from block in _foreman_discovery_app_views_discovered_hosts_welcome_html_erb__821886184167251154_276700 at /home/runner/work/foreman_discovery/foreman_discovery/foreman_discovery/app/views/discovered_hosts/welcome.html.erb:5) foreman_discovery/app/views/discovered_hosts/welcome.html.erb:5 foreman_discovery/app/views/discovered_hosts/welcome.html.erb:4 app/controllers/application_controller.rb:34:in `welcome' 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_discovery/test/functional/discovered_hosts_controller_test.rb:172:in `test_add_entry_to_nav_menu'
Ruby / test:foreman_discovery - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 12: foreman_discovery/test/functional/discovered_hosts_controller_test.rb#L5
Failure: test_index ActionView::Template::Error: DEPRECATION WARNING: You are using a deprecated behavior, it will be removed in version 3.12, `webpacked_plugins_css_for` is deprecated, plugin css is already loaded. (called from block in _foreman_discovery_app_views_discovered_hosts_welcome_html_erb__821886184167251154_276700 at /home/runner/work/foreman_discovery/foreman_discovery/foreman_discovery/app/views/discovered_hosts/welcome.html.erb:5) foreman_discovery/app/views/discovered_hosts/welcome.html.erb:5 foreman_discovery/app/views/discovered_hosts/welcome.html.erb:4 app/controllers/application_controller.rb:34:in `welcome' 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_discovery/test/functional/discovered_hosts_controller_test.rb:26:in `test_index'
Ruby / test:foreman_discovery - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 12: foreman_discovery/test/integration/discovered_hosts_test.rb#L34
Failure: test_0001_it removes all hosts Selenium::WebDriver::Error::JavascriptError: javascript error: jQuery is not defined (Session info: chrome-headless-shell=121.0.6167.160) test/integration_test_helper.rb:124:in `block in wait_for_ajax' test/integration_test_helper.rb:117:in `block in wait_for' test/integration_test_helper.rb:116:in `wait_for' test/integration_test_helper.rb:123:in `wait_for_ajax' foreman_discovery/test/integration/discovered_hosts_test.rb:103:in `block (2 levels) in <class:DiscoveredHostsTest>'
Ruby / test:foreman_discovery - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 12: foreman_discovery/test/functional/discovery_rules_controller_test.rb#L5
Failure: test_0001_reader role should get index ActionView::Template::Error: DEPRECATION WARNING: You are using a deprecated behavior, it will be removed in version 3.12, `webpacked_plugins_css_for` is deprecated, plugin css is already loaded. (called from block in _foreman_discovery_app_views_discovery_rules_welcome_html_erb__2271013676169438868_734220 at /home/runner/work/foreman_discovery/foreman_discovery/foreman_discovery/app/views/discovery_rules/welcome.html.erb:5) foreman_discovery/app/views/discovery_rules/welcome.html.erb:5 foreman_discovery/app/views/discovery_rules/welcome.html.erb:4 app/controllers/application_controller.rb:34:in `welcome' 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_discovery/test/functional/discovery_rules_controller_test.rb:7:in `block in <class:DiscoveryRulesControllerTest>'
Ruby / test:foreman_discovery - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 12
Canceling since a higher priority waiting request for 'fix-webpack' exists
Ruby / test:foreman_discovery - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 12: foreman_discovery/test/integration/discovered_hosts_test.rb#L34
Failure: test_0001_it removes all hosts Selenium::WebDriver::Error::JavascriptError: javascript error: jQuery is not defined (Session info: chrome-headless-shell=121.0.6167.160) test/integration_test_helper.rb:124:in `block in wait_for_ajax' test/integration_test_helper.rb:117:in `block in wait_for' test/integration_test_helper.rb:116:in `wait_for' test/integration_test_helper.rb:123:in `wait_for_ajax' foreman_discovery/test/integration/discovered_hosts_test.rb:103:in `block (2 levels) in <class:DiscoveredHostsTest>'
Ruby / test:foreman_discovery - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 12: foreman_discovery/test/unit/ui_notifications/new_host_test.rb#L22
Failure: test_0002_multiple discovered hosts should generate multiple notifications NoMethodError: undefined method `expired_at' for nil:NilClass foreman_discovery/test/unit/ui_notifications/new_host_test.rb:22:in `block in <class:NewHostNotificationTest>'
Ruby / test:foreman_discovery - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 12: foreman_discovery/test/unit/ui_notifications/new_host_test.rb#L14
Failure: test_0001_new discovered host should generate a notification "blueprint.notifications.count" didn't change by 1. Expected: 1 Actual: 0

Artifacts

Produced during runtime
Name Size
Gemfile-ruby-2.7-node-14-pg-12-develop-dbseed.lock Expired
4.71 KB
Gemfile-ruby-2.7-node-14-pg-12-develop-pluginassetsprecompileforemandiscoveryRAILSENVproductionDATABASEURLnulldbnohost.lock Expired
4.71 KB
Gemfile-ruby-2.7-node-14-pg-12-develop-testforemandiscovery.lock Expired
4.71 KB
Gemfile-ruby-3.0-node-14-pg-12-develop-dbseed.lock Expired
4.73 KB
Gemfile-ruby-3.0-node-14-pg-12-develop-pluginassetsprecompileforemandiscoveryRAILSENVproductionDATABASEURLnulldbnohost.lock Expired
4.73 KB
Gemfile-ruby-3.0-node-14-pg-12-develop-testforemandiscovery.lock Expired
4.73 KB
Gemfile-theforeman-actions-rubocop-ruby-2.7.lock Expired
885 Bytes
logs-ruby-3.0-node-14-pg-12-develop-testforemandiscovery Expired
162 KB
package-lock-ruby-2.7-node-14-pg-12-develop-pluginassetsprecompileforemandiscoveryRAILSENVproductionDATABASEURLnulldbnohost.json Expired
408 KB
package-lock-ruby-2.7-node-14-pg-12-develop-testforemandiscovery.json Expired
408 KB
package-lock-ruby-3.0-node-14-pg-12-develop-pluginassetsprecompileforemandiscoveryRAILSENVproductionDATABASEURLnulldbnohost.json Expired
408 KB
package-lock-ruby-3.0-node-14-pg-12-develop-testforemandiscovery.json Expired
408 KB