Publish quality gate takes a very long time to execute

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • what are you trying to achieve
  • what have you tried so far to achieve this

Hi all,

Here are the details of Sonarqube versions :

Sonarqube - Developer Edition
Sonarqube AZDO extension : 4.17.0

Problem : the builds fail at Publish quality gate task with the following logs :

 ##[debug][SQ] Waiting for task 'AXcTc0c-UD1NpwhMlLmx' to complete.

##[debug][SQ] API GET: '/api/ce/task' with query "{"id":"AXcTc0c-UD1NpwhMlLmx"}"

##[debug]Response: 200 Body: "{"task":{"id":"AXcTc0c-UD1NpwhMlLmx","type":"REPORT","componentId":"AXcTDEnkUD1NpwhMlLml","componentKey":"FredNXTDispense","componentName":"FredNXTDispense","componentQualifier":"TRK","status":"PENDING","submittedAt":"2021-01-18T14:04:18+1100","submitterLogin":"","logs":false,"organization":"default-organization","branch":"features/NightFury!/F108828_EmbeddedFlow_UI_and_WorkFlow","branchType":"BRANCH","warnings":[]}}"

##[debug][SQ] Task status:PENDING 

What I have tried so far :

  • Allocated memory for SQ processes increased - Compute Engine / Web JVM state
  • checked the logs - nothing obvious

I had the same issue, see

try to update to SonarQube 8.6 Developer Edition


Thank you Ismail ! It will surely bring a lot of relief if the problem is fixed permanently in version 8.6 :slight_smile: Thank you so much for the pointer.

Hi all,

Im on version 8.6 of Sonarqube now and we are still hitting long timeouts with generating quality gate reports. It blocks us because the build gets delayed and the work gets affected.

Is there a permanent fix for this problem ?