Fix rubocop offenses #66
ruby.yml
on: pull_request
Annotations
8 errors
Ruby / test:foreman_discovery - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13:
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=\"{"layout":{"menu":[{"type":"sub_menu","name":"Monitor","icon":"fa fa-tachometer","children":[{"type":"item","exact":true,"html_options":{},"name":"Dashboard","url":"/"},{"type":"item","exact":false,"html_options":{},"name":"Host Statuses","url":"/host_statuses"},{"type":"item","exact":false,"html_options":{},"name":"Facts","url":"/fact_values"},{"type":"item","exact":false,"html_options":{},"name":"Audits","url":"/audits"},{"type":"divider","name":"Reports"},{"type":"item","exact":false,"html_options":{},"name":"Config Management","url":"/config_reports?search=eventful+%3D+true"},{"type":"item","exact":false,"html_options":{},"name":"Report Templates","url":"/templates/report_templates"}]},{"type":"sub_menu","name":"Hosts","icon":"fa fa-server","children":[{"type":"item","exact":false,"html_options":{},"name":"All Hosts","url":"/hosts"},{"type":"item","exact":false,"html_opti
|
Ruby / test:foreman_discovery - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13
Process completed with exit code 1.
|
Ruby / test:foreman_discovery - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13:
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=\"{"layout":{"menu":[{"type":"sub_menu","name":"Monitor","icon":"fa fa-tachometer","children":[{"type":"item","exact":true,"html_options":{},"name":"Dashboard","url":"/"},{"type":"item","exact":false,"html_options":{},"name":"Host Statuses","url":"/host_statuses"},{"type":"item","exact":false,"html_options":{},"name":"Facts","url":"/fact_values"},{"type":"item","exact":false,"html_options":{},"name":"Audits","url":"/audits"},{"type":"divider","name":"Reports"},{"type":"item","exact":false,"html_options":{},"name":"Config Management","url":"/config_reports?search=eventful+%3D+true"},{"type":"item","exact":false,"html_options":{},"name":"Report Templates","url":"/templates/report_templates"}]},{"type":"sub_menu","name":"Hosts","icon":"fa fa-server","children":[{"type":"item","exact":false,"html_options":{},"name":"All Hosts","url":"/hosts"},{"type":"item","exact":false,"html_opti
|
Ruby / test:foreman_discovery - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13
Process completed with exit code 1.
|
Ruby / test:foreman_discovery - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13:
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=\"{"layout":{"menu":[{"type":"sub_menu","name":"Monitor","icon":"fa fa-tachometer","children":[{"type":"item","exact":true,"html_options":{},"name":"Dashboard","url":"/"},{"type":"item","exact":false,"html_options":{},"name":"Host Statuses","url":"/host_statuses"},{"type":"item","exact":false,"html_options":{},"name":"Facts","url":"/fact_values"},{"type":"item","exact":false,"html_options":{},"name":"Audits","url":"/audits"},{"type":"divider","name":"Reports"},{"type":"item","exact":false,"html_options":{},"name":"Config Management","url":"/config_reports?search=eventful+%3D+true"},{"type":"item","exact":false,"html_options":{},"name":"Report Templates","url":"/templates/report_templates"}]},{"type":"sub_menu","name":"Hosts","icon":"fa fa-server","children":[{"type":"item","exact":false,"html_options":{},"name":"All Hosts","url":"/hosts"},{"type":"item","exact":false,"html_opti
|
Ruby / test:foreman_discovery - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13
Process completed with exit code 1.
|
Ruby / test:foreman_discovery - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 13:
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=\"{"layout":{"menu":[{"type":"sub_menu","name":"Monitor","icon":"fa fa-tachometer","children":[{"type":"item","exact":true,"html_options":{},"name":"Dashboard","url":"/"},{"type":"item","exact":false,"html_options":{},"name":"Host Statuses","url":"/host_statuses"},{"type":"item","exact":false,"html_options":{},"name":"Facts","url":"/fact_values"},{"type":"item","exact":false,"html_options":{},"name":"Audits","url":"/audits"},{"type":"divider","name":"Reports"},{"type":"item","exact":false,"html_options":{},"name":"Config Management","url":"/config_reports?search=eventful+%3D+true"},{"type":"item","exact":false,"html_options":{},"name":"Report Templates","url":"/templates/report_templates"}]},{"type":"sub_menu","name":"Hosts","icon":"fa fa-server","children":[{"type":"item","exact":false,"html_options":{},"name":"All Hosts","url":"/hosts"},{"type":"item","exact":false,"html_opti
|
Ruby / test:foreman_discovery - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 13
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Gemfile-ruby-2.7-node-14-pg-13-develop-dbseed.lock
Expired
|
4.72 KB |
|
Gemfile-ruby-2.7-node-14-pg-13-develop-pluginassetsprecompileforemandiscoveryRAILSENVproductionDATABASEURLnulldbnohost.lock
Expired
|
4.72 KB |
|
Gemfile-ruby-2.7-node-14-pg-13-develop-testforemandiscovery.lock
Expired
|
4.72 KB |
|
Gemfile-ruby-2.7-node-18-pg-13-develop-dbseed.lock
Expired
|
4.72 KB |
|
Gemfile-ruby-2.7-node-18-pg-13-develop-pluginassetsprecompileforemandiscoveryRAILSENVproductionDATABASEURLnulldbnohost.lock
Expired
|
4.72 KB |
|
Gemfile-ruby-2.7-node-18-pg-13-develop-testforemandiscovery.lock
Expired
|
4.72 KB |
|
Gemfile-ruby-3.0-node-14-pg-13-develop-dbseed.lock
Expired
|
4.73 KB |
|
Gemfile-ruby-3.0-node-14-pg-13-develop-pluginassetsprecompileforemandiscoveryRAILSENVproductionDATABASEURLnulldbnohost.lock
Expired
|
4.73 KB |
|
Gemfile-ruby-3.0-node-14-pg-13-develop-testforemandiscovery.lock
Expired
|
4.73 KB |
|
Gemfile-ruby-3.0-node-18-pg-13-develop-dbseed.lock
Expired
|
4.73 KB |
|
Gemfile-ruby-3.0-node-18-pg-13-develop-pluginassetsprecompileforemandiscoveryRAILSENVproductionDATABASEURLnulldbnohost.lock
Expired
|
4.73 KB |
|
Gemfile-ruby-3.0-node-18-pg-13-develop-testforemandiscovery.lock
Expired
|
4.73 KB |
|
Gemfile-theforeman-actions-rubocop-ruby-2.7.lock
Expired
|
872 Bytes |
|
logs-ruby-2.7-node-14-pg-13-develop-testforemandiscovery
Expired
|
156 KB |
|
logs-ruby-2.7-node-18-pg-13-develop-testforemandiscovery
Expired
|
155 KB |
|
logs-ruby-3.0-node-14-pg-13-develop-testforemandiscovery
Expired
|
156 KB |
|
logs-ruby-3.0-node-18-pg-13-develop-testforemandiscovery
Expired
|
157 KB |
|
package-lock-ruby-2.7-node-14-pg-13-develop-pluginassetsprecompileforemandiscoveryRAILSENVproductionDATABASEURLnulldbnohost.json
Expired
|
410 KB |
|
package-lock-ruby-2.7-node-14-pg-13-develop-testforemandiscovery.json
Expired
|
410 KB |
|
package-lock-ruby-2.7-node-18-pg-13-develop-pluginassetsprecompileforemandiscoveryRAILSENVproductionDATABASEURLnulldbnohost.json
Expired
|
430 KB |
|
package-lock-ruby-2.7-node-18-pg-13-develop-testforemandiscovery.json
Expired
|
430 KB |
|
package-lock-ruby-3.0-node-14-pg-13-develop-pluginassetsprecompileforemandiscoveryRAILSENVproductionDATABASEURLnulldbnohost.json
Expired
|
410 KB |
|
package-lock-ruby-3.0-node-14-pg-13-develop-testforemandiscovery.json
Expired
|
410 KB |
|
package-lock-ruby-3.0-node-18-pg-13-develop-pluginassetsprecompileforemandiscoveryRAILSENVproductionDATABASEURLnulldbnohost.json
Expired
|
430 KB |
|
package-lock-ruby-3.0-node-18-pg-13-develop-testforemandiscovery.json
Expired
|
430 KB |
|