consul/consul

View on GitHub
Merge pull request #5117 from consul/update-spec #51687
Sebastia authored d655acc2
errored00:01:21
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-coffeelint:b108
b108: Pulling from codeclimate/codeclimate-coffeelint
59bf1c3509f3: Pulling fs layer
ecfdfc99c764: Pulling fs layer
dfcec1f1cb7c: Pulling fs layer
6325120d0421: Pulling fs layer
e3fc6ecdde23: Pulling fs layer
4ecc479337bc: Pulling fs layer
217307bc6494: Pulling fs layer
db56bb7854f0: Pulling fs layer
e742cf0bcaea: Pulling fs layer
6bcd3cf3dc89: Pulling fs layer
432def80c07d: Pulling fs layer
db5c2bef335b: Pulling fs layer
c869dc54138e: Pulling fs layer
dd341ad86e09: Pulling fs layer
617893d1e146: Pulling fs layer
6325120d0421: Waiting
e3fc6ecdde23: Waiting
432def80c07d: Waiting
db5c2bef335b: Waiting
4ecc479337bc: Waiting
217307bc6494: Waiting
c869dc54138e: Waiting
db56bb7854f0: Waiting
6bcd3cf3dc89: Waiting
617893d1e146: Waiting
e742cf0bcaea: Waiting
dd341ad86e09: Waiting
dfcec1f1cb7c: Download complete
59bf1c3509f3: Verifying Checksum
59bf1c3509f3: Download complete
ecfdfc99c764: Verifying Checksum
ecfdfc99c764: Download complete
59bf1c3509f3: Pull complete
4ecc479337bc: Verifying Checksum
4ecc479337bc: Download complete
e3fc6ecdde23: Verifying Checksum
e3fc6ecdde23: Download complete
6325120d0421: Verifying Checksum
6325120d0421: Download complete
217307bc6494: Download complete
db56bb7854f0: Verifying Checksum
db56bb7854f0: Download complete
ecfdfc99c764: Pull complete
e742cf0bcaea: Verifying Checksum
e742cf0bcaea: Download complete
dfcec1f1cb7c: Pull complete
6bcd3cf3dc89: Verifying Checksum
6bcd3cf3dc89: Download complete
db5c2bef335b: Verifying Checksum
db5c2bef335b: Download complete
c869dc54138e: Download complete
6325120d0421: Pull complete
dd341ad86e09: Download complete
617893d1e146: Verifying Checksum
617893d1e146: Download complete
e3fc6ecdde23: Pull complete
4ecc479337bc: Pull complete
432def80c07d: Verifying Checksum
432def80c07d: Download complete
217307bc6494: Pull complete
db56bb7854f0: Pull complete
e742cf0bcaea: Pull complete
6bcd3cf3dc89: Pull complete
432def80c07d: Pull complete
db5c2bef335b: Pull complete
c869dc54138e: Pull complete
dd341ad86e09: Pull complete
617893d1e146: Pull complete
Digest: sha256:14ed4aa04e15374f570d1ecb1e3b2c096fa3c7239b66ef45dc459ba830f6db18
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-coffeelint:b108
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
e26530f6adf2: Waiting
568932f817a3: Waiting
8f90fb780bef: Waiting
a6fe9a345a83: Waiting
74d1ce2ee2b7: Download complete
81839f6c7e4a: Verifying Checksum
81839f6c7e4a: Download complete
89d9c30c1d48: Download complete
dd1c732d3e5f: Verifying Checksum
dd1c732d3e5f: Download complete
89d9c30c1d48: Pull complete
4d12385a7ddf: Verifying Checksum
4d12385a7ddf: Download complete
b5a157b0fb9c: Verifying Checksum
b5a157b0fb9c: Download complete
81839f6c7e4a: Pull complete
2410ac55e38d: Verifying Checksum
2410ac55e38d: Download complete
74d1ce2ee2b7: Pull complete
a6fe9a345a83: Verifying Checksum
a6fe9a345a83: Download complete
568932f817a3: Verifying Checksum
568932f817a3: Download complete
8f90fb780bef: Verifying Checksum
8f90fb780bef: Download 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-26T12:33:28.063683 #1]  WARN -- : Skipping app/models/tenant.rb due to CC::Parser::Client::HTTPError
W, [2023-05-26T12:33:28.063722 #1]  WARN -- : Response status: 422
W, [2023-05-26T12:33:28.214582 #1]  WARN -- : Skipping app/helpers/map_locations_helper.rb due to CC::Parser::Client::HTTPError
W, [2023-05-26T12:33:28.214620 #1]  WARN -- : Response status: 422
W, [2023-05-26T12:33:30.447517 #1]  WARN -- : Skipping app/components/admin/budgets/groups_and_headings_component.rb due to CC::Parser::Client::HTTPError
W, [2023-05-26T12:33:30.447552 #1]  WARN -- : Response status: 422
W, [2023-05-26T12:33:31.469292 #1]  WARN -- : Skipping spec/rails_helper.rb due to CC::Parser::Client::HTTPError
W, [2023-05-26T12:33:31.469329 #1]  WARN -- : Response status: 422
W, [2023-05-26T12:33:51.161851 #1]  WARN -- : Skipping config/initializers/globalize.rb due to CC::Parser::Client::HTTPError
W, [2023-05-26T12:33:51.161893 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2023-05-26T12:33:54.888068 #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-26T12:33:54.969836 #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-26T12:33:56.109394 #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-26T12:33:56.662485 #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-26T12:34:13.376903 #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>'