2020-02-19T11:41:24.5137011Z ##[section]Starting: Run Code Analysis 2020-02-19T11:41:24.5215013Z ============================================================================== 2020-02-19T11:41:24.5215111Z Task : Run Code Analysis 2020-02-19T11:41:24.5215164Z Description : Run scanner and upload the results to the SonarCloud server. 2020-02-19T11:41:24.5215226Z Version : 1.10.0 2020-02-19T11:41:24.5215285Z Author : sonarsource 2020-02-19T11:41:24.5215354Z Help : Version: 1.10.0. This task is not needed for Maven and Gradle projects since the scanner should be run as part of the build. 2020-02-19T11:41:32.3746960Z INFO: ------------------------------------------------------------------------ 2020-02-19T11:41:32.3747274Z INFO: EXECUTION FAILURE 2020-02-19T11:41:32.3747371Z INFO: ------------------------------------------------------------------------ 2020-02-19T11:41:32.3777966Z ##[error]ERROR: SonarQube server [https://sonarcloud.io] can not be reached 2020-02-19T11:41:32.3778401Z ERROR: SonarQube server [https://sonarcloud.io] can not be reached 2020-02-19T11:41:32.3778466Z INFO: Total time: 5.844s 2020-02-19T11:41:32.3920040Z INFO: Final Memory: 6M/245M 2020-02-19T11:41:32.3921617Z ##[error]ERROR: Error during SonarQube Scanner execution 2020-02-19T11:41:32.3921954Z ERROR: Error during SonarQube Scanner execution 2020-02-19T11:41:32.3924620Z INFO: ------------------------------------------------------------------------ 2020-02-19T11:41:32.3929856Z ##[error]org.sonarsource.scanner.api.internal.ScannerException: Unable to execute SonarQube 2020-02-19T11:41:32.3931695Z org.sonarsource.scanner.api.internal.ScannerException: Unable to execute SonarQube 2020-02-19T11:41:32.3932170Z ##[error]at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.lambda$createLauncher$0(IsolatedLauncherFactory.java:85) at java.security.AccessController.doPrivileged(Native Method) at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:74) at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:70) 2020-02-19T11:41:32.3932563Z at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.lambda$createLauncher$0(IsolatedLauncherFactory.java:85) 2020-02-19T11:41:32.3932657Z at java.security.AccessController.doPrivileged(Native Method) 2020-02-19T11:41:32.3932767Z at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:74) 2020-02-19T11:41:32.3932878Z at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:70) 2020-02-19T11:41:32.3933121Z ##[error]at org.sonarsource.scanner.api.EmbeddedScanner.doStart(EmbeddedScanner.java:185) at org.sonarsource.scanner.api.EmbeddedScanner.start(EmbeddedScanner.java:123) 2020-02-19T11:41:32.3933282Z at org.sonarsource.scanner.api.EmbeddedScanner.doStart(EmbeddedScanner.java:185) 2020-02-19T11:41:32.3933345Z at org.sonarsource.scanner.api.EmbeddedScanner.start(EmbeddedScanner.java:123) 2020-02-19T11:41:32.3933522Z ##[error]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 2020-02-19T11:41:32.3933682Z at org.sonarsource.scanner.cli.Main.execute(Main.java:73) 2020-02-19T11:41:32.3933735Z at org.sonarsource.scanner.cli.Main.main(Main.java:61) 2020-02-19T11:41:32.3933801Z Caused by: java.lang.IllegalStateException: Fail to get bootstrap index from server 2020-02-19T11:41:32.3934017Z ##[error]at org.sonarsource.scanner.api.internal.BootstrapIndexDownloader.getIndex(BootstrapIndexDownloader.java:42) at org.sonarsource.scanner.api.internal.JarDownloader.getScannerEngineFiles(JarDownloader.java:58) 2020-02-19T11:41:32.3934606Z at org.sonarsource.scanner.api.internal.BootstrapIndexDownloader.getIndex(BootstrapIndexDownloader.java:42) 2020-02-19T11:41:32.3934796Z at org.sonarsource.scanner.api.internal.JarDownloader.getScannerEngineFiles(JarDownloader.java:58) 2020-02-19T11:41:32.3940927Z ##[error]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.SocketTimeoutException: Connect timed out at java.net.SocksSocketImpl.readSocksReply(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) 2020-02-19T11:41:32.3941377Z at org.sonarsource.scanner.api.internal.JarDownloader.download(JarDownloader.java:53) 2020-02-19T11:41:32.3941481Z at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.lambda$createLauncher$0(IsolatedLauncherFactory.java:76) 2020-02-19T11:41:32.3941578Z ... 7 more 2020-02-19T11:41:32.3941891Z Caused by: java.net.SocketTimeoutException: Connect timed out 2020-02-19T11:41:32.3941948Z at java.net.SocksSocketImpl.readSocksReply(Unknown Source) 2020-02-19T11:41:32.3941999Z at java.net.SocksSocketImpl.connect(Unknown Source) 2020-02-19T11:41:32.3942104Z at java.net.Socket.connect(Unknown Source) 2020-02-19T11:41:32.3946662Z ##[error]at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.platform.Platform.connectSocket(Platform.java:130) at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.RealConnection.connectSocket(RealConnection.java:263) at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.RealConnection.connectTunnel(RealConnection.java:235) at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.RealConnection.connect(RealConnection.java:177) at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.java:224) at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.java:108) at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.ExchangeFinder.find(ExchangeFinder.java:88) at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.Transmitter.newExchange(Transmitter.java:169) at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:41) 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:113) at org.sonarsource.scanner.api.internal.ServerConnection.downloadString(ServerConnection.java:98) at org.sonarsource.scanner.api.internal.BootstrapIndexDownloader.getIndex(BootstrapIndexDownloader.java:39) ... 10 more ERROR: 2020-02-19T11:41:32.3947927Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.platform.Platform.connectSocket(Platform.java:130) 2020-02-19T11:41:32.3948011Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.RealConnection.connectSocket(RealConnection.java:263) 2020-02-19T11:41:32.3948089Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.RealConnection.connectTunnel(RealConnection.java:235) 2020-02-19T11:41:32.3948156Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.RealConnection.connect(RealConnection.java:177) 2020-02-19T11:41:32.3948229Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.java:224) 2020-02-19T11:41:32.3948349Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.java:108) 2020-02-19T11:41:32.3948422Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.ExchangeFinder.find(ExchangeFinder.java:88) 2020-02-19T11:41:32.3948483Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.Transmitter.newExchange(Transmitter.java:169) 2020-02-19T11:41:32.3948544Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:41) 2020-02-19T11:41:32.3948649Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142) 2020-02-19T11:41:32.3948708Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117) 2020-02-19T11:41:32.3948781Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:94) 2020-02-19T11:41:32.3948848Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142) 2020-02-19T11:41:32.3948922Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117) 2020-02-19T11:41:32.3948982Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) 2020-02-19T11:41:32.3949055Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142) 2020-02-19T11:41:32.3949172Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:88) 2020-02-19T11:41:32.3949264Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142) 2020-02-19T11:41:32.3949331Z at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117) 2020-02-19T11:41:32.3949430Z at org.sonarsource.scanner.api.internal.shaded.okhttp.RealCall.getResponseWithInterceptorChain(RealCall.java:221) 2020-02-19T11:41:32.3949539Z at org.sonarsource.scanner.api.internal.shaded.okhttp.RealCall.execute(RealCall.java:81) 2020-02-19T11:41:32.3949675Z at org.sonarsource.scanner.api.internal.ServerConnection.callUrl(ServerConnection.java:113) 2020-02-19T11:41:32.3949731Z at org.sonarsource.scanner.api.internal.ServerConnection.downloadString(ServerConnection.java:98) 2020-02-19T11:41:32.3949808Z at org.sonarsource.scanner.api.internal.BootstrapIndexDownloader.getIndex(BootstrapIndexDownloader.java:39) 2020-02-19T11:41:32.3949856Z ... 10 more 2020-02-19T11:41:32.3949910Z ERROR: 2020-02-19T11:41:32.4106640Z ##[error]The SonarQube Scanner did not complete successfully 2020-02-19T11:41:32.4107179Z The SonarQube Scanner did not complete successfully 2020-02-19T11:41:32.4144555Z ##[error]11:41:32.404 Post-processing failed. Exit code: 1 2020-02-19T11:41:32.4144868Z 11:41:32.404 Post-processing failed. Exit code: 1