-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
-
Jenkins: 2.164.2
InfluxDB Plugin: 1.21
InfluxDB: 1.4.2
InfluxDB plugin fails Robot Framework data publication for measurement "suite_result" in post-build action with below exception. Started happening in all jobs (freestyle and pipeline) after updating Jenkins from 2.107.3 to 2.164.2 and InfluxDB Plugin from 1.15 to 1.21.
Data is being published from same jobs and to same InfluxDB target and database as before the update.
This error fails an otherwise successful build in Jenkins.
[InfluxDB Plugin] Collecting data for publication in InfluxDB... [InfluxDB Plugin] Robot Framework data found. Writing to InfluxDB... [InfluxDB Plugin] Git ChangeLog data found. Writing to InfluxDB... [InfluxDB Plugin] Publishing data to: Target{description=XXXX, url=XXXX, username=XXXX, database=XXXX} ERROR: Build step failed with exception org.influxdb.InfluxDBException$FieldTypeConflictException: partial write: field type conflict: input field "rf_critical_failed" on measurement "suite_result" is type integer, already exists as type float dropped=562 at org.influxdb.InfluxDBException.buildExceptionFromErrorMessage(InfluxDBException.java:144) at org.influxdb.InfluxDBException.buildExceptionForErrorState(InfluxDBException.java:173) at org.influxdb.impl.InfluxDBImpl.execute(InfluxDBImpl.java:796) at org.influxdb.impl.InfluxDBImpl.write(InfluxDBImpl.java:455) at jenkinsci.plugins.influxdb.InfluxDbPublicationService.writeToInflux(InfluxDbPublicationService.java:294) Caused: jenkinsci.plugins.influxdb.InfluxReportException at jenkinsci.plugins.influxdb.InfluxDbPublicationService.writeToInflux(InfluxDbPublicationService.java:297) at jenkinsci.plugins.influxdb.InfluxDbPublicationService.perform(InfluxDbPublicationService.java:268) at jenkinsci.plugins.influxdb.InfluxDbPublisher.perform(InfluxDbPublisher.java:347) 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:744) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) at hudson.model.Build$BuildExecution.cleanUp(Build.java:196) at hudson.model.Run.execute(Run.java:1863) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) Build step 'Publish build data to InfluxDB' marked build as failure Finished: FAILURE