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

Performance Plugin v2.2 broke InfluxDB Plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      InfluxDB Plugin stopped working after I've upgraded Performance Plugin to latest v2.2.

      Using Pipeline

      step([$class: 'InfluxDbPublisher',
      customData: null,
      customDataMap: null,
      customPrefix: null,
      target: 'localhost'])
      

      Build hangs on

      INFO: [InfluxDB Plugin] Publishing data to: [url=http://localhost:8086, description=localhost, username=jenkins_user, password=*****, database=jenkins_db]
      

      Couldn't even stop the job, had to kill the whole server.

       

      Downgrading Performance Plugin to v2.1 made it work again.

       

        Attachments

          Issue Links

            Activity

            firedanny Danny created issue -
            firedanny Danny made changes -
            Field Original Value New Value
            Description InfluxDB Plugin stopped working after I've upgraded [Performance Plugin|https://plugins.jenkins.io/performance] to latest v2.2.

            Using Pipeline

             
            {code:java}
            step([$class: 'InfluxDbPublisher',
            customData: null,
            customDataMap: null,
            customPrefix: null,
            target: 'localhost'])
            {code}
            Build hangs on

             

             
            {code:java}
            INFO: [InfluxDB Plugin] Publishing data to: [url=http://localhost:8086, description=localhost, username=jenkins_user, password=*****, database=jenkins_db]
            {code}
            Couldn't even stop the job, had to kill the whole server.

             

            Downgrading [Performance Plugin|https://plugins.jenkins.io/performance] to v2.1 made it work again.

             
            InfluxDB Plugin stopped working after I've upgraded [Performance Plugin|https://plugins.jenkins.io/performance] to latest v2.2.

            Using Pipeline
            {code:java}
            step([$class: 'InfluxDbPublisher',
            customData: null,
            customDataMap: null,
            customPrefix: null,
            target: 'localhost'])
            {code}
            Build hangs on
            {code:java}
            INFO: [InfluxDB Plugin] Publishing data to: [url=http://localhost:8086, description=localhost, username=jenkins_user, password=*****, database=jenkins_db]
            {code}
            Couldn't even stop the job, had to kill the whole server.

             

            Downgrading [Performance Plugin|https://plugins.jenkins.io/performance] to v2.1 made it work again.

             
            Show
            bzajac Ben Zajac added a comment - The performance plugin was restructured between 2.1 and 2.2, and a bunch of classes were moved around.   https://github.com/jenkinsci/performance-plugin/tree/performance-2.2/src/main/java/hudson/plugins/performance https://github.com/jenkinsci/performance-plugin/tree/performance-2.1/src/main/java/hudson/plugins/performance  
            Hide
            zioschild Sven Appenrodt added a comment -

            Sorry for beeing impatient but is it possible to update the imports? We stop upgrading Performance-plugin (currently v3.0) as suggested but we like to have these new, added features

            Show
            zioschild Sven Appenrodt added a comment - Sorry for beeing impatient but is it possible to update the imports? We stop upgrading Performance-plugin (currently v3.0) as suggested but we like to have these new, added features
            Hide
            charlie_nederhoed Charlie Nederhoed added a comment -

            If it helps, I run into the same issues and also stopped updating the addon. 

            Show
            charlie_nederhoed Charlie Nederhoed added a comment - If it helps, I run into the same issues and also stopped updating the addon. 
            aleksisimell Aleksi Simell made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            aleksisimell Aleksi Simell made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            Hide
            aleksisimell Aleksi Simell added a comment -

            Hi,

            I updated the support for Performance Plugin. The folder structure and some method names had changed from version 2.0 and updated them to support version 3.0. Made a release, which should be available in update center within 8 hours. Sorry for the long resonse time.

            Show
            aleksisimell Aleksi Simell added a comment - Hi, I updated the support for Performance Plugin. The folder structure and some method names had changed from version 2.0 and updated them to support version 3.0. Made a release, which should be available in update center within 8 hours. Sorry for the long resonse time.
            Hide
            zioschild Sven Appenrodt added a comment -

            Does not work (Jenkins 2.6.3, InfluxDB plugin 1.12.1, Performance Plugin 3.0). No exceptions, log says everything is fine but in jenkins-logs we canb see the exception

            Could not report to InfluxDB. Ignoring Exception.
            java.lang.RuntimeException: {"error":"field type conflict: input field \"tests_failed\" on measurement \"jenkins_data\" is type int64, already exists as type float"}
            
            	at org.influxdb.impl.InfluxDBImpl.execute(InfluxDBImpl.java:387)
            	at org.influxdb.impl.InfluxDBImpl.write(InfluxDBImpl.java:247)
            	at jenkinsci.plugins.influxdb.InfluxDbPublisher.writeToInflux(InfluxDbPublisher.java:278)
            	at jenkinsci.plugins.influxdb.InfluxDbPublisher.perform(InfluxDbPublisher.java:254)
            	at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
            	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
            	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:730)
            	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:676)
            	at hudson.model.Build$BuildExecution.cleanUp(Build.java:196)
            	at hudson.model.Run.execute(Run.java:1782)
            	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
            	at hudson.model.ResourceController.execute(ResourceController.java:97)
            	at hudson.model.Executor.run(Executor.java:415)
            
            Show
            zioschild Sven Appenrodt added a comment - Does not work (Jenkins 2.6.3, InfluxDB plugin 1.12.1, Performance Plugin 3.0). No exceptions, log says everything is fine but in jenkins-logs we canb see the exception Could not report to InfluxDB. Ignoring Exception. java.lang.RuntimeException: { "error" : "field type conflict: input field \" tests_failed\ " on measurement \" jenkins_data\ " is type int64, already exists as type float " } at org.influxdb.impl.InfluxDBImpl.execute(InfluxDBImpl.java:387) at org.influxdb.impl.InfluxDBImpl.write(InfluxDBImpl.java:247) at jenkinsci.plugins.influxdb.InfluxDbPublisher.writeToInflux(InfluxDbPublisher.java:278) at jenkinsci.plugins.influxdb.InfluxDbPublisher.perform(InfluxDbPublisher.java:254) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:730) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:676) at hudson.model.Build$BuildExecution.cleanUp(Build.java:196) at hudson.model.Run.execute(Run.java:1782) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:415)
            zioschild Sven Appenrodt made changes -
            Link This issue is related to JENKINS-45105 [ JENKINS-45105 ]
            Hide
            aleksisimell Aleksi Simell added a comment -

            Closing this issue as fixed, as the follow-up ticket is opened: https://issues.jenkins-ci.org/browse/JENKINS-45105

            Show
            aleksisimell Aleksi Simell added a comment - Closing this issue as fixed, as the follow-up ticket is opened:  https://issues.jenkins-ci.org/browse/JENKINS-45105
            aleksisimell Aleksi Simell made changes -
            Status In Review [ 10005 ] Closed [ 6 ]
            Resolution Fixed [ 1 ]

              People

              • Assignee:
                aleksisimell Aleksi Simell
                Reporter:
                firedanny Danny
              • Votes:
                5 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: