We use SonarQube cloud with GithubActions.
We pay for a licence for 500k LOC.
We have multiple projects (4) and the total reported LOC for these projects is 322k.
As of this morning, SonarQube is refusing to complete the analysis of the main branch of one of our projects (the largest one).
The error message is:
`This analysis will make your organization to reach the maximum allowed lines limit (having 680954 lines)…`
We have not all of a sudden added 300k + LOC to any of our projects, so not sure where this limitation is coming from. We’ve also not changed the configuration to the best of my knowledge.
There’s not much in the way of out of the box logging available in SonarQube cloud from what I can see.
I have diffed the context for our last successful run and our first failing run. It looks like:
diff -w first_failure.txt last_success.txt
2a3
> - JaCoCo 1.3.0.1538 (jacoco)
46c47
< - sonar.analysisUuid=3fe26206-c5bc-4964-ae6f-eb79b0bde324
---
> - sonar.analysisUuid=e01878df-cada-4862-ace8-eda8b76c8957
58c59
< - sonar.projectBaseDir=/tmp/clone17254936284793357448
---
> - sonar.projectBaseDir=/tmp/clone16045292000730088399
64,65c65,66
< - sonar.scanner.bootstrapStartTime=1765292318839
< - sonar.scanner.engineJarPath=/opt/sonar-scanner/.sonar/cache/e28161b2802df2156618d64882119fb07bf4c23768b7cbdddb53e27a89f9a26f/sonarcloud-scanner-engine-12.11.0.2292-all.jar
---
> - sonar.scanner.bootstrapStartTime=1764951552016
> - sonar.scanner.engineJarPath=/opt/sonar-scanner/.sonar/cache/807fa690a83fbbf8003c1af254109d23e6135538ad6d84577efcd71a31073c98/sonarcloud-scanner-engine-12.10.0.1268-all.jar
80c81
< - sonar.working.directory=/tmp/scanner/15395449486571522141/.scannerwork
---
> - sonar.working.directory=/tmp/scanner/2943735112328820112/.scannerwork
Jacoco plugin missing from first failure, and looks like engine upgrade in between last successful and first failure.
Has there been a change in behaviour between 12.10 and 12.11 that we might be falling foul of?
Is there a way in sonarqube cloud to log what lines it thinks it’s adding to the project rather than just refusing?
Thanks,
Douglas