Valgrind Report Visualization

  • Community Edition

  • Version 9.7.1 (build 62043)

  • Sonarqube running in a gitlab CICD pipeline

In my gitlab CICD pipeline I have a job that runs valgrind on some of my programs and outputs a valgrind report in xml format. Sonarqube is supposedly configured to read these valgrind reports and according to the log it should be acting properly:

11:49:39.707 INFO Sensor CXX Valgrind report import [cxx]
11:49:39.708 INFO Processing report ‘/builds/repo/project/valgrind_reports/ValgrindAnalysis.xml’
11:49:39.719 INFO Processing successful, saved new issues=1
11:49:39.719 INFO Sensor CXX Valgrind report import [cxx] (done) | time=12ms

It says 1 issue has been saved which is expected since I have forced a leak in my program to perform this test.

After all this I expected to see this issue reported in the SonarQube GUI in the issues section but it is not appearing.

Any ideas?
Thanks for your attention!

Hey there.

I suggest raising an issue with GitHub - SonarOpenCommunity/sonar-cxx: SonarQube C++ Community plugin (cxx plugin): This plugin adds C++ support to SonarQube with the focus on integration of existing C++ tools.!

Additionally (but probably unrelated), only the latest version of SonarQube Community Build is considered active.

Your upgrade path is:

9.7 → 9.9.8 → 25.2

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

1 Like