smcgov/SMC-Connect

View on GitHub
Merge pull request #276 from smcgov/update-gems #761
Moncef Belyamani authored a37a7278
errored00:00:31
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
No errors or warnings found in .codeclimate.yml.
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
e742cf0bcaea: Waiting
6bcd3cf3dc89: Waiting
c869dc54138e: Waiting
dd341ad86e09: Waiting
432def80c07d: Waiting
617893d1e146: Waiting
db5c2bef335b: Waiting
6325120d0421: Waiting
4ecc479337bc: Waiting
217307bc6494: Waiting
e3fc6ecdde23: Waiting
dfcec1f1cb7c: Download complete
ecfdfc99c764: Verifying Checksum
ecfdfc99c764: Download complete
59bf1c3509f3: Verifying Checksum
59bf1c3509f3: Download complete
59bf1c3509f3: Pull complete
e3fc6ecdde23: Verifying Checksum
e3fc6ecdde23: Download complete
4ecc479337bc: Download complete
6325120d0421: Verifying Checksum
6325120d0421: Download complete
217307bc6494: Verifying Checksum
217307bc6494: Download complete
db56bb7854f0: Verifying Checksum
db56bb7854f0: Download complete
e742cf0bcaea: Verifying Checksum
e742cf0bcaea: Download complete
ecfdfc99c764: Pull complete
6bcd3cf3dc89: Verifying Checksum
6bcd3cf3dc89: Download complete
dfcec1f1cb7c: Pull complete
db5c2bef335b: Verifying Checksum
db5c2bef335b: Download complete
c869dc54138e: Download complete
dd341ad86e09: Verifying Checksum
dd341ad86e09: Download complete
617893d1e146: Verifying Checksum
617893d1e146: Download complete
6325120d0421: Pull complete
432def80c07d: Verifying Checksum
432def80c07d: Download complete
e3fc6ecdde23: Pull complete
4ecc479337bc: Pull 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-rubocop:b634
b634: Pulling from codeclimate/codeclimate-rubocop
e7c96db7181b: Pulling fs layer
622c94c90cb1: Pulling fs layer
dbd6b8b21943: Pulling fs layer
10dd230dd590: Pulling fs layer
cdaad85321f3: Pulling fs layer
1212a4d3da76: Pulling fs layer
6a49c6da5180: Pulling fs layer
fedc6f037b42: Pulling fs layer
88aee4f19972: Pulling fs layer
7135c2c79926: Pulling fs layer
0e29df3a3548: Pulling fs layer
2f95a15f1621: Pulling fs layer
6a49c6da5180: Waiting
fedc6f037b42: Waiting
88aee4f19972: Waiting
7135c2c79926: Waiting
0e29df3a3548: Waiting
2f95a15f1621: Waiting
cdaad85321f3: Waiting
1212a4d3da76: Waiting
dbd6b8b21943: Download complete
622c94c90cb1: Verifying Checksum
622c94c90cb1: Download complete
e7c96db7181b: Verifying Checksum
e7c96db7181b: Download complete
cdaad85321f3: Download complete
e7c96db7181b: Pull complete
1212a4d3da76: Verifying Checksum
1212a4d3da76: Download complete
622c94c90cb1: Pull complete
dbd6b8b21943: Pull complete
6a49c6da5180: Verifying Checksum
6a49c6da5180: Download complete
fedc6f037b42: Download complete
10dd230dd590: Download complete
7135c2c79926: Verifying Checksum
7135c2c79926: Download complete
2f95a15f1621: Verifying Checksum
2f95a15f1621: Download complete
0e29df3a3548: Verifying Checksum
0e29df3a3548: Download complete
10dd230dd590: Pull complete
cdaad85321f3: Pull complete
1212a4d3da76: Pull complete
6a49c6da5180: Pull complete
88aee4f19972: Download complete
fedc6f037b42: Pull complete
88aee4f19972: Pull complete
7135c2c79926: Pull complete
0e29df3a3548: Pull complete
2f95a15f1621: Pull complete
Digest: sha256:f977c52bfc7a3e7af716ba13befce4888cf022558c6e35c1f071a4660157e3d3
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-rubocop:b634
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2024-04-11T21:50:00.724844 #1]  WARN -- : Skipping app/javascript/app/util/map/google/oms.min.js due to CC::Parser::Client::HTTPError
W, [2024-04-11T21:50:00.724887 #1]  WARN -- : Response status: 422
W, [2024-04-11T21:50:01.746218 #1]  WARN -- : Skipping app/helpers/homepage_links_helper.rb due to CC::Parser::Client::HTTPError
W, [2024-04-11T21:50:01.746253 #1]  WARN -- : Response status: 422
W, [2024-04-11T21:50:01.849851 #1]  WARN -- : Skipping app/services/paginator.rb due to CC::Parser::Client::HTTPError
W, [2024-04-11T21:50:01.849882 #1]  WARN -- : Response status: 422
W, [2024-04-11T21:50:01.854281 #1]  WARN -- : Skipping app/mailers/feedback_mailer.rb due to CC::Parser::Client::HTTPError
W, [2024-04-11T21:50:01.854311 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-04-11T21:50:04.191323 #1]  INFO -- : Skipping file ./app/helpers/homepage_links_helper.rb due to exception (Racc::ParseError): ./app/helpers/homepage_links_helper.rb:67 :: parse error on value ":" (tCOLON)

I, [2024-04-11T21:50:04.231469 #1]  INFO -- : Skipping file ./app/services/paginator.rb due to exception (Racc::ParseError): ./app/services/paginator.rb:2 :: parse error on value ":" (tCOLON)

I, [2024-04-11T21:50:04.239986 #1]  INFO -- : Skipping file ./app/mailers/feedback_mailer.rb due to exception (Racc::ParseError): ./app/mailers/feedback_mailer.rb:11 :: parse error on value ":" (tCOLON)

W, [2024-04-11T21:50:05.117517 #1]  WARN -- : Skipping ./app/javascript/app/util/map/google/oms.min.js due to CC::Parser::Client::HTTPError
W, [2024-04-11T21:50:05.117564 #1]  WARN -- : Response status: 422
7
brakeman
brakeman engine documentation
8
bundler-audit
bundler-audit engine documentation
9
coffeelint
coffeelint engine documentation
10
fixme
fixme engine documentation
11
reek
reek engine documentation
View output
!!!
        Source 'app/helpers/homepage_links_helper.rb' cannot be processed by Reek due to a syntax error in the source file.

        This is a problem that is outside of Reek's scope and should be fixed by you, the
        user, in order for Reek being able to continue.

        Things you can try:
        - Check the syntax of the problematic file
        - If the file is not in fact a Ruby file, exclude it in your .reek.yml file

        Exception message:

        #<Parser::SyntaxError: unexpected token tRPAREN>

        Original backtrace:

        /usr/local/bundle/gems/parser-3.0.2.0/lib/parser/diagnostic/engine.rb:72:in `process'
	/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:286:in `on_error'
	/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `_racc_do_parse_c'
	/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `do_parse'
	/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:190:in `parse'
	/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:207:in `parse_with_comments'
	/usr/src/app/lib/reek/source/source_code.rb:117:in `parse'
	/usr/src/app/lib/reek/source/source_code.rb:53:in `syntax_tree'
	/usr/src/app/lib/reek/examiner.rb:116:in `syntax_tree'
	/usr/src/app/lib/reek/examiner.rb:120:in `examine_tree'
	/usr/src/app/lib/reek/examiner.rb:94:in `block in run'
	/usr/src/app/lib/reek/examiner.rb:104:in `wrap_exceptions'
	/usr/src/app/lib/reek/examiner.rb:93:in `run'
	/usr/src/app/lib/reek/examiner.rb:61:in `smells'
	/usr/src/app/lib/reek/examiner.rb:69:in `smells_count'
	/usr/src/app/lib/reek/report/base_report.rb:44:in `add_examiner'
	/usr/src/app/lib/reek/cli/command/report_command.rb:26:in `block in populate_reporter_with_smells'
	/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `each'
	/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `populate_reporter_with_smells'
	/usr/src/app/lib/reek/cli/command/report_command.rb:17:in `execute'
	/usr/src/app/lib/reek/cli/application.rb:32:in `execute'
	/usr/src/app/bin/code_climate_reek:68:in `<main>'

        !!!
        !!!
        Source 'app/mailers/feedback_mailer.rb' cannot be processed by Reek due to a syntax error in the source file.

        This is a problem that is outside of Reek's scope and should be fixed by you, the
        user, in order for Reek being able to continue.

        Things you can try:
        - Check the syntax of the problematic file
        - If the file is not in fact a Ruby file, exclude it in your .reek.yml file

        Exception message:

        #<Parser::SyntaxError: unexpected token tCOMMA>

        Original backtrace:

        /usr/local/bundle/gems/parser-3.0.2.0/lib/parser/diagnostic/engine.rb:72:in `process'
	/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:286:in `on_error'
	/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `_racc_do_parse_c'
	/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `do_parse'
	/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:190:in `parse'
	/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:207:in `parse_with_comments'
	/usr/src/app/lib/reek/source/source_code.rb:117:in `parse'
	/usr/src/app/lib/reek/source/source_code.rb:53:in `syntax_tree'
	/usr/src/app/lib/reek/examiner.rb:116:in `syntax_tree'
	/usr/src/app/lib/reek/examiner.rb:120:in `examine_tree'
	/usr/src/app/lib/reek/examiner.rb:94:in `block in run'
	/usr/src/app/lib/reek/examiner.rb:104:in `wrap_exceptions'
	/usr/src/app/lib/reek/examiner.rb:93:in `run'
	/usr/src/app/lib/reek/examiner.rb:61:in `smells'
	/usr/src/app/lib/reek/examiner.rb:69:in `smells_count'
	/usr/src/app/lib/reek/report/base_report.rb:44:in `add_examiner'
	/usr/src/app/lib/reek/cli/command/report_command.rb:26:in `block in populate_reporter_with_smells'
	/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `each'
	/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `populate_reporter_with_smells'
	/usr/src/app/lib/reek/cli/command/report_command.rb:17:in `execute'
	/usr/src/app/lib/reek/cli/application.rb:32:in `execute'
	/usr/src/app/bin/code_climate_reek:68:in `<main>'

        !!!
        !!!
        Source 'app/services/paginator.rb' cannot be processed by Reek due to a syntax error in the source file.

        This is a problem that is outside of Reek's scope and should be fixed by you, the
        user, in order for Reek being able to continue.

        Things you can try:
        - Check the syntax of the problematic file
        - If the file is not in fact a Ruby file, exclude it in your .reek.yml file

        Exception message:

        #<Parser::SyntaxError: unexpected token tRPAREN>

        Original backtrace:

        /usr/local/bundle/gems/parser-3.0.2.0/lib/parser/diagnostic/engine.rb:72:in `process'
	/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:286:in `on_error'
	/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `_racc_do_parse_c'
	/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `do_parse'
	/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:190:in `parse'
	/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:207:in `parse_with_comments'
	/usr/src/app/lib/reek/source/source_code.rb:117:in `parse'
	/usr/src/app/lib/reek/source/source_code.rb:53:in `syntax_tree'
	/usr/src/app/lib/reek/examiner.rb:116:in `syntax_tree'
	/usr/src/app/lib/reek/examiner.rb:120:in `examine_tree'
	/usr/src/app/lib/reek/examiner.rb:94:in `block in run'
	/usr/src/app/lib/reek/examiner.rb:104:in `wrap_exceptions'
	/usr/src/app/lib/reek/examiner.rb:93:in `run'
	/usr/src/app/lib/reek/examiner.rb:61:in `smells'
	/usr/src/app/lib/reek/examiner.rb:69:in `smells_count'
	/usr/src/app/lib/reek/report/base_report.rb:44:in `add_examiner'
	/usr/src/app/lib/reek/cli/command/report_command.rb:26:in `block in populate_reporter_with_smells'
	/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `each'
	/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `populate_reporter_with_smells'
	/usr/src/app/lib/reek/cli/command/report_command.rb:17:in `execute'
	/usr/src/app/lib/reek/cli/application.rb:32:in `execute'
	/usr/src/app/bin/code_climate_reek:68:in `<main>'

        !!!
12
rubocop
rubocop engine documentation
View output
unrecognized cop Lint/RaiseException found in .rubocop.yml, unrecognized cop Lint/StructNewOverride found in .rubocop.yml, unrecognized cop Style/GlobalStdStream found in .rubocop.yml
/usr/local/bundle/gems/rubocop-0.80.1/lib/rubocop/config_validator.rb:78:in `check_target_ruby': RuboCop found unknown Ruby version 3.1 in `TargetRubyVersion` parameter (in .rubocop.yml). (RuboCop::ValidationError)
Supported versions: 2.3, 2.4, 2.5, 2.6, 2.7
	from /usr/local/bundle/gems/rubocop-0.80.1/lib/rubocop/config_validator.rb:39:in `validate'
	from /usr/local/bundle/gems/rubocop-0.80.1/lib/rubocop/config.rb:44:in `check'
	from /usr/local/bundle/gems/rubocop-0.80.1/lib/rubocop/config.rb:37:in `create'
	from /usr/local/bundle/gems/rubocop-0.80.1/lib/rubocop/config_loader.rb:54:in `load_file'
	from /usr/local/bundle/gems/rubocop-0.80.1/lib/rubocop/config_loader.rb:86:in `configuration_from_file'
	from /usr/local/bundle/gems/rubocop-0.80.1/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>'