We are using SonarQube Community Edition Version 9.9 (build 65466)
- how is SonarQube deployed: Helm
- We have deployed the SonarQube on Azure Kubernetes Service using helm chart by following this
- We have made changes in values.yaml as per our requirement and deployed using Azure DevOps pipelines.
Issue–>
- Till last Friday the SonarQube is working perfectly, but now we are facing issue with Scan Analysis.
The issue is not permanent but it is failing with “ERROR: Quality Gate check timeout exceeded - View details on”.
What have you tried so far →
We have tried setting parameters: sonar.qualitygate.wait=true and sonar.qualitygate.timeout=600 ( we even tried keeping a larger timeout 2000s as well) but this didn’t solve the error.
Summary
2024-05-14T09:18:41.0742177Z 09:18:40.587 INFO: ------------- Check Quality Gate status
2024-05-14T09:18:41.0742482Z 09:18:40.587 INFO: Waiting for the analysis report to be processed (max 300s)
https://europe.sonarqube.ingapps.net/api/ce/task?id=AY92ZZeeROSsJEtvG32V | time=42ms
2024-05-14T09:23:33.1714246Z 09:23:33.170 DEBUG: GET 200 https://europe.sonarqube.ingapps.net/api/ce/task?id=AY92ZZeeROSsJEtvG32V | time=38ms
2024-05-14T09:23:38.2111226Z 09:23:38.210 DEBUG: GET 200 https://europe.sonarqube.ingapps.net/api/ce/task?id=AY92ZZeeROSsJEtvG32V | time=39ms
2024-05-14T09:23:43.2193899Z 09:23:43.218 INFO: ------------------------------------------------------------------------
2024-05-14T09:23:43.2202069Z 09:23:43.219 INFO: EXECUTION FAILURE
2024-05-14T09:23:43.2202890Z 09:23:43.219 INFO: ------------------------------------------------------------------------
2024-05-14T09:23:43.2270947Z 09:23:43.220 INFO: Total time: 5:22.528s
2024-05-14T09:23:43.3113787Z 09:23:43.310 INFO: Final Memory: 23M/80M
2024-05-14T09:23:43.3115283Z 09:23:43.311 INFO: ------------------------------------------------------------------------
2024-05-14T09:23:43.3167678Z ##[error]09:23:43.312 ERROR: Error during SonarScanner execution
09:23:43.312 ERROR: Quality Gate check timeout exceeded - View details on SonarQube
2024-05-14T09:23:43.3175314Z 09:23:43.312 ERROR: Error during SonarScanner execution
2024-05-14T09:23:43.3175939Z 09:23:43.312 ERROR: Quality Gate check timeout exceeded - View details on SonarQube
2024-05-14T09:23:43.3176820Z ##[error]09:23:43.312 ERROR:
09:23:43.312 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.
2024-05-14T09:23:43.3177288Z 09:23:43.312 ERROR:
2024-05-14T09:23:43.3177622Z 09:23:43.312 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.
2024-05-14T09:23:43.6477087Z ##[error]The process ‘/home/vsts/work/_tasks/SonarQubeAnalyze_6d01813a-9589-4b15-8491-8164aeb38055/5.20.0/sonar-scanner/bin/sonar-scanner’ failed with exit code 2
2024-05-14T09:23:43.6527457Z ##[section]Finishing: SonarQubeAnalyze
Please let me know if you need any more details.
Thanks,
Abhilash