You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Joe Stein (JIRA)" <ji...@apache.org> on 2014/09/24 05:35:35 UTC

[jira] [Commented] (INFRA-8395) kafka-trunk needs job setting changes for recent updates, build failing

    [ https://issues.apache.org/jira/browse/INFRA-8395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14145833#comment-14145833 ] 

Joe Stein commented on INFRA-8395:
----------------------------------

[~junrao] updated the Jenkins task but without gradle it is still failing 

{code}

See <https://builds.apache.org/job/Kafka-trunk/275/>

------------------------------------------
Started by user junrao
Building remotely on ubuntu-1 (Ubuntu ubuntu) in workspace <https://builds.apache.org/job/Kafka-trunk/ws/>
 > git rev-parse --is-inside-work-tree
Fetching changes from the remote Git repository
 > git config remote.origin.url https://git-wip-us.apache.org/repos/asf/kafka.git
Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/kafka.git
 > git --version
 > git fetch --tags --progress https://git-wip-us.apache.org/repos/asf/kafka.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/trunk^{commit}
Checking out Revision 27bc37289c316fb5a978423f4b2c88f49ae15e52 (origin/trunk)
 > git config core.sparsecheckout
 > git checkout -f 27bc37289c316fb5a978423f4b2c88f49ae15e52
 > git rev-list 27bc37289c316fb5a978423f4b2c88f49ae15e52
[Kafka-trunk] $ /bin/bash -xe /tmp/hudson77096854886494881.sh
+ gradle
/tmp/hudson77096854886494881.sh: line 2: gradle: command not found
Build step 'Execute shell' marked build as failure

{code}

can we get gradle installed for this to run please? also can i get access to-do these mods moving forward please?

Thanks in advance!!! 

> kafka-trunk needs job setting changes for recent updates, build failing
> -----------------------------------------------------------------------
>
>                 Key: INFRA-8395
>                 URL: https://issues.apache.org/jira/browse/INFRA-8395
>             Project: Infrastructure
>          Issue Type: Bug
>            Reporter: Joe Stein
>
> Hi, we recently made a change to Kafka requiring that gradle be installed and run prior to executing the ./gradlew commands
> https://issues.apache.org/jira/browse/KAFKA-1490
> Our builds are failing now but do not have permission to update the job settings.  
> We also need gradle installed on the machine but wasn't sure if that is there, if I could be granted permission to-do it or if it could be done by infra?
> This change stemmed from http://mail-archives.apache.org/mod_mbox/incubator-general/201406.mbox/%3CCADiKvVs%3DtKDbp3TWRnxds5dVepqcX4kWeYbj7xUx%2BZoDNM_Lyg%40mail.gmail.com%3E and our change was consistent with other projects so hoping this is an easy update.
> {code}
> See <https://builds.apache.org/job/Kafka-trunk/273/changes>
> Changes:
> [joe.stein] KAFKA-1490 remove gradlew initial setup output from source distribution patch by Ivan Lyutov reviewed by Joe Stein
> ------------------------------------------
> Started by an SCM change
> Building remotely on H11 (Ubuntu ubuntu) in workspace <https://builds.apache.org/job/Kafka-trunk/ws/>
>  > git rev-parse --is-inside-work-tree
> Fetching changes from the remote Git repository
>  > git config remote.origin.url https://git-wip-us.apache.org/repos/asf/kafka.git
> Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/kafka.git
>  > git --version
>  > git fetch --tags --progress https://git-wip-us.apache.org/repos/asf/kafka.git +refs/heads/*:refs/remotes/origin/*
>  > git rev-parse origin/trunk^{commit}
> Checking out Revision db0b0b8509ce904a0eab021a0453a80cecf3efb7 (origin/trunk)
>  > git config core.sparsecheckout
>  > git checkout -f db0b0b8509ce904a0eab021a0453a80cecf3efb7
>  > git rev-list d2d1ef357b3b07e83f880ee2a6e02fb3c18ae011
> [Kafka-trunk] $ /bin/bash -xe /tmp/hudson7293020236838749194.sh
> + ./gradlew -PscalaVersion=2.10.1 test
> Exception in thread "main" java.lang.NoClassDefFoundError: org/gradle/wrapper/GradleWrapperMain
> Caused by: java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: org.gradle.wrapper.GradleWrapperMain.  Program will exit.
> Build step 'Execute shell' marked build as failure
> {code}
> Thanks in advance!!!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)