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 06:11:33 UTC

[jira] [Updated] (INFRA-8395) kafka-trunk needs gradle installed for jenkins, build failing

     [ https://issues.apache.org/jira/browse/INFRA-8395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Stein updated INFRA-8395:
-----------------------------
    Description: 
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

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.

Thanks in advance!!!

  was:
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!!!


> kafka-trunk needs gradle installed for jenkins, 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
> 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.
> Thanks in advance!!!



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