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

Plot plugin is not working for zero values on logaritmic scale

    XMLWordPrintable

Details

    Description

      If for any reason, some value of a csv containing zero, the logaritmic graph representation fails as you can see on the attached image.

      How to reproduce:

      • add a job with a plotplugin post-build action step
      • create a csv file like this:
      echo "Method,Name,# requests,# failures,Median response time,Average response time,Min response time,Max response time,Average Content Size","Requests/s" > requests2.csv
      echo "None,Total,1737387,21,170,185,0,31948,4023,1916.17" >> requests2.csv
      
      • Check logaritmic representation

      Note: changing zero value to other positive real number, the plot plugin is able to represent the graph.

      Plot plugin version: 2.1.0
      jenkins version: 2.3

      Attachments

        Activity

          davidgca david gomez created issue -
          davidgca david gomez made changes -
          Field Original Value New Value
          Description If for any reason, some value of a csv containing zero, the logaritmic graph representation fails as you can see on the attached image.

          How to reproduce:
           * add a job with plotplugin after build step
           * create a csv file like this:

          {code:java}
          echo "Method,Name,# requests,# failures,Median response time,Average response time,Min response time,Max response time,Average Content Size","Requests/s" > requests2.csv
          echo "None,Total,1737387,21,170,185,0,31948,4023,1916.17" >> requests2.csv
          {code}
           * Check logaritmic representation

          Note: changing zero value to another one the plot plugin is able to represent the graph

          Plot plugin version: 2.1.0
          jenkins version: 2.3
          If for any reason, some value of a csv containing zero, the logaritmic graph representation fails as you can see on the attached image.

          How to reproduce:
           * add a job with plotplugin after build step
           * create a csv file like this:

          {code:java}
          echo "Method,Name,# requests,# failures,Median response time,Average response time,Min response time,Max response time,Average Content Size","Requests/s" > requests2.csv
          echo "None,Total,1737387,21,170,185,0,31948,4023,1916.17" >> requests2.csv
          {code}
           * Check logaritmic representation

          Note: changing zero value to other positive one greater than 0, the plot plugin is able to represent the graph

          Plot plugin version: 2.1.0
          jenkins version: 2.3
          davidgca david gomez made changes -
          Description If for any reason, some value of a csv containing zero, the logaritmic graph representation fails as you can see on the attached image.

          How to reproduce:
           * add a job with plotplugin after build step
           * create a csv file like this:

          {code:java}
          echo "Method,Name,# requests,# failures,Median response time,Average response time,Min response time,Max response time,Average Content Size","Requests/s" > requests2.csv
          echo "None,Total,1737387,21,170,185,0,31948,4023,1916.17" >> requests2.csv
          {code}
           * Check logaritmic representation

          Note: changing zero value to other positive one greater than 0, the plot plugin is able to represent the graph

          Plot plugin version: 2.1.0
          jenkins version: 2.3
          If for any reason, some value of a csv containing zero, the logaritmic graph representation fails as you can see on the attached image.

          How to reproduce:
           * add a job with a plotplugin post-build action step
           * create a csv file like this:

          {code:java}
          echo "Method,Name,# requests,# failures,Median response time,Average response time,Min response time,Max response time,Average Content Size","Requests/s" > requests2.csv
          echo "None,Total,1737387,21,170,185,0,31948,4023,1916.17" >> requests2.csv
          {code}
           * Check logaritmic representation

          Note: changing zero value to other positive real number, the plot plugin is able to represent the graph.

          Plot plugin version: 2.1.0
          jenkins version: 2.3

          People

            vgaidarji Veaceslav Gaidarji
            davidgca david gomez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: