Hi team,
Once of our sonar scan is getting failed with below error intermittently and we already verified the suggestion mentioned in the link but SCM sensor is already disabled on our server.
Can someone please suggest us with the solution?
build 15-Jun-2021 22:33:29 [INFO] ------------------------------------------------------------------------
build 15-Jun-2021 22:33:29 [INFO] BUILD FAILURE
build 15-Jun-2021 22:33:29 [INFO] ------------------------------------------------------------------------
build 15-Jun-2021 22:33:29 [INFO] Total time: 04:20 h
build 15-Jun-2021 22:33:29 [INFO] Finished at: 2021-06-15T22:33:29-04:00
build 15-Jun-2021 22:33:31 [INFO] Final Memory: 955M/19797M
build 15-Jun-2021 22:33:31 [INFO] ------------------------------------------------------------------------
build 15-Jun-2021 22:33:31 [ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.0.2155:sonar (default-cli) on project v3-product: Error when executing blame for file src/com/xxxxxxx/v3/enrollment/services/EnrollmentServiceImpl.java: svn: E175002: Connection reset
build 15-Jun-2021 22:33:31 [ERROR] svn: E175002: REPORT request failed on '/repos/!svn/bc/1603197/v3-web-product/branches/v310-uc/benefits/src/com/xxxxxxx/v3/enrollment/services/EnrollmentServiceImpl.java'
build 15-Jun-2021 22:33:31 [ERROR] -> [Help 1]
build 15-Jun-2021 22:33:31 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.0.2155:sonar (default-cli) on project v3-product: Error when executing blame for file src/com/xxxxxxx/v3/enrollment/services/EnrollmentServiceImpl.java
build 15-Jun-2021 22:33:31 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
build 15-Jun-2021 22:33:31 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
build 15-Jun-2021 22:33:31 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
build 15-Jun-2021 22:33:31 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
build 15-Jun-2021 22:33:31 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
build 15-Jun-2021 22:33:31 at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
build 15-Jun-2021 22:33:31 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
build 15-Jun-2021 22:33:31 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
build 15-Jun-2021 22:33:31 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
build 15-Jun-2021 22:33:31 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
build 15-Jun-2021 22:33:31 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
build 15-Jun-2021 22:33:31 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
build 15-Jun-2021 22:33:31 at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
build 15-Jun-2021 22:33:31 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
build 15-Jun-2021 22:33:31 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
build 15-Jun-2021 22:33:31 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
build 15-Jun-2021 22:33:31 at java.lang.reflect.Method.invoke(Method.java:498)
build 15-Jun-2021 22:33:31 at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
build 15-Jun-2021 22:33:31 at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
build 15-Jun-2021 22:33:31 at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
build 15-Jun-2021 22:33:31 at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
build 15-Jun-2021 22:33:31 Caused by: org.apache.maven.plugin.MojoExecutionException: Error when executing blame for file src/com/xxxxxxx/v3/enrollment/services/EnrollmentServiceImpl.java
build 15-Jun-2021 22:33:31 at org.sonarsource.scanner.maven.bootstrap.ScannerBootstrapper.execute(ScannerBootstrapper.java:67)
build 15-Jun-2021 22:33:31 at org.sonarsource.scanner.maven.SonarQubeMojo.execute(SonarQubeMojo.java:108)
build 15-Jun-2021 22:33:31 at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
build 15-Jun-2021 22:33:31 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
build 15-Jun-2021 22:33:31 ... 20 more
build 15-Jun-2021 22:33:31 Caused by: java.lang.IllegalStateException: Error when executing blame for file src/com/xxxxxxx/v3/enrollment/services/EnrollmentServiceImpl.java
build 15-Jun-2021 22:33:31 at org.sonar.plugins.scm.svn.SvnBlameCommand.blame(SvnBlameCommand.java:85)
build 15-Jun-2021 22:33:31 at org.sonar.plugins.scm.svn.SvnBlameCommand.blame(SvnBlameCommand.java:58)
build 15-Jun-2021 22:33:31 at org.sonar.scanner.scm.ScmPublisher.publish(ScmPublisher.java:88)
build 15-Jun-2021 22:33:31 at org.sonar.scanner.phases.PublishPhaseExecutor.afterSensors(PublishPhaseExecutor.java:54)
build 15-Jun-2021 22:33:31 at org.sonar.scanner.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:76)
build 15-Jun-2021 22:33:31 at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:164)
build 15-Jun-2021 22:33:31 at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:136)
build 15-Jun-2021 22:33:31 at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:122)
build 15-Jun-2021 22:33:31 at org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer.java:319)
build 15-Jun-2021 22:33:31 at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:314)
build 15-Jun-2021 22:33:31 at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:312)
build 15-Jun-2021 22:33:31 at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:288)
build 15-Jun-2021 22:33:31 at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:136)
build 15-Jun-2021 22:33:31 at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:122)
build 15-Jun-2021 22:33:31 at org.sonar.scanner.task.ScanTask.execute(ScanTask.java:48)
build 15-Jun-2021 22:33:31 at org.sonar.scanner.task.TaskContainer.doAfterStart(TaskContainer.java:82)
build 15-Jun-2021 22:33:31 at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:136)
build 15-Jun-2021 22:33:31 at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:122)
build 15-Jun-2021 22:33:31 at org.sonar.scanner.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:131)
build 15-Jun-2021 22:33:31 at org.sonar.batch.bootstrapper.Batch.doExecuteTask(Batch.java:116)
build 15-Jun-2021 22:33:31 at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:71)
build 15-Jun-2021 22:33:31 at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
build 15-Jun-2021 22:33:31 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
build 15-Jun-2021 22:33:31 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
build 15-Jun-2021 22:33:31 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
build 15-Jun-2021 22:33:31 at java.lang.reflect.Method.invoke(Method.java:498)
build 15-Jun-2021 22:33:31 at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
build 15-Jun-2021 22:33:31 at com.sun.proxy.$Proxy23.execute(Unknown Source)
build 15-Jun-2021 22:33:31 at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
build 15-Jun-2021 22:33:31 at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
build 15-Jun-2021 22:33:31 at org.sonarsource.scanner.maven.bootstrap.ScannerBootstrapper.execute(ScannerBootstrapper.java:65)
build 15-Jun-2021 22:33:31 ... 23 more
build 15-Jun-2021 22:33:31 Caused by: org.tmatesoft.svn.core.SVNException: svn: E175002: Connection reset
build 15-Jun-2021 22:33:31 svn: E175002: REPORT request failed on '/repos/!svn/bc/1603197/v3-web-product/branches/v310-uc/benefits/src/com/xxxxxxx/v3/enrollment/services/EnrollmentServiceImpl.java'
build 15-Jun-2021 22:33:31 at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:112)
build 15-Jun-2021 22:33:31 at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:96)
build 15-Jun-2021 22:33:31 at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:765)
build 15-Jun-2021 22:33:31 at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:352)
build 15-Jun-2021 22:33:31 at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:340)
build 15-Jun-2021 22:33:31 at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:910)
build 15-Jun-2021 22:33:31 at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doReport(DAVConnection.java:363)
build 15-Jun-2021 22:33:31 at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doReport(DAVConnection.java:353)
build 15-Jun-2021 22:33:31 at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getFileRevisionsImpl(DAVRepository.java:924)
build 15-Jun-2021 22:33:31 at org.tmatesoft.svn.core.io.SVNRepository.getFileRevisions(SVNRepository.java:763)
build 15-Jun-2021 22:33:31 at org.tmatesoft.svn.core.internal.wc16.SVNLogClient16.doAnnotate(SVNLogClient16.java:1390)
build 15-Jun-2021 22:33:31 at org.tmatesoft.svn.core.internal.wc16.SVNLogClient16.doAnnotate(SVNLogClient16.java:291)
build 15-Jun-2021 22:33:31 at org.tmatesoft.svn.core.internal.wc2.old.SvnOldAnnotate.run(SvnOldAnnotate.java:45)
build 15-Jun-2021 22:33:31 at org.tmatesoft.svn.core.internal.wc2.old.SvnOldAnnotate.run(SvnOldAnnotate.java:17)
build 15-Jun-2021 22:33:31 at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21)
build 15-Jun-2021 22:33:31 at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1239)
build 15-Jun-2021 22:33:31 at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
build 15-Jun-2021 22:33:31 at org.tmatesoft.svn.core.wc.SVNLogClient.doAnnotate(SVNLogClient.java:295)
build 15-Jun-2021 22:33:31 at org.sonar.plugins.scm.svn.SvnBlameCommand.blame(SvnBlameCommand.java:83)
build 15-Jun-2021 22:33:31 ... 53 more
build 15-Jun-2021 22:33:31 Caused by: java.net.SocketException: Connection reset
build 15-Jun-2021 22:33:31 at java.net.SocketInputStream.read(SocketInputStream.java:209)
build 15-Jun-2021 22:33:31 at java.net.SocketInputStream.read(SocketInputStream.java:141)
build 15-Jun-2021 22:33:31 at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
build 15-Jun-2021 22:33:31 at sun.security.ssl.InputRecord.readV3Record(InputRecord.java:593)
build 15-Jun-2021 22:33:31 at sun.security.ssl.InputRecord.read(InputRecord.java:532)
build 15-Jun-2021 22:33:31 at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
build 15-Jun-2021 22:33:31 at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:930)
build 15-Jun-2021 22:33:31 at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
build 15-Jun-2021 22:33:31 at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
build 15-Jun-2021 22:33:31 at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
build 15-Jun-2021 22:33:31 at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
build 15-Jun-2021 22:33:31 at org.tmatesoft.svn.core.internal.util.ChunkedInputStream.read(ChunkedInputStream.java:75)
build 15-Jun-2021 22:33:31 at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:238)
build 15-Jun-2021 22:33:31 at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
build 15-Jun-2021 22:33:31 at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:117)
build 15-Jun-2021 22:33:31 at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
build 15-Jun-2021 22:33:31 at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
build 15-Jun-2021 22:33:31 at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
build 15-Jun-2021 22:33:31 at java.io.InputStreamReader.read(InputStreamReader.java:184)
build 15-Jun-2021 22:33:31 at org.tmatesoft.svn.core.internal.io.dav.http.XMLReader.read(XMLReader.java:39)
build 15-Jun-2021 22:33:31 at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1793)
build 15-Jun-2021 22:33:31 at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.peekChar(XMLEntityScanner.java:503)
build 15-Jun-2021 22:33:31 at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2719)
build 15-Jun-2021 22:33:31 at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
build 15-Jun-2021 22:33:31 at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:118)
build 15-Jun-2021 22:33:31 at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
build 15-Jun-2021 22:33:31 at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
build 15-Jun-2021 22:33:31 at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
build 15-Jun-2021 22:33:31 at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
build 15-Jun-2021 22:33:31 at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
build 15-Jun-2021 22:33:31 at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
build 15-Jun-2021 22:33:31 at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.readData(HTTPConnection.java:898)
build 15-Jun-2021 22:33:31 at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.readData(HTTPConnection.java:863)
build 15-Jun-2021 22:33:31 at org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest.dispatch(HTTPRequest.java:220)
build 15-Jun-2021 22:33:31 at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:451)
build 15-Jun-2021 22:33:31 ... 69 more
build 15-Jun-2021 22:33:31 [ERROR]
build 15-Jun-2021 22:33:31 [ERROR]
build 15-Jun-2021 22:33:31 [ERROR] For more information about the errors and possible solutions, please read the following articles: