It seems that over half of the time I try to execute analysis using Sonar Runner 2.4 on several different projects that the analysis completes successfully but the publish (via the background task) to SonarQube fails. There is no log that I can find with relevant information on the SonarQube server for the failed tasks - at least I can't find any. I am new to SonarQube. The SonarQube 5.2 server is on Windows Server 2012 R2 using SQL Server 2012(SP1) database.
Asked
Active
Viewed 1,664 times
3
-
What do the _sonar-runner_ logs say ? Is there any task shown under Administration - Projects - Background Tasks ? – Nicolas B. Jan 11 '16 at 07:47
-
1You should find useful logs in the Administration -> Projects -> Background Tasks page. You can access to any logs of tasks. – Julien L. - SonarSource Team Jan 11 '16 at 08:30
-
1Yes, @n_stan and Julien L, tasks are shown under Administration>Projects>Background Tasks but only the one marked Success have logs associated with them. The tasks marked Failed have no link to Logs. – BertSansErnie Jan 11 '16 at 14:32
-
Can you share _sonar-runner_ debug logs (`sonar.verbose=true`) and [server debug logs](http://docs.sonarqube.org/display/SONAR/Server+Log+Management) when the analysis is executed ? – Nicolas B. Jan 12 '16 at 08:07
-
The contents of the server log do not show anything but information regarding the last successful task - not the task that failed. – BertSansErnie Jan 12 '16 at 15:38
-
The sonar-runner log is too big to share but it shows DEBUG - Publish INFO - ANALYSIS SUCCESSFUL – BertSansErnie Jan 12 '16 at 15:46
1 Answers
3
The answer is the solution stated in the related SonarQube 5.3 Background Task Fails with No Log in Dashboard . There were several SonarQube servers, which I was unaware of when I originally posted, accessing the same database. When those other instances were shut down there were no more failures in the background tasks.

Community
- 1
- 1

BertSansErnie
- 61
- 6