Issue Type: Bug Bug
Assignee: Johannes Ohlemacher
Components: valgrind
Created: 02/Oct/14 5:06 PM
Description:

When I set the working directory and I attempt to build the prohject in Jenkins using the valgrind plugin to run valgrind (valgrind-3.8.1) all I get in the log is:

[Valgrind] includes files:
$ valgrind --version
[Valgrind] detected valgrind version (valgrind): 3.8.1
[FINDBUGS] Collecting findbugs analysis files...

If I delete the setting in the working directory and build again I see:

(I have tried both "BasicStartExitSendOrders*" and "BasicStartExitSendOrdersTest" and get the same result.)

[Valgrind] includes files: BasicStartExitSendOrdersTest
$ valgrind --version
[Valgrind] detected valgrind version (valgrind): 3.8.1
[Valgrind] working dir: /home/jenkins/workspace/NxtGateway_Centos_v6_4_SNAPSHOT_HEAD_Sender
[NxtGateway_Centos_v6_4_SNAPSHOT_HEAD_Sender] $ valgrind --tool=memcheck --leak-check=full --show-reachable=no --undef-value-errors=no --track-origins=no --child-silent-after-fork=no --trace-children=no --xml=yes --xml-file=/home/jenkins/workspace/NxtGateway_Centos_v6_4_SNAPSHOT_HEAD_Sender/sender/reports/valgrind/BasicStartExitSendOrdersTest.%p.xml /home/jenkins/workspace/NxtGateway_Centos_v6_4_SNAPSHOT_HEAD_Sender/sender/build/cpp/src/Test/BasicStartExitSendOrdersTest

[Valgrind] valgrind exit code: 201
[Valgrind] valgrind standard out:
ERROR: Unable to initialize logger - configuration file is not specified. Please set environment variable LOG4CXX_CONFIG_FILE
Running 8 test cases...
unknown location(0): fatal error in "SenderCtor": std::runtime_error: Required parameter 'MSG_SIZE' has no specified value.
unknown location(0): fatal error in "SenderInit": std::runtime_error: Required parameter 'MSG_SIZE' has no specified value.
unknown location(0): fatal error in "SenderInitWithMITSim": std::exception: Error loading NXTG configuration file [mit.xml]: Failed to open file.
unknown location(0): fatal error in "SenderInitWithMITSimAndRunner": std::exception: Error loading NXTG configuration file [mit.xml]: Failed to open file.
unknown location(0): fatal error in "SenderProcessANewOrderMsg": std::exception: Error loading NXTG configuration file [mit.xml]: Failed to open file.
unknown location(0): fatal error in "SenderProcessACancelOrderMsg": std::exception: Error loading NXTG configuration file [mit.xml]: Failed to open file.
unknown location(0): fatal error in "SenderProcessAReplaceOrderMsg": std::exception: Error loading NXTG configuration file [mit.xml]: Failed to open file.
unknown location(0): fatal error in "SenderSoakTestNewOrderParallel": std::exception: Error loading NXTG configuration file [mit.xml]: Failed to open file.
[Valgrind] valgrind error out:
log4cxx: No appender could be found for logger (com.nomura.nxtdirect.nxt-direct-user.NxtDirectSender).
log4cxx: Please initialize the log4cxx system properly.

      • 8 failures detected in test suite "Master Test Suite"
        Build step 'Run Valgrind' marked build as failure
        [FINDBUGS] Skipping publisher since build result is FAILURE

Also please clarify the help text on the "Executable Include Pattern" edit box to indicate if it is relative to the entry in the "Working Directory" edit box. Thank you.

Environment: CentOS v6.5

System Properties
Name ↓ Value
com.sun.akuma.Daemon daemonized
executable-war /usr/lib/jenkins/jenkins.war
file.encoding UTF-8
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/lib/jenkins/jenkins.war
java.class.version 50.0
java.endorsed.dirs /usr/java/jdk1.6.0_35/jre/lib/endorsed
java.ext.dirs /usr/java/jdk1.6.0_35/jre/lib/ext:/usr/java/packages/lib/ext
java.home /usr/java/jdk1.6.0_35/jre
java.io.tmpdir /tmp
java.library.path /usr/java/jdk1.6.0_35/jre/lib/amd64/server:/usr/java/jdk1.6.0_35/jre/lib/amd64:/usr/java/jdk1.6.0_35/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_35-b10
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.6
java.vendor Sun Microsystems Inc.
java.vendor.url http://java.sun.com/
java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
java.version 1.6.0_35
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Sun Microsystems Inc.
java.vm.version 20.10-b01
javamelody.About Monitoring https://wiki.jenkins-ci.org/display/JENKINS/Monitoring
javamelody.analytics-id UA-1335263-7
javamelody.custom-reports Jenkins Info,About Monitoring
javamelody.gzip-compression-disabled true
javamelody.http-transform-pattern /\d+/|/site/.+|avadoc/.+|/ws/.+|obertura/.+|estReport/.+|iolations/file/.+|/user/.+|/static/\w+/|/adjuncts/\w+/|/bound/[\w\-]+
javamelody.Jenkins Info /systemInfo
javamelody.no-database true
javamelody.storage-directory //home/jenkins/monitoring
javamelody.system-actions-enabled true
JENKINS_HOME /home/jenkins
jna.platform.library.path /usr/lib64:/lib64:/usr/lib:/lib
line.separator
mail.smtp.sendpartial true
mail.smtps.sendpartial true
os.arch amd64
os.name Linux
os.version 2.6.18-308.11.1.el5
path.separator :
pid 17058
sun.arch.data.model 64
sun.boot.class.path /usr/java/jdk1.6.0_35/jre/lib/resources.jar:/usr/java/jdk1.6.0_35/jre/lib/rt.jar:/usr/java/jdk1.6.0_35/jre/lib/sunrsasign.jar:/usr/java/jdk1.6.0_35/jre/lib/jsse.jar:/usr/java/jdk1.6.0_35/jre/lib/jce.jar:/usr/java/jdk1.6.0_35/jre/lib/charsets.jar:/usr/java/jdk1.6.0_35/jre/lib/modules/jdk.boot.jar:/usr/java/jdk1.6.0_35/jre/classes
sun.boot.library.path /usr/java/jdk1.6.0_35/jre/lib/amd64
sun.cpu.endian little
sun.cpu.isalist
sun.io.unicode.encoding UnicodeLittle
sun.java.command /usr/lib/jenkins/jenkins.war --logfile=/home/jenkins/logs/jenkins.log --webroot=/var/cache/jenkins/war --daemon --httpPort=8080 --ajp13Port=8009 --debug=5 --handlerCountMax=100 --handlerCountMaxIdle=20
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 /home/jenkins
user.language en
user.name jenkins
user.timezone US/Eastern
Environment Variables
Name ↓ Value
_ /usr/bin/java
CVS_RSH ssh
DISPLAY WAMS86624G02.americas.corp.local:0.0
G_BROKEN_FILENAMES 1
HISTSIZE 1000
HOME /home/jenkins
HOSTNAME hdlstdev01
INPUTRC /etc/inputrc
LANG en_US.UTF-8
LD_LIBRARY_PATH /usr/java/jdk1.6.0_35/jre/lib/amd64/server:/usr/java/jdk1.6.0_35/jre/lib/amd64:/usr/java/jdk1.6.0_35/jre/../lib/amd64
LESSOPEN |/usr/bin/lesspipe.sh %s
LOGNAME jenkins
LS_COLORS no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
MAIL /var/spool/mail/jenkins
NLSPATH /usr/dt/lib/nls/msg/%L/%N.cat
OLDPWD /usr/lib/jenkins
PATH /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/java/default/bin
PWD /home/jenkins/eugen
SHELL /bin/bash
SHLVL 1
TERM xterm
USER jenkins
XFILESEARCHPATH /usr/dt/app-defaults/%L/Dt
Plugins
Name ↓ Version Enabled Pinned
active-directory 1.38 true false
analysis-collector 1.41 true false
analysis-core 1.58 true false
ant 1.2 true false
antisamy-markup-formatter 1.1 true false
async-http-client 1.7.8 true false
audit-trail 2.1 true false
blame-upstream-commiters 1.2 true false
build-name-setter 1.3 true false
config-file-provider 2.7.5 true false
copyartifact 1.31 true false
credentials 1.16.1 true true
cvs 2.12 true true
doxygen 0.16 true false
dry 2.40 true false
emma 1.29 true false
envinject 1.90 true false
external-monitor-job 1.2 true false
findbugs 4.57 true false
fogbugz 2.2.3 true false
greenballs 1.14 true false
htmlpublisher 1.3 true false
hudson-pview-plugin 1.8 true false
ivy 1.24 true false
ivytrigger 0.32 true false
javadoc 1.2 true true
javancss 1.1 true false
jobConfigHistory 2.9 true false
join 1.15 true false
junit 1.1 true true
ldap 1.10.2 true true
mailer 1.11 true true
mapdb-api 1.0.1.0 true false
matrix-auth 1.2 true true
matrix-project 1.3 true false
maven-deployment-linker 1.5.1 true false
maven-plugin 2.6 true true
monitoring 1.52.1 true false
pam-auth 1.1 true false
pmd 3.38 true false
sametime 0.4 true false
scm-api 0.2 true false
ssh-credentials 1.9 true true
ssh-slaves 1.6 true true
subversion 1.54 true false
tattletale-plugin 0.3 true false
throttle-concurrents 1.8.3 true false
token-macro 1.10 true false
translation 1.11 true true
valgrind 0.22 true false
windows-slaves 1.0 true false
xunit 1.90 true false
Thread Dumps
Project: Jenkins
Priority: Minor Minor
Reporter: J McG
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to