department-of-veterans-affairs/caseflow

View on GitHub
Update node version and dependencies in client folder #44434
ramon-chavez authored ec71b373
errored00:03:38
An engine encountered an error
E10 Error

We had trouble running the eslint 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-reek:b1077
b1077: Pulling from codeclimate/codeclimate-reek
169185f82c45: Pulling fs layer
222c39e7aa7a: Pulling fs layer
07546bd8601e: Pulling fs layer
7614965d2143: Pulling fs layer
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
efdfcd8fbec1: Waiting
c7595784a397: Waiting
f514b96dbbe5: Waiting
7631fbb23e31: Waiting
1c1134c7116e: Waiting
7614965d2143: Waiting
c35a874b378d: Waiting
7c1c951cf875: Waiting
5677c441f256: Waiting
222c39e7aa7a: Download complete
169185f82c45: Download complete
7614965d2143: Verifying Checksum
7614965d2143: Download complete
169185f82c45: Pull complete
07546bd8601e: Verifying Checksum
07546bd8601e: Download complete
222c39e7aa7a: Pull complete
5677c441f256: Verifying Checksum
5677c441f256: Download complete
efdfcd8fbec1: Verifying Checksum
efdfcd8fbec1: Download complete
c7595784a397: Verifying Checksum
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
07546bd8601e: Pull complete
7c1c951cf875: Verifying Checksum
7c1c951cf875: Download complete
7614965d2143: Pull 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
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2024-05-20T15:12:05.880103 #1]  WARN -- : Skipping client/app/hearings/components/HearingConversion.stories.js due to CC::Parser::Client::HTTPError
W, [2024-05-20T15:12:05.880150 #1]  WARN -- : Response status: 422
W, [2024-05-20T15:12:15.451536 #1]  WARN -- : Skipping client/app/components/WrenchIcon.jsx due to CC::Parser::Client::HTTPError
W, [2024-05-20T15:12:15.451566 #1]  WARN -- : Response status: 422
W, [2024-05-20T15:12:49.927851 #1]  WARN -- : Skipping spec/models/vacols/representative_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-05-20T15:12:49.927908 #1]  WARN -- : Response status: 422
W, [2024-05-20T15:12:58.881302 #1]  WARN -- : Skipping spec/helpers/ascii_converter_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-05-20T15:12:58.881338 #1]  WARN -- : Response status: 422
W, [2024-05-20T15:13:02.484592 #1]  WARN -- : Skipping spec/controllers/api/application_controller_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-05-20T15:13:02.484630 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-05-20T15:13:23.413500 #1]  INFO -- : Skipping file ./scripts/back_fill_hearing_task_associations.rb due to exception (Racc::ParseError): ./scripts/back_fill_hearing_task_associations.rb:15 :: parse error on value ":" (tCOLON)

I, [2024-05-20T15:13:23.551658 #1]  INFO -- : Skipping file ./app/jobs/hearing_disposition_change_job.rb due to exception (Racc::ParseError): ./app/jobs/hearing_disposition_change_job.rb:26 :: parse error on value "&." (error)

I, [2024-05-20T15:13:23.553911 #1]  INFO -- : Skipping file ./app/jobs/data_integrity_checks_job.rb due to exception (Racc::ParseError): ./app/jobs/data_integrity_checks_job.rb:33 :: parse error on value ":" (tCOLON)

I, [2024-05-20T15:13:23.595294 #1]  INFO -- : Skipping file ./app/jobs/stats_collector_job.rb due to exception (Racc::ParseError): ./app/jobs/stats_collector_job.rb:42 :: parse error on value ":" (tCOLON)

I, [2024-05-20T15:13:23.627772 #1]  INFO -- : Skipping file ./app/jobs/no_available_modifiers_fix_job.rb due to exception (Racc::ParseError): ./app/jobs/no_available_modifiers_fix_job.rb:56 :: parse error on value ["rescue", 56] (kRESCUE)

I, [2024-05-20T15:13:23.841692 #1]  INFO -- : Skipping file ./app/jobs/claim_date_dt_fix_job.rb due to exception (Racc::ParseError): ./app/jobs/claim_date_dt_fix_job.rb:54 :: parse error on value ["rescue", 54] (kRESCUE)

I, [2024-05-20T15:13:23.915250 #1]  INFO -- : Skipping file ./app/jobs/warm_bgs_caches_job.rb due to exception (RubyParser::SyntaxError): Odd number (2) list for Hash. s(:array, s(:const, :PRIORITY))

I, [2024-05-20T15:13:23.975297 #1]  INFO -- : Skipping file ./app/jobs/claim_not_established_fix_job.rb due to exception (Racc::ParseError): ./app/jobs/claim_not_established_fix_job.rb:37 :: parse error on value ":" (tCOLON)

I, [2024-05-20T15:13:24.062134 #1]  INFO -- : Skipping file ./app/jobs/sync_intake_job.rb due to exception (Racc::ParseError): ./app/jobs/sync_intake_job.rb:20 :: parse error on value ["rescue", 20] (kRESCUE)

I, [2024-05-20T15:13:24.089497 #1]  INFO -- : Skipping file ./app/jobs/update_appellant_representation_job.rb due to exception (Racc::ParseError): ./app/jobs/update_appellant_representation_job.rb:21 :: parse error on value ":" (tCOLON)

I, [2024-05-20T15:13:24.204008 #1]  INFO -- : Skipping file ./app/jobs/dta_sc_creation_failed_fix_job.rb due to exception (Racc::ParseError): ./app/jobs/dta_sc_creation_failed_fix_job.rb:35 :: parse error on value ":" (tCOLON)

I, [2024-05-20T15:13:24.204133 #1]  INFO -- : Skipping file ./app/jobs/sc_dta_for_appeal_fix_job.rb due to exception (Racc::ParseError): ./app/jobs/sc_dta_for_appeal_fix_job.rb:42 :: parse error on value ":" (tCOLON)

I, [2024-05-20T15:13:24.295934 #1]  INFO -- : Skipping file ./app/jobs/sync_reviews_job.rb due to exception (Racc::ParseError): ./app/jobs/sync_reviews_job.rb:34 :: parse error on value ["rescue", 34] (kRESCUE)

I, [2024-05-20T15:13:24.340133 #1]  INFO -- : Skipping file ./app/jobs/bgs_share_error_fix_job.rb due to exception (Racc::ParseError): ./app/jobs/bgs_share_error_fix_job.rb:48 :: parse error on value ["rescue", 48] (kRESCUE)

I, [2024-05-20T15:13:26.560276 #1]  INFO -- : Skipping file ./app/models/decision_review_intake.rb due to exception (Racc::ParseError): ./app/models/decision_review_intake.rb:9 :: parse error on value ":" (tCOLON)

I, [2024-05-20T15:13:29.491842 #1]  INFO -- : Skipping file app/controllers/explain_controller.rb due to exception (Racc::ParseError): app/controllers/explain_controller.rb:20 :: parse error on value ":" (tCOLON)

I, [2024-05-20T15:13:30.550239 #1]  INFO -- : Skipping file ./app/services/external_api/bgs_service.rb due to exception (Racc::ParseError): ./app/services/external_api/bgs_service.rb:13 :: parse error on value ":" (tCOLON)

I, [2024-05-20T15:13:30.603576 #1]  INFO -- : Skipping file ./app/services/external_api/efolder_service.rb due to exception (Racc::ParseError): ./app/services/external_api/efolder_service.rb:23 :: parse error on value ":" (tCOLON)

I, [2024-05-20T15:13:31.292426 #1]  INFO -- : Skipping file ./app/services/bgs_address_service.rb due to exception (RubyParser::SyntaxError): Odd number (2) list for Hash. s(:array, s(:call, nil, :address_line_1))

I, [2024-05-20T15:13:32.664691 #1]  INFO -- : Skipping file ./lib/helpers/dupp_ep_claims_sync_status_update_can_clr.rb due to exception (Racc::ParseError): ./lib/helpers/dupp_ep_claims_sync_status_update_can_clr.rb:42 :: parse error on value ["rescue", 42] (kRESCUE)

I, [2024-05-20T15:13:33.123095 #1]  INFO -- : Skipping file ./lib/helpers/cancel_tasks_and_descendants.rb due to exception (RubyParser::SyntaxError): Odd number (2) list for Hash. s(:array, s(:call, nil, :whodunnit))

I, [2024-05-20T15:13:33.513240 #1]  INFO -- : Skipping file ./lib/tasks/support/validate_sql_queries.rb due to exception (Racc::ParseError): ./lib/tasks/support/validate_sql_queries.rb:38 :: parse error on value "**" (error)

I, [2024-05-20T15:13:34.198862 #1]  INFO -- : Skipping file ./spec/support/clear_cache.rb due to exception (Racc::ParseError): ./spec/support/clear_cache.rb:15 :: parse error on value ":" (tCOLON)

I, [2024-05-20T15:13:36.817770 #1]  INFO -- : Skipping file ./spec/jobs/hearing_disposition_change_job_spec.rb due to exception (Racc::ParseError): ./spec/jobs/hearing_disposition_change_job_spec.rb:4 :: parse error on value ":" (tCOLON)

I, [2024-05-20T15:13:57.109725 #1]  INFO -- : Skipping file ./spec/lib/helpers/finder_console_methods_spec.rb due to exception (Racc::ParseError): ./spec/lib/helpers/finder_console_methods_spec.rb:7 :: parse error on value ":" (tCOLON)

I, [2024-05-20T15:14:00.766386 #1]  INFO -- : Skipping file ./spec/feature/non_comp/report_page_spec.rb due to exception (Racc::ParseError): ./spec/feature/non_comp/report_page_spec.rb:10 :: parse error on value ":" (tCOLON)

W, [2024-05-20T15:14:13.584058 #1]  WARN -- : Skipping ./client/app/hearings/components/HearingConversion.stories.js due to CC::Parser::Client::HTTPError
W, [2024-05-20T15:14:13.584345 #1]  WARN -- : Response status: 422
W, [2024-05-20T15:14:28.993276 #1]  WARN -- : Skipping ./client/app/components/WrenchIcon.jsx due to CC::Parser::Client::HTTPError
W, [2024-05-20T15:14:28.993359 #1]  WARN -- : Response status: 422
7
brakeman
brakeman engine documentation
8
bundler-audit
bundler-audit engine documentation
9
eslint
eslint engine documentation
View output
/usr/src/app/lib/validate_config.js:17
        throw e;
        ^

SyntaxError: Cannot read config file: /code/package.json
Error: Cannot read config file: /code/package.json
Error: Unexpected token < in JSON at position 22
    at JSON.parse (<anonymous>)
    at loadJSONConfigFile (/usr/local/node_modules/eslint/lib/config/config-file.js:120:21)
    at loadPackageJSONConfigFile (/usr/local/node_modules/eslint/lib/config/config-file.js:178:16)
    at loadConfigFile (/usr/local/node_modules/eslint/lib/config/config-file.js:226:26)
    at Object.load (/usr/local/node_modules/eslint/lib/config/config-file.js:535:18)
    at loadConfig (/usr/local/node_modules/eslint/lib/config.js:63:33)
    at getLocalConfig (/usr/local/node_modules/eslint/lib/config.js:130:29)
    at Config.getConfig (/usr/local/node_modules/eslint/lib/config.js:260:26)
    at Config.getConfig (/usr/src/app/lib/eslint-patch.js:45:46)
    at CLIEngine.getConfigForFile (/usr/local/node_modules/eslint/lib/cli-engine.js:776:29)

Node.js v17.3.0