We have bitbucket pipeline configured with sonarcloud-scan and sonarcloud-quality-gate. Since few days most of all attempts during working hours (8AM-5PM CET) are failing due to Quality Gate failed: Compute engine task did not complete within time:
versions used (sonarsource/sonarcloud-quality-gate:0.1.4 - also tried with 0.1.5)
Status: Downloaded newer image for sonarsource/sonarcloud-quality-gate:0.1.4
.............................................................✖ Quality Gate failed: Compute engine task did not complete within time
potential workaround - pipelines run successfully during evenings (~6PM CET)
This issue is critical and delays out development process.
Apologies for the late response, do you still experience the issue?
Did the tasks complete successfully if you go to sonarcloud.io?
The default timeout is equal to 5 minutes, you could potentially increase the timeout by setting the SONAR_QUALITY_GATE_TIMEOUT variable.
Hi @Marcin_Majewski!
I’m still experiencing this issue… I have tried to set SONAR_QUALITY_GATE_TIMEOUT variable, but I face the same issue as described here. I have tried few options: “450”, ‘450’ (format suggested by the documentation) and 450, but so far no success (getting unsupported operand type(s) for //: ‘str’ and ‘int’ error).
I found this ticket that is related, but it’s still marked as unresolved.
@Marcin_Majewski Finally I was able to set the SONAR_QUALITY_GATE_TIMEOUT variable. I will observe the effectiveness of the new setup (for now it seems to work). Thanks for your support!