Netflix / SimianArmy

Tools for keeping your cloud operating in top form. Chaos Monkey is a resiliency tool that helps applications tolerate random instance failures.
Apache License 2.0
7.97k stars 1.14k forks source link

Gradle Build Failure #184

Closed mwhite14 closed 9 years ago

mwhite14 commented 9 years ago

[DEBUG] [org.gradle.configuration.project.BuildScriptProcessor] Timing: Running the build script took 3.716 secs [ERROR] [org.gradle.BuildExceptionReporter] [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception. [ERROR] [org.gradle.BuildExceptionReporter] [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong: [ERROR] [org.gradle.BuildExceptionReporter] nebula/plugin/netflixossproject/NetflixOssProjectPlugin : Unsupported major.minor version 51.0 [ERROR] [org.gradle.BuildExceptionReporter] [ERROR] [org.gradle.BuildExceptionReporter] * Try: [ERROR] [org.gradle.BuildExceptionReporter] Run with --stacktrace option to get the stack trace. [LIFECYCLE] [org.gradle.BuildResultLogger] [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED [LIFECYCLE] [org.gradle.BuildResultLogger] [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 6.445 secs

java version "1.6.0_45" Java(TM) SE Runtime Environment (build 1.6.0_45-b06) Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)

rspieldenner commented 9 years ago

Our grade plugins require JDK7 to run. I believe Simian Army will still target JDK6 bytecode when producing a jar.

On Thu, Apr 16, 2015 at 1:20 PM, Michael notifications@github.com wrote:

20:17:40.507 [DEBUG] [org.gradle.configuration.project.BuildScriptProcessor] Timing: Running the build script took 3.716 secs 20:17:40.512 [ERROR] [org.gradle.BuildExceptionReporter] 20:17:40.513 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception. [ERROR] [org.gradle.BuildExceptionReporter] [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong: [ERROR] [org.gradle.BuildExceptionReporter] nebula/plugin/netflixossproject/NetflixOssProjectPlugin : Unsupported major.minor version 51.0 [ERROR] [org.gradle.BuildExceptionReporter] [ERROR] [org.gradle.BuildExceptionReporter] * Try: [ERROR] [org.gradle.BuildExceptionReporter] Run with --stacktrace option to get the stack trace. [LIFECYCLE] [org.gradle.BuildResultLogger] [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED [LIFECYCLE] [org.gradle.BuildResultLogger] [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 6.445 secs

java version "1.6.0_45" Java(TM) SE Runtime Environment (build 1.6.0_45-b06) Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)

— Reply to this email directly or view it on GitHub https://github.com/Netflix/SimianArmy/issues/184.

mwhite14 commented 9 years ago

You may want to update the Wiki, it says to use JDK6 to build.

https://github.com/Netflix/SimianArmy/wiki/Quick-Start-Guide#build-the-monkeys-with-gradle

kentpak commented 9 years ago

I had the same issue with java version "1.7.0_71" Java(TM) SE Runtime Environment (build 1.7.0_71-b14) Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

Logs:- Download http://plugins.gradle.org/m2/com/googlecode/javaewah/JavaEWAH/0.7.9/JavaEWAH-0.7.9.pom Download http://plugins.gradle.org/m2/org/apache/httpcomponents/httpcore/4.2.4/httpcore-4.2.4.pom Download http://plugins.gradle.org/m2/org/apache/httpcomponents/httpcomponents-core/4.2.4/httpcomponents-core-4.2.4.pom

FAILURE: Build failed with an exception.

BUILD FAILED

kentpak commented 9 years ago

The recent jenkins build failed as well. https://netflixoss.ci.cloudbees.com/job/SimianArmy-master/

mwhite14 commented 9 years ago

I had no further issues after moving to java 1.7.0_80

ebukoski commented 9 years ago

I bumped the cloudbees jenkins build to 1.7. It is working now.

Rob updated the wiki.

On Fri, Apr 17, 2015 at 8:50 AM, Michael notifications@github.com wrote:

Closed #184 https://github.com/Netflix/SimianArmy/issues/184.

— Reply to this email directly or view it on GitHub https://github.com/Netflix/SimianArmy/issues/184#event-284024248.

vishnudxb commented 9 years ago

Even the Gradle build fails for JDK8 however its working fine with JDK7

mwhite14 commented 9 years ago

I noticed the same thing.