consul/consul

View on GitHub
Merge pull request #5113 from consul/proposals_notifications #51641
Senén Rodero authored c52d2878
errored00:01:18
An engine encountered an error
E10 Error

We had trouble running the rubocop engine.

The engine's output shown below may indicate the cause of the error.

If not, please contact us so we can investigate further.

1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
WARNING: 'engines' has been deprecated, please use 'plugins' instead
WARNING: 'exclude_paths' has been deprecated, please use 'exclude_patterns' instead
WARNING: 'ratings' has been deprecated, and will not be used
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
5
structure
View output
13
Parser process id: 13
codeclimate-parser socket not present
waiting 1s...
W, [2023-05-23T09:36:01.486023 #1]  WARN -- : Skipping app/models/tenant.rb due to CC::Parser::Client::HTTPError
W, [2023-05-23T09:36:01.486064 #1]  WARN -- : Response status: 422
W, [2023-05-23T09:36:01.705956 #1]  WARN -- : Skipping app/helpers/map_locations_helper.rb due to CC::Parser::Client::HTTPError
W, [2023-05-23T09:36:01.705993 #1]  WARN -- : Response status: 422
W, [2023-05-23T09:36:04.935978 #1]  WARN -- : Skipping app/components/admin/budgets/groups_and_headings_component.rb due to CC::Parser::Client::HTTPError
W, [2023-05-23T09:36:04.936140 #1]  WARN -- : Response status: 422
W, [2023-05-23T09:36:06.273892 #1]  WARN -- : Skipping spec/rails_helper.rb due to CC::Parser::Client::HTTPError
W, [2023-05-23T09:36:06.273945 #1]  WARN -- : Response status: 422
W, [2023-05-23T09:36:28.126288 #1]  WARN -- : Skipping config/initializers/globalize.rb due to CC::Parser::Client::HTTPError
W, [2023-05-23T09:36:28.126334 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2023-05-23T09:36:32.008730 #1]  INFO -- : Skipping file ./app/models/tenant.rb due to exception (Racc::ParseError): ./app/models/tenant.rb:2 :: parse error on value ":" (tCOLON)

I, [2023-05-23T09:36:32.097214 #1]  INFO -- : Skipping file ./app/helpers/map_locations_helper.rb due to exception (Racc::ParseError): ./app/helpers/map_locations_helper.rb:6 :: parse error on value "..." (tDOT3)

I, [2023-05-23T09:36:33.356565 #1]  INFO -- : Skipping file ./app/components/admin/budgets/groups_and_headings_component.rb due to exception (Racc::ParseError): ./app/components/admin/budgets/groups_and_headings_component.rb:10 :: parse error on value "..." (tDOT3)

I, [2023-05-23T09:36:33.929034 #1]  INFO -- : Skipping file ./spec/rails_helper.rb due to exception (Racc::ParseError): ./spec/rails_helper.rb:30 :: parse error on value "..." (tDOT3)

I, [2023-05-23T09:36:47.939509 #1]  INFO -- : Skipping file ./config/initializers/globalize.rb due to exception (Racc::ParseError): ./config/initializers/globalize.rb:4 :: parse error on value "..." (tDOT3)
7
rubocop
rubocop engine documentation
View output
.rubocop.yml: Layout/LineLength has the wrong namespace - should be Metrics
Warning: unrecognized cop Layout/AssignmentIndentation found in .rubocop.yml
Warning: unrecognized cop Layout/HeredocIndentation found in .rubocop.yml
Warning: unrecognized cop Layout/IndentationStyle found in .rubocop.yml
Warning: unrecognized cop Layout/LeadingEmptyLines found in .rubocop.yml
Warning: unrecognized cop Layout/LineEndStringConcatenationIndentation found in .rubocop.yml
Warning: unrecognized cop Layout/SpaceAroundMethodCallOperator found in .rubocop.yml
Warning: unrecognized cop Layout/TrailingEmptyLines found in .rubocop.yml
Warning: unrecognized cop Lint/ConstantDefinitionInBlock found in .rubocop.yml
Warning: unrecognized cop Lint/DuplicateBranch found in .rubocop.yml
Warning: unrecognized cop Lint/EmptyBlock found in .rubocop.yml
Warning: unrecognized cop Lint/EmptyFile found in .rubocop.yml
Warning: unrecognized cop Lint/NonAtomicFileOperation found in .rubocop.yml
Warning: unrecognized cop Lint/RedundantStringCoercion found in .rubocop.yml
Warning: unrecognized cop Lint/SymbolConversion found in .rubocop.yml
Warning: unrecognized cop Performance/BlockGivenWithExplicitBlock found in .rubocop.yml
Warning: unrecognized cop Performance/StringIdentifierArgument found in .rubocop.yml
Warning: unrecognized cop Performance/Sum found in .rubocop.yml
Warning: unrecognized cop Rails/ActiveRecordCallbacksOrder found in .rubocop.yml
Warning: unrecognized cop Rails/AddColumnIndex found in .rubocop.yml
Warning: unrecognized cop Rails/DurationArithmetic found in .rubocop.yml
Warning: unrecognized cop Rails/I18nLocaleAssignment found in .rubocop.yml
Warning: unrecognized cop Rails/Pick found in .rubocop.yml
Warning: unrecognized cop Rails/PluckId found in .rubocop.yml
Warning: unrecognized cop Rails/RedundantTravelBack found in .rubocop.yml
Warning: unrecognized cop Rails/UniqueValidationWithoutIndex found in .rubocop.yml
Warning: unrecognized cop Rails/WhereEquals found in .rubocop.yml
Warning: unrecognized cop Rails/WhereNot found in .rubocop.yml
Warning: unrecognized cop RSpec/Capybara/CurrentPathExpectation found in .rubocop.yml
Warning: unrecognized cop RSpec/Capybara/FeatureMethods found in .rubocop.yml
Warning: unrecognized cop RSpec/Capybara/VisibilityMatcher found in .rubocop.yml
Warning: unrecognized cop RSpec/ContextMethod found in .rubocop.yml
Warning: unrecognized cop RSpec/EmptyHook found in .rubocop.yml
Warning: unrecognized cop RSpec/EmptyLineAfterExample found in .rubocop.yml
Warning: unrecognized cop RSpec/FactoryBot/FactoryClassName found in .rubocop.yml
Warning: unrecognized cop RSpec/RepeatedExampleGroupBody found in .rubocop.yml
Warning: unrecognized cop RSpec/RepeatedExampleGroupDescription found in .rubocop.yml
Warning: unrecognized cop Style/AccessorGrouping found in .rubocop.yml
Warning: unrecognized cop Style/ArrayCoercion found in .rubocop.yml
Warning: unrecognized cop Style/FileRead found in .rubocop.yml
Warning: unrecognized cop Style/FileWrite found in .rubocop.yml
Warning: unrecognized cop Style/HashConversion found in .rubocop.yml
Warning: unrecognized cop Style/HashExcept found in .rubocop.yml
Warning: unrecognized cop Style/HashTransformKeys found in .rubocop.yml
Warning: unrecognized cop Style/HashTransformValues found in .rubocop.yml
Warning: unrecognized cop Style/IfWithBooleanLiteralBranches found in .rubocop.yml
Warning: unrecognized cop Style/MapToHash found in .rubocop.yml
Warning: unrecognized cop Style/NegatedIfElseCondition found in .rubocop.yml
Warning: unrecognized cop Style/RedundantArgument found in .rubocop.yml
Warning: unrecognized cop Style/RedundantCondition found in .rubocop.yml
Warning: unrecognized cop Style/RedundantFileExtensionInRequire found in .rubocop.yml
Warning: unrecognized cop Style/RedundantInterpolation found in .rubocop.yml
Warning: unrecognized cop Style/SoleNestedConditional found in .rubocop.yml
Warning: unrecognized cop Style/StringChars found in .rubocop.yml
/usr/local/bundle/gems/rubocop-0.74.0/lib/rubocop/config_validator.rb:98:in `check_target_ruby': RuboCop found unknown Ruby version 3.0 in `.ruby-version`. (RuboCop::ValidationError)
Supported versions: 2.3, 2.4, 2.5, 2.6, 2.7
	from /usr/local/bundle/gems/rubocop-0.74.0/lib/rubocop/config_validator.rb:47:in `validate'
	from /usr/local/bundle/gems/rubocop-0.74.0/lib/rubocop/config.rb:39:in `check'
	from /usr/local/bundle/gems/rubocop-0.74.0/lib/rubocop/config.rb:32:in `create'
	from /usr/local/bundle/gems/rubocop-0.74.0/lib/rubocop/config_loader.rb:54:in `load_file'
	from /usr/local/bundle/gems/rubocop-0.74.0/lib/rubocop/config_loader.rb:86:in `configuration_from_file'
	from /usr/local/bundle/gems/rubocop-0.74.0/lib/rubocop/config_store.rb:44:in `for'
	from /usr/src/app/lib/cc/engine/file_list_resolver.rb:38:in `rubocop_file_to_include?'
	from /usr/src/app/lib/cc/engine/file_list_resolver.rb:16:in `block in expanded_list'
	from /usr/src/app/lib/cc/engine/file_list_resolver.rb:13:in `each'
	from /usr/src/app/lib/cc/engine/file_list_resolver.rb:13:in `flat_map'
	from /usr/src/app/lib/cc/engine/file_list_resolver.rb:13:in `expanded_list'
	from /usr/src/app/lib/cc/engine/rubocop.rb:49:in `files_to_inspect'
	from /usr/src/app/lib/cc/engine/rubocop.rb:29:in `block in run'
	from /usr/src/app/lib/cc/engine/rubocop.rb:28:in `chdir'
	from /usr/src/app/lib/cc/engine/rubocop.rb:28:in `run'
	from /usr/src/app/bin/codeclimate-rubocop:17:in `<main>'