[JIRA] [klockwork] (JENKINS-29673) Klocwork plugin does not work in a master/slave configuration.

46 views
Skip to first unread message

avri.schneider@gmail.com (JIRA)

unread,
Jul 28, 2015, 6:35:02 AM7/28/15
to jenkinsc...@googlegroups.com
Avri Schneider created an issue
 
Jenkins / Bug JENKINS-29673
Klocwork plugin does not work in a master/slave configuration.
Issue Type: Bug Bug
Assignee: Gregory Boissinot
Components: klockwork, klocwork-plugin
Created: 28/Jul/15 10:34 AM
Environment: Master/Slave configuration
Labels: klocwork jenkins plugin
Priority: Blocker Blocker
Reporter: Avri Schneider

When the Klocwork plugin generates the XML report, it is generated on the master, yet parsing of the XML report happens on the slave. The file is not found on the slave, and the build fails.

The following http://stackoverflow.com/a/9281190/331168 answer suggests that in order for a plugin to run on the slave, the code to be run on the slave needs to be wrapped in a Callable.

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

avri.schneider@gmail.com (JIRA)

unread,
Jul 28, 2015, 6:47:01 AM7/28/15
to jenkinsc...@googlegroups.com
Avri Schneider updated an issue
Change By: Avri Schneider
Environment: Master/Slave configuration

Jenkins version: 1.618
Klocwork plugin version: 1.16.3

avri.schneider@gmail.com (JIRA)

unread,
Jul 28, 2015, 7:25:05 AM7/28/15
to jenkinsc...@googlegroups.com
Avri Schneider updated an issue
Change By: Avri Schneider
Environment: Master awt.toolkit sun.awt.X11.XToolkit
executable-war
/ Slave configuration usr/share/jenkins/jenkins.war
file.encoding UTF-8
Jenkins file.encoding.pkg sun.io
file.separator /
hudson.diyChunking true
java.awt.graphicsenv sun.awt.X11GraphicsEnvironment
java.awt.headless true
java.awt.printerjob sun.print.PSPrinterJob
java.class.path /usr/share/jenkins/jenkins.war
java.class.
 version 51.0
java.endorsed.dirs /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/endorsed
java.ext.dirs /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext
: /usr/java/packages/lib/ext
java.home /usr/lib/jvm/java-7-openjdk-amd64/jre
java.io.tmpdir /tmp
java.library.path /usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib
java.runtime.name OpenJDK Runtime Environment
java.runtime.version
 1. 618 7.0_79-b14
Klocwork plugin java.specification.name Java Platform API Specification
java.specification.vendor Oracle Corporation
java.specification.
 version 1.7
java.vendor Oracle Corporation
java.vendor.url http
: //java.oracle.com/
java.vendor.url.bug http://bugreport.sun.com/bugreport/
java.version
 1. 7.0_79
java.vm.info mixed mode
java.vm.name OpenJDK 64-Bit Server VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Oracle Corporation
java.vm.specification.version 1.7
java.vm.vendor Oracle Corporation
java.vm.version 24.79-b02
jna.platform.library.path /usr/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/lib64:/usr/lib:/lib
jnidispatch.path /tmp/jna--1712433994/jna8542286846842301608.tmp
line.separator
mail.smtp.sendpartial true
mail.smtps.sendpartial true
os.arch amd64
os.name Linux
os.version 3.
16. 0-30-generic
path.separator :
sun.arch.data.model 64
sun.boot.class.path /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rhino.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jfr.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/classes
sun.boot.library.path /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64
sun.cpu.endian little
sun.cpu.isalist
sun.font.fontmanager sun.awt.X11FontManager
sun.io.unicode.encoding UnicodeLittle
sun.java.command /usr/share/jenkins/jenkins.war --webroot=/var/cache/jenkins/war --httpPort=8080 --ajp13Port=-1
sun.java.launcher SUN_STANDARD
sun.jnu.encoding UTF-8
sun.management.compiler HotSpot 64-Bit Tiered Compilers
sun.os.patch.level unknown
svnkit.http.methods Digest,Basic,NTLM,Negotiate
svnkit.ssh2.persistent false
user.country US
user.dir /
user.home /var/lib/jenkins
user.language en
user.name jenkins
user.timezone Asia/Jerusalem


_ /usr/bin/daemon
HOME /var/lib/jenkins
JENKINS_HOME /var/lib/jenkins
LANG en_US.UTF-8
LANGUAGE en_US:en
LOGNAME jenkins
MAIL /var/mail/jenkins
PATH /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
PWD /var/lib/jenkins
SHELL /bin/bash
SHLVL 1
TERM linux
USER jenkins
XDG_RUNTIME_DIR /run/user/106
XDG_SEAT seat0
XDG_SESSION_ID c1


active-directory 1.41 true false
ant 1.2 true false
antisamy-markup-formatter 1.
3 true true
any-buildstep 0.1 true false
build-cause-run-condition 0.1 true false
build-user-vars-plugin 1.4 true false
conditional-buildstep 1.3.3 true false
copyartifact 1.35.2 true false
credentials 1.22 true true
cvs 2.12 true true
downstream-buildview 1.9 true false
envinject 1.91.3 true false
external-monitor-job 1.4 true false
fail-the-build-plugin 1.0 true false
flexible-publish 0.15.2 true false
greenballs 1.14 true false
javadoc 1.3 true true
junit 1.6 true true
klocwork 1.16.3 true false
ldap 1.11 true false
mailer 1.15 true true
mapdb-api 1.0.6.0 true false
matrix-auth 1.2 true true
matrix-project 1.6 true true
maven-plugin 2.10 true true
pam-auth 1.2 true true
parameterized-trigger 2.27 true false
publish-over-ssh 1.13 true false
role-strategy 2.2.0 true false
run-condition 1.0 true false
scm-api 0.2 true false
script-security 1.14 true true
ssh-credentials 1.11 true true
ssh-slaves 1.9 true false
subversion 2.5.1 true true
svn-tag 1.18 true false
token-macro 1.10 true false
translation 1.12 true true
windows-slaves 1.1 true true
ws-cleanup 0.26 true false

avri.schneider@gmail.com (JIRA)

unread,
Jul 29, 2015, 6:10:01 AM7/29/15
to jenkinsc...@googlegroups.com

gregory.boissinot@gmail.com (JIRA)

unread,
Aug 6, 2015, 6:37:02 PM8/6/15
to jenkinsc...@googlegroups.com
Gregory Boissinot resolved as Fixed
 
Change By: Gregory Boissinot
Status: Open Resolved
Resolution: Fixed

dimagr@gmail.com (JIRA)

unread,
Aug 20, 2015, 7:22:01 AM8/20/15
to jenkinsc...@googlegroups.com
dima grinberg commented on Bug JENKINS-29673
 
Re: Klocwork plugin does not work in a master/slave configuration.

when the fix will be released as an official release? Till now only previous version of the plugin is available.

gregory.boissinot@gmail.com (JIRA)

unread,
Aug 24, 2015, 11:49:01 AM8/24/15
to jenkinsc...@googlegroups.com
Gregory Boissinot reopened an issue
 

The version 1.17 was not deployed as a Jenkins plugin (hpi file).

Change By: Gregory Boissinot
Resolution: Fixed
Status: Resolved Reopened

gregory.boissinot@gmail.com (JIRA)

unread,
Aug 24, 2015, 11:50:01 AM8/24/15
to jenkinsc...@googlegroups.com
Gregory Boissinot resolved as Fixed
 

Fixed with version 1.18

Change By: Gregory Boissinot
Status: Reopened Resolved
Resolution: Fixed

dimagr@gmail.com (JIRA)

unread,
Aug 24, 2015, 11:57:01 AM8/24/15
to jenkinsc...@googlegroups.com
 
Re: Klocwork plugin does not work in a master/slave configuration.

the latest available compiled version of this plugin is 1.16.3.
when version 1.18 will be available?

gregory.boissinot@gmail.com (JIRA)

unread,
Aug 24, 2015, 12:21:01 PM8/24/15
to jenkinsc...@googlegroups.com

No, the latest compiled version is 1.18.
The release is well deployed in the Jenkins Maven Repository
(http://repo.jenkins-ci.org/public/org/jenkins-ci/plugins/klocwork/1.18/)

Please wait 24H for update-center synchronisation or feel free to install the plugin manually with the artifact from the binary repository

Reply all
Reply to author
Forward
0 new messages