You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by Thomas Koch <th...@koch.ro> on 2011/09/22 18:08:40 UTC
What's special with the Jenkins setup of ZooKeeper?
Hi,
for several times now, I've successfully tested patches on my own Jenkins
server that afterwards failed miserably on builds.a.o. Is there any special
configuration of the builds? Some special values for timeouts, for the JVM?
On my server I just run "ant test-core-java".
Regards,
Thomas Koch, http://www.koch.ro
Re: What's special with the Jenkins setup of ZooKeeper?
Posted by Patrick Hunt <ph...@apache.org>.
One thing I can see is this:
[exec] [findbugs] Cannot open codebase
filesystem:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-Build/trunk/build/lib/log4j-1.2.15.jar
[exec] [findbugs] java.util.zip.ZipException: Zip file
doesn't exist: /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-Build/trunk/build/lib/log4j-1.2.15.jar
Thomas, seems your recent change to ivy.xml, you missed the log4j
reference in build.xml. Can you create a jira/patch for this?
I see multiple of these in the log:
[exec] [junit] java.lang.NullPointerException
[exec] [junit] at
org.apache.zookeeper.server.ZKDatabase.addCommittedProposal(ZKDatabase.java:242)
[exec] [junit] at
org.apache.zookeeper.server.FinalRequestProcessor.processRequest(FinalRequestProcessor.java:128)
[exec] [junit] at
org.apache.zookeeper.server.SyncRequestProcessor.run(SyncRequestProcessor.java:138)
Not sure if this is related to this patch or not, but I've not seen it
previously, the other patch tests around that time are also not seeing
this issue.
Patrick
On Thu, Sep 22, 2011 at 11:08 AM, Thomas Koch <th...@koch.ro> wrote:
> Patrick Hunt:
>> A link to an example on Jenkins would be helpful.
> Sorry, stupid of me:
> mine: http://koch.ro:8080/job/ZooKeeper/47/
> issue: https://issues.apache.org/jira/browse/ZOOKEEPER-1199
> (Links to ASF's Jenkins in the issue)
>
> (My build failed because of static code analysis. Tests are fine.)
>
>
>
Re: What's special with the Jenkins setup of ZooKeeper?
Posted by Thomas Koch <th...@koch.ro>.
Patrick Hunt:
> A link to an example on Jenkins would be helpful.
Sorry, stupid of me:
mine: http://koch.ro:8080/job/ZooKeeper/47/
issue: https://issues.apache.org/jira/browse/ZOOKEEPER-1199
(Links to ASF's Jenkins in the issue)
(My build failed because of static code analysis. Tests are fine.)
Re: What's special with the Jenkins setup of ZooKeeper?
Posted by Patrick Hunt <ph...@apache.org>.
A link to an example on Jenkiins would be helpful.
On Thu, Sep 22, 2011 at 9:08 AM, Thomas Koch <th...@koch.ro> wrote:
> Hi,
>
> for several times now, I've successfully tested patches on my own Jenkins
> server that afterwards failed miserably on builds.a.o. Is there any special
> configuration of the builds? Some special values for timeouts, for the JVM?
> On my server I just run "ant test-core-java".
>
> Regards,
>
> Thomas Koch, http://www.koch.ro
>
Re: What's special with the Jenkins setup of ZooKeeper?
Posted by Mahadev Konar <ma...@hortonworks.com>.
Cutting and pasting what apache jenkins runs.
---------------------------
${ANT_HOME}/bin/ant \
-Dpatch.file=foobar \
-Dscratch.dir=${WORKSPACE}/patchprocess \
-Dps.cmd=/bin/ps \
-Dwget.cmd=/usr/bin/wget \
-Djiracli.cmd=/home/jenkins/tools/jiracli/latest/jira \
-Dsvn.cmd=/usr/bin/svn \
-Dgrep.cmd=/bin/grep \
-Dpatch.cmd=/usr/bin/patch \
-Dfindbugs.home=/home/jenkins/tools/findbugs/latest \
-Dforrest.home=/home/jenkins/tools/forrest/latest \
-Djira.passwd=4hadoopqa \
-Djava5.home=/home/jenkins/tools/java5/latest \
-Dcurl.cmd=/usr/bin/curl \
-Ddefect=ZOOKEEPER-${ISSUE_NUM} \
hudson-test-patch
------------------
Hope that helps.
mahadev
On Thu, Sep 22, 2011 at 9:08 AM, Thomas Koch <th...@koch.ro> wrote:
> Hi,
>
> for several times now, I've successfully tested patches on my own Jenkins
> server that afterwards failed miserably on builds.a.o. Is there any special
> configuration of the builds? Some special values for timeouts, for the JVM?
> On my server I just run "ant test-core-java".
>
> Regards,
>
> Thomas Koch, http://www.koch.ro
>