2021-01-27T10:20:29.1840531Z ##[section]Starting: SonarQubeAnalyze 2021-01-27T10:20:29.2066925Z ============================================================================== 2021-01-27T10:20:29.2067817Z Task : Run Code Analysis 2021-01-27T10:20:29.2068278Z Description : Run scanner and upload the results to the SonarQube server. 2021-01-27T10:20:29.2068806Z Version : 4.17.0 2021-01-27T10:20:29.2069152Z Author : sonarsource 2021-01-27T10:20:29.2069996Z Help : Version: 4.17.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) 2021-01-27T10:20:29.2070998Z ============================================================================== 2021-01-27T10:20:29.6627413Z [command]D:\a\_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\4.17.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe end 2021-01-27T10:20:29.7687367Z SonarScanner for MSBuild 5.0.4 2021-01-27T10:20:29.7701030Z Using the .NET Framework version of the Scanner for MSBuild 2021-01-27T10:20:29.8387445Z Post-processing started. 2021-01-27T10:20:30.1607256Z Calling the TFS Processor executable... 2021-01-27T10:20:30.4220179Z Attempting to locate the CodeCoverage.exe tool... 2021-01-27T10:20:30.4298419Z Attempting to locate the CodeCoverage.exe tool using setup configuration... 2021-01-27T10:20:30.4699902Z Code coverage command line tool: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Team Tools\Dynamic Code Coverage Tools\CodeCoverage.exe 2021-01-27T10:20:30.5566091Z Fetching code coverage report information from TFS... 2021-01-27T10:20:30.5594658Z Attempting to locate a test results (.trx) file... 2021-01-27T10:20:30.5654884Z Looking for TRX files in: D:\a\1\TestResults 2021-01-27T10:20:30.5660068Z No test results files found 2021-01-27T10:20:30.5744151Z Did not find any binary coverage files in the expected location. 2021-01-27T10:20:30.5760076Z Falling back on locating coverage files in the agent temp directory. 2021-01-27T10:20:30.5765534Z Searching for coverage files in D:\a\_temp 2021-01-27T10:20:30.5767921Z No coverage files found in the agent temp directory. 2021-01-27T10:20:30.5768961Z Coverage report conversion completed successfully. 2021-01-27T10:20:30.5926570Z The TFS Processor has finished 2021-01-27T10:20:30.6087967Z Calling the SonarScanner CLI... 2021-01-27T10:20:31.9457726Z INFO: Scanner configuration file: D:\a\_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\4.17.0\classic-sonar-scanner-msbuild\sonar-scanner-4.4.0.2170\bin\..\conf\sonar-scanner.properties 2021-01-27T10:20:31.9479209Z INFO: Project root configuration file: D:\a\1\.sonarqube\out\sonar-project.properties 2021-01-27T10:20:32.1541712Z INFO: SonarScanner 4.4.0.2170 2021-01-27T10:20:32.1543052Z INFO: Java 11.0.9.1 AdoptOpenJDK (64-bit) 2021-01-27T10:20:32.1544358Z INFO: Windows Server 2019 10.0 amd64 2021-01-27T10:20:33.4638887Z INFO: User cache: C:\Users\VssAdministrator\.sonar\cache 2021-01-27T10:20:33.9073043Z INFO: ------------------------------------------------------------------------ 2021-01-27T10:20:33.9074834Z INFO: EXECUTION FAILURE 2021-01-27T10:20:33.9086356Z ##[error]ERROR: SonarQube server [http://sonarqube.systemsltd.com] can not be reached 2021-01-27T10:20:33.9126141Z ERROR: SonarQube server [http://sonarqube.systemsltd.com] can not be reached 2021-01-27T10:20:33.9128636Z INFO: ------------------------------------------------------------------------ 2021-01-27T10:20:33.9129755Z INFO: Total time: 1.999s 2021-01-27T10:20:33.9260039Z INFO: Final Memory: 3M/14M 2021-01-27T10:20:33.9261414Z INFO: ------------------------------------------------------------------------ 2021-01-27T10:20:33.9264097Z ##[error]ERROR: Error during SonarScanner execution 2021-01-27T10:20:33.9267493Z ERROR: Error during SonarScanner execution 2021-01-27T10:20:33.9269490Z ##[error]org.sonarsource.scanner.api.internal.ScannerException: Unable to execute SonarScanner analysis 2021-01-27T10:20:33.9277627Z org.sonarsource.scanner.api.internal.ScannerException: Unable to execute SonarScanner analysis 2021-01-27T10:20:33.9280259Z ##[error]at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.lambda$createLauncher$0(IsolatedLauncherFactory.java:85) 2021-01-27T10:20:33.9312999Z at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.lambda$createLauncher$0(IsolatedLauncherFactory.java:85) 2021-01-27T10:20:33.9318410Z ##[error]at java.base/java.security.AccessController.doPrivileged(Native Method) at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:74) 2021-01-27T10:20:33.9325076Z at java.base/java.security.AccessController.doPrivileged(Native Method) 2021-01-27T10:20:33.9326753Z at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:74) 2021-01-27T10:20:33.9339187Z ##[error]at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:70) at org.sonarsource.scanner.api.EmbeddedScanner.doStart(EmbeddedScanner.java:185) at org.sonarsource.scanner.api.EmbeddedScanner.start(EmbeddedScanner.java:123) at org.sonarsource.scanner.cli.Main.execute(Main.java:73) at org.sonarsource.scanner.cli.Main.main(Main.java:61) Caused by: java.lang.IllegalStateException: Fail to get bootstrap index from server at org.sonarsource.scanner.api.internal.BootstrapIndexDownloader.getIndex(BootstrapIndexDownloader.java:42) at org.sonarsource.scanner.api.internal.JarDownloader.getScannerEngineFiles(JarDownloader.java:58) 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 2021-01-27T10:20:33.9346735Z at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:70) 2021-01-27T10:20:33.9348247Z at org.sonarsource.scanner.api.EmbeddedScanner.doStart(EmbeddedScanner.java:185) 2021-01-27T10:20:33.9349596Z at org.sonarsource.scanner.api.EmbeddedScanner.start(EmbeddedScanner.java:123) 2021-01-27T10:20:33.9351765Z at org.sonarsource.scanner.cli.Main.execute(Main.java:73) 2021-01-27T10:20:33.9352965Z at org.sonarsource.scanner.cli.Main.main(Main.java:61) 2021-01-27T10:20:33.9354054Z Caused by: java.lang.IllegalStateException: Fail to get bootstrap index from server 2021-01-27T10:20:33.9355554Z at org.sonarsource.scanner.api.internal.BootstrapIndexDownloader.getIndex(BootstrapIndexDownloader.java:42) 2021-01-27T10:20:33.9360843Z at org.sonarsource.scanner.api.internal.JarDownloader.getScannerEngineFiles(JarDownloader.java:58) 2021-01-27T10:20:33.9362522Z at org.sonarsource.scanner.api.internal.JarDownloader.download(JarDownloader.java:53) 2021-01-27T10:20:33.9363866Z at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.lambda$createLauncher$0(IsolatedLauncherFactory.java:76) 2021-01-27T10:20:33.9364832Z ... 7 more 2021-01-27T10:20:33.9367039Z ##[error]Caused by: java.io.IOException: unexpected end of stream on http://sonarqube.systemsltd.com/... 2021-01-27T10:20:33.9369887Z Caused by: java.io.IOException: unexpected end of stream on http://sonarqube.systemsltd.com/... 2021-01-27T10:20:33.9384059Z ##[error]at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http1.Http1ExchangeCodec.readResponseHeaders(Http1ExchangeCodec.java:236) 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) 2021-01-27T10:20:33.9393864Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http1.Http1ExchangeCodec.readResponseHeaders(Http1ExchangeCodec.java:236) 2021-01-27T10:20:33.9395649Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.Exchange.readResponseHeaders(Exchange.java:115) 2021-01-27T10:20:33.9397587Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:94) 2021-01-27T10:20:33.9399847Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142) 2021-01-27T10:20:33.9401261Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:43) 2021-01-27T10:20:33.9402737Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142) 2021-01-27T10:20:33.9404124Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117) 2021-01-27T10:20:33.9405487Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:94) 2021-01-27T10:20:33.9407013Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142) 2021-01-27T10:20:33.9408354Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117) 2021-01-27T10:20:33.9410731Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) 2021-01-27T10:20:33.9412775Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142) 2021-01-27T10:20:33.9426894Z ##[error]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:114) at org.sonarsource.scanner.api.internal.ServerConnection.downloadString(ServerConnection.java:99) at org.sonarsource.scanner.api.internal.BootstrapIndexDownloader.getIndex(BootstrapIndexDownloader.java:39) ... 10 more Caused by: java.io.EOFException: \n not found: limit=0 content=� at org.sonarsource.scanner.api.internal.shaded.okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:240) 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) ... 29 more ERROR: 2021-01-27T10:20:33.9439930Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:88) 2021-01-27T10:20:33.9441381Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142) 2021-01-27T10:20:33.9443557Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117) 2021-01-27T10:20:33.9444942Z at org.sonarsource.scanner.api.internal.shaded.okhttp.RealCall.getResponseWithInterceptorChain(RealCall.java:221) 2021-01-27T10:20:33.9446480Z at org.sonarsource.scanner.api.internal.shaded.okhttp.RealCall.execute(RealCall.java:81) 2021-01-27T10:20:33.9447482Z at org.sonarsource.scanner.api.internal.ServerConnection.callUrl(ServerConnection.java:114) 2021-01-27T10:20:33.9450366Z at org.sonarsource.scanner.api.internal.ServerConnection.downloadString(ServerConnection.java:99) 2021-01-27T10:20:33.9451562Z at org.sonarsource.scanner.api.internal.BootstrapIndexDownloader.getIndex(BootstrapIndexDownloader.java:39) 2021-01-27T10:20:33.9452311Z ... 10 more 2021-01-27T10:20:33.9453063Z Caused by: java.io.EOFException: \n not found: limit=0 content=� 2021-01-27T10:20:33.9454074Z at org.sonarsource.scanner.api.internal.shaded.okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:240) 2021-01-27T10:20:33.9455868Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http1.Http1ExchangeCodec.readHeaderLine(Http1ExchangeCodec.java:242) 2021-01-27T10:20:33.9457416Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http1.Http1ExchangeCodec.readResponseHeaders(Http1ExchangeCodec.java:213) 2021-01-27T10:20:33.9461195Z ... 29 more 2021-01-27T10:20:33.9461646Z ERROR: 2021-01-27T10:20:33.9732744Z ##[error]The SonarScanner did not complete successfully 2021-01-27T10:20:33.9735247Z The SonarScanner did not complete successfully 2021-01-27T10:20:33.9762786Z ##[error]10:20:33.972 Post-processing failed. Exit code: 1 2021-01-27T10:20:33.9765327Z 10:20:33.972 Post-processing failed. Exit code: 1 2021-01-27T10:20:33.9950331Z ##[error]The process 'D:\a\_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\4.17.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe' failed with exit code 1 2021-01-27T10:20:34.0048239Z ##[section]Finishing: SonarQubeAnalyze