overnight my analysis of Sonarqube started to have problems.
I use Azure Devops and have taks to do the analysis.
I tested it on three types of Agent pools that I have here, Microsoft-Hosted, Self-Hosted and Azure Virtual Machine Scale Set. All are happening the same thing.
22:27:13.252 DEBUG: Create : /home/AzDevOps/.sonar/_tmp
22:27:13.252 INFO: User cache: /home/AzDevOps/.sonar/cache
22:27:13.256 INFO: Load/download plugins
22:27:13.256 INFO: Load plugins index
22:27:13.274 DEBUG: GET 200 http://sonar.simpress.com.br:9000/api/plugins/installed | time=18ms
22:27:13.358 INFO: Load plugins index (done) | time=102ms
22:27:13.360 DEBUG: Download plugin 'csharp' to '/home/AzDevOps/.sonar/_tmp/fileCache3622461999441742259.tmp'
22:27:13.374 DEBUG: GET 200 h ttp://sonar.simpress.com.br:9000/api/plugins/download?plugin=csharp | time=13ms
22:27:13.934 DEBUG: Download plugin 'config' to '/home/AzDevOps/.sonar/_tmp/fileCache11707059433215914497.tmp'
22:27:13.947 DEBUG: GET 200 h ttp://sonar.simpress.com.br:9000/api/plugins/download?plugin=config | time=12ms
22:27:13.951 DEBUG: Download plugin 'flex' to '/home/AzDevOps/.sonar/_tmp/fileCache9026845858432601730.tmp'
22:27:13.969 DEBUG: GET 200 h ttp://sonar.simpress.com.br:9000/api/plugins/download?plugin=flex | time=17ms
22:27:14.103 DEBUG: Download plugin 'go' to '/home/AzDevOps/.sonar/_tmp/fileCache5450712096068338148.tmp'
22:27:14.123 DEBUG: GET 200 h ttp://sonar.simpress.com.br:9000/api/plugins/download?plugin=go | time=20ms
22:27:14.472 DEBUG: Download plugin 'web' to '/home/AzDevOps/.sonar/_tmp/fileCache582919661071610473.tmp'
22:27:14.491 DEBUG: GET 200 h ttp://sonar.simpress.com.br:9000/api/plugins/download?plugin=web | time=18ms
22:27:14.548 DEBUG: Download plugin 'iac' to '/home/AzDevOps/.sonar/_tmp/fileCache62477367589831352.tmp'
22:27:14.564 DEBUG: GET 200 h ttp://sonar.simpress.com.br:9000/api/plugins/download?plugin=iac | time=16ms
22:27:14.720 DEBUG: Download plugin 'jacoco' to '/home/AzDevOps/.sonar/_tmp/fileCache12074501473359210749.tmp'
22:27:14.729 DEBUG: GET 200 http://sonar.simpress.com.br:9000/api/plugins/download?plugin=jacoco | time=8ms
22:27:14.732 DEBUG: Download plugin 'java' to '/home/AzDevOps/.sonar/_tmp/fileCache11722634496964699332.tmp'
22:27:14.751 DEBUG: GET 200 http://sonar.simpress.com.br:9000/api/plugins/download?plugin=java | time=19ms
22:27:16.531 DEBUG: Download plugin 'javascript' to '/home/AzDevOps/.sonar/_tmp/fileCache4618224052245749988.tmp'
22:27:16.553 DEBUG: GET 200 http://sonar.simpress.com.br:9000/api/plugins/download?plugin=javascript | time=22ms
22:32:16.576 INFO: Load/download plugins (done) | time=303320ms
22:32:16.618 INFO: ------------------------------------------------------------------------
22:32:16.619 INFO: EXECUTION FAILURE
22:32:16.619 INFO: ------------------------------------------------------------------------
22:32:16.619 INFO: Total time: 5:09.470s
22:32:16.639 INFO: Final Memory: 5M/24M
22:32:16.639 INFO: ------------------------------------------------------------------------
##[error]22:32:16.640 ERROR: Error during SonarScanner execution
22:32:16.640 ERROR: Error during SonarScanner execution
##[error]org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sonarsource.scanner.api.internal.IsolatedClassloader@5fe94a96-org.sonar.scanner.bootstrap.ScannerPluginRepository': Initialization of bean failed; nested exception is java.lang.IllegalStateException: Fail to download plugin [javascript] into /home/AzDevOps/.sonar/_tmp/fileCache4618224052245749988.tmp
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sonarsource.scanner.api.internal.IsolatedClassloader@5fe94a96-org.sonar.scanner.bootstrap.ScannerPluginRepository': Initialization of bean failed; nested exception is java.lang.IllegalStateException: Fail to download plugin [javascript] into /home/AzDevOps/.sonar/_tmp/fileCache4618224052245749988.tmp
##[error]at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:628)
I tried to access the url “http://sonar.simpress.com.br:9000/api/plugins/download?plugin=javascript” to try to download the plugin manually and it doesn’t work, if I try any other plugin it works.