Skip to content

Fix rubocop offenses #61

Fix rubocop offenses

Fix rubocop offenses #61

Triggered via pull request February 27, 2024 12:23
Status Failure
Total duration 10m 32s
Artifacts 13

ruby.yml

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

Annotations

4 errors
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#L9
Failure: test_0001_should add a link to navigation Expected "\n<!DOCTYPE html>\n<html lang=\"en\" data-timezone=\"Etc/UTC\" class=\"\">\n <head>\n <meta charset=\"utf-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\">\n <title>Discovered Rules</title>\n <meta name=\"description\" content=\"\">\n <meta name=\"viewport\" content=\"user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0\"/>\n \n\n <link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/assets/favicon-e6156c32e9030779e56a04e9a6e3864cd33d1f5f7e0a0316f6a1bd7b17f5530d.ico\" />\n\n <link rel=\"stylesheet\" media=\"screen\" href=\"/webpack/foreman-vendor.bundle-v12.2.3-development-e72e5d14c014c9ae33f4.css\" />\n <link rel=\"stylesheet\" media=\"screen\" href=\"/assets/application-6eccfed1ebb0fffe6f9c4bfb335bd6a69f46ee2bf1e26029ccbfb142baede317.css\" />\n \n\n \n\n <script type=\"text/javascript\">\n var URL_PREFIX = '';\n\n var AUTH_TOKEN = null\n\n </script>\n <script src=\"/assets/locale/en/app-b65ce01be2eb0ba62d3278c387fc42ed1158747f6f8be81d1827f3feb0883d4b.js\"></script>\n <script src=\"/assets/foreman_discovery/locale/en/foreman_discovery-78c26276fca1794a099aebbcfaf15b02765279cde2f2119795ba5c7a246570e2.js\"></script>\n \n \n </head>\n\n <body class='pf-m-redhat-font foreman-theme'>\n <script src=\"/webpack/foreman-vendor.bundle-v12.2.3-development-e72e5d14c014c9ae33f4.js\"></script>\n <script src=\"/webpack/vendor.js\"></script>\n <script src=\"/webpack/bundle.js\"></script>\n\n <script src=\"/assets/application-a7cec6964350bcddb4dc9147944acd6e37434c1dace310832b62e4f739d5d804.js\"></script>\n \n <script src=\"/assets/late_load-504e885677cd1b72693963ade80312b664249865baeb98640e1878ab8b558921.js\"></script>\n <script type=\"text/javascript\">\n const html = \" <script>\\n//<![CDATA[\\nwindow.tfm.tools.loadPluginModule(\\'/webpack/foreman_discovery\\',\\'foreman_discovery\\',\\'./index\\');\\n//]]>\\n<\\/script>\\n\"\n load_dynamic_javascripts(html);\n </script>\n <script type=\"text/javascript\">\n \n </script>\n\n <!--[if lte IE 9]>\n You are using an unsupported browser.\n See list of supported browsers: http://test.host/links/manual/3.1.4BrowserCompatibility\n <![endif]-->\n <foreman-react-component name=\"ReactApp\" data-props=\"{&quot;layout&quot;:{&quot;menu&quot;:[{&quot;type&quot;:&quot;sub_menu&quot;,&quot;name&quot;:&quot;Monitor&quot;,&quot;icon&quot;:&quot;fa fa-tachometer&quot;,&quot;children&quot;:[{&quot;type&quot;:&quot;item&quot;,&quot;exact&quot;:true,&quot;html_options&quot;:{},&quot;name&quot;:&quot;Dashboard&quot;,&quot;url&quot;:&quot;/&quot;},{&quot;type&quot;:&quot;item&quot;,&quot;exact&quot;:false,&quot;html_options&quot;:{},&quot;name&quot;:&quot;Host Statuses&quot;,&quot;url&quot;:&quot;/host_statuses&quot;},{&quot;type&quot;:&quot;item&quot;,&quot;exact&quot;:false,&quot;html_options&quot;:{},&quot;name&quot;:&quot;Facts&quot;,&quot;url&quot;:&quot;/fact_values&quot;},{&quot;type&quot;:&quot;item&quot;,&quot;exact&quot;:false,&quot;html_options&quot;:{},&quot;name&quot;:&quot;Audits&quot;,&quot;url&quot;:&quot;/audits&quot;},{&quot;type&quot;:&quot;divider&quot;,&quot;name&quot;:&quot;Reports&quot;},{&quot;type&quot;:&quot;item&quot;,&quot;exact&quot;:false,&quot;html_options&quot;:{},&quot;name&quot;:&quot;Config Management&quot;,&quot;url&quot;:&quot;/config_reports?search=eventful+%3D+true&quot;},{&quot;type&quot;:&quot;item&quot;,&quot;exact&quot;:false,&quot;html_options&quot;:{},&quot;name&quot;:&quot;Report Templates&quot;,&quot;url&quot;:&quot;/templates/report_templates&quot;}]},{&quot;type&quot;:&quot;sub_menu&quot;,&quot;name&quot;:&quot;Hosts&quot;,&quot;icon&quot;:&quot;fa fa-server&quot;,&quot;children&quot;:[{&quot;type&quot;:&quot;item&quot;,&quot;exact&quot;:false,&quot;html_options&quot;:{},&quot;name&quot;:&quot;All Hosts&quot;,&quot;url&quot;:&quot;/hosts&quot;},{&quot;type&quot;:&quot;item&quot;,&quot;exact&quot;:false,&quot;html_opti
Ruby / test:foreman_discovery - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 12: foreman_discovery/test/functional/discovery_rules_controller_test.rb#L9
Failure: test_0001_should add a link to navigation Expected "\n<!DOCTYPE html>\n<html lang=\"en\" data-timezone=\"Etc/UTC\" class=\"\">\n <head>\n <meta charset=\"utf-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\">\n <title>Discovered Rules</title>\n <meta name=\"description\" content=\"\">\n <meta name=\"viewport\" content=\"user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0\"/>\n \n\n <link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/assets/favicon-e6156c32e9030779e56a04e9a6e3864cd33d1f5f7e0a0316f6a1bd7b17f5530d.ico\" />\n\n <link rel=\"stylesheet\" media=\"screen\" href=\"/webpack/foreman-vendor.bundle-v12.2.3-development-e72e5d14c014c9ae33f4.css\" />\n <link rel=\"stylesheet\" media=\"screen\" href=\"/assets/application-6eccfed1ebb0fffe6f9c4bfb335bd6a69f46ee2bf1e26029ccbfb142baede317.css\" />\n \n\n \n\n <script type=\"text/javascript\">\n var URL_PREFIX = '';\n\n var AUTH_TOKEN = null\n\n </script>\n <script src=\"/assets/locale/en/app-b65ce01be2eb0ba62d3278c387fc42ed1158747f6f8be81d1827f3feb0883d4b.js\"></script>\n <script src=\"/assets/foreman_discovery/locale/en/foreman_discovery-78c26276fca1794a099aebbcfaf15b02765279cde2f2119795ba5c7a246570e2.js\"></script>\n \n \n </head>\n\n <body class='pf-m-redhat-font foreman-theme'>\n <script src=\"/webpack/foreman-vendor.bundle-v12.2.3-development-e72e5d14c014c9ae33f4.js\"></script>\n <script src=\"/webpack/vendor.js\"></script>\n <script src=\"/webpack/bundle.js\"></script>\n\n <script src=\"/assets/application-a7cec6964350bcddb4dc9147944acd6e37434c1dace310832b62e4f739d5d804.js\"></script>\n \n <script src=\"/assets/late_load-504e885677cd1b72693963ade80312b664249865baeb98640e1878ab8b558921.js\"></script>\n <script type=\"text/javascript\">\n const html = \" <script>\\n//<![CDATA[\\nwindow.tfm.tools.loadPluginModule(\\'/webpack/foreman_discovery\\',\\'foreman_discovery\\',\\'./index\\');\\n//]]>\\n<\\/script>\\n\"\n load_dynamic_javascripts(html);\n </script>\n <script type=\"text/javascript\">\n \n </script>\n\n <!--[if lte IE 9]>\n You are using an unsupported browser.\n See list of supported browsers: http://test.host/links/manual/3.1.4BrowserCompatibility\n <![endif]-->\n <foreman-react-component name=\"ReactApp\" data-props=\"{&quot;layout&quot;:{&quot;menu&quot;:[{&quot;type&quot;:&quot;sub_menu&quot;,&quot;name&quot;:&quot;Monitor&quot;,&quot;icon&quot;:&quot;fa fa-tachometer&quot;,&quot;children&quot;:[{&quot;type&quot;:&quot;item&quot;,&quot;exact&quot;:true,&quot;html_options&quot;:{},&quot;name&quot;:&quot;Dashboard&quot;,&quot;url&quot;:&quot;/&quot;},{&quot;type&quot;:&quot;item&quot;,&quot;exact&quot;:false,&quot;html_options&quot;:{},&quot;name&quot;:&quot;Host Statuses&quot;,&quot;url&quot;:&quot;/host_statuses&quot;},{&quot;type&quot;:&quot;item&quot;,&quot;exact&quot;:false,&quot;html_options&quot;:{},&quot;name&quot;:&quot;Facts&quot;,&quot;url&quot;:&quot;/fact_values&quot;},{&quot;type&quot;:&quot;item&quot;,&quot;exact&quot;:false,&quot;html_options&quot;:{},&quot;name&quot;:&quot;Audits&quot;,&quot;url&quot;:&quot;/audits&quot;},{&quot;type&quot;:&quot;divider&quot;,&quot;name&quot;:&quot;Reports&quot;},{&quot;type&quot;:&quot;item&quot;,&quot;exact&quot;:false,&quot;html_options&quot;:{},&quot;name&quot;:&quot;Config Management&quot;,&quot;url&quot;:&quot;/config_reports?search=eventful+%3D+true&quot;},{&quot;type&quot;:&quot;item&quot;,&quot;exact&quot;:false,&quot;html_options&quot;:{},&quot;name&quot;:&quot;Report Templates&quot;,&quot;url&quot;:&quot;/templates/report_templates&quot;}]},{&quot;type&quot;:&quot;sub_menu&quot;,&quot;name&quot;:&quot;Hosts&quot;,&quot;icon&quot;:&quot;fa fa-server&quot;,&quot;children&quot;:[{&quot;type&quot;:&quot;item&quot;,&quot;exact&quot;:false,&quot;html_options&quot;:{},&quot;name&quot;:&quot;All Hosts&quot;,&quot;url&quot;:&quot;/hosts&quot;},{&quot;type&quot;:&quot;item&quot;,&quot;exact&quot;:false,&quot;html_opti

Artifacts

Produced during runtime
Name Size
Gemfile-ruby-2.7-node-14-pg-12-develop-dbseed.lock Expired
4.72 KB
Gemfile-ruby-2.7-node-14-pg-12-develop-pluginassetsprecompileforemandiscoveryRAILSENVproductionDATABASEURLnulldbnohost.lock Expired
4.72 KB
Gemfile-ruby-2.7-node-14-pg-12-develop-testforemandiscovery.lock Expired
4.72 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
887 Bytes
logs-ruby-2.7-node-14-pg-12-develop-testforemandiscovery Expired
155 KB
logs-ruby-3.0-node-14-pg-12-develop-testforemandiscovery Expired
157 KB
package-lock-ruby-2.7-node-14-pg-12-develop-pluginassetsprecompileforemandiscoveryRAILSENVproductionDATABASEURLnulldbnohost.json Expired
409 KB
package-lock-ruby-2.7-node-14-pg-12-develop-testforemandiscovery.json Expired
409 KB
package-lock-ruby-3.0-node-14-pg-12-develop-pluginassetsprecompileforemandiscoveryRAILSENVproductionDATABASEURLnulldbnohost.json Expired
409 KB
package-lock-ruby-3.0-node-14-pg-12-develop-testforemandiscovery.json Expired
409 KB