Coverity plugin: exception when adding 'Coverity' post-build action

295 views
Skip to first unread message

Viktor Tarasov

unread,
May 11, 2012, 1:15:04 PM5/11/12
to Jenkins Users
Hi,

I installed Coverity plugin 1.1.2 into Jenkins v1.463 and
normally configured an Integrity Manager Instance.

But receive an exception when trying to add 'coverity' post-build
action to free-style job.
On the webUI 'coverity' action appears without any parameters.

There are the extracts from jenkins logs:
11-May-2012 18:48:00 hudson.widgets.RenderOnDemandClosure$1
generateResponse
WARNING: Failed to evaluate the template closure
org.apache.commons.jelly.JellyTagException: file:/var/lib/jenkins/
plugins/coverity/WEB-INF/classes/jenkins/plugins/coverity/
CoverityPublisher/config.jelly:133:75: <st:include> No page found
'defectFilters.jelly' for class hudson.model.FreeStyleProject
at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:124)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)
at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary
$1.run(ReallyStaticTagLibrary.java:99)
at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary
$1.run(ReallyStaticTagLibrary.java:99)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary
$1.run(ReallyStaticTagLibrary.java:99)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
....
11-May-2012 18:48:00 winstone.Logger logInternal
WARNING: Untrapped Error in Servlet
hudson.util.IOException2: Failed to evaluate the template closure
at hudson.widgets.RenderOnDemandClosure
$1.generateResponse(RenderOnDemandClosure.java:111)
at org.kohsuke.stapler.HttpResponseRenderer
$Default.handleHttpResponse(HttpResponseRenderer.java:104)
at org.kohsuke.stapler.HttpResponseRenderer
$Default.generateResponse(HttpResponseRenderer.java:62)
...
Caused by: org.apache.commons.jelly.JellyTagException: file:/var/lib/
jenkins/plugins/coverity/WEB-INF/classes/jenkins/plugins/coverity/
CoverityPublisher/config.jelly:133:75: <st:include> No page found
'defectFilters.jelly' for class hudson.model.FreeStyleProject
at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:124)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)
at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary
$1.run(ReallyStaticTagLibrary.java:99)
at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary
$1.run(ReallyStaticTagLibrary.java:99)


Would be much grateful for the help.

(Should I put here full logs, jenkins and job config,
systeminfo, ... ? )

Kind regards,
Viktor.

vtwaldo

unread,
May 18, 2012, 9:07:42 AM5/18/12
to Jenkins Users
I have the same issue and confirmed with the Coverity folks that they
too can recreate this bug. They have opened an internal bug to attempt
to resolve this issue. Coverity Bug #41917 for reference.

Vaughn Spurlin

unread,
May 22, 2012, 5:50:24 PM5/22/12
to jenkins...@googlegroups.com
A Coverity support engineer used Jenkins 1.462 with no problem. If you don't require Jenkins 1.463 or later, then 1.462 may be an acceptable workaround.

Viktor - If you open a Coverity support case to be informed about the Coverity bug, please direct the case to me. - Vaughn

Vaughn Spurlin

unread,
May 25, 2012, 4:35:31 PM5/25/12
to jenkins...@googlegroups.com
Coverity Bug 41917 - "Can't configure Jenkins plugin with Jenkins versions 1.463, 1.464, 1.465" has been fixed. The fix is available in version 1.1.3 of the Covertity Jenkins plugin. Here are the steps to install the plugin in your Jenkins instance.

> Manage Jenkins
> Manage Plugins
> Advanced
> under "Update Site" click [Check now]
> Updates
> "Coverity Plugin" should show that version 1.1.3 is available for update, and version 1.1.2 is installed.
> check Coverity Plugin", click "Download now and install after restart"
> check "Restart Jenkins ..."
> You should be ready to run!

Vaughn Spurlin - Coverity Support

Viktor Tarasov

unread,
May 27, 2012, 7:25:36 AM5/27/12
to jenkins...@googlegroups.com, Vaughn Spurlin
Hi Vaughn,

Le 25/05/2012 22:35, Vaughn Spurlin a écrit :
> Coverity Bug 41917 - "Can't configure Jenkins plugin with Jenkins versions 1.463, 1.464, 1.465" has been fixed. The fix is available in version 1.1.3 of the Covertity Jenkins plugin. Here are the steps to install the plugin in your Jenkins instance.

Thanks for the fix.
With jenkins 1.465 and coverity plugin 1.1.3 it works better.

But still I do not achieve the expected results.

In the logs of job with 'coverity' post-build action there are the following error messages:

[Coverity] No snapshot ID found in build log
Build step 'Coverity' changed build result to FAILURE
Build step 'Coverity' marked build as failure
Finished: FAILURE


Kind regards,
Viktor.

khushbu sharma

unread,
Oct 10, 2012, 1:18:51 AM10/10/12
to jenkins...@googlegroups.com
M also Facing the same problem. i am working on jenkin 1.483 version with coverity plugin 1.1.3
[Coverity] No snapshot ID found in build log
Build step 'Coverity' changed build result to FAILURE
Build step 'Coverity' marked build as failure
Notifying upstream projects of job completion

Error is coming.
Please help.
Reply all
Reply to author
Forward
0 new messages