consul/consul

View on GitHub
Merge pull request #5117 from consul/update-spec #51679
Sebastia authored d655acc2
errored00:01:24
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
docker pull codeclimate/codeclimate-markdownlint:b899
b899: Pulling from codeclimate/codeclimate-markdownlint
fc7181108d40: Pulling fs layer
fb832b8d529e: Pulling fs layer
f928adca00a3: Pulling fs layer
b83899fd2d55: Pulling fs layer
28b20e0f6f6d: Pulling fs layer
08fb5f231db7: Pulling fs layer
f38c4e552cb4: Pulling fs layer
55842d8caf87: Pulling fs layer
1714cd20476b: Pulling fs layer
56a5ac5fa648: Pulling fs layer
43c3c1d360a9: Pulling fs layer
d05637603ec0: Pulling fs layer
905f23712bf9: Pulling fs layer
eb5a5c105220: Pulling fs layer
b83899fd2d55: Waiting
56a5ac5fa648: Waiting
28b20e0f6f6d: Waiting
43c3c1d360a9: Waiting
d05637603ec0: Waiting
08fb5f231db7: Waiting
905f23712bf9: Waiting
f38c4e552cb4: Waiting
eb5a5c105220: Waiting
1714cd20476b: Waiting
55842d8caf87: Waiting
f928adca00a3: Verifying Checksum
f928adca00a3: Download complete
fb832b8d529e: Verifying Checksum
fb832b8d529e: Download complete
fc7181108d40: Verifying Checksum
fc7181108d40: Download complete
28b20e0f6f6d: Verifying Checksum
28b20e0f6f6d: Download complete
b83899fd2d55: Verifying Checksum
b83899fd2d55: Download complete
08fb5f231db7: Verifying Checksum
08fb5f231db7: Download complete
f38c4e552cb4: Verifying Checksum
f38c4e552cb4: Download complete
55842d8caf87: Verifying Checksum
55842d8caf87: Download complete
56a5ac5fa648: Download complete
43c3c1d360a9: Verifying Checksum
43c3c1d360a9: Download complete
d05637603ec0: Verifying Checksum
d05637603ec0: Download complete
fc7181108d40: Pull complete
905f23712bf9: Verifying Checksum
905f23712bf9: Download complete
eb5a5c105220: Verifying Checksum
eb5a5c105220: Download complete
fb832b8d529e: Pull complete
f928adca00a3: Pull complete
1714cd20476b: Verifying Checksum
1714cd20476b: Download complete
b83899fd2d55: Pull complete
28b20e0f6f6d: Pull complete
08fb5f231db7: Pull complete
f38c4e552cb4: Pull complete
55842d8caf87: Pull complete
1714cd20476b: Pull complete
56a5ac5fa648: Pull complete
43c3c1d360a9: Pull complete
d05637603ec0: Pull complete
905f23712bf9: Pull complete
eb5a5c105220: Pull complete
Digest: sha256:482ba0cc7d87edf77cc280a8550578f40adf0e2514c3744317761f3092c7239c
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-markdownlint:b899
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2023-05-24T15:16:10.288740 #1]  WARN -- : Skipping app/models/tenant.rb due to CC::Parser::Client::HTTPError
W, [2023-05-24T15:16:10.288774 #1]  WARN -- : Response status: 422
W, [2023-05-24T15:16:10.433045 #1]  WARN -- : Skipping app/helpers/map_locations_helper.rb due to CC::Parser::Client::HTTPError
W, [2023-05-24T15:16:10.433079 #1]  WARN -- : Response status: 422
W, [2023-05-24T15:16:13.097487 #1]  WARN -- : Skipping app/components/admin/budgets/groups_and_headings_component.rb due to CC::Parser::Client::HTTPError
W, [2023-05-24T15:16:13.097520 #1]  WARN -- : Response status: 422
W, [2023-05-24T15:16:14.286407 #1]  WARN -- : Skipping spec/rails_helper.rb due to CC::Parser::Client::HTTPError
W, [2023-05-24T15:16:14.286441 #1]  WARN -- : Response status: 422
W, [2023-05-24T15:16:36.100339 #1]  WARN -- : Skipping config/initializers/globalize.rb due to CC::Parser::Client::HTTPError
W, [2023-05-24T15:16:36.100385 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2023-05-24T15:16:40.052616 #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-24T15:16:40.154942 #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-24T15:16:41.519781 #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-24T15:16:42.214186 #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-24T15:16:58.254976 #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>'