what are you trying to achieve
Mismatch between Wrapper version and cpp analyzer version - 6.20.4.45706
what have you tried so far to achieve this
We have tried downloading the latest wrapper from our server url (https:/static/cpp/build-wrapper-linux-x86.zip) but it is still 6.20.3 but the expected version is 6.20.4
Need download link to wrapper - 6.20.4
Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!
This got fixed by the very last version of SonarQube v8.9 (v8.9.10) – I would guess you’re using an earlier version.
And all that said, your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:
Thanks for the update. We will check the options for upgrade to 8.9.10.
Is there any option to have the build-wrapper 6.20.4 to meet our immediate needs?
Upgrade Completed. The server system Info is given below.
Server Version - 8.9.10.61524
Build Wrapper - 6.20.5
CFamily Plugin - 6.20.5.49286
Sonar Scanner - 5.0.1
Now we have the issues with Analysis - java.lang.IllegalStateException: The “build-wrapper-dump.json” file was found but 0 C/C++/Objective-C files were analyzed.
Log Snippet - Screenshot attached
build
02-Feb-2024 03:35:25
02:35:25.977 INFO: Cache is explicitly disabled: Optional[false]
build
02-Feb-2024 03:35:26
02:35:26.017 INFO: PCH: unique=0 use=0 (forceInclude=0,throughHeader=0,firstInclude=0) out of 0 (forceInclude=0,throughHeader=0)
We were getting successful analysis before which stopped sometime around this year start. We performed the intermediate minor upgrade (8.9.10 LTS) to meet our Release deadlines and we will upgrade to major version - 9.9 LTS by end of Feb.
Since this turns out to be a show stopper for our release, we need some pointers on debugging the issue would be highly appreciated.