Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-62627

Valgrind Trend is not displayed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • valgrind-plugin
    • None
    • Jenkins ver. 2.222.4
      Valgrind Plug-in 0.28
      openjdk 11.0.7 2020-04-14
      Ubuntu 18.04.4 LTS

      I generate Valgrind xml report via MakeFile, then I use Valgrind plugin to display results:

              stage('Valgrind') {
                  steps {
                      echo 'Static code check..'
                      sh '''
                      mkdir -p build
                      cd build
                      make valgrind
                      '''
                      publishValgrind (
                          failBuildOnInvalidReports: false,
                          failBuildOnMissingReports: false,
                          failThresholdDefinitelyLost: '',
                          failThresholdInvalidReadWrite: '',
                          failThresholdTotal: '',
                          pattern: 'build/valgrind/valgrind_memcheck.xml',
                          publishResultsForAbortedBuilds: false,
                          publishResultsForFailedBuilds: false,
                          sourceSubstitutionPaths: '',
                          unstableThresholdDefinitelyLost: '',
                          unstableThresholdInvalidReadWrite: '',
                          unstableThresholdTotal: ''
                      )
                  }
              }
      

      With freshly created job I am able to see Valgrind Trend, but after triggering job few more times Valgrind Trend is not displayed and in Jenkins logs I can see an error:

      2020-06-09 07:50:30.732+0000 [id=64]    WARNING o.e.j.s.h.ContextHandler$Context#log: Error while serving http://10.1.0.48:8080/job/pipeline/valgrindResult/graph
      java.lang.NullPointerException
      

            existence Johannes Ohlemacher
            pasiu Blazej Mirowski
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: