From the log snippets you shared it seems that the CE task ‘AXQk8KvWEfrwmhYXhMDA’ instead of being processed by SonarQube has been canceled. You can check if that was indeed the case from SQ UI in Admin->Projects->Background Tasks and filtering by the task id (are there maybe other jobs that are canceled too?).
If the task got cancelled there is no Quality Gate computed for a given scan and thus Publishing QG status makes no sense.
We confirmed in the UI that the Background tasks was cancelled for this job and other related jobs. The question is why. We were able to verify through the UI and pipeline that a results file was computed and uploaded to the server. Is this the Quality Gate you are referring to? Here is the output from pipeline’s Run Code Analysis step:``` 2020-09-03T11:43:25.4503026Z 07:43:25.430 INFO: Analysis report generated in 2734ms, dir size=30 MB
2020-09-03T11:43:33.3851518Z 07:43:33.367 INFO: Analysis report compressed in 7937ms, zip size=11 MB
2020-09-03T11:43:33.3853128Z 07:43:33.367 INFO: Analysis report generated in D:\Builds\VXYZ1\1.sonarqube\out.sonar\scanner-report
2020-09-03T11:43:33.3853630Z 07:43:33.367 DEBUG: Upload report
2020-09-03T11:43:34.0047115Z 07:43:33.992 DEBUG: POST 200 http://xxxxy:2345/api/ce/submit?projectKey=APP_MAIN_CI-234i&projectName=APP | time=609ms
2020-09-03T11:43:34.0115656Z 07:43:34.008 INFO: Analysis report uploaded in 641ms’‘’
We confirmed in the UI that the Background tasks was cancelled for this job and other related jobs. The question is why.
Exactly that is the question we need to find answer to.
We were able to verify through the UI and pipeline that a results file was computed and uploaded to the server
Think about it as client/server architecture - client, being your scanner, generates a report and uploads it to the server. Then the server should queue the request and processes the uploaded report via the Compute Engine. Please check SonarQpube’s ce.log on some clues on why this task was cancelled. You can grep its id in the ce.log and hopefully there will be some clue.