You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2015/07/07 18:39:57 UTC

Build failed in Jenkins: KafkaPreCommit #137

See <https://builds.apache.org/job/KafkaPreCommit/137/changes>

Changes:

[wangguoz] KAFKA-2314: proper MirrorMaker's message handler help message; reviewed by Guozhang Wang

------------------------------------------
Started by an SCM change
Building remotely on ubuntu3 (Ubuntu ubuntu legacy-ubuntu) in workspace <https://builds.apache.org/job/KafkaPreCommit/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://git-wip-us.apache.org/repos/asf/kafka.git # timeout=10
Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/kafka.git
 > git --version # timeout=10
 > git fetch --tags --progress https://git-wip-us.apache.org/repos/asf/kafka.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/trunk^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/trunk^{commit} # timeout=10
Checking out Revision 271b18d119fdc37952c36c573ba185aa672e3f96 (refs/remotes/origin/trunk)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 271b18d119fdc37952c36c573ba185aa672e3f96
 > git rev-list 2d96da05a0af7847aca5edc6d003a18be7f5216a # timeout=10
Setting GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
[KafkaPreCommit] $ /bin/bash -xe /tmp/hudson3591203615982838946.sh
+ /home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1/bin/gradle
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: http://gradle.org/docs/2.1/userguide/gradle_daemon.html.
Download https://repo1.maven.org/maven2/org/ajoberstar/grgit/0.2.3/grgit-0.2.3.pom
Download https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit/3.3.0.201403021825-r/org.eclipse.jgit-3.3.0.201403021825-r.pom
Download https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit-parent/3.3.0.201403021825-r/org.eclipse.jgit-parent-3.3.0.201403021825-r.pom
Download https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit.ui/3.3.0.201403021825-r/org.eclipse.jgit.ui-3.3.0.201403021825-r.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.jsch/0.0.7/jsch.agentproxy.jsch-0.0.7.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy/0.0.7/jsch.agentproxy-0.0.7.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.pageant/0.0.7/jsch.agentproxy.pageant-0.0.7.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.sshagent/0.0.7/jsch.agentproxy.sshagent-0.0.7.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-jna/0.0.7/jsch.agentproxy.usocket-jna-0.0.7.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-nc/0.0.7/jsch.agentproxy.usocket-nc-0.0.7.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.core/0.0.7/jsch.agentproxy.core-0.0.7.pom
Download https://repo1.maven.org/maven2/org/ajoberstar/grgit/0.2.3/grgit-0.2.3.jar
Download https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit/3.3.0.201403021825-r/org.eclipse.jgit-3.3.0.201403021825-r.jar
Download https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit.ui/3.3.0.201403021825-r/org.eclipse.jgit.ui-3.3.0.201403021825-r.jar
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.jsch/0.0.7/jsch.agentproxy.jsch-0.0.7.jar
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.pageant/0.0.7/jsch.agentproxy.pageant-0.0.7.jar
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.sshagent/0.0.7/jsch.agentproxy.sshagent-0.0.7.jar
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-jna/0.0.7/jsch.agentproxy.usocket-jna-0.0.7.jar
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-nc/0.0.7/jsch.agentproxy.usocket-nc-0.0.7.jar
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.core/0.0.7/jsch.agentproxy.core-0.0.7.jar
Building project 'core' with Scala version 2.10.5
:downloadWrapper UP-TO-DATE

BUILD SUCCESSFUL

Total time: 32.194 secs
Setting GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
[KafkaPreCommit] $ /bin/bash -xe /tmp/hudson851955900283350397.sh
+ ./gradlew -PscalaVersion=2.10.1 test
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: http://gradle.org/docs/2.4/userguide/gradle_daemon.html.

FAILURE: Build failed with an exception.

* What went wrong:
Could not open buildscript class cache for settings file '/x1/jenkins/jenkins-slave/workspace/KafkaPreCommit/settings.gradle' (/home/jenkins/.gradle/caches/2.4/scripts/settings_azpqlzkn71yz2ostwvxkk46wf/SettingsScript/buildscript).
> Timeout waiting to lock buildscript class cache for settings file '/x1/jenkins/jenkins-slave/workspace/KafkaPreCommit/settings.gradle' (/home/jenkins/.gradle/caches/2.4/scripts/settings_azpqlzkn71yz2ostwvxkk46wf/SettingsScript/buildscript). It is currently in use by another Gradle instance.
  Owner PID: unknown
  Our PID: 3657
  Owner Operation: unknown
  Our operation: Initialize cache
  Lock file: /home/jenkins/.gradle/caches/2.4/scripts/settings_azpqlzkn71yz2ostwvxkk46wf/SettingsScript/buildscript/cache.properties.lock

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 1 mins 5.318 secs
Build step 'Execute shell' marked build as failure
Setting GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1

Jenkins build is back to normal : KafkaPreCommit #143

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/KafkaPreCommit/143/changes>


Re: Build failed in Jenkins: KafkaPreCommit #142

Posted by Ewen Cheslack-Postava <ew...@confluent.io>.
Of course you're right -- my bad, I scanned the log too quickly and misread
the cause of the error.

On Wed, Jul 8, 2015 at 10:30 PM, Joel Koshy <jj...@gmail.com> wrote:

> Agreed that we should change it to exclude build/** - however, build 142
> failure does not seem to be rat-related is it? E.g., compare the console
> output with an earlier build (138 I think). Sorry I can't verify/debug
> right
> now, but can look tomorrow.
>
> On Wednesday, July 8, 2015, Ewen Cheslack-Postava <ewen@confluent.io
> <javascript:_e(%7B%7D,'cvml','ewen@confluent.io');>> wrote:
>
> > Joel, this looks like it's failing for basically the same file set as the
> > last fix. We probably want to just ignore all of build/, not just
> > build/rat/rat-report.xml.
> >
> > I would say rat may end up being too much of a hassle, but it already
> > caught invalid license headers in another case...
> >
> > -Ewen
> >
> > On Wed, Jul 8, 2015 at 10:39 AM, Apache Jenkins Server <
> > jenkins@builds.apache.org> wrote:
> >
> > > See <https://builds.apache.org/job/KafkaPreCommit/142/changes>
> > >
> > > Changes:
> > >
> > > [wangguoz] KAFKA-2308: make MemoryRecords idempotent; reviewed by
> > Guozhang
> > > Wang
> > >
> > > [cshapi] KAFKA-2316: Drop java 1.6 support; patched by Sriharsha
> > > Chintalapani reviewed by Ismael Juma and Gwen Shapira
> > >
> > > ------------------------------------------
> > > Started by an SCM change
> > > Building remotely on H11 (Ubuntu ubuntu) in workspace <
> > > https://builds.apache.org/job/KafkaPreCommit/ws/>
> > > Cloning the remote Git repository
> > > Cloning repository https://git-wip-us.apache.org/repos/asf/kafka.git
> > >  > git init <https://builds.apache.org/job/KafkaPreCommit/ws/> #
> > > timeout=10
> > > Fetching upstream changes from
> > > https://git-wip-us.apache.org/repos/asf/kafka.git
> > >  > git --version # timeout=10
> > >  > git fetch --tags --progress
> > > https://git-wip-us.apache.org/repos/asf/kafka.git
> > > +refs/heads/*:refs/remotes/origin/*
> > >  > git config remote.origin.url
> > > https://git-wip-us.apache.org/repos/asf/kafka.git # timeout=10
> > >  > git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/* #
> > > timeout=10
> > >  > git config remote.origin.url
> > > https://git-wip-us.apache.org/repos/asf/kafka.git # timeout=10
> > > Fetching upstream changes from
> > > https://git-wip-us.apache.org/repos/asf/kafka.git
> > >  > git fetch --tags --progress
> > > https://git-wip-us.apache.org/repos/asf/kafka.git
> > > +refs/heads/*:refs/remotes/origin/*
> > >  > git rev-parse refs/remotes/origin/trunk^{commit} # timeout=10
> > >  > git rev-parse refs/remotes/origin/origin/trunk^{commit} # timeout=10
> > > Checking out Revision 7df39e0394a6fd2f26e8f12768ebf7fecd56e3da
> > > (refs/remotes/origin/trunk)
> > >  > git config core.sparsecheckout # timeout=10
> > >  > git checkout -f 7df39e0394a6fd2f26e8f12768ebf7fecd56e3da
> > >  > git rev-list 4204f4a06bf23160ceec4aa54331db62681bff82 # timeout=10
> > > Setting
> > >
> >
> GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
> > > [KafkaPreCommit] $ /bin/bash -xe /tmp/hudson3016542222436593382.sh
> > > +
> > >
> >
> /home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1/bin/gradle
> > > To honour the JVM settings for this build a new JVM will be forked.
> > Please
> > > consider using the daemon:
> > > http://gradle.org/docs/2.1/userguide/gradle_daemon.html.
> > > Download
> > >
> >
> https://repo1.maven.org/maven2/org/ajoberstar/grgit/0.2.3/grgit-0.2.3.pom
> > > Download
> > >
> >
> https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit/3.3.0.201403021825-r/org.eclipse.jgit-3.3.0.201403021825-r.pom
> > > Download
> > >
> >
> https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit-parent/3.3.0.201403021825-r/org.eclipse.jgit-parent-3.3.0.201403021825-r.pom
> > > Download
> > >
> >
> https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit.ui/3.3.0.201403021825-r/org.eclipse.jgit.ui-3.3.0.201403021825-r.pom
> > > Download
> > >
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.jsch/0.0.7/jsch.agentproxy.jsch-0.0.7.pom
> > > Download
> > >
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy/0.0.7/jsch.agentproxy-0.0.7.pom
> > > Download
> > >
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.pageant/0.0.7/jsch.agentproxy.pageant-0.0.7.pom
> > > Download
> > >
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.sshagent/0.0.7/jsch.agentproxy.sshagent-0.0.7.pom
> > > Download
> > >
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-jna/0.0.7/jsch.agentproxy.usocket-jna-0.0.7.pom
> > > Download
> > >
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-nc/0.0.7/jsch.agentproxy.usocket-nc-0.0.7.pom
> > > Download
> > > https://repo1.maven.org/maven2/com/jcraft/jsch/0.1.46/jsch-0.1.46.pom
> > > Download
> > >
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.core/0.0.7/jsch.agentproxy.core-0.0.7.pom
> > > Download
> > >
> >
> https://repo1.maven.org/maven2/org/ajoberstar/grgit/0.2.3/grgit-0.2.3.jar
> > > Download
> > >
> >
> https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit/3.3.0.201403021825-r/org.eclipse.jgit-3.3.0.201403021825-r.jar
> > > Download
> > >
> >
> https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit.ui/3.3.0.201403021825-r/org.eclipse.jgit.ui-3.3.0.201403021825-r.jar
> > > Download
> > >
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.jsch/0.0.7/jsch.agentproxy.jsch-0.0.7.jar
> > > Download
> > >
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.pageant/0.0.7/jsch.agentproxy.pageant-0.0.7.jar
> > > Download
> > >
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.sshagent/0.0.7/jsch.agentproxy.sshagent-0.0.7.jar
> > > Download
> > >
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-jna/0.0.7/jsch.agentproxy.usocket-jna-0.0.7.jar
> > > Download
> > >
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-nc/0.0.7/jsch.agentproxy.usocket-nc-0.0.7.jar
> > > Download
> > >
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.core/0.0.7/jsch.agentproxy.core-0.0.7.jar
> > > Download
> > >
> >
> https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcore/4.1.4/httpcore-4.1.4.jar
> > > Building project 'core' with Scala version 2.10.5
> > > :downloadWrapper
> > >
> > > BUILD SUCCESSFUL
> > >
> > > Total time: 24.655 secs
> > > Setting
> > >
> >
> GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
> > > [KafkaPreCommit] $ /bin/bash -xe /tmp/hudson5394087857761662373.sh
> > > + ./gradlew -PscalaVersion=2.10.1 test
> > > To honour the JVM settings for this build a new JVM will be forked.
> > Please
> > > consider using the daemon:
> > > http://gradle.org/docs/2.4/userguide/gradle_daemon.html.
> > > Building project 'core' with Scala version 2.10.1
> > > :compileJava UP-TO-DATE
> > > :processResources UP-TO-DATE
> > > :classes UP-TO-DATE
> > > :rat
> > > Rat report: build/rat/rat-report.html
> > > :compileTestJava UP-TO-DATE
> > > :processTestResources UP-TO-DATE
> > > :testClasses UP-TO-DATE
> > > :test UP-TO-DATE
> > > :clients:compileJava FAILED
> > >
> > > FAILURE: Build failed with an exception.
> > >
> > > * What went wrong:
> > > Execution failed for task ':clients:compileJava'.
> > > > invalid source release: 1.7
> > >
> > > * Try:
> > > Run with --stacktrace option to get the stack trace. Run with --info or
> > > --debug option to get more log output.
> > >
> > > BUILD FAILED
> > >
> > > Total time: 27.779 secs
> > > Build step 'Execute shell' marked build as failure
> > > Setting
> > >
> >
> GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
> > >
> >
> >
> >
> > --
> > Thanks,
> > Ewen
> >
>
>
> --
> Sent from Gmail Mobile
>



-- 
Thanks,
Ewen

Build failed in Jenkins: KafkaPreCommit #142

Posted by Joel Koshy <jj...@gmail.com>.
Agreed that we should change it to exclude build/** - however, build 142
failure does not seem to be rat-related is it? E.g., compare the console
output with an earlier build (138 I think). Sorry I can't verify/debug right
now, but can look tomorrow.

On Wednesday, July 8, 2015, Ewen Cheslack-Postava <ewen@confluent.io
<javascript:_e(%7B%7D,'cvml','ewen@confluent.io');>> wrote:

> Joel, this looks like it's failing for basically the same file set as the
> last fix. We probably want to just ignore all of build/, not just
> build/rat/rat-report.xml.
>
> I would say rat may end up being too much of a hassle, but it already
> caught invalid license headers in another case...
>
> -Ewen
>
> On Wed, Jul 8, 2015 at 10:39 AM, Apache Jenkins Server <
> jenkins@builds.apache.org> wrote:
>
> > See <https://builds.apache.org/job/KafkaPreCommit/142/changes>
> >
> > Changes:
> >
> > [wangguoz] KAFKA-2308: make MemoryRecords idempotent; reviewed by
> Guozhang
> > Wang
> >
> > [cshapi] KAFKA-2316: Drop java 1.6 support; patched by Sriharsha
> > Chintalapani reviewed by Ismael Juma and Gwen Shapira
> >
> > ------------------------------------------
> > Started by an SCM change
> > Building remotely on H11 (Ubuntu ubuntu) in workspace <
> > https://builds.apache.org/job/KafkaPreCommit/ws/>
> > Cloning the remote Git repository
> > Cloning repository https://git-wip-us.apache.org/repos/asf/kafka.git
> >  > git init <https://builds.apache.org/job/KafkaPreCommit/ws/> #
> > timeout=10
> > Fetching upstream changes from
> > https://git-wip-us.apache.org/repos/asf/kafka.git
> >  > git --version # timeout=10
> >  > git fetch --tags --progress
> > https://git-wip-us.apache.org/repos/asf/kafka.git
> > +refs/heads/*:refs/remotes/origin/*
> >  > git config remote.origin.url
> > https://git-wip-us.apache.org/repos/asf/kafka.git # timeout=10
> >  > git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/* #
> > timeout=10
> >  > git config remote.origin.url
> > https://git-wip-us.apache.org/repos/asf/kafka.git # timeout=10
> > Fetching upstream changes from
> > https://git-wip-us.apache.org/repos/asf/kafka.git
> >  > git fetch --tags --progress
> > https://git-wip-us.apache.org/repos/asf/kafka.git
> > +refs/heads/*:refs/remotes/origin/*
> >  > git rev-parse refs/remotes/origin/trunk^{commit} # timeout=10
> >  > git rev-parse refs/remotes/origin/origin/trunk^{commit} # timeout=10
> > Checking out Revision 7df39e0394a6fd2f26e8f12768ebf7fecd56e3da
> > (refs/remotes/origin/trunk)
> >  > git config core.sparsecheckout # timeout=10
> >  > git checkout -f 7df39e0394a6fd2f26e8f12768ebf7fecd56e3da
> >  > git rev-list 4204f4a06bf23160ceec4aa54331db62681bff82 # timeout=10
> > Setting
> >
> GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
> > [KafkaPreCommit] $ /bin/bash -xe /tmp/hudson3016542222436593382.sh
> > +
> >
> /home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1/bin/gradle
> > To honour the JVM settings for this build a new JVM will be forked.
> Please
> > consider using the daemon:
> > http://gradle.org/docs/2.1/userguide/gradle_daemon.html.
> > Download
> >
> https://repo1.maven.org/maven2/org/ajoberstar/grgit/0.2.3/grgit-0.2.3.pom
> > Download
> >
> https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit/3.3.0.201403021825-r/org.eclipse.jgit-3.3.0.201403021825-r.pom
> > Download
> >
> https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit-parent/3.3.0.201403021825-r/org.eclipse.jgit-parent-3.3.0.201403021825-r.pom
> > Download
> >
> https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit.ui/3.3.0.201403021825-r/org.eclipse.jgit.ui-3.3.0.201403021825-r.pom
> > Download
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.jsch/0.0.7/jsch.agentproxy.jsch-0.0.7.pom
> > Download
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy/0.0.7/jsch.agentproxy-0.0.7.pom
> > Download
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.pageant/0.0.7/jsch.agentproxy.pageant-0.0.7.pom
> > Download
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.sshagent/0.0.7/jsch.agentproxy.sshagent-0.0.7.pom
> > Download
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-jna/0.0.7/jsch.agentproxy.usocket-jna-0.0.7.pom
> > Download
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-nc/0.0.7/jsch.agentproxy.usocket-nc-0.0.7.pom
> > Download
> > https://repo1.maven.org/maven2/com/jcraft/jsch/0.1.46/jsch-0.1.46.pom
> > Download
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.core/0.0.7/jsch.agentproxy.core-0.0.7.pom
> > Download
> >
> https://repo1.maven.org/maven2/org/ajoberstar/grgit/0.2.3/grgit-0.2.3.jar
> > Download
> >
> https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit/3.3.0.201403021825-r/org.eclipse.jgit-3.3.0.201403021825-r.jar
> > Download
> >
> https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit.ui/3.3.0.201403021825-r/org.eclipse.jgit.ui-3.3.0.201403021825-r.jar
> > Download
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.jsch/0.0.7/jsch.agentproxy.jsch-0.0.7.jar
> > Download
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.pageant/0.0.7/jsch.agentproxy.pageant-0.0.7.jar
> > Download
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.sshagent/0.0.7/jsch.agentproxy.sshagent-0.0.7.jar
> > Download
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-jna/0.0.7/jsch.agentproxy.usocket-jna-0.0.7.jar
> > Download
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-nc/0.0.7/jsch.agentproxy.usocket-nc-0.0.7.jar
> > Download
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.core/0.0.7/jsch.agentproxy.core-0.0.7.jar
> > Download
> >
> https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcore/4.1.4/httpcore-4.1.4.jar
> > Building project 'core' with Scala version 2.10.5
> > :downloadWrapper
> >
> > BUILD SUCCESSFUL
> >
> > Total time: 24.655 secs
> > Setting
> >
> GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
> > [KafkaPreCommit] $ /bin/bash -xe /tmp/hudson5394087857761662373.sh
> > + ./gradlew -PscalaVersion=2.10.1 test
> > To honour the JVM settings for this build a new JVM will be forked.
> Please
> > consider using the daemon:
> > http://gradle.org/docs/2.4/userguide/gradle_daemon.html.
> > Building project 'core' with Scala version 2.10.1
> > :compileJava UP-TO-DATE
> > :processResources UP-TO-DATE
> > :classes UP-TO-DATE
> > :rat
> > Rat report: build/rat/rat-report.html
> > :compileTestJava UP-TO-DATE
> > :processTestResources UP-TO-DATE
> > :testClasses UP-TO-DATE
> > :test UP-TO-DATE
> > :clients:compileJava FAILED
> >
> > FAILURE: Build failed with an exception.
> >
> > * What went wrong:
> > Execution failed for task ':clients:compileJava'.
> > > invalid source release: 1.7
> >
> > * Try:
> > Run with --stacktrace option to get the stack trace. Run with --info or
> > --debug option to get more log output.
> >
> > BUILD FAILED
> >
> > Total time: 27.779 secs
> > Build step 'Execute shell' marked build as failure
> > Setting
> >
> GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
> >
>
>
>
> --
> Thanks,
> Ewen
>


-- 
Sent from Gmail Mobile

Re: Build failed in Jenkins: KafkaPreCommit #142

Posted by Ewen Cheslack-Postava <ew...@confluent.io>.
Joel, this looks like it's failing for basically the same file set as the
last fix. We probably want to just ignore all of build/, not just
build/rat/rat-report.xml.

I would say rat may end up being too much of a hassle, but it already
caught invalid license headers in another case...

-Ewen

On Wed, Jul 8, 2015 at 10:39 AM, Apache Jenkins Server <
jenkins@builds.apache.org> wrote:

> See <https://builds.apache.org/job/KafkaPreCommit/142/changes>
>
> Changes:
>
> [wangguoz] KAFKA-2308: make MemoryRecords idempotent; reviewed by Guozhang
> Wang
>
> [cshapi] KAFKA-2316: Drop java 1.6 support; patched by Sriharsha
> Chintalapani reviewed by Ismael Juma and Gwen Shapira
>
> ------------------------------------------
> Started by an SCM change
> Building remotely on H11 (Ubuntu ubuntu) in workspace <
> https://builds.apache.org/job/KafkaPreCommit/ws/>
> Cloning the remote Git repository
> Cloning repository https://git-wip-us.apache.org/repos/asf/kafka.git
>  > git init <https://builds.apache.org/job/KafkaPreCommit/ws/> #
> timeout=10
> Fetching upstream changes from
> https://git-wip-us.apache.org/repos/asf/kafka.git
>  > git --version # timeout=10
>  > git fetch --tags --progress
> https://git-wip-us.apache.org/repos/asf/kafka.git
> +refs/heads/*:refs/remotes/origin/*
>  > git config remote.origin.url
> https://git-wip-us.apache.org/repos/asf/kafka.git # timeout=10
>  > git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/* #
> timeout=10
>  > git config remote.origin.url
> https://git-wip-us.apache.org/repos/asf/kafka.git # timeout=10
> Fetching upstream changes from
> https://git-wip-us.apache.org/repos/asf/kafka.git
>  > git fetch --tags --progress
> https://git-wip-us.apache.org/repos/asf/kafka.git
> +refs/heads/*:refs/remotes/origin/*
>  > git rev-parse refs/remotes/origin/trunk^{commit} # timeout=10
>  > git rev-parse refs/remotes/origin/origin/trunk^{commit} # timeout=10
> Checking out Revision 7df39e0394a6fd2f26e8f12768ebf7fecd56e3da
> (refs/remotes/origin/trunk)
>  > git config core.sparsecheckout # timeout=10
>  > git checkout -f 7df39e0394a6fd2f26e8f12768ebf7fecd56e3da
>  > git rev-list 4204f4a06bf23160ceec4aa54331db62681bff82 # timeout=10
> Setting
> GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
> [KafkaPreCommit] $ /bin/bash -xe /tmp/hudson3016542222436593382.sh
> +
> /home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1/bin/gradle
> To honour the JVM settings for this build a new JVM will be forked. Please
> consider using the daemon:
> http://gradle.org/docs/2.1/userguide/gradle_daemon.html.
> Download
> https://repo1.maven.org/maven2/org/ajoberstar/grgit/0.2.3/grgit-0.2.3.pom
> Download
> https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit/3.3.0.201403021825-r/org.eclipse.jgit-3.3.0.201403021825-r.pom
> Download
> https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit-parent/3.3.0.201403021825-r/org.eclipse.jgit-parent-3.3.0.201403021825-r.pom
> Download
> https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit.ui/3.3.0.201403021825-r/org.eclipse.jgit.ui-3.3.0.201403021825-r.pom
> Download
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.jsch/0.0.7/jsch.agentproxy.jsch-0.0.7.pom
> Download
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy/0.0.7/jsch.agentproxy-0.0.7.pom
> Download
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.pageant/0.0.7/jsch.agentproxy.pageant-0.0.7.pom
> Download
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.sshagent/0.0.7/jsch.agentproxy.sshagent-0.0.7.pom
> Download
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-jna/0.0.7/jsch.agentproxy.usocket-jna-0.0.7.pom
> Download
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-nc/0.0.7/jsch.agentproxy.usocket-nc-0.0.7.pom
> Download
> https://repo1.maven.org/maven2/com/jcraft/jsch/0.1.46/jsch-0.1.46.pom
> Download
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.core/0.0.7/jsch.agentproxy.core-0.0.7.pom
> Download
> https://repo1.maven.org/maven2/org/ajoberstar/grgit/0.2.3/grgit-0.2.3.jar
> Download
> https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit/3.3.0.201403021825-r/org.eclipse.jgit-3.3.0.201403021825-r.jar
> Download
> https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit.ui/3.3.0.201403021825-r/org.eclipse.jgit.ui-3.3.0.201403021825-r.jar
> Download
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.jsch/0.0.7/jsch.agentproxy.jsch-0.0.7.jar
> Download
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.pageant/0.0.7/jsch.agentproxy.pageant-0.0.7.jar
> Download
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.sshagent/0.0.7/jsch.agentproxy.sshagent-0.0.7.jar
> Download
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-jna/0.0.7/jsch.agentproxy.usocket-jna-0.0.7.jar
> Download
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-nc/0.0.7/jsch.agentproxy.usocket-nc-0.0.7.jar
> Download
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.core/0.0.7/jsch.agentproxy.core-0.0.7.jar
> Download
> https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcore/4.1.4/httpcore-4.1.4.jar
> Building project 'core' with Scala version 2.10.5
> :downloadWrapper
>
> BUILD SUCCESSFUL
>
> Total time: 24.655 secs
> Setting
> GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
> [KafkaPreCommit] $ /bin/bash -xe /tmp/hudson5394087857761662373.sh
> + ./gradlew -PscalaVersion=2.10.1 test
> To honour the JVM settings for this build a new JVM will be forked. Please
> consider using the daemon:
> http://gradle.org/docs/2.4/userguide/gradle_daemon.html.
> Building project 'core' with Scala version 2.10.1
> :compileJava UP-TO-DATE
> :processResources UP-TO-DATE
> :classes UP-TO-DATE
> :rat
> Rat report: build/rat/rat-report.html
> :compileTestJava UP-TO-DATE
> :processTestResources UP-TO-DATE
> :testClasses UP-TO-DATE
> :test UP-TO-DATE
> :clients:compileJava FAILED
>
> FAILURE: Build failed with an exception.
>
> * What went wrong:
> Execution failed for task ':clients:compileJava'.
> > invalid source release: 1.7
>
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or
> --debug option to get more log output.
>
> BUILD FAILED
>
> Total time: 27.779 secs
> Build step 'Execute shell' marked build as failure
> Setting
> GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
>



-- 
Thanks,
Ewen

Build failed in Jenkins: KafkaPreCommit #142

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/KafkaPreCommit/142/changes>

Changes:

[wangguoz] KAFKA-2308: make MemoryRecords idempotent; reviewed by Guozhang Wang

[cshapi] KAFKA-2316: Drop java 1.6 support; patched by Sriharsha Chintalapani reviewed by Ismael Juma and Gwen Shapira

------------------------------------------
Started by an SCM change
Building remotely on H11 (Ubuntu ubuntu) in workspace <https://builds.apache.org/job/KafkaPreCommit/ws/>
Cloning the remote Git repository
Cloning repository https://git-wip-us.apache.org/repos/asf/kafka.git
 > git init <https://builds.apache.org/job/KafkaPreCommit/ws/> # timeout=10
Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/kafka.git
 > git --version # timeout=10
 > git fetch --tags --progress https://git-wip-us.apache.org/repos/asf/kafka.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url https://git-wip-us.apache.org/repos/asf/kafka.git # timeout=10
 > git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://git-wip-us.apache.org/repos/asf/kafka.git # timeout=10
Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/kafka.git
 > git fetch --tags --progress https://git-wip-us.apache.org/repos/asf/kafka.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/trunk^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/trunk^{commit} # timeout=10
Checking out Revision 7df39e0394a6fd2f26e8f12768ebf7fecd56e3da (refs/remotes/origin/trunk)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 7df39e0394a6fd2f26e8f12768ebf7fecd56e3da
 > git rev-list 4204f4a06bf23160ceec4aa54331db62681bff82 # timeout=10
Setting GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
[KafkaPreCommit] $ /bin/bash -xe /tmp/hudson3016542222436593382.sh
+ /home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1/bin/gradle
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: http://gradle.org/docs/2.1/userguide/gradle_daemon.html.
Download https://repo1.maven.org/maven2/org/ajoberstar/grgit/0.2.3/grgit-0.2.3.pom
Download https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit/3.3.0.201403021825-r/org.eclipse.jgit-3.3.0.201403021825-r.pom
Download https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit-parent/3.3.0.201403021825-r/org.eclipse.jgit-parent-3.3.0.201403021825-r.pom
Download https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit.ui/3.3.0.201403021825-r/org.eclipse.jgit.ui-3.3.0.201403021825-r.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.jsch/0.0.7/jsch.agentproxy.jsch-0.0.7.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy/0.0.7/jsch.agentproxy-0.0.7.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.pageant/0.0.7/jsch.agentproxy.pageant-0.0.7.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.sshagent/0.0.7/jsch.agentproxy.sshagent-0.0.7.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-jna/0.0.7/jsch.agentproxy.usocket-jna-0.0.7.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-nc/0.0.7/jsch.agentproxy.usocket-nc-0.0.7.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch/0.1.46/jsch-0.1.46.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.core/0.0.7/jsch.agentproxy.core-0.0.7.pom
Download https://repo1.maven.org/maven2/org/ajoberstar/grgit/0.2.3/grgit-0.2.3.jar
Download https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit/3.3.0.201403021825-r/org.eclipse.jgit-3.3.0.201403021825-r.jar
Download https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit.ui/3.3.0.201403021825-r/org.eclipse.jgit.ui-3.3.0.201403021825-r.jar
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.jsch/0.0.7/jsch.agentproxy.jsch-0.0.7.jar
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.pageant/0.0.7/jsch.agentproxy.pageant-0.0.7.jar
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.sshagent/0.0.7/jsch.agentproxy.sshagent-0.0.7.jar
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-jna/0.0.7/jsch.agentproxy.usocket-jna-0.0.7.jar
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-nc/0.0.7/jsch.agentproxy.usocket-nc-0.0.7.jar
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.core/0.0.7/jsch.agentproxy.core-0.0.7.jar
Download https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcore/4.1.4/httpcore-4.1.4.jar
Building project 'core' with Scala version 2.10.5
:downloadWrapper

BUILD SUCCESSFUL

Total time: 24.655 secs
Setting GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
[KafkaPreCommit] $ /bin/bash -xe /tmp/hudson5394087857761662373.sh
+ ./gradlew -PscalaVersion=2.10.1 test
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: http://gradle.org/docs/2.4/userguide/gradle_daemon.html.
Building project 'core' with Scala version 2.10.1
:compileJava UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:rat
Rat report: build/rat/rat-report.html
:compileTestJava UP-TO-DATE
:processTestResources UP-TO-DATE
:testClasses UP-TO-DATE
:test UP-TO-DATE
:clients:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':clients:compileJava'.
> invalid source release: 1.7

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 27.779 secs
Build step 'Execute shell' marked build as failure
Setting GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1

Build failed in Jenkins: KafkaPreCommit #141

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/KafkaPreCommit/141/changes>

Changes:

[jjkoshy] Trivial commit - explicitly exclude build/rat-report.xml from rat check

------------------------------------------
Started by an SCM change
Building remotely on ubuntu3 (Ubuntu ubuntu legacy-ubuntu) in workspace <https://builds.apache.org/job/KafkaPreCommit/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://git-wip-us.apache.org/repos/asf/kafka.git # timeout=10
Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/kafka.git
 > git --version # timeout=10
 > git fetch --tags --progress https://git-wip-us.apache.org/repos/asf/kafka.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/trunk^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/trunk^{commit} # timeout=10
Checking out Revision 4204f4a06bf23160ceec4aa54331db62681bff82 (refs/remotes/origin/trunk)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 4204f4a06bf23160ceec4aa54331db62681bff82
 > git rev-list 23d72bccbeeeb0774b86c47e05cdcd1575a5d38a # timeout=10
Setting GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
[KafkaPreCommit] $ /bin/bash -xe /tmp/hudson8897686233906323612.sh
+ /home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1/bin/gradle
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: http://gradle.org/docs/2.1/userguide/gradle_daemon.html.
Building project 'core' with Scala version 2.10.5
:downloadWrapper UP-TO-DATE

BUILD SUCCESSFUL

Total time: 20.482 secs
Setting GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
[KafkaPreCommit] $ /bin/bash -xe /tmp/hudson7835367385372598036.sh
+ ./gradlew -PscalaVersion=2.10.1 test
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: http://gradle.org/docs/2.4/userguide/gradle_daemon.html.

FAILURE: Build failed with an exception.

* What went wrong:
Could not open buildscript class cache for settings file '/x1/jenkins/jenkins-slave/workspace/KafkaPreCommit/settings.gradle' (/home/jenkins/.gradle/caches/2.4/scripts/settings_azpqlzkn71yz2ostwvxkk46wf/SettingsScript/buildscript).
> Timeout waiting to lock buildscript class cache for settings file '/x1/jenkins/jenkins-slave/workspace/KafkaPreCommit/settings.gradle' (/home/jenkins/.gradle/caches/2.4/scripts/settings_azpqlzkn71yz2ostwvxkk46wf/SettingsScript/buildscript). It is currently in use by another Gradle instance.
  Owner PID: unknown
  Our PID: 2991
  Owner Operation: unknown
  Our operation: Initialize cache
  Lock file: /home/jenkins/.gradle/caches/2.4/scripts/settings_azpqlzkn71yz2ostwvxkk46wf/SettingsScript/buildscript/cache.properties.lock

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 1 mins 4.559 secs
Build step 'Execute shell' marked build as failure
Setting GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1

Build failed in Jenkins: KafkaPreCommit #140

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/KafkaPreCommit/140/changes>

Changes:

[jjkoshy] KAFKA-2298; Client Selector can drop connections on InvalidReceiveException without notifying NetworkClient; reviewed by Jason Gustafson and Joel Koshy

------------------------------------------
Started by an SCM change
Building remotely on ubuntu-5 (docker Ubuntu ubuntu5 ubuntu) in workspace <https://builds.apache.org/job/KafkaPreCommit/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://git-wip-us.apache.org/repos/asf/kafka.git # timeout=10
Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/kafka.git
 > git --version # timeout=10
 > git fetch --tags --progress https://git-wip-us.apache.org/repos/asf/kafka.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/trunk^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/trunk^{commit} # timeout=10
Checking out Revision 23d72bccbeeeb0774b86c47e05cdcd1575a5d38a (refs/remotes/origin/trunk)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 23d72bccbeeeb0774b86c47e05cdcd1575a5d38a
 > git rev-list f13dd8024d5bc1c11587a3b539556ea01e2c84ca # timeout=10
Setting GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
[KafkaPreCommit] $ /bin/bash -xe /tmp/hudson6841575093571528624.sh
+ /home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1/bin/gradle
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: http://gradle.org/docs/2.1/userguide/gradle_daemon.html.
Download https://repo1.maven.org/maven2/org/ajoberstar/grgit/0.2.3/grgit-0.2.3.pom
Download https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit/3.3.0.201403021825-r/org.eclipse.jgit-3.3.0.201403021825-r.pom
Download https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit-parent/3.3.0.201403021825-r/org.eclipse.jgit-parent-3.3.0.201403021825-r.pom
Download https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit.ui/3.3.0.201403021825-r/org.eclipse.jgit.ui-3.3.0.201403021825-r.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.jsch/0.0.7/jsch.agentproxy.jsch-0.0.7.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy/0.0.7/jsch.agentproxy-0.0.7.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.pageant/0.0.7/jsch.agentproxy.pageant-0.0.7.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.sshagent/0.0.7/jsch.agentproxy.sshagent-0.0.7.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-jna/0.0.7/jsch.agentproxy.usocket-jna-0.0.7.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-nc/0.0.7/jsch.agentproxy.usocket-nc-0.0.7.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch/0.1.46/jsch-0.1.46.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.core/0.0.7/jsch.agentproxy.core-0.0.7.pom
Download https://repo1.maven.org/maven2/org/ajoberstar/grgit/0.2.3/grgit-0.2.3.jar
Download https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit/3.3.0.201403021825-r/org.eclipse.jgit-3.3.0.201403021825-r.jar
Download https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit.ui/3.3.0.201403021825-r/org.eclipse.jgit.ui-3.3.0.201403021825-r.jar
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.jsch/0.0.7/jsch.agentproxy.jsch-0.0.7.jar
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.pageant/0.0.7/jsch.agentproxy.pageant-0.0.7.jar
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.sshagent/0.0.7/jsch.agentproxy.sshagent-0.0.7.jar
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-jna/0.0.7/jsch.agentproxy.usocket-jna-0.0.7.jar
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-nc/0.0.7/jsch.agentproxy.usocket-nc-0.0.7.jar
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.core/0.0.7/jsch.agentproxy.core-0.0.7.jar
Building project 'core' with Scala version 2.10.5
:downloadWrapper UP-TO-DATE

BUILD SUCCESSFUL

Total time: 37.111 secs
Setting GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
[KafkaPreCommit] $ /bin/bash -xe /tmp/hudson3453581841964740812.sh
+ ./gradlew -PscalaVersion=2.10.1 test
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: http://gradle.org/docs/2.4/userguide/gradle_daemon.html.
Building project 'core' with Scala version 2.10.1
:compileJava UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:rat
Unknown license: <https://builds.apache.org/job/KafkaPreCommit/ws/build/rat/rat-report.xml>
:rat FAILED

FAILURE: Build failed with an exception.

* Where:
Script '<https://builds.apache.org/job/KafkaPreCommit/ws/gradle/rat.gradle'> line: 63

* What went wrong:
Execution failed for task ':rat'.
> Found 1 files with unknown licenses.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 47.9 secs
Build step 'Execute shell' marked build as failure
Setting GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1

Build failed in Jenkins: KafkaPreCommit #139

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/KafkaPreCommit/139/changes>

Changes:

[wangguoz] KAFKA-2306: add another metric for buffer exhausted; reviewed by Guozhang Wang

[wangguoz] KAFKA-2317: follow-up of KAFKA1367; reviewed by Guozhang Wang

[wangguoz] KAFKA-2313: javadoc fix for KafkaConsumer deserialization; reviewed by Guozhang Wang

------------------------------------------
Started by an SCM change
Building remotely on ubuntu3 (Ubuntu ubuntu legacy-ubuntu) in workspace <https://builds.apache.org/job/KafkaPreCommit/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://git-wip-us.apache.org/repos/asf/kafka.git # timeout=10
Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/kafka.git
 > git --version # timeout=10
 > git fetch --tags --progress https://git-wip-us.apache.org/repos/asf/kafka.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/trunk^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/trunk^{commit} # timeout=10
Checking out Revision f13dd8024d5bc1c11587a3b539556ea01e2c84ca (refs/remotes/origin/trunk)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f f13dd8024d5bc1c11587a3b539556ea01e2c84ca
 > git rev-list ad485e148d7ac104abe173687ba27dccff8e4d39 # timeout=10
Setting GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
[KafkaPreCommit] $ /bin/bash -xe /tmp/hudson8416422908925610781.sh
+ /home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1/bin/gradle
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: http://gradle.org/docs/2.1/userguide/gradle_daemon.html.
Building project 'core' with Scala version 2.10.5
:downloadWrapper UP-TO-DATE

BUILD SUCCESSFUL

Total time: 7.885 secs
Setting GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
[KafkaPreCommit] $ /bin/bash -xe /tmp/hudson9119522493033573139.sh
+ ./gradlew -PscalaVersion=2.10.1 test
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: http://gradle.org/docs/2.4/userguide/gradle_daemon.html.

FAILURE: Build failed with an exception.

* What went wrong:
Could not open buildscript class cache for settings file '/x1/jenkins/jenkins-slave/workspace/KafkaPreCommit/settings.gradle' (/home/jenkins/.gradle/caches/2.4/scripts/settings_azpqlzkn71yz2ostwvxkk46wf/SettingsScript/buildscript).
> Timeout waiting to lock buildscript class cache for settings file '/x1/jenkins/jenkins-slave/workspace/KafkaPreCommit/settings.gradle' (/home/jenkins/.gradle/caches/2.4/scripts/settings_azpqlzkn71yz2ostwvxkk46wf/SettingsScript/buildscript). It is currently in use by another Gradle instance.
  Owner PID: unknown
  Our PID: 1821
  Owner Operation: unknown
  Our operation: Initialize cache
  Lock file: /home/jenkins/.gradle/caches/2.4/scripts/settings_azpqlzkn71yz2ostwvxkk46wf/SettingsScript/buildscript/cache.properties.lock

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 1 mins 2.724 secs
Build step 'Execute shell' marked build as failure
Setting GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1

Re: Build failed in Jenkins: KafkaPreCommit #138

Posted by Ewen Cheslack-Postava <ew...@confluent.io>.
Ah, that makes sense, thanks for finding that. We could alternatively use
build/** to avoid everything under build, or include a more complete list
via .gitignore instead (although that would have to be done carefully since
the pattern matching works differently). Unfortunately grgit is required to
filter out files that aren't covered by .gitignore and untracked by git.

-Ewen

On Tue, Jul 7, 2015 at 10:35 PM, Joel Koshy <jj...@gmail.com> wrote:

> > explicitly specify an exclude for build/rat/rat-report.xml
>
> (btw, I went ahead with a trivial commit for the above - let me know
> if there are any concerns)
>
> On Tue, Jul 07, 2015 at 09:44:27PM -0700, Joel Koshy wrote:
> > You can reproduce the rat failure by running: ./gradlew clean &&
> > gradlew test
> >
> > If you run gradlew test again it does not report any error.
> >
> > build.gradle uses Grgit to expand the gitignore files to exclude.  For
> > a clean build, the build directory does not exist (yet). So it is not
> > excluded by rat.  On subsequent builds it does exist, so it is
> > excluded.
> >
> > The easiest fix is to probably explicitly specify an exclude for
> > build/rat/rat-report.xml
> >
> > Thanks,
> >
> > Joel
> >
> > On Tue, Jul 07, 2015 at 05:12:12PM -0700, Jun Rao wrote:
> > > Ewen,
> > >
> > > We did have at least one successful run (
> > > https://builds.apache.org/job/Kafka-trunk/526/console) after the rat
> patch.
> > > Perhaps you can file an Apache infra ticket to figure out why other
> runs
> > > fail?
> > >
> > > Thanks,
> > >
> > > Jun
> > >
> > > On Tue, Jul 7, 2015 at 11:16 AM, Ewen Cheslack-Postava <
> ewen@confluent.io>
> > > wrote:
> > >
> > > > Is there a way to run the Jenkins build with more detailed output,
> e.g.
> > > > with one of gradle's debug flags? It looks like in the Jenkins
> environment
> > > > the exclude rules (which should be ignoring the build/ directory)
> aren't
> > > > working like they did for me and the reviewers, but there's not
> enough
> > > > useful info here to figure out why. Although even with those turned
> on, I'm
> > > > not sure the right info is logged...
> > > >
> > > > -Ewen
> > > >
> > > > On Tue, Jul 7, 2015 at 10:39 AM, Apache Jenkins Server <
> > > > jenkins@builds.apache.org> wrote:
> > > >
> > > > > See <https://builds.apache.org/job/KafkaPreCommit/138/changes>
> > > > >
> > > > > Changes:
> > > > >
> > > > > [junrao] kafka-1367; Broker topic metadata not kept in sync with
> > > > > ZooKeeper; patched by Ashish Singh; reviewed by Jun Rao
> > > > >
> > > > > [joe.stein] KAFKA-2304 Supported enabling JMX in Kafka Vagrantfile
> patch
> > > > > by Stevo Slavic reviewed by Ewen Cheslack-Postava
> > > > >
> > > > > ------------------------------------------
> > > > > Started by an SCM change
> > > > > Building remotely on ubuntu-4 (docker Ubuntu ubuntu4 ubuntu) in
> > > > workspace <
> > > > > https://builds.apache.org/job/KafkaPreCommit/ws/>
> > > > >  > git rev-parse --is-inside-work-tree # timeout=10
> > > > > Fetching changes from the remote Git repository
> > > > >  > git config remote.origin.url
> > > > > https://git-wip-us.apache.org/repos/asf/kafka.git # timeout=10
> > > > > Fetching upstream changes from
> > > > > https://git-wip-us.apache.org/repos/asf/kafka.git
> > > > >  > git --version # timeout=10
> > > > >  > git fetch --tags --progress
> > > > > https://git-wip-us.apache.org/repos/asf/kafka.git
> > > > > +refs/heads/*:refs/remotes/origin/*
> > > > >  > git rev-parse refs/remotes/origin/trunk^{commit} # timeout=10
> > > > >  > git rev-parse refs/remotes/origin/origin/trunk^{commit} #
> timeout=10
> > > > > Checking out Revision ad485e148d7ac104abe173687ba27dccff8e4d39
> > > > > (refs/remotes/origin/trunk)
> > > > >  > git config core.sparsecheckout # timeout=10
> > > > >  > git checkout -f ad485e148d7ac104abe173687ba27dccff8e4d39
> > > > >  > git rev-list 271b18d119fdc37952c36c573ba185aa672e3f96 #
> timeout=10
> > > > > Setting
> > > > >
> > > >
> GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
> > > > > [KafkaPreCommit] $ /bin/bash -xe /tmp/hudson8684664270792626732.sh
> > > > > +
> > > > >
> > > >
> /home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1/bin/gradle
> > > > > To honour the JVM settings for this build a new JVM will be forked.
> > > > Please
> > > > > consider using the daemon:
> > > > > http://gradle.org/docs/2.1/userguide/gradle_daemon.html.
> > > > > Download
> > > > >
> > > >
> https://repo1.maven.org/maven2/org/ajoberstar/grgit/0.2.3/grgit-0.2.3.pom
> > > > > Download
> > > > >
> > > >
> https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit/3.3.0.201403021825-r/org.eclipse.jgit-3.3.0.201403021825-r.pom
> > > > > Download
> > > > >
> > > >
> https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit-parent/3.3.0.201403021825-r/org.eclipse.jgit-parent-3.3.0.201403021825-r.pom
> > > > > Download
> > > > >
> > > >
> https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit.ui/3.3.0.201403021825-r/org.eclipse.jgit.ui-3.3.0.201403021825-r.pom
> > > > > Download
> > > > >
> > > >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.jsch/0.0.7/jsch.agentproxy.jsch-0.0.7.pom
> > > > > Download
> > > > >
> > > >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy/0.0.7/jsch.agentproxy-0.0.7.pom
> > > > > Download
> > > > >
> > > >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.pageant/0.0.7/jsch.agentproxy.pageant-0.0.7.pom
> > > > > Download
> > > > >
> > > >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.sshagent/0.0.7/jsch.agentproxy.sshagent-0.0.7.pom
> > > > > Download
> > > > >
> > > >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-jna/0.0.7/jsch.agentproxy.usocket-jna-0.0.7.pom
> > > > > Download
> > > > >
> > > >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-nc/0.0.7/jsch.agentproxy.usocket-nc-0.0.7.pom
> > > > > Download
> > > > >
> https://repo1.maven.org/maven2/com/jcraft/jsch/0.1.46/jsch-0.1.46.pom
> > > > > Download
> > > > >
> > > >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.core/0.0.7/jsch.agentproxy.core-0.0.7.pom
> > > > > Download
> > > > >
> > > >
> https://repo1.maven.org/maven2/org/ajoberstar/grgit/0.2.3/grgit-0.2.3.jar
> > > > > Download
> > > > >
> > > >
> https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit/3.3.0.201403021825-r/org.eclipse.jgit-3.3.0.201403021825-r.jar
> > > > > Download
> > > > >
> > > >
> https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit.ui/3.3.0.201403021825-r/org.eclipse.jgit.ui-3.3.0.201403021825-r.jar
> > > > > Download
> > > > >
> > > >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.jsch/0.0.7/jsch.agentproxy.jsch-0.0.7.jar
> > > > > Download
> > > > >
> > > >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.pageant/0.0.7/jsch.agentproxy.pageant-0.0.7.jar
> > > > > Download
> > > > >
> > > >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.sshagent/0.0.7/jsch.agentproxy.sshagent-0.0.7.jar
> > > > > Download
> > > > >
> > > >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-jna/0.0.7/jsch.agentproxy.usocket-jna-0.0.7.jar
> > > > > Download
> > > > >
> > > >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-nc/0.0.7/jsch.agentproxy.usocket-nc-0.0.7.jar
> > > > > Download
> > > > >
> > > >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.core/0.0.7/jsch.agentproxy.core-0.0.7.jar
> > > > > Building project 'core' with Scala version 2.10.5
> > > > > :downloadWrapper UP-TO-DATE
> > > > >
> > > > > BUILD SUCCESSFUL
> > > > >
> > > > > Total time: 26.723 secs
> > > > > Setting
> > > > >
> > > >
> GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
> > > > > [KafkaPreCommit] $ /bin/bash -xe /tmp/hudson5373108736072325347.sh
> > > > > + ./gradlew -PscalaVersion=2.10.1 test
> > > > > To honour the JVM settings for this build a new JVM will be forked.
> > > > Please
> > > > > consider using the daemon:
> > > > > http://gradle.org/docs/2.4/userguide/gradle_daemon.html.
> > > > > Building project 'core' with Scala version 2.10.1
> > > > > :compileJava UP-TO-DATE
> > > > > :processResources UP-TO-DATE
> > > > > :classes UP-TO-DATE
> > > > > :rat
> > > > > Unknown license: <
> > > > >
> https://builds.apache.org/job/KafkaPreCommit/ws/build/rat/rat-report.xml
> > > > >
> > > > > :rat FAILED
> > > > >
> > > > > FAILURE: Build failed with an exception.
> > > > >
> > > > > * Where:
> > > > > Script '<
> > > > https://builds.apache.org/job/KafkaPreCommit/ws/gradle/rat.gradle'>
> > > > > line: 63
> > > > >
> > > > > * What went wrong:
> > > > > Execution failed for task ':rat'.
> > > > > > Found 1 files with unknown licenses.
> > > > >
> > > > > * Try:
> > > > > Run with --stacktrace option to get the stack trace. Run with
> --info or
> > > > > --debug option to get more log output.
> > > > >
> > > > > BUILD FAILED
> > > > >
> > > > > Total time: 31.846 secs
> > > > > Build step 'Execute shell' marked build as failure
> > > > > Setting
> > > > >
> > > >
> GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Thanks,
> > > > Ewen
>
>


-- 
Thanks,
Ewen

Re: Build failed in Jenkins: KafkaPreCommit #138

Posted by Joel Koshy <jj...@gmail.com>.
> explicitly specify an exclude for build/rat/rat-report.xml

(btw, I went ahead with a trivial commit for the above - let me know
if there are any concerns)

On Tue, Jul 07, 2015 at 09:44:27PM -0700, Joel Koshy wrote:
> You can reproduce the rat failure by running: ./gradlew clean &&
> gradlew test
> 
> If you run gradlew test again it does not report any error.
> 
> build.gradle uses Grgit to expand the gitignore files to exclude.  For
> a clean build, the build directory does not exist (yet). So it is not
> excluded by rat.  On subsequent builds it does exist, so it is
> excluded.
> 
> The easiest fix is to probably explicitly specify an exclude for
> build/rat/rat-report.xml
> 
> Thanks,
> 
> Joel
> 
> On Tue, Jul 07, 2015 at 05:12:12PM -0700, Jun Rao wrote:
> > Ewen,
> > 
> > We did have at least one successful run (
> > https://builds.apache.org/job/Kafka-trunk/526/console) after the rat patch.
> > Perhaps you can file an Apache infra ticket to figure out why other runs
> > fail?
> > 
> > Thanks,
> > 
> > Jun
> > 
> > On Tue, Jul 7, 2015 at 11:16 AM, Ewen Cheslack-Postava <ew...@confluent.io>
> > wrote:
> > 
> > > Is there a way to run the Jenkins build with more detailed output, e.g.
> > > with one of gradle's debug flags? It looks like in the Jenkins environment
> > > the exclude rules (which should be ignoring the build/ directory) aren't
> > > working like they did for me and the reviewers, but there's not enough
> > > useful info here to figure out why. Although even with those turned on, I'm
> > > not sure the right info is logged...
> > >
> > > -Ewen
> > >
> > > On Tue, Jul 7, 2015 at 10:39 AM, Apache Jenkins Server <
> > > jenkins@builds.apache.org> wrote:
> > >
> > > > See <https://builds.apache.org/job/KafkaPreCommit/138/changes>
> > > >
> > > > Changes:
> > > >
> > > > [junrao] kafka-1367; Broker topic metadata not kept in sync with
> > > > ZooKeeper; patched by Ashish Singh; reviewed by Jun Rao
> > > >
> > > > [joe.stein] KAFKA-2304 Supported enabling JMX in Kafka Vagrantfile patch
> > > > by Stevo Slavic reviewed by Ewen Cheslack-Postava
> > > >
> > > > ------------------------------------------
> > > > Started by an SCM change
> > > > Building remotely on ubuntu-4 (docker Ubuntu ubuntu4 ubuntu) in
> > > workspace <
> > > > https://builds.apache.org/job/KafkaPreCommit/ws/>
> > > >  > git rev-parse --is-inside-work-tree # timeout=10
> > > > Fetching changes from the remote Git repository
> > > >  > git config remote.origin.url
> > > > https://git-wip-us.apache.org/repos/asf/kafka.git # timeout=10
> > > > Fetching upstream changes from
> > > > https://git-wip-us.apache.org/repos/asf/kafka.git
> > > >  > git --version # timeout=10
> > > >  > git fetch --tags --progress
> > > > https://git-wip-us.apache.org/repos/asf/kafka.git
> > > > +refs/heads/*:refs/remotes/origin/*
> > > >  > git rev-parse refs/remotes/origin/trunk^{commit} # timeout=10
> > > >  > git rev-parse refs/remotes/origin/origin/trunk^{commit} # timeout=10
> > > > Checking out Revision ad485e148d7ac104abe173687ba27dccff8e4d39
> > > > (refs/remotes/origin/trunk)
> > > >  > git config core.sparsecheckout # timeout=10
> > > >  > git checkout -f ad485e148d7ac104abe173687ba27dccff8e4d39
> > > >  > git rev-list 271b18d119fdc37952c36c573ba185aa672e3f96 # timeout=10
> > > > Setting
> > > >
> > > GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
> > > > [KafkaPreCommit] $ /bin/bash -xe /tmp/hudson8684664270792626732.sh
> > > > +
> > > >
> > > /home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1/bin/gradle
> > > > To honour the JVM settings for this build a new JVM will be forked.
> > > Please
> > > > consider using the daemon:
> > > > http://gradle.org/docs/2.1/userguide/gradle_daemon.html.
> > > > Download
> > > >
> > > https://repo1.maven.org/maven2/org/ajoberstar/grgit/0.2.3/grgit-0.2.3.pom
> > > > Download
> > > >
> > > https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit/3.3.0.201403021825-r/org.eclipse.jgit-3.3.0.201403021825-r.pom
> > > > Download
> > > >
> > > https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit-parent/3.3.0.201403021825-r/org.eclipse.jgit-parent-3.3.0.201403021825-r.pom
> > > > Download
> > > >
> > > https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit.ui/3.3.0.201403021825-r/org.eclipse.jgit.ui-3.3.0.201403021825-r.pom
> > > > Download
> > > >
> > > https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.jsch/0.0.7/jsch.agentproxy.jsch-0.0.7.pom
> > > > Download
> > > >
> > > https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy/0.0.7/jsch.agentproxy-0.0.7.pom
> > > > Download
> > > >
> > > https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.pageant/0.0.7/jsch.agentproxy.pageant-0.0.7.pom
> > > > Download
> > > >
> > > https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.sshagent/0.0.7/jsch.agentproxy.sshagent-0.0.7.pom
> > > > Download
> > > >
> > > https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-jna/0.0.7/jsch.agentproxy.usocket-jna-0.0.7.pom
> > > > Download
> > > >
> > > https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-nc/0.0.7/jsch.agentproxy.usocket-nc-0.0.7.pom
> > > > Download
> > > > https://repo1.maven.org/maven2/com/jcraft/jsch/0.1.46/jsch-0.1.46.pom
> > > > Download
> > > >
> > > https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.core/0.0.7/jsch.agentproxy.core-0.0.7.pom
> > > > Download
> > > >
> > > https://repo1.maven.org/maven2/org/ajoberstar/grgit/0.2.3/grgit-0.2.3.jar
> > > > Download
> > > >
> > > https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit/3.3.0.201403021825-r/org.eclipse.jgit-3.3.0.201403021825-r.jar
> > > > Download
> > > >
> > > https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit.ui/3.3.0.201403021825-r/org.eclipse.jgit.ui-3.3.0.201403021825-r.jar
> > > > Download
> > > >
> > > https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.jsch/0.0.7/jsch.agentproxy.jsch-0.0.7.jar
> > > > Download
> > > >
> > > https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.pageant/0.0.7/jsch.agentproxy.pageant-0.0.7.jar
> > > > Download
> > > >
> > > https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.sshagent/0.0.7/jsch.agentproxy.sshagent-0.0.7.jar
> > > > Download
> > > >
> > > https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-jna/0.0.7/jsch.agentproxy.usocket-jna-0.0.7.jar
> > > > Download
> > > >
> > > https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-nc/0.0.7/jsch.agentproxy.usocket-nc-0.0.7.jar
> > > > Download
> > > >
> > > https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.core/0.0.7/jsch.agentproxy.core-0.0.7.jar
> > > > Building project 'core' with Scala version 2.10.5
> > > > :downloadWrapper UP-TO-DATE
> > > >
> > > > BUILD SUCCESSFUL
> > > >
> > > > Total time: 26.723 secs
> > > > Setting
> > > >
> > > GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
> > > > [KafkaPreCommit] $ /bin/bash -xe /tmp/hudson5373108736072325347.sh
> > > > + ./gradlew -PscalaVersion=2.10.1 test
> > > > To honour the JVM settings for this build a new JVM will be forked.
> > > Please
> > > > consider using the daemon:
> > > > http://gradle.org/docs/2.4/userguide/gradle_daemon.html.
> > > > Building project 'core' with Scala version 2.10.1
> > > > :compileJava UP-TO-DATE
> > > > :processResources UP-TO-DATE
> > > > :classes UP-TO-DATE
> > > > :rat
> > > > Unknown license: <
> > > > https://builds.apache.org/job/KafkaPreCommit/ws/build/rat/rat-report.xml
> > > >
> > > > :rat FAILED
> > > >
> > > > FAILURE: Build failed with an exception.
> > > >
> > > > * Where:
> > > > Script '<
> > > https://builds.apache.org/job/KafkaPreCommit/ws/gradle/rat.gradle'>
> > > > line: 63
> > > >
> > > > * What went wrong:
> > > > Execution failed for task ':rat'.
> > > > > Found 1 files with unknown licenses.
> > > >
> > > > * Try:
> > > > Run with --stacktrace option to get the stack trace. Run with --info or
> > > > --debug option to get more log output.
> > > >
> > > > BUILD FAILED
> > > >
> > > > Total time: 31.846 secs
> > > > Build step 'Execute shell' marked build as failure
> > > > Setting
> > > >
> > > GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
> > > >
> > >
> > >
> > >
> > > --
> > > Thanks,
> > > Ewen


Re: Build failed in Jenkins: KafkaPreCommit #138

Posted by Joel Koshy <jj...@gmail.com>.
You can reproduce the rat failure by running: ./gradlew clean &&
gradlew test

If you run gradlew test again it does not report any error.

build.gradle uses Grgit to expand the gitignore files to exclude.  For
a clean build, the build directory does not exist (yet). So it is not
excluded by rat.  On subsequent builds it does exist, so it is
excluded.

The easiest fix is to probably explicitly specify an exclude for
build/rat/rat-report.xml

Thanks,

Joel

On Tue, Jul 07, 2015 at 05:12:12PM -0700, Jun Rao wrote:
> Ewen,
> 
> We did have at least one successful run (
> https://builds.apache.org/job/Kafka-trunk/526/console) after the rat patch.
> Perhaps you can file an Apache infra ticket to figure out why other runs
> fail?
> 
> Thanks,
> 
> Jun
> 
> On Tue, Jul 7, 2015 at 11:16 AM, Ewen Cheslack-Postava <ew...@confluent.io>
> wrote:
> 
> > Is there a way to run the Jenkins build with more detailed output, e.g.
> > with one of gradle's debug flags? It looks like in the Jenkins environment
> > the exclude rules (which should be ignoring the build/ directory) aren't
> > working like they did for me and the reviewers, but there's not enough
> > useful info here to figure out why. Although even with those turned on, I'm
> > not sure the right info is logged...
> >
> > -Ewen
> >
> > On Tue, Jul 7, 2015 at 10:39 AM, Apache Jenkins Server <
> > jenkins@builds.apache.org> wrote:
> >
> > > See <https://builds.apache.org/job/KafkaPreCommit/138/changes>
> > >
> > > Changes:
> > >
> > > [junrao] kafka-1367; Broker topic metadata not kept in sync with
> > > ZooKeeper; patched by Ashish Singh; reviewed by Jun Rao
> > >
> > > [joe.stein] KAFKA-2304 Supported enabling JMX in Kafka Vagrantfile patch
> > > by Stevo Slavic reviewed by Ewen Cheslack-Postava
> > >
> > > ------------------------------------------
> > > Started by an SCM change
> > > Building remotely on ubuntu-4 (docker Ubuntu ubuntu4 ubuntu) in
> > workspace <
> > > https://builds.apache.org/job/KafkaPreCommit/ws/>
> > >  > git rev-parse --is-inside-work-tree # timeout=10
> > > Fetching changes from the remote Git repository
> > >  > git config remote.origin.url
> > > https://git-wip-us.apache.org/repos/asf/kafka.git # timeout=10
> > > Fetching upstream changes from
> > > https://git-wip-us.apache.org/repos/asf/kafka.git
> > >  > git --version # timeout=10
> > >  > git fetch --tags --progress
> > > https://git-wip-us.apache.org/repos/asf/kafka.git
> > > +refs/heads/*:refs/remotes/origin/*
> > >  > git rev-parse refs/remotes/origin/trunk^{commit} # timeout=10
> > >  > git rev-parse refs/remotes/origin/origin/trunk^{commit} # timeout=10
> > > Checking out Revision ad485e148d7ac104abe173687ba27dccff8e4d39
> > > (refs/remotes/origin/trunk)
> > >  > git config core.sparsecheckout # timeout=10
> > >  > git checkout -f ad485e148d7ac104abe173687ba27dccff8e4d39
> > >  > git rev-list 271b18d119fdc37952c36c573ba185aa672e3f96 # timeout=10
> > > Setting
> > >
> > GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
> > > [KafkaPreCommit] $ /bin/bash -xe /tmp/hudson8684664270792626732.sh
> > > +
> > >
> > /home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1/bin/gradle
> > > To honour the JVM settings for this build a new JVM will be forked.
> > Please
> > > consider using the daemon:
> > > http://gradle.org/docs/2.1/userguide/gradle_daemon.html.
> > > Download
> > >
> > https://repo1.maven.org/maven2/org/ajoberstar/grgit/0.2.3/grgit-0.2.3.pom
> > > Download
> > >
> > https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit/3.3.0.201403021825-r/org.eclipse.jgit-3.3.0.201403021825-r.pom
> > > Download
> > >
> > https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit-parent/3.3.0.201403021825-r/org.eclipse.jgit-parent-3.3.0.201403021825-r.pom
> > > Download
> > >
> > https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit.ui/3.3.0.201403021825-r/org.eclipse.jgit.ui-3.3.0.201403021825-r.pom
> > > Download
> > >
> > https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.jsch/0.0.7/jsch.agentproxy.jsch-0.0.7.pom
> > > Download
> > >
> > https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy/0.0.7/jsch.agentproxy-0.0.7.pom
> > > Download
> > >
> > https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.pageant/0.0.7/jsch.agentproxy.pageant-0.0.7.pom
> > > Download
> > >
> > https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.sshagent/0.0.7/jsch.agentproxy.sshagent-0.0.7.pom
> > > Download
> > >
> > https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-jna/0.0.7/jsch.agentproxy.usocket-jna-0.0.7.pom
> > > Download
> > >
> > https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-nc/0.0.7/jsch.agentproxy.usocket-nc-0.0.7.pom
> > > Download
> > > https://repo1.maven.org/maven2/com/jcraft/jsch/0.1.46/jsch-0.1.46.pom
> > > Download
> > >
> > https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.core/0.0.7/jsch.agentproxy.core-0.0.7.pom
> > > Download
> > >
> > https://repo1.maven.org/maven2/org/ajoberstar/grgit/0.2.3/grgit-0.2.3.jar
> > > Download
> > >
> > https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit/3.3.0.201403021825-r/org.eclipse.jgit-3.3.0.201403021825-r.jar
> > > Download
> > >
> > https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit.ui/3.3.0.201403021825-r/org.eclipse.jgit.ui-3.3.0.201403021825-r.jar
> > > Download
> > >
> > https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.jsch/0.0.7/jsch.agentproxy.jsch-0.0.7.jar
> > > Download
> > >
> > https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.pageant/0.0.7/jsch.agentproxy.pageant-0.0.7.jar
> > > Download
> > >
> > https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.sshagent/0.0.7/jsch.agentproxy.sshagent-0.0.7.jar
> > > Download
> > >
> > https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-jna/0.0.7/jsch.agentproxy.usocket-jna-0.0.7.jar
> > > Download
> > >
> > https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-nc/0.0.7/jsch.agentproxy.usocket-nc-0.0.7.jar
> > > Download
> > >
> > https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.core/0.0.7/jsch.agentproxy.core-0.0.7.jar
> > > Building project 'core' with Scala version 2.10.5
> > > :downloadWrapper UP-TO-DATE
> > >
> > > BUILD SUCCESSFUL
> > >
> > > Total time: 26.723 secs
> > > Setting
> > >
> > GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
> > > [KafkaPreCommit] $ /bin/bash -xe /tmp/hudson5373108736072325347.sh
> > > + ./gradlew -PscalaVersion=2.10.1 test
> > > To honour the JVM settings for this build a new JVM will be forked.
> > Please
> > > consider using the daemon:
> > > http://gradle.org/docs/2.4/userguide/gradle_daemon.html.
> > > Building project 'core' with Scala version 2.10.1
> > > :compileJava UP-TO-DATE
> > > :processResources UP-TO-DATE
> > > :classes UP-TO-DATE
> > > :rat
> > > Unknown license: <
> > > https://builds.apache.org/job/KafkaPreCommit/ws/build/rat/rat-report.xml
> > >
> > > :rat FAILED
> > >
> > > FAILURE: Build failed with an exception.
> > >
> > > * Where:
> > > Script '<
> > https://builds.apache.org/job/KafkaPreCommit/ws/gradle/rat.gradle'>
> > > line: 63
> > >
> > > * What went wrong:
> > > Execution failed for task ':rat'.
> > > > Found 1 files with unknown licenses.
> > >
> > > * Try:
> > > Run with --stacktrace option to get the stack trace. Run with --info or
> > > --debug option to get more log output.
> > >
> > > BUILD FAILED
> > >
> > > Total time: 31.846 secs
> > > Build step 'Execute shell' marked build as failure
> > > Setting
> > >
> > GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
> > >
> >
> >
> >
> > --
> > Thanks,
> > Ewen

Re: Build failed in Jenkins: KafkaPreCommit #138

Posted by Jun Rao <ju...@confluent.io>.
Ewen,

We did have at least one successful run (
https://builds.apache.org/job/Kafka-trunk/526/console) after the rat patch.
Perhaps you can file an Apache infra ticket to figure out why other runs
fail?

Thanks,

Jun

On Tue, Jul 7, 2015 at 11:16 AM, Ewen Cheslack-Postava <ew...@confluent.io>
wrote:

> Is there a way to run the Jenkins build with more detailed output, e.g.
> with one of gradle's debug flags? It looks like in the Jenkins environment
> the exclude rules (which should be ignoring the build/ directory) aren't
> working like they did for me and the reviewers, but there's not enough
> useful info here to figure out why. Although even with those turned on, I'm
> not sure the right info is logged...
>
> -Ewen
>
> On Tue, Jul 7, 2015 at 10:39 AM, Apache Jenkins Server <
> jenkins@builds.apache.org> wrote:
>
> > See <https://builds.apache.org/job/KafkaPreCommit/138/changes>
> >
> > Changes:
> >
> > [junrao] kafka-1367; Broker topic metadata not kept in sync with
> > ZooKeeper; patched by Ashish Singh; reviewed by Jun Rao
> >
> > [joe.stein] KAFKA-2304 Supported enabling JMX in Kafka Vagrantfile patch
> > by Stevo Slavic reviewed by Ewen Cheslack-Postava
> >
> > ------------------------------------------
> > Started by an SCM change
> > Building remotely on ubuntu-4 (docker Ubuntu ubuntu4 ubuntu) in
> workspace <
> > https://builds.apache.org/job/KafkaPreCommit/ws/>
> >  > git rev-parse --is-inside-work-tree # timeout=10
> > Fetching changes from the remote Git repository
> >  > git config remote.origin.url
> > https://git-wip-us.apache.org/repos/asf/kafka.git # timeout=10
> > Fetching upstream changes from
> > https://git-wip-us.apache.org/repos/asf/kafka.git
> >  > git --version # timeout=10
> >  > git fetch --tags --progress
> > https://git-wip-us.apache.org/repos/asf/kafka.git
> > +refs/heads/*:refs/remotes/origin/*
> >  > git rev-parse refs/remotes/origin/trunk^{commit} # timeout=10
> >  > git rev-parse refs/remotes/origin/origin/trunk^{commit} # timeout=10
> > Checking out Revision ad485e148d7ac104abe173687ba27dccff8e4d39
> > (refs/remotes/origin/trunk)
> >  > git config core.sparsecheckout # timeout=10
> >  > git checkout -f ad485e148d7ac104abe173687ba27dccff8e4d39
> >  > git rev-list 271b18d119fdc37952c36c573ba185aa672e3f96 # timeout=10
> > Setting
> >
> GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
> > [KafkaPreCommit] $ /bin/bash -xe /tmp/hudson8684664270792626732.sh
> > +
> >
> /home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1/bin/gradle
> > To honour the JVM settings for this build a new JVM will be forked.
> Please
> > consider using the daemon:
> > http://gradle.org/docs/2.1/userguide/gradle_daemon.html.
> > Download
> >
> https://repo1.maven.org/maven2/org/ajoberstar/grgit/0.2.3/grgit-0.2.3.pom
> > Download
> >
> https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit/3.3.0.201403021825-r/org.eclipse.jgit-3.3.0.201403021825-r.pom
> > Download
> >
> https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit-parent/3.3.0.201403021825-r/org.eclipse.jgit-parent-3.3.0.201403021825-r.pom
> > Download
> >
> https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit.ui/3.3.0.201403021825-r/org.eclipse.jgit.ui-3.3.0.201403021825-r.pom
> > Download
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.jsch/0.0.7/jsch.agentproxy.jsch-0.0.7.pom
> > Download
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy/0.0.7/jsch.agentproxy-0.0.7.pom
> > Download
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.pageant/0.0.7/jsch.agentproxy.pageant-0.0.7.pom
> > Download
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.sshagent/0.0.7/jsch.agentproxy.sshagent-0.0.7.pom
> > Download
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-jna/0.0.7/jsch.agentproxy.usocket-jna-0.0.7.pom
> > Download
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-nc/0.0.7/jsch.agentproxy.usocket-nc-0.0.7.pom
> > Download
> > https://repo1.maven.org/maven2/com/jcraft/jsch/0.1.46/jsch-0.1.46.pom
> > Download
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.core/0.0.7/jsch.agentproxy.core-0.0.7.pom
> > Download
> >
> https://repo1.maven.org/maven2/org/ajoberstar/grgit/0.2.3/grgit-0.2.3.jar
> > Download
> >
> https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit/3.3.0.201403021825-r/org.eclipse.jgit-3.3.0.201403021825-r.jar
> > Download
> >
> https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit.ui/3.3.0.201403021825-r/org.eclipse.jgit.ui-3.3.0.201403021825-r.jar
> > Download
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.jsch/0.0.7/jsch.agentproxy.jsch-0.0.7.jar
> > Download
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.pageant/0.0.7/jsch.agentproxy.pageant-0.0.7.jar
> > Download
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.sshagent/0.0.7/jsch.agentproxy.sshagent-0.0.7.jar
> > Download
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-jna/0.0.7/jsch.agentproxy.usocket-jna-0.0.7.jar
> > Download
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-nc/0.0.7/jsch.agentproxy.usocket-nc-0.0.7.jar
> > Download
> >
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.core/0.0.7/jsch.agentproxy.core-0.0.7.jar
> > Building project 'core' with Scala version 2.10.5
> > :downloadWrapper UP-TO-DATE
> >
> > BUILD SUCCESSFUL
> >
> > Total time: 26.723 secs
> > Setting
> >
> GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
> > [KafkaPreCommit] $ /bin/bash -xe /tmp/hudson5373108736072325347.sh
> > + ./gradlew -PscalaVersion=2.10.1 test
> > To honour the JVM settings for this build a new JVM will be forked.
> Please
> > consider using the daemon:
> > http://gradle.org/docs/2.4/userguide/gradle_daemon.html.
> > Building project 'core' with Scala version 2.10.1
> > :compileJava UP-TO-DATE
> > :processResources UP-TO-DATE
> > :classes UP-TO-DATE
> > :rat
> > Unknown license: <
> > https://builds.apache.org/job/KafkaPreCommit/ws/build/rat/rat-report.xml
> >
> > :rat FAILED
> >
> > FAILURE: Build failed with an exception.
> >
> > * Where:
> > Script '<
> https://builds.apache.org/job/KafkaPreCommit/ws/gradle/rat.gradle'>
> > line: 63
> >
> > * What went wrong:
> > Execution failed for task ':rat'.
> > > Found 1 files with unknown licenses.
> >
> > * Try:
> > Run with --stacktrace option to get the stack trace. Run with --info or
> > --debug option to get more log output.
> >
> > BUILD FAILED
> >
> > Total time: 31.846 secs
> > Build step 'Execute shell' marked build as failure
> > Setting
> >
> GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
> >
>
>
>
> --
> Thanks,
> Ewen
>

Re: Build failed in Jenkins: KafkaPreCommit #138

Posted by Ewen Cheslack-Postava <ew...@confluent.io>.
Is there a way to run the Jenkins build with more detailed output, e.g.
with one of gradle's debug flags? It looks like in the Jenkins environment
the exclude rules (which should be ignoring the build/ directory) aren't
working like they did for me and the reviewers, but there's not enough
useful info here to figure out why. Although even with those turned on, I'm
not sure the right info is logged...

-Ewen

On Tue, Jul 7, 2015 at 10:39 AM, Apache Jenkins Server <
jenkins@builds.apache.org> wrote:

> See <https://builds.apache.org/job/KafkaPreCommit/138/changes>
>
> Changes:
>
> [junrao] kafka-1367; Broker topic metadata not kept in sync with
> ZooKeeper; patched by Ashish Singh; reviewed by Jun Rao
>
> [joe.stein] KAFKA-2304 Supported enabling JMX in Kafka Vagrantfile patch
> by Stevo Slavic reviewed by Ewen Cheslack-Postava
>
> ------------------------------------------
> Started by an SCM change
> Building remotely on ubuntu-4 (docker Ubuntu ubuntu4 ubuntu) in workspace <
> https://builds.apache.org/job/KafkaPreCommit/ws/>
>  > git rev-parse --is-inside-work-tree # timeout=10
> Fetching changes from the remote Git repository
>  > git config remote.origin.url
> https://git-wip-us.apache.org/repos/asf/kafka.git # timeout=10
> Fetching upstream changes from
> https://git-wip-us.apache.org/repos/asf/kafka.git
>  > git --version # timeout=10
>  > git fetch --tags --progress
> https://git-wip-us.apache.org/repos/asf/kafka.git
> +refs/heads/*:refs/remotes/origin/*
>  > git rev-parse refs/remotes/origin/trunk^{commit} # timeout=10
>  > git rev-parse refs/remotes/origin/origin/trunk^{commit} # timeout=10
> Checking out Revision ad485e148d7ac104abe173687ba27dccff8e4d39
> (refs/remotes/origin/trunk)
>  > git config core.sparsecheckout # timeout=10
>  > git checkout -f ad485e148d7ac104abe173687ba27dccff8e4d39
>  > git rev-list 271b18d119fdc37952c36c573ba185aa672e3f96 # timeout=10
> Setting
> GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
> [KafkaPreCommit] $ /bin/bash -xe /tmp/hudson8684664270792626732.sh
> +
> /home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1/bin/gradle
> To honour the JVM settings for this build a new JVM will be forked. Please
> consider using the daemon:
> http://gradle.org/docs/2.1/userguide/gradle_daemon.html.
> Download
> https://repo1.maven.org/maven2/org/ajoberstar/grgit/0.2.3/grgit-0.2.3.pom
> Download
> https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit/3.3.0.201403021825-r/org.eclipse.jgit-3.3.0.201403021825-r.pom
> Download
> https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit-parent/3.3.0.201403021825-r/org.eclipse.jgit-parent-3.3.0.201403021825-r.pom
> Download
> https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit.ui/3.3.0.201403021825-r/org.eclipse.jgit.ui-3.3.0.201403021825-r.pom
> Download
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.jsch/0.0.7/jsch.agentproxy.jsch-0.0.7.pom
> Download
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy/0.0.7/jsch.agentproxy-0.0.7.pom
> Download
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.pageant/0.0.7/jsch.agentproxy.pageant-0.0.7.pom
> Download
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.sshagent/0.0.7/jsch.agentproxy.sshagent-0.0.7.pom
> Download
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-jna/0.0.7/jsch.agentproxy.usocket-jna-0.0.7.pom
> Download
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-nc/0.0.7/jsch.agentproxy.usocket-nc-0.0.7.pom
> Download
> https://repo1.maven.org/maven2/com/jcraft/jsch/0.1.46/jsch-0.1.46.pom
> Download
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.core/0.0.7/jsch.agentproxy.core-0.0.7.pom
> Download
> https://repo1.maven.org/maven2/org/ajoberstar/grgit/0.2.3/grgit-0.2.3.jar
> Download
> https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit/3.3.0.201403021825-r/org.eclipse.jgit-3.3.0.201403021825-r.jar
> Download
> https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit.ui/3.3.0.201403021825-r/org.eclipse.jgit.ui-3.3.0.201403021825-r.jar
> Download
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.jsch/0.0.7/jsch.agentproxy.jsch-0.0.7.jar
> Download
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.pageant/0.0.7/jsch.agentproxy.pageant-0.0.7.jar
> Download
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.sshagent/0.0.7/jsch.agentproxy.sshagent-0.0.7.jar
> Download
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-jna/0.0.7/jsch.agentproxy.usocket-jna-0.0.7.jar
> Download
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-nc/0.0.7/jsch.agentproxy.usocket-nc-0.0.7.jar
> Download
> https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.core/0.0.7/jsch.agentproxy.core-0.0.7.jar
> Building project 'core' with Scala version 2.10.5
> :downloadWrapper UP-TO-DATE
>
> BUILD SUCCESSFUL
>
> Total time: 26.723 secs
> Setting
> GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
> [KafkaPreCommit] $ /bin/bash -xe /tmp/hudson5373108736072325347.sh
> + ./gradlew -PscalaVersion=2.10.1 test
> To honour the JVM settings for this build a new JVM will be forked. Please
> consider using the daemon:
> http://gradle.org/docs/2.4/userguide/gradle_daemon.html.
> Building project 'core' with Scala version 2.10.1
> :compileJava UP-TO-DATE
> :processResources UP-TO-DATE
> :classes UP-TO-DATE
> :rat
> Unknown license: <
> https://builds.apache.org/job/KafkaPreCommit/ws/build/rat/rat-report.xml>
> :rat FAILED
>
> FAILURE: Build failed with an exception.
>
> * Where:
> Script '<https://builds.apache.org/job/KafkaPreCommit/ws/gradle/rat.gradle'>
> line: 63
>
> * What went wrong:
> Execution failed for task ':rat'.
> > Found 1 files with unknown licenses.
>
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or
> --debug option to get more log output.
>
> BUILD FAILED
>
> Total time: 31.846 secs
> Build step 'Execute shell' marked build as failure
> Setting
> GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
>



-- 
Thanks,
Ewen

Build failed in Jenkins: KafkaPreCommit #138

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/KafkaPreCommit/138/changes>

Changes:

[junrao] kafka-1367; Broker topic metadata not kept in sync with ZooKeeper; patched by Ashish Singh; reviewed by Jun Rao

[joe.stein] KAFKA-2304 Supported enabling JMX in Kafka Vagrantfile patch by Stevo Slavic reviewed by Ewen Cheslack-Postava

------------------------------------------
Started by an SCM change
Building remotely on ubuntu-4 (docker Ubuntu ubuntu4 ubuntu) in workspace <https://builds.apache.org/job/KafkaPreCommit/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://git-wip-us.apache.org/repos/asf/kafka.git # timeout=10
Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/kafka.git
 > git --version # timeout=10
 > git fetch --tags --progress https://git-wip-us.apache.org/repos/asf/kafka.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/trunk^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/trunk^{commit} # timeout=10
Checking out Revision ad485e148d7ac104abe173687ba27dccff8e4d39 (refs/remotes/origin/trunk)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f ad485e148d7ac104abe173687ba27dccff8e4d39
 > git rev-list 271b18d119fdc37952c36c573ba185aa672e3f96 # timeout=10
Setting GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
[KafkaPreCommit] $ /bin/bash -xe /tmp/hudson8684664270792626732.sh
+ /home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1/bin/gradle
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: http://gradle.org/docs/2.1/userguide/gradle_daemon.html.
Download https://repo1.maven.org/maven2/org/ajoberstar/grgit/0.2.3/grgit-0.2.3.pom
Download https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit/3.3.0.201403021825-r/org.eclipse.jgit-3.3.0.201403021825-r.pom
Download https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit-parent/3.3.0.201403021825-r/org.eclipse.jgit-parent-3.3.0.201403021825-r.pom
Download https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit.ui/3.3.0.201403021825-r/org.eclipse.jgit.ui-3.3.0.201403021825-r.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.jsch/0.0.7/jsch.agentproxy.jsch-0.0.7.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy/0.0.7/jsch.agentproxy-0.0.7.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.pageant/0.0.7/jsch.agentproxy.pageant-0.0.7.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.sshagent/0.0.7/jsch.agentproxy.sshagent-0.0.7.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-jna/0.0.7/jsch.agentproxy.usocket-jna-0.0.7.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-nc/0.0.7/jsch.agentproxy.usocket-nc-0.0.7.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch/0.1.46/jsch-0.1.46.pom
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.core/0.0.7/jsch.agentproxy.core-0.0.7.pom
Download https://repo1.maven.org/maven2/org/ajoberstar/grgit/0.2.3/grgit-0.2.3.jar
Download https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit/3.3.0.201403021825-r/org.eclipse.jgit-3.3.0.201403021825-r.jar
Download https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit.ui/3.3.0.201403021825-r/org.eclipse.jgit.ui-3.3.0.201403021825-r.jar
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.jsch/0.0.7/jsch.agentproxy.jsch-0.0.7.jar
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.pageant/0.0.7/jsch.agentproxy.pageant-0.0.7.jar
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.sshagent/0.0.7/jsch.agentproxy.sshagent-0.0.7.jar
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-jna/0.0.7/jsch.agentproxy.usocket-jna-0.0.7.jar
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.usocket-nc/0.0.7/jsch.agentproxy.usocket-nc-0.0.7.jar
Download https://repo1.maven.org/maven2/com/jcraft/jsch.agentproxy.core/0.0.7/jsch.agentproxy.core-0.0.7.jar
Building project 'core' with Scala version 2.10.5
:downloadWrapper UP-TO-DATE

BUILD SUCCESSFUL

Total time: 26.723 secs
Setting GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1
[KafkaPreCommit] $ /bin/bash -xe /tmp/hudson5373108736072325347.sh
+ ./gradlew -PscalaVersion=2.10.1 test
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: http://gradle.org/docs/2.4/userguide/gradle_daemon.html.
Building project 'core' with Scala version 2.10.1
:compileJava UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:rat
Unknown license: <https://builds.apache.org/job/KafkaPreCommit/ws/build/rat/rat-report.xml>
:rat FAILED

FAILURE: Build failed with an exception.

* Where:
Script '<https://builds.apache.org/job/KafkaPreCommit/ws/gradle/rat.gradle'> line: 63

* What went wrong:
Execution failed for task ':rat'.
> Found 1 files with unknown licenses.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 31.846 secs
Build step 'Execute shell' marked build as failure
Setting GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1