SonarQube : * Community Edition* v10.5.1
Hi , I am trying to scan a dotnet core code using Azure Devops Pipeline and SonarQube.
Pipeline is using a custom agent for the process.I’m getting the below log in SonarQubeAnalyze@5 task. Complete log is attached below.
2024-06-04T13:22:26.2773673Z ##[debug]Evaluating condition for step: 'SonarQubeAnalyze'
2024-06-04T13:22:26.2775473Z ##[debug]Evaluating: SucceededNode()
2024-06-04T13:22:26.2775856Z ##[debug]Evaluating SucceededNode:
2024-06-04T13:22:26.2776754Z ##[debug]=> True
2024-06-04T13:22:26.2777152Z ##[debug]Result: True
2024-06-04T13:22:26.2777481Z ##[section]Starting: SonarQubeAnalyze
2024-06-04T13:22:26.2785688Z ==============================================================================
2024-06-04T13:22:26.2785869Z Task : Run Code Analysis
2024-06-04T13:22:26.2785977Z Description : Run scanner and upload the results to the SonarQube server.
2024-06-04T13:22:26.2786119Z Version : 5.20.0
2024-06-04T13:22:26.2786205Z Author : sonarsource
2024-06-04T13:22:26.2786337Z Help : Version: 5.20.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)
2024-06-04T13:22:26.2786803Z ==============================================================================
2024-06-04T13:22:26.2894698Z ##[debug]Using node path: C:\agent\externals\node10\bin\node.exe
2024-06-04T13:22:26.7149025Z ##[debug]agent.TempDirectory=C:\agent\_work\_temp
2024-06-04T13:22:27.1201169Z ##[debug]loading inputs and endpoints
2024-06-04T13:22:27.1201798Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2024-06-04T13:22:27.1202368Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2024-06-04T13:22:27.1202887Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2024-06-04T13:22:27.1203395Z ##[debug]loading INPUT_JDKVERSION
2024-06-04T13:22:27.1203868Z ##[debug]loading SECRET_SONARQUBE_ENDPOINT
2024-06-04T13:22:27.1204359Z ##[debug]loading SECRET_SYSTEM_ACCESSTOKEN
2024-06-04T13:22:27.1204806Z ##[debug]loaded 6
2024-06-04T13:22:27.1205244Z ##[debug]Agent.ProxyUrl=undefined
2024-06-04T13:22:27.1205702Z ##[debug]Agent.CAInfo=undefined
2024-06-04T13:22:27.1206174Z ##[debug]Agent.ClientCert=undefined
2024-06-04T13:22:27.1206668Z ##[debug]Agent.SkipCertValidation=undefined
2024-06-04T13:22:27.1207149Z ##[debug]jdkversion=JAVA_HOME_17_X64
2024-06-04T13:22:27.1207621Z ##[debug]SONARQUBE_SCANNER_MODE=MSBuild
2024-06-04T13:22:27.1208103Z ##[debug]SONARQUBE_SERVER_VERSION=10.5.1
2024-06-04T13:22:27.1208570Z ##[debug]JAVA_HOME_17_X64=undefined
2024-06-04T13:22:27.1209038Z ##[debug]SONARQUBE_SCANNER_MODE=MSBuild
2024-06-04T13:22:27.1210276Z ##[debug]SONARQUBE_SCANNER_PARAMS={"sonar.host.url":"http://x.x.x.x:9000","sonar.token":***,"sonar.projectKey":"xx_xx-xx-xx-xx-services_x-x-x-x-x","sonar.projectName":"api-xx-xx-xx-xx","sonar.projectVersion":"1.0","sonar.branch.name":"feature/devops-test","sonar.scanner.metadataFilePath":"C:\\agent\\_work\\_temp\\sonar\\20886\\b5fd2c82-2ca7-8a35-86c0-a6997f403796\\report-task.txt"}
2024-06-04T13:22:27.1211538Z ##[debug]SONARQUBE_SCANNER_MSBUILD_EXE=C:\agent\_work\_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\5.19.1\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe
2024-06-04T13:22:27.1212372Z ##[debug]which 'C:\agent\_work\_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\5.19.1\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe'
2024-06-04T13:22:27.1213171Z ##[debug]found: 'C:\agent\_work\_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\5.19.1\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe'
2024-06-04T13:22:27.1213963Z ##[debug]C:\agent\_work\_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\5.19.1\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe arg: end
2024-06-04T13:22:27.1215012Z ##[debug]exec tool: C:\agent\_work\_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\5.19.1\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe
2024-06-04T13:22:27.1215633Z ##[debug]arguments:
2024-06-04T13:22:27.1216044Z ##[debug] end
2024-06-04T13:22:27.1216565Z [command]C:\agent\_work\_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\5.19.1\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe end
2024-06-04T13:22:27.2342762Z SonarScanner for MSBuild 5.15
2024-06-04T13:22:27.2343037Z Using the .NET Framework version of the Scanner for MSBuild
2024-06-04T13:22:27.2343303Z Post-processing started.
2024-06-04T13:22:28.3566417Z Calling the TFS Processor executable...
2024-06-04T13:22:28.4871084Z ##[debug]Agent environment resources - Disk: C:\ Available 41156.00 MB out of 102134.00 MB, Memory: Used 2622.00 MB out of 4095.00 MB, CPU: Usage 3.88%
2024-06-04T13:22:28.5656446Z Attempting to locate the CodeCoverage.exe tool...
2024-06-04T13:22:28.5703646Z Attempting to locate the CodeCoverage.exe tool using setup configuration...
2024-06-04T13:22:28.5759313Z Attempting to locate the CodeCoverage.exe tool using registry...
2024-06-04T13:22:28.5878719Z WARNING: Failed to find the code coverage command line tool. Possible cause: Visual Studio is not installed, or the installed version does not support code coverage.
2024-06-04T13:22:28.5893917Z The TFS Processor has finished
2024-06-04T13:22:28.6274807Z Calling the SonarScanner CLI...
2024-06-04T13:22:29.6579326Z INFO: Scanner configuration file: C:\agent\_work\_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\5.19.1\classic-sonar-scanner-msbuild\sonar-scanner-4.8.1.3023\bin\..\conf\sonar-scanner.properties
2024-06-04T13:22:29.6585774Z INFO: Project root configuration file: C:\agent\_work\2\.sonarqube\out\sonar-project.properties
2024-06-04T13:22:29.6591496Z INFO: SonarScanner 4.8.1.3023
2024-06-04T13:22:29.6594060Z INFO: Java 17.0.11 Oracle Corporation (64-bit)
2024-06-04T13:22:29.7271725Z INFO: Windows Server 2012 R2 6.3 amd64
2024-06-04T13:22:29.7273016Z INFO: User cache: C:\Windows\ServiceProfiles\NetworkService\.sonar\cache
2024-06-04T13:22:30.2868574Z ##[error]ERROR: SonarQube server [http://x.x.x.x:9000] can not be reached
2024-06-04T13:22:30.2869970Z ##[debug]Processed: ##vso[task.logissue type=error;]ERROR: SonarQube server [http://x.x.x.x:9000] can not be reached
2024-06-04T13:22:30.2879828Z ERROR: SonarQube server [http://x.x.x.x:9000] can not be reached
2024-06-04T13:22:30.2894169Z ##[error]ERROR: Error during SonarScanner execution
2024-06-04T13:22:30.2895265Z ##[debug]Processed: ##vso[task.logissue type=error;]ERROR: Error during SonarScanner execution
2024-06-04T13:22:30.2914319Z ERROR: Error during SonarScanner execution
2024-06-04T13:22:30.2916759Z ##[error]org.sonarsource.scanner.api.internal.ScannerException: Unable to execute SonarScanner analysis
2024-06-04T13:22:30.2918058Z ##[debug]Processed: ##vso[task.logissue type=error;]org.sonarsource.scanner.api.internal.ScannerException: Unable to execute SonarScanner analysis
2024-06-04T13:22:30.2919420Z org.sonarsource.scanner.api.internal.ScannerException: Unable to execute SonarScanner analysis
2024-06-04T13:22:30.2921567Z ##[error]at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.lambda$createLauncher$0(IsolatedLauncherFactory.java:85)
2024-06-04T13:22:30.2923100Z ##[debug]Processed: ##vso[task.logissue type=error;]at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.lambda$createLauncher$0(IsolatedLauncherFactory.java:85)
2024-06-04T13:22:30.2924768Z at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.lambda$createLauncher$0(IsolatedLauncherFactory.java:85)
2024-06-04T13:22:30.2926814Z ##[error]at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
2024-06-04T13:22:30.2928033Z ##[debug]Processed: ##vso[task.logissue type=error;]at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
2024-06-04T13:22:30.2929729Z at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
2024-06-04T13:22:30.2931843Z ##[error]at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:74)
2024-06-04T13:22:30.2933307Z ##[debug]Processed: ##vso[task.logissue type=error;]at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:74)
2024-06-04T13:22:30.2935836Z at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:74)
2024-06-04T13:22:30.2938051Z ##[error]at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:70)
2024-06-04T13:22:30.2939512Z ##[debug]Processed: ##vso[task.logissue type=error;]at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:70)
2024-06-04T13:22:30.2941075Z at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:70)
2024-06-04T13:22:30.2943086Z ##[error]at org.sonarsource.scanner.api.EmbeddedScanner.doStart(EmbeddedScanner.java:185)
2024-06-04T13:22:30.2944348Z ##[debug]Processed: ##vso[task.logissue type=error;]at org.sonarsource.scanner.api.EmbeddedScanner.doStart(EmbeddedScanner.java:185)
2024-06-04T13:22:30.2945705Z at org.sonarsource.scanner.api.EmbeddedScanner.doStart(EmbeddedScanner.java:185)
2024-06-04T13:22:30.2947572Z ##[error]at org.sonarsource.scanner.api.EmbeddedScanner.start(EmbeddedScanner.java:123)
2024-06-04T13:22:30.2948831Z ##[debug]Processed: ##vso[task.logissue type=error;]at org.sonarsource.scanner.api.EmbeddedScanner.start(EmbeddedScanner.java:123)
2024-06-04T13:22:30.2950159Z at org.sonarsource.scanner.api.EmbeddedScanner.start(EmbeddedScanner.java:123)
2024-06-04T13:22:30.2951894Z ##[error]at org.sonarsource.scanner.cli.Main.execute(Main.java:74)
2024-06-04T13:22:30.2953016Z ##[debug]Processed: ##vso[task.logissue type=error;]at org.sonarsource.scanner.cli.Main.execute(Main.java:74)
2024-06-04T13:22:30.2954226Z at org.sonarsource.scanner.cli.Main.execute(Main.java:74)
2024-06-04T13:22:30.2955868Z ##[error]at org.sonarsource.scanner.cli.Main.main(Main.java:62)
2024-06-04T13:22:30.2956970Z ##[debug]Processed: ##vso[task.logissue type=error;]at org.sonarsource.scanner.cli.Main.main(Main.java:62)
2024-06-04T13:22:30.2958156Z at org.sonarsource.scanner.cli.Main.main(Main.java:62)
2024-06-04T13:22:30.2960403Z ##[error]Caused by: java.lang.IllegalStateException: Fail to download sonar-scanner-engine-shaded-10.5.1.90531-all.jar to C:\Windows\ServiceProfiles\NetworkService\.sonar\cache\_tmp\fileCache2485407822024495951.tmp
2024-06-04T13:22:30.2962112Z ##[debug]Processed: ##vso[task.logissue type=error;]Caused by: java.lang.IllegalStateException: Fail to download sonar-scanner-engine-shaded-10.5.1.90531-all.jar to C:\Windows\ServiceProfiles\NetworkService\.sonar\cache\_tmp\fileCache2485407822024495951.tmp
2024-06-04T13:22:30.2963947Z Caused by: java.lang.IllegalStateException: Fail to download sonar-scanner-engine-shaded-10.5.1.90531-all.jar to C:\Windows\ServiceProfiles\NetworkService\.sonar\cache\_tmp\fileCache2485407822024495951.tmp
2024-06-04T13:22:30.2966083Z ##[error]at org.sonarsource.scanner.api.internal.cache.FileCache.download(FileCache.java:100)
2024-06-04T13:22:30.2967377Z ##[debug]Processed: ##vso[task.logissue type=error;]at org.sonarsource.scanner.api.internal.cache.FileCache.download(FileCache.java:100)
2024-06-04T13:22:30.2968762Z at org.sonarsource.scanner.api.internal.cache.FileCache.download(FileCache.java:100)
2024-06-04T13:22:30.2970654Z ##[error]at org.sonarsource.scanner.api.internal.cache.FileCache.get(FileCache.java:84)
2024-06-04T13:22:30.2971900Z ##[debug]Processed: ##vso[task.logissue type=error;]at org.sonarsource.scanner.api.internal.cache.FileCache.get(FileCache.java:84)
2024-06-04T13:22:30.2973221Z at org.sonarsource.scanner.api.internal.cache.FileCache.get(FileCache.java:84)
2024-06-04T13:22:30.2975502Z ##[error]at org.sonarsource.scanner.api.internal.JarDownloader.lambda$getScannerEngineFiles$0(JarDownloader.java:60)
2024-06-04T13:22:30.2976949Z ##[debug]Processed: ##vso[task.logissue type=error;]at org.sonarsource.scanner.api.internal.JarDownloader.lambda$getScannerEngineFiles$0(JarDownloader.java:60)
2024-06-04T13:22:30.2978466Z at org.sonarsource.scanner.api.internal.JarDownloader.lambda$getScannerEngineFiles$0(JarDownloader.java:60)
2024-06-04T13:22:30.2980616Z ##[error]at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
2024-06-04T13:22:30.2981892Z ##[debug]Processed: ##vso[task.logissue type=error;]at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
2024-06-04T13:22:30.2983220Z at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
2024-06-04T13:22:30.2985153Z ##[error]at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
2024-06-04T13:22:30.2986465Z ##[debug]Processed: ##vso[task.logissue type=error;]at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
2024-06-04T13:22:30.2987840Z at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
2024-06-04T13:22:30.2989710Z ##[error]at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
2024-06-04T13:22:30.2990966Z ##[debug]Processed: ##vso[task.logissue type=error;]at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
2024-06-04T13:22:30.2992278Z at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
2024-06-04T13:22:30.2994251Z ##[error]at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
2024-06-04T13:22:30.2995538Z ##[debug]Processed: ##vso[task.logissue type=error;]at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
2024-06-04T13:22:30.2996916Z at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
2024-06-04T13:22:30.3000131Z ##[error]at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
2024-06-04T13:22:30.3001435Z ##[debug]Processed: ##vso[task.logissue type=error;]at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
2024-06-04T13:22:30.3002808Z at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
2024-06-04T13:22:30.3004366Z INFO: ------------------------------------------------------------------------
2024-06-04T13:22:30.3005958Z INFO: EXECUTION FAILURE
2024-06-04T13:22:30.3006833Z INFO: ------------------------------------------------------------------------
2024-06-04T13:22:30.3031252Z INFO: Total time: 1.434s
2024-06-04T13:22:30.3034831Z INFO: Final Memory: 4M/61M
2024-06-04T13:22:30.3207744Z INFO: ------------------------------------------------------------------------
2024-06-04T13:22:30.3266308Z ##[error]at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at org.sonarsource.scanner.api.internal.JarDownloader.getScannerEngineFiles(JarDownloader.java:61)
at org.sonarsource.scanner.api.internal.JarDownloader.download(JarDownloader.java:53)
at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.lambda$createLauncher$0(IsolatedLauncherFactory.java:76)
... 7 more
Caused by: java.net.SocketException: Connection reset
at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:328)
at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:355)
at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:808)
at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966)
at org.sonarsource.scanner.api.internal.shaded.okio.Okio$2.read(Okio.java:140)
at org.sonarsource.scanner.api.internal.shaded.okio.AsyncTimeout$2.read(AsyncTimeout.java:237)
at org.sonarsource.scanner.api.internal.shaded.okio.RealBufferedSource.indexOf(RealBufferedSource.java:358)
at org.sonarsource.scanner.api.internal.shaded.okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:230)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http1.Http1ExchangeCodec.readHeaderLine(Http1ExchangeCodec.java:242)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http1.Http1ExchangeCodec.readResponseHeaders(Http1ExchangeCodec.java:213)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.Exchange.readResponseHeaders(Exchange.java:115)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:94)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:43)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:94)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:88)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
at org.sonarsource.scanner.api.internal.shaded.okhttp.RealCall.getResponseWithInterceptorChain(RealCall.java:221)
at org.sonarsource.scanner.api.internal.shaded.okhttp.RealCall.execute(RealCall.java:81)
at org.sonarsource.scanner.api.internal.ServerConnection.callUrl(ServerConnection.java:115)
at org.sonarsource.scanner.api.internal.ServerConnection.downloadFile(ServerConnection.java:80)
at org.sonarsource.scanner.api.internal.JarDownloader$ScannerFileDownloader.download(JarDownloader.java:73)
at org.sonarsource.scanner.api.internal.cache.FileCache.download(FileCache.java:98)
... 19 more
ERROR:
2024-06-04T13:22:30.3291404Z ##[debug]Processed: ##vso[task.logissue type=error;]at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at org.sonarsource.scanner.api.internal.JarDownloader.getScannerEngineFiles(JarDownloader.java:61)
at org.sonarsource.scanner.api.internal.JarDownloader.download(JarDownloader.java:53)
at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.lambda$createLauncher$0(IsolatedLauncherFactory.java:76)
... 7 more
Caused by: java.net.SocketException: Connection reset
at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:328)
at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:355)
at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:808)
at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966)
at org.sonarsource.scanner.api.internal.shaded.okio.Okio$2.read(Okio.java:140)
at org.sonarsource.scanner.api.internal.shaded.okio.AsyncTimeout$2.read(AsyncTimeout.java:237)
at org.sonarsource.scanner.api.internal.shaded.okio.RealBufferedSource.indexOf(RealBufferedSource.java:358)
at org.sonarsource.scanner.api.internal.shaded.okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:230)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http1.Http1ExchangeCodec.readHeaderLine(Http1ExchangeCodec.java:242)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http1.Http1ExchangeCodec.readResponseHeaders(Http1ExchangeCodec.java:213)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.Exchange.readResponseHeaders(Exchange.java:115)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:94)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:43)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:94)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:88)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
at org.sonarsource.scanner.api.internal.shaded.okhttp.RealCall.getResponseWithInterceptorChain(RealCall.java:221)
at org.sonarsource.scanner.api.internal.shaded.okhttp.RealCall.execute(RealCall.java:81)
at org.sonarsource.scanner.api.internal.ServerConnection.callUrl(ServerConnection.java:115)
at org.sonarsource.scanner.api.internal.ServerConnection.downloadFile(ServerConnection.java:80)
at org.sonarsource.scanner.api.internal.JarDownloader$ScannerFileDownloader.download(JarDownloader.java:73)
at org.sonarsource.scanner.api.internal.cache.FileCache.download(FileCache.java:98)
... 19 more
ERROR:
2024-06-04T13:22:30.3363171Z at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
2024-06-04T13:22:30.3413510Z at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
2024-06-04T13:22:30.3436276Z at org.sonarsource.scanner.api.internal.JarDownloader.getScannerEngineFiles(JarDownloader.java:61)
2024-06-04T13:22:30.3627182Z at org.sonarsource.scanner.api.internal.JarDownloader.download(JarDownloader.java:53)
2024-06-04T13:22:30.3749853Z at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.lambda$createLauncher$0(IsolatedLauncherFactory.java:76)
2024-06-04T13:22:30.3763477Z ... 7 more
2024-06-04T13:22:30.3766045Z Caused by: java.net.SocketException: Connection reset
2024-06-04T13:22:30.3775634Z at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:328)
2024-06-04T13:22:30.3821497Z at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:355)
2024-06-04T13:22:30.3822719Z at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:808)
2024-06-04T13:22:30.3825149Z at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966)
2024-06-04T13:22:30.3826017Z at org.sonarsource.scanner.api.internal.shaded.okio.Okio$2.read(Okio.java:140)
2024-06-04T13:22:30.3827127Z at org.sonarsource.scanner.api.internal.shaded.okio.AsyncTimeout$2.read(AsyncTimeout.java:237)
2024-06-04T13:22:30.3828118Z at org.sonarsource.scanner.api.internal.shaded.okio.RealBufferedSource.indexOf(RealBufferedSource.java:358)
2024-06-04T13:22:30.3829198Z at org.sonarsource.scanner.api.internal.shaded.okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:230)
2024-06-04T13:22:30.3830516Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http1.Http1ExchangeCodec.readHeaderLine(Http1ExchangeCodec.java:242)
2024-06-04T13:22:30.3831695Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http1.Http1ExchangeCodec.readResponseHeaders(Http1ExchangeCodec.java:213)
2024-06-04T13:22:30.3832833Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.Exchange.readResponseHeaders(Exchange.java:115)
2024-06-04T13:22:30.3833968Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:94)
2024-06-04T13:22:30.3835129Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
2024-06-04T13:22:30.3836276Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:43)
2024-06-04T13:22:30.3837417Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
2024-06-04T13:22:30.3838553Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
2024-06-04T13:22:30.3839664Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:94)
2024-06-04T13:22:30.3840775Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
2024-06-04T13:22:30.3841906Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
2024-06-04T13:22:30.3843014Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
2024-06-04T13:22:30.3844134Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
2024-06-04T13:22:30.3845316Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:88)
2024-06-04T13:22:30.3846492Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
2024-06-04T13:22:30.3847600Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
2024-06-04T13:22:30.3848697Z at org.sonarsource.scanner.api.internal.shaded.okhttp.RealCall.getResponseWithInterceptorChain(RealCall.java:221)
2024-06-04T13:22:30.3849674Z at org.sonarsource.scanner.api.internal.shaded.okhttp.RealCall.execute(RealCall.java:81)
2024-06-04T13:22:30.3850754Z at org.sonarsource.scanner.api.internal.ServerConnection.callUrl(ServerConnection.java:115)
2024-06-04T13:22:30.3851677Z at org.sonarsource.scanner.api.internal.ServerConnection.downloadFile(ServerConnection.java:80)
2024-06-04T13:22:30.3852669Z at org.sonarsource.scanner.api.internal.JarDownloader$ScannerFileDownloader.download(JarDownloader.java:73)
2024-06-04T13:22:30.3853615Z at org.sonarsource.scanner.api.internal.cache.FileCache.download(FileCache.java:98)
2024-06-04T13:22:30.3854256Z ... 19 more
2024-06-04T13:22:30.3854660Z ERROR:
2024-06-04T13:22:30.3856276Z ##[error]The SonarScanner did not complete successfully
18:52:30.332 Post-processing failed. Exit code: 1
2024-06-04T13:22:30.3857593Z ##[debug]Processed: ##vso[task.logissue type=error;]The SonarScanner did not complete successfully
18:52:30.332 Post-processing failed. Exit code: 1
2024-06-04T13:22:30.3858699Z The SonarScanner did not complete successfully
2024-06-04T13:22:30.3859307Z 18:52:30.332 Post-processing failed. Exit code: 1
2024-06-04T13:22:30.3860488Z ##[debug]Exit code 1 received from tool 'C:\agent\_work\_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\5.19.1\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe'
2024-06-04T13:22:30.3862178Z ##[debug]STDIO streams have closed for tool 'C:\agent\_work\_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\5.19.1\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe'
2024-06-04T13:22:30.3863375Z ##[debug]task result: Failed
2024-06-04T13:22:30.3865143Z ##[error]The process 'C:\agent\_work\_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\5.19.1\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe' failed with exit code 1
2024-06-04T13:22:30.3866595Z ##[debug]Processed: ##vso[task.issue type=error;]The process 'C:\agent\_work\_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\5.19.1\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe' failed with exit code 1
2024-06-04T13:22:30.3869943Z ##[debug]Processed: ##vso[task.complete result=Failed;]The process 'C:\agent\_work\_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\5.19.1\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe' failed with exit code 1
2024-06-04T13:22:30.3873346Z ##[section]Finishing: SonarQubeAnalyze