[JIRA] [deployer-framework-plugin] (JENKINS-32650) Make PerformancePublisher a SimpleBuildStep

16 views
Skip to first unread message

cleclerc@cloudbees.com (JIRA)

unread,
Jan 27, 2016, 10:08:04 AM1/27/16
to jenkinsc...@googlegroups.com
Cyrille Le Clerc created an issue
 
Jenkins / New Feature JENKINS-32650
Make PerformancePublisher a SimpleBuildStep
Issue Type: New Feature New Feature
Assignee: stephenconnolly
Components: deployer-framework-plugin
Created: 27/Jan/16 3:07 PM
Labels: workflow
Priority: Major Major
Reporter: Cyrille Le Clerc

Would allow for use from workflows.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

cleclerc@cloudbees.com (JIRA)

unread,
Jan 27, 2016, 10:09:07 AM1/27/16
to jenkinsc...@googlegroups.com
Cyrille Le Clerc assigned an issue to Manuel Carrasco
Change By: Cyrille Le Clerc
Component/s: performance-plugin
Component/s: deployer-framework-plugin
Assignee: stephenconnolly Manuel Carrasco

scm_issue_link@java.net (JIRA)

unread,
Jan 27, 2016, 10:23:04 AM1/27/16
to jenkinsc...@googlegroups.com
SCM/JIRA link daemon commented on New Feature JENKINS-32650
 
Re: Make PerformancePublisher a SimpleBuildStep

Code changed in jenkins
User: Cyrille Le Clerc
Path:
COMPATIBILITY.md
http://jenkins-ci.org/commit/workflow-plugin/5e78bc99b7150961f165a8bdce7e95b6335b3686
Log:
Add PerformancePublisher

Add PerformancePublisher https://issues.jenkins-ci.org/browse/JENKINS-32650

mark@mark-fink.de (JIRA)

unread,
Apr 27, 2016, 7:20:01 AM4/27/16
to jenkinsc...@googlegroups.com
Mark Fink updated an issue
Change By: Mark Fink
Priority: Major Critical

mark@mark-fink.de (JIRA)

unread,
Apr 27, 2016, 7:21:04 AM4/27/16
to jenkinsc...@googlegroups.com

I am experiencing this issue, too. Could you please make a forecast when this will be fixed.

java.lang.UnsupportedOperationException: no known implementation of interface jenkins.tasks.SimpleBuildStep is named PerformancePublisher
at org.jenkinsci.plugins.structs.describable.DescribableModel.resolveClass(DescribableModel.java:350)
at

mark@mark-fink.de (JIRA)

unread,
Apr 27, 2016, 7:45:04 AM4/27/16
to jenkinsc...@googlegroups.com
Mark Fink updated an issue
Change By: Mark Fink
Labels: pipeline workflow

mark@mark-fink.de (JIRA)

unread,
Apr 27, 2016, 7:51:02 AM4/27/16
to jenkinsc...@googlegroups.com

Hi Cyrille, is there a workaround (another plugin to use)? Best, -Mark

cleclerc@cloudbees.com (JIRA)

unread,
Apr 27, 2016, 7:55:02 AM4/27/16
to jenkinsc...@googlegroups.com

Hello Mark Fink, I am not aware of any workaround. Maybe Patrick Wolf has a trick.

apc4@ya.ru (JIRA)

unread,
Jul 6, 2016, 10:32:01 AM7/6/16
to jenkinsc...@googlegroups.com

Guys, please tell me exactly what to change in source code? Add "implements SimpleBuildStep" to the class?

This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

apc4@ya.ru (JIRA)

unread,
Aug 25, 2016, 5:32:01 AM8/25/16
to jenkinsc...@googlegroups.com
Andrey Pokhilko assigned an issue to Andrey Pokhilko
Change By: Andrey Pokhilko
Assignee: Manuel Carrasco Andrey Pokhilko

ifernandezcalvo@cloudbees.com (JIRA)

unread,
Aug 31, 2016, 4:58:02 AM8/31/16
to jenkinsc...@googlegroups.com

basically you only have to implement a SimpleBuildStep, you could see an example of this in this pull request of Jesse Glick and in this video in the part played by Jesse too

scm_issue_link@java.net (JIRA)

unread,
Nov 7, 2016, 4:06:02 AM11/7/16
to jenkinsc...@googlegroups.com

Code changed in jenkins
User: Raphael Pionke
Path:
pom.xml
src/main/java/hudson/plugins/performance/AbstractParser.java
src/main/java/hudson/plugins/performance/PerformanceBuildAction.java
src/main/java/hudson/plugins/performance/PerformanceProjectAction.java
src/main/java/hudson/plugins/performance/PerformancePublisher.java
src/main/java/hudson/plugins/performance/PerformanceReport.java
src/main/java/hudson/plugins/performance/PerformanceReportMap.java
src/main/java/hudson/plugins/performance/PerformanceReportParser.java
src/main/java/hudson/plugins/performance/PerformanceReportParserDescriptor.java
src/main/java/hudson/plugins/performance/TestSuiteReportDetail.java
src/main/java/hudson/plugins/performance/TrendReportGraphs.java
src/main/java/hudson/plugins/performance/UriReport.java
src/main/java/hudson/plugins/performance/constraints/AbsoluteConstraint.java
src/main/java/hudson/plugins/performance/constraints/AbstractConstraint.java
src/main/java/hudson/plugins/performance/constraints/ConstraintChecker.java
src/main/java/hudson/plugins/performance/constraints/ConstraintDescriptor.java
src/main/java/hudson/plugins/performance/constraints/ConstraintFactory.java
src/main/java/hudson/plugins/performance/constraints/ConstraintReport.java
src/main/java/hudson/plugins/performance/constraints/RelativeConstraint.java
http://jenkins-ci.org/commit/performance-plugin/520a9a0ac3ab50abb78fbcdf10c89a500814caea
Log:
JENKINS-32650 make Performance Plugin Pipeline compatible (#73)

  • replace Hudson.getInstance()
  • make Performance Plugin Pipeline compatible
  • add Symbol
  • replace AbstractBuild occurrences

hendrik@brinkmann.one (JIRA)

unread,
Nov 9, 2016, 8:42:01 AM11/9/16
to jenkinsc...@googlegroups.com

The issue seems to be done an merged into master. Will there be a new release soon?

hendrik@brinkmann.one (JIRA)

unread,
Dec 9, 2016, 4:43:02 AM12/9/16
to jenkinsc...@googlegroups.com
Hendrik Brinkmann updated an issue
Change By: Hendrik Brinkmann
Attachment: missing_trend.PNG

hendrik@brinkmann.one (JIRA)

unread,
Dec 9, 2016, 4:43:04 AM12/9/16
to jenkinsc...@googlegroups.com

hendrik@brinkmann.one (JIRA)

unread,
Dec 9, 2016, 4:43:07 AM12/9/16
to jenkinsc...@googlegroups.com
Hendrik Brinkmann updated an issue
Change By: Hendrik Brinkmann
Attachment: duplicated_report.PNG

hendrik@brinkmann.one (JIRA)

unread,
Dec 9, 2016, 4:45:01 AM12/9/16
to jenkinsc...@googlegroups.com

I updated to Version 1.15 that added a new pipeline step performanceReport and the following problems occured:

  1. Missing PerformanceTrend in Job-View
  2. Duplicated Performance Report in Build-View (see attachment)
  3. Snippet generator cannot handle double values of relative thresholds
    Unable to find source-code formatter for language: groovy. Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml
    performanceReport compareBuildPrevious: false, configType: 'MRT', errorFailedThreshold: 0, errorUnstableResponseTimeThreshold: '', errorUnstableThreshold: 0, failBuildIfNoResultFile: false, modeOfThreshold: false, modePerformancePerTestCase: true, modeThroughput: false, nthBuildNumber: 0, parsers: [], relativeFailedThresholdNegative: <object of type java.lang.Double>, relativeFailedThresholdPositive: <object of type java.lang.Double>, relativeUnstableThresholdNegative: <object of type java.lang.Double>, relativeUnstableThresholdPositive: <object of type java.lang.Double>
    

    I had to replace <object of type java.lang.Double> manually by the correct double values.

hendrik@brinkmann.one (JIRA)

unread,
Dec 9, 2016, 4:47:03 AM12/9/16
to jenkinsc...@googlegroups.com
Hendrik Brinkmann edited a comment on New Feature JENKINS-32650
I updated to Version Performance Plugin version 1.15 that added a new pipeline step {{performanceReport}} and the following problems occured (see also [Github #73|https : //github.com/jenkinsci/performance-plugin/pull/74]):

# Missing PerformanceTrend in Job-View  
!missing_trend.PNG|thumbnail!
# Duplicated Performance Report in Build-View (see attachment)
!duplicated_report.PNG|thumbnail!
# Snippet generator cannot handle double values of relative thresholds
{code:groovy}

performanceReport compareBuildPrevious: false, configType: 'MRT', errorFailedThreshold: 0, errorUnstableResponseTimeThreshold: '', errorUnstableThreshold: 0, failBuildIfNoResultFile: false, modeOfThreshold: false, modePerformancePerTestCase: true, modeThroughput: false, nthBuildNumber: 0, parsers: [], relativeFailedThresholdNegative: <object of type java.lang.Double>, relativeFailedThresholdPositive: <object of type java.lang.Double>, relativeUnstableThresholdNegative: <object of type java.lang.Double>, relativeUnstableThresholdPositive: <object of type java.lang.Double>
{code}

I had to replace {{<object of type java.lang.Double>}} manually by the correct double values.

hendrik@brinkmann.one (JIRA)

unread,
Dec 9, 2016, 4:48:01 AM12/9/16
to jenkinsc...@googlegroups.com
Hendrik Brinkmann updated an issue
Change By: Hendrik Brinkmann
Attachment: missing_trend.PNG

hendrik@brinkmann.one (JIRA)

unread,
Dec 9, 2016, 4:49:02 AM12/9/16
to jenkinsc...@googlegroups.com
Hendrik Brinkmann edited a comment on New Feature JENKINS-32650
I updated to Performance Plugin version 1.15 that added a new pipeline step {{performanceReport}} and the following problems occured (see also [Github #73|https://github.com/jenkinsci/performance-plugin/pull/74]):

# Missing PerformanceTrend in Job-View  
!missing_trend.PNG|thumbnail!
# Duplicated Performance Report in Build-View (see attachment)
!duplicated_report.PNG|thumbnail!
# Snippet generator cannot handle double values of relative thresholds
{code: groovy java }

performanceReport compareBuildPrevious: false, configType: 'MRT', errorFailedThreshold: 0, errorUnstableResponseTimeThreshold: '', errorUnstableThreshold: 0, failBuildIfNoResultFile: false, modeOfThreshold: false, modePerformancePerTestCase: true, modeThroughput: false, nthBuildNumber: 0, parsers: [], relativeFailedThresholdNegative: <object of type java.lang.Double>, relativeFailedThresholdPositive: <object of type java.lang.Double>, relativeUnstableThresholdNegative: <object of type java.lang.Double>, relativeUnstableThresholdPositive: <object of type java.lang.Double>
{code}
I had to replace {{<object of type java.lang.Double>}} manually by the correct double values.

hearace@163.com (JIRA)

unread,
Dec 15, 2016, 3:18:05 AM12/15/16
to jenkinsc...@googlegroups.com

I need the PerformanceTrend in urgent. Do you have a plan to fix it as soon as possible? Thanks!

apc4@ya.ru (JIRA)

unread,
Dec 15, 2016, 3:22:09 AM12/15/16
to jenkinsc...@googlegroups.com

I'm maintaining this plugin by building releases mostly. So I'd love somebody to bring the pull request with bugfix. I myself not familiar with codebase good enough to fix it for now.

hendrik@brinkmann.one (JIRA)

unread,
Dec 16, 2016, 7:56:02 AM12/16/16
to jenkinsc...@googlegroups.com

I created a Bug-Ticket JENKINS-40508 and linked it to this one.

hendrik@brinkmann.one (JIRA)

unread,
Dec 16, 2016, 7:58:03 AM12/16/16
to jenkinsc...@googlegroups.com
Hendrik Brinkmann edited a comment on New Feature JENKINS-32650
I created a Bug-Ticket bug ticket JENKINS-40508 and linked it to this one.

famina@themill.com (JIRA)

unread,
Mar 21, 2017, 11:18:04 AM3/21/17
to jenkinsc...@googlegroups.com

Hi, I generated the code for performance report using the snippet generator and manually replaced <object of type java.lang.Double> with double values. I got the below error when I use it in my pipeline : (I'm using plugin version 2.0)

java.lang.NullPointerException
at hudson.plugins.performance.PerformancePublisher.perform(PerformancePublisher.java:333)
at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:78)
at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:65)
at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1$1.call(SynchronousNonBlockingStepExecution.java:49)
at hudson.security.ACL.impersonate(ACL.java:260)
at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1.run(SynchronousNonBlockingStepExecution.java:46)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Please can you advise me on this issue.

Thanks.

This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

jglick@cloudbees.com (JIRA)

unread,
Mar 24, 2017, 2:49:01 PM3/24/17
to jenkinsc...@googlegroups.com

scm_issue_link@java.net (JIRA)

unread,
Mar 20, 2018, 4:25:05 AM3/20/18
to jenkinsc...@googlegroups.com

Code changed in jenkins
User: Oleg Nenashev
Path:
COMPATIBILITY.md
http://jenkins-ci.org/commit/pipeline-plugin/d2fd0f3c633d758dccf95d70d52452a80e6cdd89
Log:
Merge pull request #444 from artem-fedorov/upd-blazemeter-and-performance-plugins

JENKINS-32650 update Performance plugin and BlazeMeter plugin compatibility

Compare: https://github.com/jenkinsci/pipeline-plugin/compare/9c5f16187aba...d2fd0f3c633d

Reply all
Reply to author
Forward
0 new messages