sanger/sequencescape

View on GitHub
Ignore new rubocops #4828
Stephen Hulme authored f241f28b
complete00:01:26
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-reek:b1077
b1077: Pulling from codeclimate/codeclimate-reek
169185f82c45: Already exists
222c39e7aa7a: Already exists
07546bd8601e: Already exists
7614965d2143: Already exists
7c1c951cf875: Pulling fs layer
5677c441f256: Pulling fs layer
efdfcd8fbec1: Pulling fs layer
c7595784a397: Pulling fs layer
f514b96dbbe5: Pulling fs layer
7631fbb23e31: Pulling fs layer
1c1134c7116e: Pulling fs layer
c35a874b378d: Pulling fs layer
c7595784a397: Waiting
f514b96dbbe5: Waiting
7631fbb23e31: Waiting
1c1134c7116e: Waiting
c35a874b378d: Waiting
efdfcd8fbec1: Verifying Checksum
efdfcd8fbec1: Download complete
5677c441f256: Verifying Checksum
5677c441f256: Download complete
c7595784a397: Download complete
f514b96dbbe5: Verifying Checksum
f514b96dbbe5: Download complete
1c1134c7116e: Verifying Checksum
1c1134c7116e: Download complete
7631fbb23e31: Verifying Checksum
7631fbb23e31: Download complete
c35a874b378d: Verifying Checksum
c35a874b378d: Download complete
7c1c951cf875: Verifying Checksum
7c1c951cf875: Download complete
7c1c951cf875: Pull complete
5677c441f256: Pull complete
efdfcd8fbec1: Pull complete
c7595784a397: Pull complete
f514b96dbbe5: Pull complete
7631fbb23e31: Pull complete
1c1134c7116e: Pull complete
c35a874b378d: Pull complete
Digest: sha256:5874e782ab8172808ddb4217d6a62d59f8ecbb0984a612f8d2c2a956dc8b2e7e
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-reek:b1077
docker pull codeclimate/codeclimate-flog:b976
b976: Pulling from codeclimate/codeclimate-flog
df20fa9351a1: Pulling fs layer
b79bab524d4c: Pulling fs layer
8f5dd72031b5: Pulling fs layer
322f2010e51b: Pulling fs layer
da44f014aa21: Pulling fs layer
5d9ebd8a80b7: Pulling fs layer
5164282ac966: Pulling fs layer
362bcfd2d785: Pulling fs layer
5ae01dee2213: Pulling fs layer
e77c316d3f67: Pulling fs layer
b0f4d98df8a9: Pulling fs layer
da44f014aa21: Waiting
5d9ebd8a80b7: Waiting
5164282ac966: Waiting
322f2010e51b: Waiting
362bcfd2d785: Waiting
5ae01dee2213: Waiting
e77c316d3f67: Waiting
b0f4d98df8a9: Waiting
8f5dd72031b5: Verifying Checksum
8f5dd72031b5: Download complete
df20fa9351a1: Verifying Checksum
df20fa9351a1: Download complete
b79bab524d4c: Verifying Checksum
b79bab524d4c: Download complete
da44f014aa21: Verifying Checksum
da44f014aa21: Download complete
df20fa9351a1: Pull complete
5d9ebd8a80b7: Verifying Checksum
5d9ebd8a80b7: Download complete
b79bab524d4c: Pull complete
5164282ac966: Verifying Checksum
5164282ac966: Download complete
362bcfd2d785: Verifying Checksum
362bcfd2d785: Download complete
8f5dd72031b5: Pull complete
322f2010e51b: Verifying Checksum
322f2010e51b: Download complete
5ae01dee2213: Download complete
e77c316d3f67: Download complete
b0f4d98df8a9: Verifying Checksum
b0f4d98df8a9: Download complete
322f2010e51b: Pull complete
da44f014aa21: Pull complete
5d9ebd8a80b7: Pull complete
5164282ac966: Pull complete
362bcfd2d785: Pull complete
5ae01dee2213: Pull complete
e77c316d3f67: Pull complete
b0f4d98df8a9: Pull complete
Digest: sha256:536a5127f62d41c9014b12a035f064870dd4cd6db0a0c90ed18b15c4fa7e3f3d
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-flog:b976
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2024-04-22T10:32:21.660275 #1]  WARN -- : Skipping app/models/request_type/validator.rb due to CC::Parser::Client::HTTPError
W, [2024-04-22T10:32:21.660312 #1]  WARN -- : Response status: 422
W, [2024-04-22T10:32:25.315504 #1]  WARN -- : Skipping app/models/submission/order_presenter.rb due to CC::Parser::Client::HTTPError
W, [2024-04-22T10:32:25.315549 #1]  WARN -- : Response status: 422
W, [2024-04-22T10:32:30.993301 #1]  WARN -- : Skipping app/api/core/abilities.rb due to CC::Parser::Client::HTTPError
W, [2024-04-22T10:32:30.993337 #1]  WARN -- : Response status: 422
W, [2024-04-22T10:32:31.373271 #1]  WARN -- : Skipping app/api/core/endpoint/basic_handler/actions/guards.rb due to CC::Parser::Client::HTTPError
W, [2024-04-22T10:32:31.373315 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-04-22T10:32:39.380899 #1]  INFO -- : Skipping file ./app/uat_actions/uat_actions/generate_tubes.rb due to exception (Racc::ParseError): ./app/uat_actions/uat_actions/generate_tubes.rb:11 :: parse error on value ":" (tCOLON)

I, [2024-04-22T10:32:40.516725 #1]  INFO -- : Skipping file ./app/models/request_type/validator.rb due to exception (Racc::ParseError): ./app/models/request_type/validator.rb:21 :: parse error on value ":" (tCOLON)

I, [2024-04-22T10:32:40.826155 #1]  INFO -- : Skipping file ./app/models/tube_rack.rb due to exception (Racc::ParseError): ./app/models/tube_rack.rb:10 :: parse error on value ":" (tCOLON)

I, [2024-04-22T10:32:41.136473 #1]  INFO -- : Skipping file ./app/models/cherrypick/volume_by_nano_grams.rb due to exception (Racc::ParseError): ./app/models/cherrypick/volume_by_nano_grams.rb:84 :: parse error on value ")" (tRPAREN)

I, [2024-04-22T10:32:41.240579 #1]  INFO -- : Skipping file ./app/models/plate_volume.rb due to exception (Racc::ParseError): ./app/models/plate_volume.rb:9 :: parse error on value ":" (tCOLON)

I, [2024-04-22T10:32:41.547764 #1]  INFO -- : Skipping file ./app/models/plate/quad_creator.rb due to exception (Racc::ParseError): ./app/models/plate/quad_creator.rb:10 :: parse error on value ":" (tCOLON)

I, [2024-04-22T10:32:42.089801 #1]  INFO -- : Skipping file ./app/models/pulldown/plate_purposes.rb due to exception (Racc::ParseError): ./app/models/pulldown/plate_purposes.rb:75 :: parse error on value ":" (tCOLON)

I, [2024-04-22T10:32:42.973069 #1]  INFO -- : Skipping file ./app/models/submission/order_presenter.rb due to exception (Racc::ParseError): ./app/models/submission/order_presenter.rb:20 :: parse error on value "..." (tDOT3)

I, [2024-04-22T10:32:43.464906 #1]  INFO -- : Skipping file ./app/models/qc_report/file.rb due to exception (Racc::ParseError): ./app/models/qc_report/file.rb:36 :: parse error on value ["rescue", 36] (kRESCUE)

I, [2024-04-22T10:32:46.110849 #1]  INFO -- : Skipping file ./app/api/core/abilities.rb due to exception (Racc::ParseError): ./app/api/core/abilities.rb:46 :: parse error on value "..." (tDOT3)

I, [2024-04-22T10:32:46.400980 #1]  INFO -- : Skipping file ./app/api/core/endpoint/basic_handler/actions/guards.rb due to exception (Racc::ParseError): ./app/api/core/endpoint/basic_handler/actions/guards.rb:29 :: parse error on value ":" (tCOLON)

I, [2024-04-22T10:32:47.020269 #1]  INFO -- : Skipping file ./app/sequencescape_excel/sequencescape_excel/column_list.rb due to exception (Racc::ParseError): ./app/sequencescape_excel/sequencescape_excel/column_list.rb:8 :: parse error on value ":" (tCOLON)
7
fixme
fixme engine documentation
8
reek
reek engine documentation
View output
!!!
        Source 'app/models/request_type/validator.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 tDOT3>

        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/models/submission/order_presenter.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 tDOT3>

        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/api/core/abilities.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 tDOT3>

        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/api/core/endpoint/basic_handler/actions/guards.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 tDOT3>

        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>'

        !!!
9
bundler-audit
bundler-audit engine documentation
10
flog
flog engine documentation
View output
ERROR: parsing ruby file app/models/request_type/validator.rb
Racc::ParseError: app/models/request_type/validator.rb:77 :: parse error on value "..." (tDOT3) at:
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:528:in `on_error'
  /usr/local/bundle/gems/ruby_parser-3.13.1/lib/ruby_parser_extras.rb:1179: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/ruby_parser-3.13.1/lib/ruby_parser_extras.rb:1086:in `block in process'
ERROR: parsing ruby file app/models/submission/order_presenter.rb
Racc::ParseError: app/models/submission/order_presenter.rb:20 :: parse error on value "..." (tDOT3) at:
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:528:in `on_error'
  /usr/local/bundle/gems/ruby_parser-3.13.1/lib/ruby_parser_extras.rb:1179: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/ruby_parser-3.13.1/lib/ruby_parser_extras.rb:1086:in `block in process'
ERROR: parsing ruby file app/api/core/abilities.rb
Racc::ParseError: app/api/core/abilities.rb:46 :: parse error on value "..." (tDOT3) at:
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:528:in `on_error'
  /usr/local/bundle/gems/ruby_parser-3.13.1/lib/ruby_parser_extras.rb:1179: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/ruby_parser-3.13.1/lib/ruby_parser_extras.rb:1086:in `block in process'
ERROR: parsing ruby file app/api/core/endpoint/basic_handler/actions/guards.rb
Racc::ParseError: app/api/core/endpoint/basic_handler/actions/guards.rb:47 :: parse error on value "..." (tDOT3) at:
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:528:in `on_error'
  /usr/local/bundle/gems/ruby_parser-3.13.1/lib/ruby_parser_extras.rb:1179: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/ruby_parser-3.13.1/lib/ruby_parser_extras.rb:1086:in `block in process'