057448fbdf7b: Pulling fs layer82fc69677772: Pulling fs layeradf863a6ed10: Pulling fs layer719882e4fae2: Pulling fs layeradf863a6ed10: Waiting057448fbdf7b: Waiting82fc69677772: Waiting339de151aab4: Verifying Checksum339de151aab4: Download complete339de151aab4: Pull completec6f92ee85ef8: Verifying Checksumc6f92ee85ef8: Download complete82fc69677772: Verifying Checksum82fc69677772: Download completeb43e9138b02c: Verifying Checksumb43e9138b02c: Download completeb43e9138b02c: Pull completeadf863a6ed10: Download complete057448fbdf7b: Download completec6f92ee85ef8: Pull complete719882e4fae2: Verifying Checksum719882e4fae2: Download complete057448fbdf7b: Pull complete82fc69677772: Pull completeadf863a6ed10: Pull complete719882e4fae2: Pull completeDigest: sha256:6c0c5bc90ac3eff388d8ac46cb927d19eb471d1c233bf289dead8b9a4f75b047Status: Downloaded newer image for sonarsource/sonarqube-scan:1.0.0INFO: Scanner configuration file: /opt/sonar-scanner/conf/sonar-scanner.propertiesINFO: Project root configuration file: /opt/atlassian/pipelines/agent/build/sonar-project.propertiesINFO: SonarScanner 4.6.2.2472INFO: Java 11.0.11 AdoptOpenJDK (64-bit)INFO: Linux 5.10.101 amd64INFO: User cache: /opt/sonar-scanner/.sonar/cacheINFO: ------------------------------------------------------------------------INFO: EXECUTION FAILUREINFO: ------------------------------------------------------------------------ERROR: SonarQube server [$SONAR_HOST_URL] can not be reachedINFO: Total time: 0.386sERROR: Error during SonarScanner executionINFO: Final Memory: 3M/15MINFO: ------------------------------------------------------------------------org.sonarsource.scanner.api.internal.ScannerException: Unable to execute SonarScanner analysisat org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.lambda$createLauncher$0(IsolatedLauncherFactory.java:85)at java.base/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)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 serverat 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 moreCaused by: java.net.ConnectException: Failed to connect to localhost/127.0.0.1:9000at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.RealConnection.connectSocket(RealConnection.java:265)at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.RealConnection.connect(RealConnection.java:183)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:115)at org.sonarsource.scanner.api.internal.ServerConnection.downloadString(ServerConnection.java:99)at org.sonarsource.scanner.api.internal.BootstrapIndexDownloader.getIndex(BootstrapIndexDownloader.java:39)... 10 moreCaused by: java.net.ConnectException: Connection refused (Connection refused)at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)at java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source)at java.base/java.net.SocksSocketImpl.connect(Unknown Source)at java.base/java.net.Socket.connect(Unknown Source)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)... 31 moreERROR: ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.Hi @Kyaw
The sonarsource/sonarqube-scan pipe is maintained by SonarQube team.
Please, follow the link in the Support section of the pipe's Readme.
Best regards,
Oleksandr Kyrdan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.