• Icon: New Feature New Feature
    • Resolution: Postponed
    • Icon: Major Major
    • valgrind-plugin
    • None

      I'm not sure if this is a missing feature or a bug.
      Currently, the valgrind plugin doesn't pick up memory errors reported in DynamicAnalysis.xml (the file written by CTest).

      A workaround would be to implement an XSLT myself to convert DynamicAnalysis.xml to xml format written by valgrind. It would be great if Jenkins's valgrind plugin natively supports it, though.

      Attached an example DynamicAnalysis.xml with memory errors (ctest command I used: ctest -D ExperimentalMemCheck).

          [JENKINS-23178] Read DynamicAnalysis.xml written by CTest

          Its not a bug. The file from CTest is not a valgrind xml file, its completely different. The file from CTest does not even contain easily parsable xml data from valgrind, its just the standard output.

          The memcheck feature of CTest seems still to be experimental, CTest must export valid valgrind xml to make this work!

          Johannes Ohlemacher added a comment - Its not a bug. The file from CTest is not a valgrind xml file, its completely different. The file from CTest does not even contain easily parsable xml data from valgrind, its just the standard output. The memcheck feature of CTest seems still to be experimental, CTest must export valid valgrind xml to make this work!

          Fair enough. One can implement his own workaround (like what I did), so not a priority.
          Still, it'd be great if you consider supporting ctest's output format some time later.

          Hideaki Kimura added a comment - Fair enough. One can implement his own workaround (like what I did), so not a priority. Still, it'd be great if you consider supporting ctest's output format some time later.

            existence Johannes Ohlemacher
            hkimura Hideaki Kimura
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: