ministryofjustice/et_api

View on GitHub
RST-5026 Rubocop fixes (#634) #888
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-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
da44f014aa21: Waiting
5d9ebd8a80b7: Waiting
5164282ac966: Waiting
362bcfd2d785: Waiting
5ae01dee2213: Waiting
e77c316d3f67: Waiting
b0f4d98df8a9: Waiting
8f5dd72031b5: Verifying Checksum
8f5dd72031b5: Download complete
b79bab524d4c: Download complete
df20fa9351a1: Verifying Checksum
df20fa9351a1: Download complete
da44f014aa21: Verifying Checksum
da44f014aa21: Download complete
5d9ebd8a80b7: Download complete
df20fa9351a1: Pull complete
5164282ac966: Verifying Checksum
5164282ac966: Download complete
362bcfd2d785: Verifying Checksum
362bcfd2d785: Download complete
322f2010e51b: Verifying Checksum
322f2010e51b: Download complete
b79bab524d4c: Pull complete
5ae01dee2213: Verifying Checksum
5ae01dee2213: Download complete
b0f4d98df8a9: Verifying Checksum
b0f4d98df8a9: Download complete
e77c316d3f67: Verifying Checksum
e77c316d3f67: Download complete
8f5dd72031b5: Pull 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...
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-04-20T01:34:54.935571 #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-04-20T01:34:55.535747 #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>'