ministryofjustice/et_api

View on GitHub
RST-5026 Rubocop fixes (#634) #897
garytaylor authored 9b0b324e
errored00:00:26
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.json.
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
docker pull codeclimate/codeclimate-brakeman:b809
b809: Pulling from codeclimate/codeclimate-brakeman
ff3a5c916c92: Pulling fs layer
b2c955d3d077: Pulling fs layer
958c5b39b153: Pulling fs layer
dfbda51d9cf2: Pulling fs layer
e66a07bba322: Pulling fs layer
cf7f097ebdd1: Pulling fs layer
8957a48b228b: Pulling fs layer
c815e97f53ae: Pulling fs layer
461645ba8c70: Pulling fs layer
c815e97f53ae: Waiting
cf7f097ebdd1: Waiting
8957a48b228b: Waiting
461645ba8c70: Waiting
dfbda51d9cf2: Waiting
e66a07bba322: Waiting
b2c955d3d077: Verifying Checksum
b2c955d3d077: Download complete
ff3a5c916c92: Verifying Checksum
ff3a5c916c92: Download complete
dfbda51d9cf2: Verifying Checksum
dfbda51d9cf2: Download complete
ff3a5c916c92: Pull complete
e66a07bba322: Verifying Checksum
e66a07bba322: Download complete
b2c955d3d077: Pull complete
958c5b39b153: Download complete
8957a48b228b: Verifying Checksum
8957a48b228b: Download complete
cf7f097ebdd1: Verifying Checksum
cf7f097ebdd1: Download complete
c815e97f53ae: Verifying Checksum
c815e97f53ae: Download complete
461645ba8c70: Verifying Checksum
958c5b39b153: Pull complete
dfbda51d9cf2: Pull complete
e66a07bba322: Pull complete
cf7f097ebdd1: Pull complete
8957a48b228b: Pull complete
c815e97f53ae: Pull complete
461645ba8c70: Pull complete
Digest: sha256:22a9cec46c202380b8e08dbc19ab01ba4ca89e2dfe3edbcd983a623a259478aa
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-brakeman:b809
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
322f2010e51b: Waiting
362bcfd2d785: Waiting
5ae01dee2213: Waiting
5164282ac966: Waiting
da44f014aa21: Waiting
e77c316d3f67: Waiting
5d9ebd8a80b7: Waiting
8f5dd72031b5: Download complete
b79bab524d4c: Download complete
df20fa9351a1: Verifying Checksum
df20fa9351a1: Download complete
da44f014aa21: Verifying Checksum
da44f014aa21: Download complete
5d9ebd8a80b7: Verifying Checksum
5d9ebd8a80b7: Download complete
df20fa9351a1: Pull complete
b79bab524d4c: Pull complete
8f5dd72031b5: Pull complete
362bcfd2d785: Verifying Checksum
362bcfd2d785: Download complete
322f2010e51b: Verifying Checksum
322f2010e51b: Download complete
5164282ac966: Verifying Checksum
5164282ac966: Download complete
5ae01dee2213: Verifying Checksum
5ae01dee2213: Download complete
b0f4d98df8a9: Verifying Checksum
b0f4d98df8a9: Download complete
e77c316d3f67: Verifying Checksum
e77c316d3f67: 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
docker pull codeclimate/codeclimate-rubocop:b373
b373: Pulling from codeclimate/codeclimate-rubocop
ab7e51e37a18: Pulling fs layer
a3ed95caeb02: Pulling fs layer
442b117d3b3d: Pulling fs layer
b55acd437fdd: Pulling fs layer
85b6435fbecb: Pulling fs layer
dae88c5227db: Pulling fs layer
488697fd6c5d: Pulling fs layer
8fcbcdc5ec3f: Pulling fs layer
e614deca59a8: Pulling fs layer
d14e6893c4a6: Pulling fs layer
b55acd437fdd: Waiting
dae88c5227db: Waiting
85b6435fbecb: Waiting
488697fd6c5d: Waiting
8fcbcdc5ec3f: Waiting
e614deca59a8: Waiting
a3ed95caeb02: Download complete
442b117d3b3d: Verifying Checksum
442b117d3b3d: Download complete
ab7e51e37a18: Download complete
85b6435fbecb: Verifying Checksum
85b6435fbecb: Download complete
ab7e51e37a18: Pull complete
dae88c5227db: Verifying Checksum
dae88c5227db: Download complete
a3ed95caeb02: Pull complete
488697fd6c5d: Download complete
442b117d3b3d: Pull complete
b55acd437fdd: Verifying Checksum
b55acd437fdd: Download complete
e614deca59a8: Download complete
8fcbcdc5ec3f: Verifying Checksum
8fcbcdc5ec3f: Download complete
d14e6893c4a6: Verifying Checksum
d14e6893c4a6: Download complete
b55acd437fdd: Pull complete
85b6435fbecb: Pull complete
dae88c5227db: Pull complete
488697fd6c5d: Pull complete
8fcbcdc5ec3f: Pull complete
e614deca59a8: Pull complete
d14e6893c4a6: Pull complete
Digest: sha256:143b71b19464a9a5eb02db5a17d67e9e44ac2215ee78bcfcf1452b354414c658
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-rubocop:b373
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-12-19T02:04:58.961379 #1]  INFO -- : Skipping file ./app/jobs/assign_root_object_to_commands_job.rb due to exception (Racc::ParseError): ./app/jobs/assign_root_object_to_commands_job.rb:10 :: parse error on value ":" (tCOLON)

I, [2024-12-19T02:04:59.364666 #1]  INFO -- : Skipping file ./app/validators/file_content_type_validator.rb due to exception (Racc::ParseError): ./app/validators/file_content_type_validator.rb:5 :: parse error on value "]" (tRBRACK)
7
brakeman
brakeman engine documentation
8
flog
flog engine documentation
9
rubocop
rubocop engine documentation
View output
/usr/local/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:122:in `require': cannot load such file -- rubocop-rails (LoadError)
	from /usr/local/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:122:in `require'
	from /usr/local/bundle/gems/rubocop-0.52.1/lib/rubocop/config_loader_resolver.rb:15:in `block in resolve_requires'
	from /usr/local/bundle/gems/rubocop-0.52.1/lib/rubocop/config_loader_resolver.rb:11:in `each'
	from /usr/local/bundle/gems/rubocop-0.52.1/lib/rubocop/config_loader_resolver.rb:11:in `resolve_requires'
	from /usr/local/bundle/gems/rubocop-0.52.1/lib/rubocop/config_loader.rb:38:in `load_file'
	from /usr/local/bundle/gems/rubocop-0.52.1/lib/rubocop/config_loader.rb:79:in `configuration_from_file'
	from /usr/local/bundle/gems/rubocop-0.52.1/lib/rubocop/config_store.rb:44:in `for'
	from /usr/local/bundle/gems/rubocop-0.52.1/lib/rubocop/target_finder.rb:161:in `excluded_dirs'
	from /usr/local/bundle/gems/rubocop-0.52.1/lib/rubocop/target_finder.rb:139:in `find_files'
	from /usr/local/bundle/gems/rubocop-0.52.1/lib/rubocop/target_finder.rb:112:in `target_files_in_dir'
	from /usr/local/bundle/gems/rubocop-0.52.1/lib/rubocop/target_finder.rb:89:in `block in find'
	from /usr/local/bundle/gems/rubocop-0.52.1/lib/rubocop/target_finder.rb:87:in `each'
	from /usr/local/bundle/gems/rubocop-0.52.1/lib/rubocop/target_finder.rb:87:in `find'
	from /usr/local/bundle/gems/rubocop-0.52.1/lib/rubocop/runner.rb:58:in `find_target_files'
	from /usr/src/app/lib/cc/engine/file_list_resolver.rb:15: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>'