ERROR .scannerwork/.sonartmp/eslint-bridge-bundle/package/node_modules/eslint/lib/cli-engine/cli-engine.js:421

Template for a good bug report, formatted with Markdown:

  • Versions used (SonarQube, Scanner, Plugin, and any relevant extension)
    Sonar Scanner version 5 with Sonarqube 8.9 LTS from Azure DevOps
  • Error observed (wrap logs/code around triple quote ``` for proper formatting)
ERROR .scannerwork/.sonartmp/eslint-bridge-bundle/package/node_modules/eslint/lib/cli-engine/cli-engine.js:421

We have recently updated SonarQube to 8.9 LTS version and we are using Azure DevOps as CI server which is calling sonarqube to do the analysis. We are facing this error with a lot of Pipelines

Complete log of the task

2022-02-16T10:35:31.6582951Z ##[section]Starting: SonarQubeAnalyze
2022-02-16T10:35:31.6590418Z ==============================================================================
2022-02-16T10:35:31.6590821Z Task         : Run Code Analysis
2022-02-16T10:35:31.6591169Z Description  : Run scanner and upload the results to the SonarQube server.
2022-02-16T10:35:31.6591494Z Version      : 5.4.0
2022-02-16T10:35:31.6591730Z Author       : sonarsource
2022-02-16T10:35:31.6592362Z Help         : Version: 5.4.0. This task is not needed for Maven and Gradle projects since the scanner should be run as part of the build.

[More Information](http://redirect.sonarsource.com/doc/install-configure-scanner-tfs-ts.html)
2022-02-16T10:35:31.6593091Z ==============================================================================
2022-02-16T10:35:32.0499980Z [command]/__w/_tasks/SonarQubeAnalyze_6d01813a-9589-4b15-8491-8164aeb38055/5.4.0/sonar-scanner/bin/sonar-scanner
2022-02-16T10:35:32.2969890Z INFO: Scanner configuration file: /__w/_tasks/SonarQubeAnalyze_6d01813a-9589-4b15-8491-8164aeb38055/5.4.0/sonar-scanner/conf/sonar-scanner.properties
2022-02-16T10:35:32.2971063Z INFO: Project root configuration file: NONE
2022-02-16T10:35:32.3538487Z INFO: SonarScanner 4.6.2.2472
2022-02-16T10:35:32.3539966Z INFO: Java 11.0.5 Private Build (64-bit)
2022-02-16T10:35:32.3541089Z INFO: Linux 3.10.0-1160.49.1.el7.x86_64 amd64
2022-02-16T10:35:32.9530219Z INFO: User cache: /home/ec2-user_azpcontainer/.sonar/cache
2022-02-16T10:35:34.2683886Z INFO: Scanner configuration file: /__w/_tasks/SonarQubeAnalyze_6d01813a-9589-4b15-8491-8164aeb38055/5.4.0/sonar-scanner/conf/sonar-scanner.properties
2022-02-16T10:35:34.2685223Z INFO: Project root configuration file: NONE
2022-02-16T10:35:34.2859309Z INFO: Analyzing on SonarQube server 8.9.6
2022-02-16T10:35:34.2861472Z INFO: Default locale: "en_US", source code encoding: "US-ASCII" (analysis is platform dependent)
2022-02-16T10:35:34.8544438Z INFO: Load global settings
2022-02-16T10:35:35.0866685Z INFO: Load global settings (done) | time=231ms
2022-02-16T10:35:35.0924143Z INFO: Server id: ***************************************************
2022-02-16T10:35:35.0960954Z INFO: User cache: /home/ec2-user_azpcontainer/.sonar/cache
2022-02-16T10:35:35.0986670Z INFO: Load/download plugins
2022-02-16T10:35:35.0987762Z INFO: Load plugins index
2022-02-16T10:35:35.1751185Z INFO: Load plugins index (done) | time=71ms
2022-02-16T10:35:38.3880133Z INFO: Load/download plugins (done) | time=3289ms
2022-02-16T10:35:38.8709630Z INFO: Loaded core extensions: developer-scanner
2022-02-16T10:35:39.2544124Z INFO: JavaScript/TypeScript frontend is enabled
2022-02-16T10:35:39.4829095Z INFO: Process project properties
2022-02-16T10:35:39.4968886Z INFO: Process project properties (done) | time=11ms
2022-02-16T10:35:39.4969859Z INFO: Execute project builders
2022-02-16T10:35:39.4970457Z INFO: Execute project builders (done) | time=3ms
2022-02-16T10:35:39.5010592Z INFO: Project key: ***************************************************
2022-02-16T10:35:39.5011654Z INFO: Base dir: /__w/15/s
2022-02-16T10:35:39.5012243Z INFO: Working dir: /__w/15/s/.scannerwork
2022-02-16T10:35:39.6763493Z INFO: Load project settings for component key: ***************************************************
2022-02-16T10:35:39.6919579Z INFO: Load project settings for component key: *************************************************** (done) | time=17ms
2022-02-16T10:35:39.7038847Z INFO: Load project branches
2022-02-16T10:35:39.7210713Z INFO: Load project branches (done) | time=18ms
2022-02-16T10:35:39.7215105Z INFO: Load project pull requests
2022-02-16T10:35:39.7449162Z INFO: Load project pull requests (done) | time=14ms
2022-02-16T10:35:39.7450328Z INFO: Load branch configuration
2022-02-16T10:35:39.7450956Z INFO: Load branch configuration (done) | time=1ms
2022-02-16T10:35:39.8001671Z INFO: Auto-configuring with CI 'Azure DevOps'
2022-02-16T10:35:39.8002795Z INFO: Load quality profiles
2022-02-16T10:35:39.8519145Z INFO: Load quality profiles (done) | time=48ms
2022-02-16T10:35:39.8570241Z INFO: Auto-configuring with CI 'Azure DevOps'
2022-02-16T10:35:39.8571867Z INFO: Load active rules
2022-02-16T10:35:41.0031245Z INFO: Load active rules (done) | time=1142ms
2022-02-16T10:35:41.0824276Z INFO: Indexing files...
2022-02-16T10:35:41.0869833Z INFO: Project configuration:
2022-02-16T10:35:41.4930043Z INFO: Load project repositories
2022-02-16T10:35:41.5110410Z INFO: Load project repositories (done) | time=18ms
2022-02-16T10:35:42.8415264Z INFO: 40 files indexed
2022-02-16T10:35:42.8416518Z INFO: 7933 files ignored because of scm ignore settings
2022-02-16T10:35:42.8417157Z INFO: Quality profile for js: Sonar way
2022-02-16T10:35:42.8417859Z INFO: Quality profile for xml: Sonar way
2022-02-16T10:35:42.8419278Z INFO: ------------- Run sensors on module ***************************************************
2022-02-16T10:35:42.9751493Z INFO: JavaScript/TypeScript frontend is enabled
2022-02-16T10:35:43.0029379Z INFO: Load metrics repository
2022-02-16T10:35:43.0291312Z INFO: Load metrics repository (done) | time=22ms
2022-02-16T10:35:45.5188421Z INFO: Sensor CSS Rules [cssfamily]
2022-02-16T10:35:45.5196776Z INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
2022-02-16T10:35:45.5197916Z INFO: Sensor CSS Rules [cssfamily] (done) | time=1ms
2022-02-16T10:35:45.5198611Z INFO: Sensor C# Project Type Information [csharp]
2022-02-16T10:35:45.5199257Z INFO: Sensor C# Project Type Information [csharp] (done) | time=1ms
2022-02-16T10:35:45.5199842Z INFO: Sensor C# Properties [csharp]
2022-02-16T10:35:45.5202783Z INFO: Sensor C# Properties [csharp] (done) | time=2ms
2022-02-16T10:35:45.5207963Z INFO: Sensor JavaXmlSensor [java]
2022-02-16T10:35:45.5288824Z INFO: 1 source file to be analyzed
2022-02-16T10:35:45.8578702Z INFO: 1/1 source file has been analyzed
2022-02-16T10:35:45.8628450Z INFO: Sensor JavaXmlSensor [java] (done) | time=332ms
2022-02-16T10:35:45.8629276Z INFO: Sensor HTML [web]
2022-02-16T10:35:45.8688288Z INFO: Sensor HTML [web] (done) | time=5ms
2022-02-16T10:35:45.8731748Z INFO: Sensor XML Sensor [xml]
2022-02-16T10:35:45.8775780Z INFO: 1 source file to be analyzed
2022-02-16T10:35:46.0451995Z INFO: 1/1 source file has been analyzed
2022-02-16T10:35:46.0455289Z INFO: Sensor XML Sensor [xml] (done) | time=188ms
2022-02-16T10:35:46.0455994Z INFO: Sensor VB.NET Project Type Information [vbnet]
2022-02-16T10:35:46.0456634Z INFO: Sensor VB.NET Project Type Information [vbnet] (done) | time=1ms
2022-02-16T10:35:46.0457224Z INFO: Sensor VB.NET Properties [vbnet]
2022-02-16T10:35:46.0458017Z INFO: Sensor VB.NET Properties [vbnet] (done) | time=1ms
2022-02-16T10:35:46.0458661Z INFO: Sensor JaCoCo XML Report Importer [jacoco]
2022-02-16T10:35:46.0505567Z INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
2022-02-16T10:35:46.0515764Z INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer
2022-02-16T10:35:46.0528613Z INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=5ms
2022-02-16T10:35:46.0529859Z INFO: Sensor JavaScript analysis [javascript]
2022-02-16T10:35:47.7201285Z INFO: Deploying custom rules bundle jar:file:/home/ec2-user_azpcontainer/.sonar/cache/1c0d0d6d358b2ff25a27998c60079e2e/sonar-securityjsfrontend-plugin.jar!/js-vulnerabilities-rules-1.0.0.tgz to /__w/15/s/.scannerwork/.sonartmp/eslint-bridge-bundle/package/custom-rules209218528901759637
2022-02-16T10:35:48.1114502Z ##[error]ERROR: /__w/15/s/.scannerwork/.sonartmp/eslint-bridge-bundle/package/node_modules/eslint/lib/cli-engine/cli-engine.js:421
ERROR:     } catch {
2022-02-16T10:35:48.1126636Z ERROR: /__w/15/s/.scannerwork/.sonartmp/eslint-bridge-bundle/package/node_modules/eslint/lib/cli-engine/cli-engine.js:421
2022-02-16T10:35:48.1127497Z ERROR:     } catch {
2022-02-16T10:35:48.1131400Z ##[error]ERROR:             ^
ERROR: 
ERROR: SyntaxError: Unexpected token {
ERROR:     at createScript (vm.js:80:10)
ERROR:     at Object.runInThisContext (vm.js:139:10)
ERROR:     at Module._compile (module.js:617:28)
ERROR:     at Object.Module._extensions..js (module.js:664:10)
ERROR:     at Module.load (module.js:566:32)
ERROR:     at tryModuleLoad (module.js:506:12)
ERROR:     at Function.Module._load (module.js:498:3)
ERROR:     at Module.require (module.js:597:17)
ERROR:     at require (internal/module.js:11:18)
ERROR:     at Object.<anonymous> (/__w/15/s/.scannerwork/.sonartmp/eslint-bridge-bundle/package/node_modules/eslint/lib/cli-engine/index.js:3:23)
2022-02-16T10:35:48.1133943Z ERROR:             ^
2022-02-16T10:35:48.1134244Z ERROR: 
2022-02-16T10:35:48.1134557Z ERROR: SyntaxError: Unexpected token {
2022-02-16T10:35:48.1134968Z ERROR:     at createScript (vm.js:80:10)
2022-02-16T10:35:48.1135422Z ERROR:     at Object.runInThisContext (vm.js:139:10)
2022-02-16T10:35:48.1136036Z ERROR:     at Module._compile (module.js:617:28)
2022-02-16T10:35:48.1136545Z ERROR:     at Object.Module._extensions..js (module.js:664:10)
2022-02-16T10:35:48.1137033Z ERROR:     at Module.load (module.js:566:32)
2022-02-16T10:35:48.1137478Z ERROR:     at tryModuleLoad (module.js:506:12)
2022-02-16T10:35:48.1144240Z ERROR:     at Function.Module._load (module.js:498:3)
2022-02-16T10:35:48.1144723Z ERROR:     at Module.require (module.js:597:17)
2022-02-16T10:35:48.1145169Z ERROR:     at require (internal/module.js:11:18)
2022-02-16T10:35:48.1146164Z ERROR:     at Object.<anonymous> (/__w/15/s/.scannerwork/.sonartmp/eslint-bridge-bundle/package/node_modules/eslint/lib/cli-engine/index.js:3:23)
2022-02-16T10:40:47.8247938Z ##[error]ERROR: Failed to start server (300s timeout)
org.sonarsource.nodejs.NodeCommandException: Failed to start server (300s timeout)
	at org.sonar.plugins.javascript.eslint.EslintBridgeServerImpl.startServer(EslintBridgeServerImpl.java:125)
	at org.sonar.plugins.javascript.eslint.EslintBridgeServerImpl.startServerLazily(EslintBridgeServerImpl.java:191)
	at org.sonar.plugins.javascript.eslint.AbstractEslintSensor.startBridge(AbstractEslintSensor.java:150)
	at org.sonar.plugins.javascript.eslint.AbstractEslintSensor.execute(AbstractEslintSensor.java:124)
	at org.sonar.plugins.javascript.eslint.JavaScriptEslintBasedSensor.execute(JavaScriptEslintBasedSensor.java:52)
	at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:48)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:85)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.lambda$execute$1(ModuleSensorsExecutor.java:59)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.withModuleStrategy(ModuleSensorsExecutor.java:77)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:59)
	at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:82)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:137)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:123)
	at org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer.java:392)
	at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:388)
	at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:357)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:137)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:123)
	at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(GlobalContainer.java:150)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:137)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:123)
	at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:72)
	at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:66)
	at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
	at com.sun.proxy.$Proxy0.execute(Unknown Source)
	at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
	at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
	at org.sonarsource.scanner.cli.Main.execute(Main.java:112)
	at org.sonarsource.scanner.cli.Main.execute(Main.java:75)
	at org.sonarsource.scanner.cli.Main.main(Main.java:61)
2022-02-16T10:40:47.8264333Z ERROR: Failed to start server (300s timeout)
2022-02-16T10:40:47.8265432Z org.sonarsource.nodejs.NodeCommandException: Failed to start server (300s timeout)
2022-02-16T10:40:47.8266306Z 	at org.sonar.plugins.javascript.eslint.EslintBridgeServerImpl.startServer(EslintBridgeServerImpl.java:125)
2022-02-16T10:40:47.8267268Z 	at org.sonar.plugins.javascript.eslint.EslintBridgeServerImpl.startServerLazily(EslintBridgeServerImpl.java:191)
2022-02-16T10:40:47.8268455Z 	at org.sonar.plugins.javascript.eslint.AbstractEslintSensor.startBridge(AbstractEslintSensor.java:150)
2022-02-16T10:40:47.8269448Z 	at org.sonar.plugins.javascript.eslint.AbstractEslintSensor.execute(AbstractEslintSensor.java:124)
2022-02-16T10:40:47.8270373Z 	at org.sonar.plugins.javascript.eslint.JavaScriptEslintBasedSensor.execute(JavaScriptEslintBasedSensor.java:52)
2022-02-16T10:40:47.8271249Z 	at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:48)
2022-02-16T10:40:47.8272185Z 	at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:85)
2022-02-16T10:40:47.8273070Z 	at org.sonar.scanner.sensor.ModuleSensorsExecutor.lambda$execute$1(ModuleSensorsExecutor.java:59)
2022-02-16T10:40:47.8273953Z 	at org.sonar.scanner.sensor.ModuleSensorsExecutor.withModuleStrategy(ModuleSensorsExecutor.java:77)
2022-02-16T10:40:47.8274814Z 	at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:59)
2022-02-16T10:40:47.8275647Z 	at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:82)
2022-02-16T10:40:47.8276479Z 	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:137)
2022-02-16T10:40:47.8277285Z 	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:123)
2022-02-16T10:40:47.8278268Z 	at org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer.java:392)
2022-02-16T10:40:47.8279115Z 	at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:388)
2022-02-16T10:40:47.8279955Z 	at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:357)
2022-02-16T10:40:47.8280812Z 	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:137)
2022-02-16T10:40:47.8281635Z 	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:123)
2022-02-16T10:40:47.8282452Z 	at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(GlobalContainer.java:150)
2022-02-16T10:40:47.8283262Z 	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:137)
2022-02-16T10:40:47.8284080Z 	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:123)
2022-02-16T10:40:47.8284830Z 	at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:72)
2022-02-16T10:40:47.8285508Z 	at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:66)
2022-02-16T10:40:47.8286314Z 	at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
2022-02-16T10:40:47.8287132Z 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2022-02-16T10:40:47.8288043Z 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2022-02-16T10:40:47.8288971Z 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2022-02-16T10:40:47.8289977Z 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
2022-02-16T10:40:47.8290773Z 	at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
2022-02-16T10:40:47.8291497Z 	at com.sun.proxy.$Proxy0.execute(Unknown Source)
2022-02-16T10:40:47.8292220Z 	at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
2022-02-16T10:40:47.8293042Z 	at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
2022-02-16T10:40:47.8293767Z 	at org.sonarsource.scanner.cli.Main.execute(Main.java:112)
2022-02-16T10:40:47.8294557Z 	at org.sonarsource.scanner.cli.Main.execute(Main.java:75)
2022-02-16T10:40:47.8295417Z 	at org.sonarsource.scanner.cli.Main.main(Main.java:61)
2022-02-16T10:40:47.8295816Z 
2022-02-16T10:40:47.8296346Z INFO: Sensor JavaScript analysis [javascript] (done) | time=301774ms
2022-02-16T10:40:47.8296949Z INFO: Sensor TypeScript analysis [javascript]
2022-02-16T10:40:47.8428905Z INFO: No input files found for analysis
2022-02-16T10:40:47.8431182Z INFO: Sensor TypeScript analysis [javascript] (done) | time=1ms
2022-02-16T10:40:47.8432464Z INFO: Sensor ThymeLeaf template sensor [securityjavafrontend]
2022-02-16T10:40:47.8433172Z INFO: Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=1ms
2022-02-16T10:40:47.8433803Z INFO: Sensor JavaSecuritySensor [security]
2022-02-16T10:40:47.8434441Z INFO: Reading type hierarchy from: /__w/15/s/.scannerwork/ucfg2/java
2022-02-16T10:40:47.8435018Z INFO: Read 0 type definitions
2022-02-16T10:40:47.8435576Z INFO: Reading UCFGs from: /__w/15/s/.scannerwork/ucfg2/java
2022-02-16T10:40:47.8436172Z INFO: No UCFGs have been included for analysis.
2022-02-16T10:40:47.8436782Z INFO: Sensor JavaSecuritySensor [security] (done) | time=4ms
2022-02-16T10:40:47.8437380Z INFO: Sensor CSharpSecuritySensor [security]
2022-02-16T10:40:47.8438147Z INFO: Reading type hierarchy from: /__w/15/s/ucfg_cs2
2022-02-16T10:40:47.8438703Z INFO: Read 0 type definitions
2022-02-16T10:40:47.8439232Z INFO: Reading UCFGs from: /__w/15/s/ucfg_cs2
2022-02-16T10:40:47.8439856Z INFO: No UCFGs have been included for analysis.
2022-02-16T10:40:47.8440448Z INFO: Sensor CSharpSecuritySensor [security] (done) | time=1ms
2022-02-16T10:40:47.8441038Z INFO: Sensor PhpSecuritySensor [security]
2022-02-16T10:40:47.8441635Z INFO: Reading type hierarchy from: /__w/15/s/.scannerwork/ucfg2/php
2022-02-16T10:40:47.8442189Z INFO: Read 0 type definitions
2022-02-16T10:40:47.8442739Z INFO: Reading UCFGs from: /__w/15/s/.scannerwork/ucfg2/php
2022-02-16T10:40:47.8443325Z INFO: No UCFGs have been included for analysis.
2022-02-16T10:40:47.8443899Z INFO: Sensor PhpSecuritySensor [security] (done) | time=0ms
2022-02-16T10:40:47.8444528Z INFO: Sensor PythonSecuritySensor [security]
2022-02-16T10:40:47.8445149Z INFO: Reading type hierarchy from: /__w/15/s/.scannerwork/ucfg2/python
2022-02-16T10:40:47.8445707Z INFO: Read 0 type definitions
2022-02-16T10:40:47.8446277Z INFO: Reading UCFGs from: /__w/15/s/.scannerwork/ucfg2/python
2022-02-16T10:40:47.8446873Z INFO: No UCFGs have been included for analysis.
2022-02-16T10:40:47.8447451Z INFO: Sensor PythonSecuritySensor [security] (done) | time=2ms
2022-02-16T10:40:47.8448227Z INFO: Sensor JsSecuritySensor [security]
2022-02-16T10:40:47.8448831Z INFO: Reading type hierarchy from: /__w/15/s/.scannerwork/ucfg2/js
2022-02-16T10:40:47.8449377Z INFO: Read 0 type definitions
2022-02-16T10:40:47.8449926Z INFO: Reading UCFGs from: /__w/15/s/.scannerwork/ucfg2/js
2022-02-16T10:40:47.8450516Z INFO: No UCFGs have been included for analysis.
2022-02-16T10:40:47.8451090Z INFO: Sensor JsSecuritySensor [security] (done) | time=1ms
2022-02-16T10:40:47.8451662Z INFO: Sensor Apex CPD [codescan]
2022-02-16T10:40:47.8452309Z INFO: Sensor Apex CPD [codescan] (done) | time=8ms
2022-02-16T10:40:47.8452883Z INFO: Sensor VisualForce/Lightning CPD [codescan]
2022-02-16T10:40:47.8453495Z INFO: Sensor VisualForce/Lightning CPD [codescan] (done) | time=0ms
2022-02-16T10:40:47.8505892Z INFO: ------------- Run sensors on project
2022-02-16T10:40:47.8811996Z INFO: Sensor Dependency-Check [dependencycheck]
2022-02-16T10:40:47.8813493Z INFO: Process Dependency-Check report
2022-02-16T10:40:47.8814321Z INFO: Using JSON-Reportparser
2022-02-16T10:40:47.8901168Z INFO: Dependency-Check JSON report does not exists. Please check property sonar.dependencyCheck.jsonReportPath:/__w/15/s/${WORKSPACE}/dependency-check-report.json
2022-02-16T10:40:47.8902825Z INFO: JSON-Analysis skipped/aborted due to missing report file
2022-02-16T10:40:47.8903701Z INFO: Using XML-Reportparser
2022-02-16T10:40:47.8906353Z INFO: Dependency-Check XML report does not exists. Please check property sonar.dependencyCheck.xmlReportPath:/__w/15/s/${WORKSPACE}/dependency-check-report.xml
2022-02-16T10:40:47.8908427Z INFO: XML-Analysis skipped/aborted due to missing report file
2022-02-16T10:40:47.8909718Z INFO: Dependency-Check HTML report does not exists. Please check property sonar.dependencyCheck.htmlReportPath:/__w/15/s/${WORKSPACE}/dependency-check-report.html
2022-02-16T10:40:47.8910835Z INFO: HTML-Dependency-Check report does not exist.
2022-02-16T10:40:47.8911692Z INFO: Process Dependency-Check report (done) | time=4ms
2022-02-16T10:40:47.8914147Z INFO: Sensor Dependency-Check [dependencycheck] (done) | time=4ms
2022-02-16T10:40:47.8915143Z INFO: Sensor Zero Coverage Sensor
2022-02-16T10:40:47.8915731Z INFO: Sensor Zero Coverage Sensor (done) | time=1ms
2022-02-16T10:40:47.8916464Z INFO: CPD Executor Calculating CPD for 0 files
2022-02-16T10:40:47.8917072Z INFO: CPD Executor CPD calculation finished (done) | time=0ms
2022-02-16T10:40:47.8998381Z INFO: Load New Code definition
2022-02-16T10:40:48.0544378Z INFO: Load New Code definition (done) | time=155ms
2022-02-16T10:40:48.1808808Z INFO: Analysis report generated in 278ms, dir size=202 KB
2022-02-16T10:40:48.1904305Z INFO: Analysis report compressed in 18ms, zip size=34 KB
2022-02-16T10:40:48.2155638Z INFO: Analysis report uploaded in 25ms
2022-02-16T10:40:48.2214034Z INFO: ANALYSIS SUCCESSFUL, you can browse ***************************************************
2022-02-16T10:40:48.2215182Z INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
2022-02-16T10:40:48.2216079Z INFO: More about the report processing at ***************************************************
2022-02-16T10:40:48.2239141Z WARN: Failed to close server
2022-02-16T10:40:48.2240238Z java.net.ConnectException: Failed to connect to /127.0.0.1:40865
2022-02-16T10:40:48.2241046Z 	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:249)
2022-02-16T10:40:48.2241890Z 	at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:167)
2022-02-16T10:40:48.2242696Z 	at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257)
2022-02-16T10:40:48.2243562Z 	at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135)
2022-02-16T10:40:48.2244443Z 	at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114)
2022-02-16T10:40:48.2245271Z 	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
2022-02-16T10:40:48.2246078Z 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
2022-02-16T10:40:48.2246892Z 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
2022-02-16T10:40:48.2247841Z 	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:94)
2022-02-16T10:40:48.2248783Z 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
2022-02-16T10:40:48.2249654Z 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
2022-02-16T10:40:48.2250475Z 	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
2022-02-16T10:40:48.2251283Z 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
2022-02-16T10:40:48.2252407Z 	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:125)
2022-02-16T10:40:48.2253275Z 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
2022-02-16T10:40:48.2254099Z 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
2022-02-16T10:40:48.2254865Z 	at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:264)
2022-02-16T10:40:48.2255561Z 	at okhttp3.RealCall.execute(RealCall.java:93)
2022-02-16T10:40:48.2256332Z 	at org.sonar.plugins.javascript.eslint.EslintBridgeServerImpl.request(EslintBridgeServerImpl.java:226)
2022-02-16T10:40:48.2257391Z 	at org.sonar.plugins.javascript.eslint.EslintBridgeServerImpl.clean(EslintBridgeServerImpl.java:311)
2022-02-16T10:40:48.2258537Z 	at org.sonar.plugins.javascript.eslint.EslintBridgeServerImpl.stop(EslintBridgeServerImpl.java:336)
2022-02-16T10:40:48.2259506Z 	at org.sonar.core.platform.StartableCloseableSafeLifecyleStrategy.stop(StartableCloseableSafeLifecyleStrategy.java:52)
2022-02-16T10:40:48.2260496Z 	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.stop(AbstractInjectionFactory.java:88)
2022-02-16T10:40:48.2261375Z 	at org.picocontainer.behaviors.AbstractBehavior.stop(AbstractBehavior.java:179)
2022-02-16T10:40:48.2262154Z 	at org.picocontainer.behaviors.Stored$RealComponentLifecycle.stop(Stored.java:141)
2022-02-16T10:40:48.2263318Z 	at org.picocontainer.behaviors.Stored.stop(Stored.java:118)
2022-02-16T10:40:48.2264137Z 	at org.picocontainer.DefaultPicoContainer.stopAdapters(DefaultPicoContainer.java:1048)
2022-02-16T10:40:48.2264925Z 	at org.picocontainer.DefaultPicoContainer.stop(DefaultPicoContainer.java:803)
2022-02-16T10:40:48.2265747Z 	at org.sonar.core.platform.ComponentContainer.stopComponents(ComponentContainer.java:166)
2022-02-16T10:40:48.2266579Z 	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:125)
2022-02-16T10:40:48.2267387Z 	at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(GlobalContainer.java:150)
2022-02-16T10:40:48.2268454Z 	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:137)
2022-02-16T10:40:48.2269296Z 	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:123)
2022-02-16T10:40:48.2270032Z 	at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:72)
2022-02-16T10:40:48.2270749Z 	at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:66)
2022-02-16T10:40:48.2271566Z 	at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
2022-02-16T10:40:48.2272376Z 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2022-02-16T10:40:48.2273193Z 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2022-02-16T10:40:48.2274161Z 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2022-02-16T10:40:48.2274957Z 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
2022-02-16T10:40:48.2275743Z 	at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
2022-02-16T10:40:48.2276533Z 	at com.sun.proxy.$Proxy0.execute(Unknown Source)
2022-02-16T10:40:48.2277268Z 	at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
2022-02-16T10:40:48.2278274Z 	at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
2022-02-16T10:40:48.2279023Z 	at org.sonarsource.scanner.cli.Main.execute(Main.java:112)
2022-02-16T10:40:48.2279709Z 	at org.sonarsource.scanner.cli.Main.execute(Main.java:75)
2022-02-16T10:40:48.2280373Z 	at org.sonarsource.scanner.cli.Main.main(Main.java:61)
2022-02-16T10:40:48.2281138Z Caused by: java.net.ConnectException: Connection refused (Connection refused)
2022-02-16T10:40:48.2281824Z 	at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
2022-02-16T10:40:48.2282780Z 	at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)
2022-02-16T10:40:48.2283624Z 	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242)
2022-02-16T10:40:48.2284467Z 	at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224)
2022-02-16T10:40:48.2285369Z 	at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403)
2022-02-16T10:40:48.2286315Z 	at java.base/java.net.Socket.connect(Socket.java:609)
2022-02-16T10:40:48.2287019Z 	at okhttp3.internal.platform.Platform.connectSocket(Platform.java:130)
2022-02-16T10:40:48.2288405Z 	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:247)
2022-02-16T10:40:48.2289301Z 	... 46 common frames omitted
2022-02-16T10:40:48.2289635Z 
2022-02-16T10:40:48.6656556Z INFO: Analysis total time: 5:09.802 s
2022-02-16T10:40:48.6661768Z INFO: ------------------------------------------------------------------------
2022-02-16T10:40:48.6662484Z INFO: EXECUTION SUCCESS
2022-02-16T10:40:48.6663323Z INFO: ------------------------------------------------------------------------
2022-02-16T10:40:48.6663980Z INFO: Total time: 5:16.389s
2022-02-16T10:40:48.7457506Z INFO: Final Memory: 22M/80M
2022-02-16T10:40:48.7460110Z INFO: ------------------------------------------------------------------------
2022-02-16T10:40:49.0952841Z ##[section]Finishing: SonarQubeAnalyze

Hey there.

Take a look here: