[JIRA] (JENKINS-59779) Warnings Trend Graph Not Appearing For Builds

0 views
Skip to first unread message

alexjpltest@gmail.com (JIRA)

unread,
Oct 14, 2019, 11:56:03 AM10/14/19
to jenkinsc...@googlegroups.com
Alex C created an issue
 
Jenkins / Bug JENKINS-59779
Warnings Trend Graph Not Appearing For Builds
Issue Type: Bug Bug
Assignee: Ulli Hafner
Attachments: Screen Shot 2019-10-14 at 8.33.50 AM.png, Screen Shot 2019-10-14 at 8.34.07 AM.png, Screen Shot 2019-10-14 at 8.34.18 AM.png
Components: warnings-ng-plugin
Created: 2019-10-14 15:55
Environment: Operating System: MacOS 10.14.6
Nodes: MacOS 10.14.6
Warnings Next Generation Plugin: 6.1.1
Jenkins: v2.176.4
Browser: Safari 13.0.2 and all browsers
Priority: Minor Minor
Reporter: Alex C

Since Jenkins 2.167.3 was released I have been unable to see build trend graphs for any of my builds.

Scripted pipeline code:

stage ('Static Analysis of iOS Application')

{ sh(script: 'make ios-analysis') def swiftlintresults = scanForIssues tool: swiftLint(pattern: "swiftlint-results") publishIssues issues: [swiftlintresults] }

stage ('Static Analysis of Android Application')

{ sh("make android-analysis") def androidlint = scanForIssues tool: androidLintParser(pattern: '**/build/reports/lint-results.xml') publishIssues issues: [androidlint] }

Jenkins Log:

Oct 14, 2019 7:53:01 AM WARNING org.kohsuke.stapler.HttpResponseRenderer$Default handleJavaScriptProxyMethodCall
call to /$stapler/bound/0df94079-44fd-42c2-8f0e-5da179b6485b/getBuildTrend failed
java.lang.IllegalStateException: Label already registered: 3.9.5
at io.jenkins.plugins.analysis.core.charts.LinesDataSet.add(LinesDataSet.java:65)
at io.jenkins.plugins.analysis.core.charts.LinesDataSet.add(LinesDataSet.java:88)
at io.jenkins.plugins.analysis.core.charts.SeriesBuilder.createDataSetPerBuildNumber(SeriesBuilder.java:131)
at io.jenkins.plugins.analysis.core.charts.SeriesBuilder.createDataSet(SeriesBuilder.java:64)
at io.jenkins.plugins.analysis.core.charts.SeveritySeriesBuilder.createDataSet(SeveritySeriesBuilder.java:15)
at io.jenkins.plugins.analysis.core.charts.SeverityTrendChart.create(SeverityTrendChart.java:22)
at io.jenkins.plugins.analysis.core.model.JobAction.createChartModel(JobAction.java:194)
at io.jenkins.plugins.analysis.core.model.JobAction.getBuildTrend(JobAction.java:186)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396)
at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:212)
at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145)
at org.kohsuke.stapler.MetaClass$JavaScriptProxyMethodDispatcher.doDispatch(MetaClass.java:636)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878)
at org.kohsuke.stapler.MetaClass$9.dispatch(MetaClass.java:456)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:815)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:676)
at org.kohsuke.stapler.Stapler.service(Stapler.java:199)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:873)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
at org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:246)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:61)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:59)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at jenkins.telemetry.impl.UserLanguages$AcceptLanguageFilter.doFilter(UserLanguages.java:128)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:99)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1700)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1667)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle(Server.java:505)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:370)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:267)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:698)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:804)
at java.lang.Thread.run(Thread.java:748) 

 
The getBuildTrend method seems to be failing for some reason when trying to build out the graph. In the example above 3.9.5 is the version # of my application.
 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

ullrich.hafner@gmail.com (JIRA)

unread,
Oct 14, 2019, 2:15:02 PM10/14/19
to jenkinsc...@googlegroups.com
Ulli Hafner commented on Bug JENKINS-59779
 
Re: Warnings Trend Graph Not Appearing For Builds

Do you have multiple builds with the same name `3.9.5`?

alexjpltest@gmail.com (JIRA)

unread,
Oct 15, 2019, 11:32:02 AM10/15/19
to jenkinsc...@googlegroups.com
Alex C commented on Bug JENKINS-59779

Yes, I do have multiple builds with the same name '3.9.5'. The name '3.9.5' is set thought a script which outputs the version # of my app:

currentBuild.displayName = sh(script: 'make ios-version' , returnStdout: true).trim()

alexjpltest@gmail.com (JIRA)

unread,
Oct 15, 2019, 11:47:02 AM10/15/19
to jenkinsc...@googlegroups.com
Alex C edited a comment on Bug JENKINS-59779
Yes, I do have multiple builds with the same name '3.9.5'. The name '3.9.5' is set thought a script which outputs the version # of my app:

currentBuild.displayName = sh(script: 'make ios-version' , returnStdout: true).trim()


I see now that when I remove the duplicate builds from build history, the graph appears to show!

ullrich.hafner@gmail.com (JIRA)

unread,
Oct 15, 2019, 12:06:03 PM10/15/19
to jenkinsc...@googlegroups.com

Hmm, I'm not sure what I can do here. I think it is ok to expect that the build ID and the name is unique.

alexjpltest@gmail.com (JIRA)

unread,
Oct 15, 2019, 4:33:02 PM10/15/19
to jenkinsc...@googlegroups.com
Alex C commented on Bug JENKINS-59779

By build ID you mean the Jenkins BUILD_ID correct? BUILD_ID is most certainly unique for each build, although each build may have the same DisplayName in my case.

I suppose I could just make sure each BUILD_DISPLAY_NAME is different.

ullrich.hafner@gmail.com (JIRA)

unread,
Oct 23, 2019, 5:42:03 AM10/23/19
to jenkinsc...@googlegroups.com
Ulli Hafner closed an issue as Won't Fix
 

I think it makes sense to expect that the x-axis names are unique.

Change By: Ulli Hafner
Status: Open Closed
Resolution: Won't Fix
Reply all
Reply to author
Forward
0 new messages