theforeman/foreman

View on GitHub
Fixes #38044 - Don't accept negative values for OS major version #9632
Girija Soni authored c42d7bd0
complete00:01:03
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
No checked in config: nothing to validate.
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2024-12-03T15:42:56.441319 #1]  WARN -- : Skipping app/assets/javascripts/locale/es/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:42:56.441379 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:42:56.468076 #1]  WARN -- : Skipping app/assets/javascripts/locale/ka/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:42:56.468110 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:42:56.483879 #1]  WARN -- : Skipping app/assets/javascripts/locale/ko/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:42:56.483909 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:42:56.492955 #1]  WARN -- : Skipping app/assets/javascripts/locale/it/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:42:56.492993 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:42:56.505849 #1]  WARN -- : Skipping app/assets/javascripts/locale/zh_CN/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:42:56.505877 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:42:56.522673 #1]  WARN -- : Skipping app/assets/javascripts/locale/ja/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:42:56.522700 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:42:56.534319 #1]  WARN -- : Skipping app/assets/javascripts/locale/en_GB/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:42:56.534354 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:42:56.543547 #1]  WARN -- : Skipping app/assets/javascripts/locale/cs_CZ/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:42:56.543583 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:42:56.553444 #1]  WARN -- : Skipping app/assets/javascripts/locale/zh_TW/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:42:56.553472 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:42:56.565979 #1]  WARN -- : Skipping app/assets/javascripts/locale/de/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:42:56.566020 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:42:56.574729 #1]  WARN -- : Skipping app/assets/javascripts/locale/ca/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:42:56.574757 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:42:56.591416 #1]  WARN -- : Skipping app/assets/javascripts/locale/ru/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:42:56.591442 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:42:56.603058 #1]  WARN -- : Skipping app/assets/javascripts/locale/fr/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:42:56.603085 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:42:56.611445 #1]  WARN -- : Skipping app/assets/javascripts/locale/pt_BR/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:42:56.611471 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:42:56.615878 #1]  WARN -- : Skipping app/assets/javascripts/locale/en/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:42:56.615904 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:42:56.621804 #1]  WARN -- : Skipping app/assets/javascripts/locale/pl/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:42:56.621830 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:43:10.599304 #1]  WARN -- : Skipping app/controllers/concerns/foreman/controller/bookmark_common.rb due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:43:10.599332 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:43:10.626554 #1]  WARN -- : Skipping app/controllers/concerns/foreman/controller/taxonomies_controller.rb due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:43:10.626584 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:43:10.704857 #1]  WARN -- : Skipping app/controllers/concerns/foreman/controller/users_mixin.rb due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:43:10.704893 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:43:10.706873 #1]  WARN -- : Skipping app/controllers/concerns/foreman/controller/user_aware.rb due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:43:10.706905 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:43:11.185233 #1]  WARN -- : Skipping app/controllers/api/base_controller.rb due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:43:11.185269 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:43:11.570733 #1]  WARN -- : Skipping app/controllers/api/v2/auth_sources_controller.rb due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:43:11.570763 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:43:11.593930 #1]  WARN -- : Skipping app/controllers/api/v2/instance_hosts_controller.rb due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:43:11.593957 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:43:11.670155 #1]  WARN -- : Skipping app/controllers/api/v2/filters_controller.rb due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:43:11.670183 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:43:12.012615 #1]  WARN -- : Skipping app/controllers/api/v2/settings_controller.rb due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:43:12.012647 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:43:12.034063 #1]  WARN -- : Skipping app/controllers/api/v2/table_preferences_controller.rb due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:43:12.034089 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:43:12.072646 #1]  WARN -- : Skipping app/controllers/api/v2/host_statuses_controller.rb due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:43:12.072672 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:43:12.211639 #1]  WARN -- : Skipping app/controllers/api/v2/personal_access_tokens_controller.rb due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:43:12.211671 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:43:12.296539 #1]  WARN -- : Skipping app/controllers/api/v2/common_parameters_controller.rb due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:43:12.296566 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:43:12.298586 #1]  WARN -- : Skipping app/controllers/api/v2/smart_proxy_hosts_controller.rb due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:43:12.298611 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2024-12-03T15:43:19.243269 #1]  WARN -- : Skipping ./app/assets/javascripts/locale/es/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:43:19.243330 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:43:19.261419 #1]  WARN -- : Skipping ./app/assets/javascripts/locale/ka/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:43:19.261451 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:43:19.271580 #1]  WARN -- : Skipping ./app/assets/javascripts/locale/ko/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:43:19.271612 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:43:19.275944 #1]  WARN -- : Skipping ./app/assets/javascripts/locale/it/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:43:19.275974 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:43:19.284833 #1]  WARN -- : Skipping ./app/assets/javascripts/locale/zh_CN/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:43:19.284904 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:43:19.292283 #1]  WARN -- : Skipping ./app/assets/javascripts/locale/ja/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:43:19.292308 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:43:19.302315 #1]  WARN -- : Skipping ./app/assets/javascripts/locale/en_GB/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:43:19.302343 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:43:19.308845 #1]  WARN -- : Skipping ./app/assets/javascripts/locale/cs_CZ/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:43:19.308878 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:43:19.313640 #1]  WARN -- : Skipping ./app/assets/javascripts/locale/zh_TW/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:43:19.313675 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:43:19.322124 #1]  WARN -- : Skipping ./app/assets/javascripts/locale/de/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:43:19.322181 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:43:19.327808 #1]  WARN -- : Skipping ./app/assets/javascripts/locale/ca/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:43:19.327834 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:43:19.338148 #1]  WARN -- : Skipping ./app/assets/javascripts/locale/ru/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:43:19.338176 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:43:19.348113 #1]  WARN -- : Skipping ./app/assets/javascripts/locale/fr/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:43:19.348139 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:43:19.355881 #1]  WARN -- : Skipping ./app/assets/javascripts/locale/pt_BR/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:43:19.355909 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:43:19.360775 #1]  WARN -- : Skipping ./app/assets/javascripts/locale/en/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:43:19.360801 #1]  WARN -- : Response status: 422
W, [2024-12-03T15:43:19.365665 #1]  WARN -- : Skipping ./app/assets/javascripts/locale/pl/app.js due to CC::Parser::Client::HTTPError
W, [2024-12-03T15:43:19.365690 #1]  WARN -- : Response status: 422
I, [2024-12-03T15:43:28.987222 #1]  INFO -- : Skipping file ./app/registries/foreman/plugin/rbac_registry.rb due to exception (Racc::ParseError): ./app/registries/foreman/plugin/rbac_registry.rb:35 :: parse error on value "=>" (tASSOC)

I, [2024-12-03T15:43:29.429959 #1]  INFO -- : Skipping file ./app/graphql/resolvers/concerns/collection.rb due to exception (Racc::ParseError): ./app/graphql/resolvers/concerns/collection.rb:7 :: parse error on value ":" (tCOLON)

I, [2024-12-03T15:43:29.910127 #1]  INFO -- : Skipping file ./app/models/concerns/orchestration.rb due to exception (Racc::ParseError): ./app/models/concerns/orchestration.rb:192 :: parse error on value ["rescue", 192] (kRESCUE)

I, [2024-12-03T15:43:30.337498 #1]  INFO -- : Skipping file ./app/models/concerns/orchestration/compute.rb due to exception (Racc::ParseError): ./app/models/concerns/orchestration/compute.rb:136 :: parse error on value ":" (tCOLON)

I, [2024-12-03T15:43:30.458552 #1]  INFO -- : Skipping file ./app/models/concerns/audit_extensions.rb due to exception (Racc::ParseError): ./app/models/concerns/audit_extensions.rb:14 :: parse error on value nil (error)

I, [2024-12-03T15:43:31.441499 #1]  INFO -- : Skipping file ./app/models/compute_resources/foreman/model/vmware.rb due to exception (Racc::ParseError): ./app/models/compute_resources/foreman/model/vmware.rb:54 :: parse error on value ":" (tCOLON)

I, [2024-12-03T15:43:31.841095 #1]  INFO -- : Skipping file ./app/models/template.rb due to exception (Racc::ParseError): ./app/models/template.rb:6 :: parse error on value ":" (tCOLON)

I, [2024-12-03T15:43:32.258193 #1]  INFO -- : Skipping file ./app/models/provisioning_template.rb due to exception (Racc::ParseError): ./app/models/provisioning_template.rb:73 :: parse error on value nil (error)

I, [2024-12-03T15:43:34.015559 #1]  INFO -- : Skipping file ./app/controllers/concerns/foreman/controller/bookmark_common.rb due to exception (Racc::ParseError): ./app/controllers/concerns/foreman/controller/bookmark_common.rb:6 :: parse error on value "..." (tDOT3)

I, [2024-12-03T15:43:34.088044 #1]  INFO -- : Skipping file ./app/controllers/concerns/foreman/controller/taxonomies_controller.rb due to exception (Racc::ParseError): ./app/controllers/concerns/foreman/controller/taxonomies_controller.rb:197 :: parse error on value "..." (tDOT3)

I, [2024-12-03T15:43:34.173946 #1]  INFO -- : Skipping file ./app/controllers/concerns/foreman/controller/puppet/hosts_controller_extensions.rb due to exception (Racc::ParseError): ./app/controllers/concerns/foreman/controller/puppet/hosts_controller_extensions.rb:44 :: parse error on value ["rescue", 44] (kRESCUE)

I, [2024-12-03T15:43:34.174784 #1]  INFO -- : Skipping file ./app/controllers/concerns/foreman/controller/users_mixin.rb due to exception (Racc::ParseError): ./app/controllers/concerns/foreman/controller/users_mixin.rb:9 :: parse error on value "..." (tDOT3)

I, [2024-12-03T15:43:34.190577 #1]  INFO -- : Skipping file ./app/controllers/concerns/foreman/controller/user_aware.rb due to exception (Racc::ParseError): ./app/controllers/concerns/foreman/controller/user_aware.rb:11 :: parse error on value "..." (tDOT3)

I, [2024-12-03T15:43:34.564297 #1]  INFO -- : Skipping file ./app/controllers/api/base_controller.rb due to exception (Racc::ParseError): ./app/controllers/api/base_controller.rb:59 :: parse error on value ":" (tCOLON)

I, [2024-12-03T15:43:34.814702 #1]  INFO -- : Skipping file ./app/controllers/api/v2/auth_sources_controller.rb due to exception (Racc::ParseError): ./app/controllers/api/v2/auth_sources_controller.rb:17 :: parse error on value "..." (tDOT3)

I, [2024-12-03T15:43:34.836209 #1]  INFO -- : Skipping file ./app/controllers/api/v2/instance_hosts_controller.rb due to exception (Racc::ParseError): ./app/controllers/api/v2/instance_hosts_controller.rb:10 :: parse error on value "..." (tDOT3)

I, [2024-12-03T15:43:34.989015 #1]  INFO -- : Skipping file ./app/controllers/api/v2/filters_controller.rb due to exception (Racc::ParseError): ./app/controllers/api/v2/filters_controller.rb:58 :: parse error on value "..." (tDOT3)

I, [2024-12-03T15:43:35.278052 #1]  INFO -- : Skipping file ./app/controllers/api/v2/settings_controller.rb due to exception (Racc::ParseError): ./app/controllers/api/v2/settings_controller.rb:7 :: parse error on value ":" (tCOLON)

I, [2024-12-03T15:43:35.296847 #1]  INFO -- : Skipping file ./app/controllers/api/v2/table_preferences_controller.rb due to exception (Racc::ParseError): ./app/controllers/api/v2/table_preferences_controller.rb:34 :: parse error on value "&." (error)

I, [2024-12-03T15:43:35.369619 #1]  INFO -- : Skipping file ./app/controllers/api/v2/host_statuses_controller.rb due to exception (Racc::ParseError): ./app/controllers/api/v2/host_statuses_controller.rb:15 :: parse error on value "..." (tDOT3)

I, [2024-12-03T15:43:35.540763 #1]  INFO -- : Skipping file ./app/controllers/api/v2/personal_access_tokens_controller.rb due to exception (Racc::ParseError): ./app/controllers/api/v2/personal_access_tokens_controller.rb:70 :: parse error on value "..." (tDOT3)

I, [2024-12-03T15:43:35.570990 #1]  INFO -- : Skipping file ./app/controllers/api/v2/common_parameters_controller.rb due to exception (Racc::ParseError): ./app/controllers/api/v2/common_parameters_controller.rb:62 :: parse error on value "..." (tDOT3)

I, [2024-12-03T15:43:35.606580 #1]  INFO -- : Skipping file ./app/controllers/api/v2/smart_proxy_hosts_controller.rb due to exception (Racc::ParseError): ./app/controllers/api/v2/smart_proxy_hosts_controller.rb:11 :: parse error on value "..." (tDOT3)

I, [2024-12-03T15:43:35.809368 #1]  INFO -- : Skipping file ./app/controllers/hosts_controller.rb due to exception (Racc::ParseError): ./app/controllers/hosts_controller.rb:150 :: parse error on value "&." (error)

I, [2024-12-03T15:43:36.422894 #1]  INFO -- : Skipping file ./app/services/host_build_status.rb due to exception (Racc::ParseError): ./app/services/host_build_status.rb:36 :: parse error on value ":" (tCOLON)

I, [2024-12-03T15:43:37.091955 #1]  INFO -- : Skipping file ./app/services/foreman/renderer/scope/macros/base.rb due to exception (Racc::ParseError): ./app/services/foreman/renderer/scope/macros/base.rb:13 :: parse error on value ":" (tCOLON)

I, [2024-12-03T15:43:37.143624 #1]  INFO -- : Skipping file ./app/services/foreman/renderer/scope/macros/host_template.rb due to exception (Racc::ParseError): ./app/services/foreman/renderer/scope/macros/host_template.rb:11 :: parse error on value ":" (tCOLON)

I, [2024-12-03T15:43:37.430599 #1]  INFO -- : Skipping file ./app/services/foreman/provision/ssh.rb due to exception (Racc::ParseError): ./app/services/foreman/provision/ssh.rb:79 :: parse error on value ["rescue", 79] (kRESCUE)

I, [2024-12-03T15:43:37.950801 #1]  INFO -- : Skipping file ./app/services/fact_importer.rb due to exception (Racc::ParseError): ./app/services/fact_importer.rb:48 :: parse error on value ":" (tCOLON)

I, [2024-12-03T15:43:37.976116 #1]  INFO -- : Skipping file ./app/services/report_importer.rb due to exception (RubyParser::SyntaxError): Odd number (2) list for Hash. s(:array, s(:call, nil, :type))