One of our project is facing Irregular ERROR: Error during SonarScanner execution Quality Gate check timeout exceeded.
Sometimes they get it sometimes no Issues, we want to know the exact cause behind it.
I have attached the debug log as well. error-logs.txt (2.5 MB)
SonarQube Version : 9.9.6 Community
SonarQUbe Application Deployment: k8s
SonarQube Scanner : .Net core 7.0
Please let me know if more details are need from my end.
In your log, I see the API being polled for the task status. How is that polling configured in your pipeline? Also, what do you get if you manually call that URL that’s being polled: https://stage.sonarqube.mobility..com/api/ce/task?id=AZDfnVhcROQC83ULaR31
Just a thought can it be related to Quality Gate bug they are using qualitygate check true sonar.qualitygate.wait=true
refering doc here Analysis parameters Forces the analysis step to poll the server instance and wait for the Quality Gate status. If there are no other options, you can use this to fail a pipeline build when the Quality Gate is failing.