consul/consul

View on GitHub
Merge pull request #5117 from consul/update-spec #51681
Sebastia authored d655acc2
errored00:01:55
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-rubocop:b569
b569: Pulling from codeclimate/codeclimate-rubocop
050382585609: Pulling fs layer
cb9e14f894ff: Pulling fs layer
78b911433595: Pulling fs layer
7eb3ba918434: Pulling fs layer
7ce9cd1ff5c1: Pulling fs layer
615f616af4e1: Pulling fs layer
8798bb917322: Pulling fs layer
8780c555a1dd: Pulling fs layer
30674e5f9e9a: Pulling fs layer
e6137a5c34a0: Pulling fs layer
29bd1c798f9b: Pulling fs layer
d8e8ff86ee67: Pulling fs layer
7eb3ba918434: Waiting
7ce9cd1ff5c1: Waiting
615f616af4e1: Waiting
8798bb917322: Waiting
8780c555a1dd: Waiting
30674e5f9e9a: Waiting
e6137a5c34a0: Waiting
29bd1c798f9b: Waiting
d8e8ff86ee67: Waiting
78b911433595: Verifying Checksum
78b911433595: Download complete
cb9e14f894ff: Verifying Checksum
cb9e14f894ff: Download complete
050382585609: Verifying Checksum
050382585609: Download complete
7ce9cd1ff5c1: Verifying Checksum
7ce9cd1ff5c1: Download complete
615f616af4e1: Verifying Checksum
615f616af4e1: Download complete
050382585609: Pull complete
8798bb917322: Verifying Checksum
8798bb917322: Download complete
cb9e14f894ff: Pull complete
7eb3ba918434: Verifying Checksum
7eb3ba918434: Download complete
8780c555a1dd: Verifying Checksum
8780c555a1dd: Download complete
78b911433595: Pull complete
e6137a5c34a0: Download complete
30674e5f9e9a: Verifying Checksum
30674e5f9e9a: Download complete
29bd1c798f9b: Verifying Checksum
29bd1c798f9b: Download complete
d8e8ff86ee67: Verifying Checksum
d8e8ff86ee67: Download complete
7eb3ba918434: Pull complete
7ce9cd1ff5c1: Pull complete
615f616af4e1: Pull complete
8798bb917322: Pull complete
8780c555a1dd: Pull complete
30674e5f9e9a: Pull complete
e6137a5c34a0: Pull complete
29bd1c798f9b: Pull complete
d8e8ff86ee67: Pull complete
Digest: sha256:d9d3da265be3da779e381c79dbfa902b91b1ce0e81e8e5302062907e3a525a46
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-rubocop:b569
docker pull codeclimate/codeclimate-scss-lint:b923
b923: Pulling from codeclimate/codeclimate-scss-lint
89d9c30c1d48: Pulling fs layer
81839f6c7e4a: Pulling fs layer
74d1ce2ee2b7: Pulling fs layer
b5a157b0fb9c: Pulling fs layer
dd1c732d3e5f: Pulling fs layer
4d12385a7ddf: Pulling fs layer
2410ac55e38d: Pulling fs layer
a6fe9a345a83: Pulling fs layer
e26530f6adf2: Pulling fs layer
568932f817a3: Pulling fs layer
8f90fb780bef: Pulling fs layer
b5a157b0fb9c: Waiting
dd1c732d3e5f: Waiting
4d12385a7ddf: Waiting
2410ac55e38d: Waiting
a6fe9a345a83: Waiting
e26530f6adf2: Waiting
568932f817a3: Waiting
8f90fb780bef: Waiting
74d1ce2ee2b7: Verifying Checksum
74d1ce2ee2b7: Download complete
81839f6c7e4a: Verifying Checksum
81839f6c7e4a: Download complete
dd1c732d3e5f: Verifying Checksum
dd1c732d3e5f: Download complete
89d9c30c1d48: Verifying Checksum
89d9c30c1d48: Download complete
4d12385a7ddf: Verifying Checksum
4d12385a7ddf: Download complete
2410ac55e38d: Verifying Checksum
2410ac55e38d: Download complete
b5a157b0fb9c: Verifying Checksum
b5a157b0fb9c: Download complete
89d9c30c1d48: Pull complete
a6fe9a345a83: Verifying Checksum
a6fe9a345a83: Download complete
568932f817a3: Verifying Checksum
568932f817a3: Download complete
81839f6c7e4a: Pull complete
8f90fb780bef: Verifying Checksum
8f90fb780bef: Download complete
74d1ce2ee2b7: Pull complete
e26530f6adf2: Verifying Checksum
e26530f6adf2: Download complete
b5a157b0fb9c: Pull complete
dd1c732d3e5f: Pull complete
4d12385a7ddf: Pull complete
2410ac55e38d: Pull complete
a6fe9a345a83: Pull complete
e26530f6adf2: Pull complete
568932f817a3: Pull complete
8f90fb780bef: Pull complete
Digest: sha256:c807e0eea9f03549ed0b01056af7a71b3348a11890a0fe2c2a0837ea658d0816
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-scss-lint:b923
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2023-05-24T22:17:33.577780 #1]  WARN -- : Skipping app/models/tenant.rb due to CC::Parser::Client::HTTPError
W, [2023-05-24T22:17:33.578101 #1]  WARN -- : Response status: 422
W, [2023-05-24T22:17:33.803738 #1]  WARN -- : Skipping app/helpers/map_locations_helper.rb due to CC::Parser::Client::HTTPError
W, [2023-05-24T22:17:33.804064 #1]  WARN -- : Response status: 422
W, [2023-05-24T22:17:36.985126 #1]  WARN -- : Skipping app/components/admin/budgets/groups_and_headings_component.rb due to CC::Parser::Client::HTTPError
W, [2023-05-24T22:17:36.985162 #1]  WARN -- : Response status: 422
W, [2023-05-24T22:17:38.741338 #1]  WARN -- : Skipping spec/rails_helper.rb due to CC::Parser::Client::HTTPError
W, [2023-05-24T22:17:38.741378 #1]  WARN -- : Response status: 422
W, [2023-05-24T22:18:06.535491 #1]  WARN -- : Skipping config/initializers/globalize.rb due to CC::Parser::Client::HTTPError
W, [2023-05-24T22:18:06.535530 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2023-05-24T22:18:11.749925 #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-24T22:18:11.859729 #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-24T22:18:13.458498 #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-24T22:18:14.372013 #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-24T22:18:34.147796 #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>'