Hello,
We are facing a blocking issue with our SonarQube analysis in our Azure DevOps CI/CD pipelines. The analysis sometimes succeeds, but often fails with the following error:
##[error]14:24:45.223 ERROR Error during SonarScanner CLI execution
java.lang.IllegalStateException: Fail to download scanner-enterprise-2025.1.0.102418-all.jar to /home/vsts/.sonar/cache/_tmp/fileCache5351734524601697426.tmp
at org.sonarsource.scanner.lib.internal.cache.FileCache.download(FileCache.java:103)
at org.sonarsource.scanner.lib.internal.cache.FileCache.getOrDownload(FileCache.java:88)
at org.sonarsource.scanner.lib.internal.ScannerEngineLauncherFactory.getScannerEngine(ScannerEngineLauncherFactory.java:66)
at org.sonarsource.scanner.lib.internal.ScannerEngineLauncherFactory.createLauncher(ScannerEngineLauncherFactory.java:55)
at org.sonarsource.scanner.lib.ScannerEngineBootstrapper.bootstrap(ScannerEngineBootstrapper.java:123)
at org.sonarsource.scanner.cli.Main.analyze(Main.java:75)
at org.sonarsource.scanner.cli.Main.main(Main.java:63)
Caused by: java.io.EOFException: null
Steps we tried:
- We are using a Microsoft self-hosted agent (we have both Ubuntu & Windows).
- We have cleared the SonarQube cache.
- We have verified connectivity between the Microsoft-Self agent and the SonarQube server.
Despite these actions, the issue persists. Has anyone encountered a similar problem, or does anyone have suggestions on how to resolve this?
Thank you for your help!
Best regards,
Bilel