Comments (5)
The Simian Army code comes with a gradle wrapper so you can use it to
build. I am not sure what caused your error. But you can try to follow the
quick start manual to run
./gradlew clean build
Let me know if you still see errors.
Thanks,
Michael
On Thu, Jun 13, 2013 at 12:49 AM, akshaypatel122826 <
[email protected]> wrote:
Hi,
We are working on one of simian army POC project and we have taken source
code from netflix.
We have setup enviroment in our local machine and try to build using
gradle.
We have added version of gradle-wrapper is 1.6. We are executing the
gradle build command then it goes for downloading file onhttp://dist.codehaus.org/gradle/gradle-0.9-rc-3-bin.zip url and then it
gives below error.A problem occurred evaluating script.
Cause: No signature of method:
org.gradle.api.internal.initialization.DefaultScr
iptHandler.maven() is applicable for argument types:
(buildscript_gradle_8e14430
1b5a9a410ba0da9dfa59bd03b$_run_closure1_closure3) values:
[buildscript_gradle_8e
144301b5a9a410ba0da9dfa59bd03b$_run_closure1_closure3@159d510]
Possible solutions: wait(), any(), every(), wait(long),
any(groovy.lang.Closure)
, grep(java.lang.Object)Please help us in building code using gradle.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/65
.
from simianarmy.
Hi,
we have resolved above metioned error. Now we are facing below error while doing build.
Kinldy help in below issue.
-
What went wrong:
A problem occurred evaluating script.Could not find property 'commitNewVersion' on root project 'simianarmy'.
-
Try:
Run with --info or --debug option to get more log output.
Exception:
Exception is:
org.gradle.api.GradleScriptException: A problem occurred evaluating script.
at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:54)
at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:127)
at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.applyScript(DefaultObjectConfigurationAction.java:82)
at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.access$000(DefaultObjectConfigurationAction.java:32)
at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$1.run(DefaultObjectConfigurationAction.java:54)
at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.execute(DefaultObjectConfigurationAction.java:114)
at org.gradle.api.internal.project.AbstractProject.apply(AbstractProject.java:840)
at org.gradle.api.Project$apply.call(Unknown Source)
at org.gradle.api.internal.project.ProjectScript.apply(ProjectScript.groovy:34)
at org.gradle.api.Script$apply.callCurrent(Unknown Source)
at build_5fo6ghv947lob49oe2q90ddn8o.run(E:\SimianArmy-master\build.gradle:19)
at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:52)
at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:127)
at org.gradle.configuration.BuildScriptProcessor.evaluate(BuildScriptProcessor.java:38)
at org.gradle.configuration.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:43)
at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:462)
at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:74)
at org.gradle.configuration.ProjectEvaluationConfigurer.execute(ProjectEvaluationConfigurer.java:23)
at org.gradle.configuration.ProjectEvaluationConfigurer.execute(ProjectEvaluationConfigurer.java:21)
at org.gradle.configuration.DefaultBuildConfigurer$1.execute(DefaultBuildConfigurer.java:38)
at org.gradle.configuration.DefaultBuildConfigurer$1.execute(DefaultBuildConfigurer.java:35)
at org.gradle.api.internal.project.AbstractProject.configure(AbstractProject.java:438)
at org.gradle.api.internal.project.AbstractProject.allprojects(AbstractProject.java:433)
at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:139)
at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:110)
at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:78)
at org.gradle.launcher.cli.RunBuildAction.execute(RunBuildAction.java:42)
at org.gradle.launcher.cli.RunBuildAction.execute(RunBuildAction.java:28)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:201)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:174)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:170)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:139)
at org.gradle.launcher.exec.ExceptionReportingAction.execute(ExceptionReportingAction.java:31)
at org.gradle.launcher.exec.ExceptionReportingAction.execute(ExceptionReportingAction.java:20)
at org.gradle.launcher.Main.doAction(Main.java:48)
at org.gradle.launcher.exec.EntryPoint.run(EntryPoint.java:45)
at org.gradle.launcher.Main.main(Main.java:39)
at org.gradle.launcher.ProcessBootstrap.runNoExit(ProcessBootstrap.java:50)
at org.gradle.launcher.ProcessBootstrap.run(ProcessBootstrap.java:32)
at org.gradle.launcher.GradleMain.main(GradleMain.java:24)
Caused by: groovy.lang.MissingPropertyException: Could not find property 'commitNewVersion' on root project 'simianarmy'.
at org.gradle.api.internal.AbstractDynamicObject.propertyMissingException(AbstractDynamicObject.java:43)
at org.gradle.api.internal.AbstractDynamicObject.getProperty(AbstractDynamicObject.java:35)
at org.gradle.api.internal.CompositeDynamicObject.getProperty(CompositeDynamicObject.java:60)
at org.gradle.api.internal.project.DefaultProject_Decorated.getProperty(Unknown Source)
at org.gradle.groovy.scripts.BasicScript.propertyMissing(BasicScript.groovy:60)
at release_62r3428qi4gqfpr2848dvktg2l.run(E:\SimianArmy-master\gradle\release.gradle:7)
at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:52)
... 40 more
from simianarmy.
How did you fix your last build error? Did you use the gradle wrapper from
Nextflix simian army project? Or you downloaded or created your own gradle
wrapper?
Thanks,
Michael
On Fri, Jun 14, 2013 at 3:51 AM, akshaypatel122826 <[email protected]
wrote:
Hi,
we have resolved above metioned error. Now we are facing below error while
doing build.
Kinldy help in below issue.
What went wrong:
A problem occurred evaluating script.
Could not find property 'commitNewVersion' on root project
'simianarmy'.
-
Try:
Run with --info or --debug option to get more log output.Exception:
Exception is:
org.gradle.api.GradleScriptException: A problem occurred evaluating script.
at
org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:54)
at
org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:127)
at
org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.applyScript(DefaultObjectConfigurationAction.java:82)
at
org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.access$000(DefaultObjectConfigurationAction.java:32)
at
org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$1.run(DefaultObjectConfigurationAction.java:54)
at
org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.execute(DefaultObjectConfigurationAction.java:114)
at
org.gradle.api.internal.project.AbstractProject.apply(AbstractProject.java:840)
at org.gradle.api.Project$apply.call(Unknown Source)
at
org.gradle.api.internal.project.ProjectScript.apply(ProjectScript.groovy:34)
at org.gradle.api.Script$apply.callCurrent(Unknown Source)
at
build_5fo6ghv947lob49oe2q90ddn8o.run(E:\SimianArmy-master\build.gradle:19)
at
org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:52)
at
org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:127)
at
org.gradle.configuration.BuildScriptProcessor.evaluate(BuildScriptProcessor.java:38)
at
org.gradle.configuration.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:43)
at
org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:462)
at
org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:74)
at
org.gradle.configuration.ProjectEvaluationConfigurer.execute(ProjectEvaluationConfigurer.java:23)
at
org.gradle.configuration.ProjectEvaluationConfigurer.execute(ProjectEvaluationConfigurer.java:21)
at
org.gradle.configuration.DefaultBuildConfigurer$1.execute(DefaultBuildConfigurer.java:38)
at
org.gradle.configuration.DefaultBuildConfigurer$1.execute(DefaultBuildConfigurer.java:35)
at
org.gradle.api.internal.project.AbstractProject.configure(AbstractProject.java:438)
at
org.gradle.api.internal.project.AbstractProject.allprojects(AbstractProject.java:433)
at
org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)
at
org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:139)
at
org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:110)
at
org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:78)
at org.gradle.launcher.cli.RunBuildAction.execute(RunBuildAction.java:42)
at org.gradle.launcher.cli.RunBuildAction.execute(RunBuildAction.java:28)
at
org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:201)
at
org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:174)
at
org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:170)
at
org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:139)
at
org.gradle.launcher.exec.ExceptionReportingAction.execute(ExceptionReportingAction.java:31)
at
org.gradle.launcher.exec.ExceptionReportingAction.execute(ExceptionReportingAction.java:20)
at org.gradle.launcher.Main.doAction(Main.java:48)
at org.gradle.launcher.exec.EntryPoint.run(EntryPoint.java:45)
at org.gradle.launcher.Main.main(Main.java:39)
at org.gradle.launcher.ProcessBootstrap.runNoExit(ProcessBootstrap.java:50)
at org.gradle.launcher.ProcessBootstrap.run(ProcessBootstrap.java:32)
at org.gradle.launcher.GradleMain.main(GradleMain.java:24)
Caused by: groovy.lang.MissingPropertyException: Could not find property
'commitNewVersion' on root project 'simianarmy'.
at
org.gradle.api.internal.AbstractDynamicObject.propertyMissingException(AbstractDynamicObject.java:43)
at
org.gradle.api.internal.AbstractDynamicObject.getProperty(AbstractDynamicObject.java:35)
at
org.gradle.api.internal.CompositeDynamicObject.getProperty(CompositeDynamicObject.java:60)
at
org.gradle.api.internal.project.DefaultProject_Decorated.getProperty(Unknown
Source)
at
org.gradle.groovy.scripts.BasicScript.propertyMissing(BasicScript.groovy:60)
at
release_62r3428qi4gqfpr2848dvktg2l.run(E:\SimianArmy-master\gradle\release.gradle:7)
at
org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:52)
... 40 more—
Reply to this email directly or view it on GitHubhttps://github.com//issues/65#issuecomment-19450785
.
from simianarmy.
Im facing a similar error. Im using the gradle wrapper that comes with simian army and it just stuck here:
:test FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':test'.There were failing tests. See the report at: file:///root/SimianArmy/build/reports/tests/index.html
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
it's wired that in index.html, it says 0 tests, 0 failures ...
if I do --debug, event logger is here:
18:19:16.575 [DEBUG] [TestEventLogger] Gradle Worker 1 FAILED
18:19:16.577 [DEBUG] [TestEventLogger] org.gradle.api.internal.tasks.testing.TestSuiteExecutionException: Could not complete execution for test process 'Gradle Worker 1'.
18:19:16.583 [DEBUG] [TestEventLogger] at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:60)
18:19:16.583 [DEBUG] [TestEventLogger] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
18:19:16.584 [DEBUG] [TestEventLogger] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
18:19:16.584 [DEBUG] [TestEventLogger] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
18:19:16.585 [DEBUG] [TestEventLogger] at java.lang.reflect.Method.invoke(Method.java:606)
18:19:16.585 [DEBUG] [TestEventLogger] at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
18:19:16.585 [DEBUG] [TestEventLogger] at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
18:19:16.586 [DEBUG] [TestEventLogger] at org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
18:19:16.586 [DEBUG] [TestEventLogger] at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
18:19:16.587 [DEBUG] [TestEventLogger] at com.sun.proxy.$Proxy2.stop(Unknown Source)
18:19:16.587 [DEBUG] [TestEventLogger] at org.gradle.api.internal.tasks.testing.worker.TestWorker.stop(TestWorker.java:113)
18:19:16.588 [DEBUG] [TestEventLogger] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
18:19:16.588 [DEBUG] [TestEventLogger] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
18:19:16.588 [DEBUG] [TestEventLogger] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
18:19:16.589 [DEBUG] [TestEventLogger] at java.lang.reflect.Method.invoke(Method.java:606)
18:19:16.589 [DEBUG] [TestEventLogger] at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
18:19:16.589 [DEBUG] [TestEventLogger] at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
18:19:16.590 [DEBUG] [TestEventLogger] at org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:355)
18:19:16.590 [DEBUG] [TestEventLogger] at org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:66)
18:19:16.628 [DEBUG] [TestEventLogger] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
18:19:16.628 [DEBUG] [TestEventLogger] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
18:19:16.628 [DEBUG] [TestEventLogger] at java.lang.Thread.run(Thread.java:744)
18:19:16.629 [DEBUG] [TestEventLogger]
18:19:16.629 [DEBUG] [TestEventLogger] Caused by:
18:19:16.629 [DEBUG] [TestEventLogger] java.lang.VerifyError: Expecting a stackmap frame at branch target 55
18:19:16.630 [DEBUG] [TestEventLogger] Exception Details:
18:19:16.630 [DEBUG] [TestEventLogger] Location:
18:19:16.631 [DEBUG] [TestEventLogger] com/netflix/simianarmy/aws/conformity/rule/SameZonesInElbAndAsg.haveSameZones(Ljava/util/List;Ljava/util/List;)Z @25: ifnull
18:19:16.631 [DEBUG] [TestEventLogger] Reason:
18:19:16.631 [DEBUG] [TestEventLogger] Expected stackmap frame at this location.
I run out of ideas...
Great thanks,
Hao
from simianarmy.
Closing this issue. SimianArmy uses Gradle 2.3 now.
from simianarmy.
Related Issues (20)
- Cannot set up janitor monkey without simpleDB HOT 3
- Make Janitor Monkey ignore Stopped Instances/Resources HOT 1
- Config simianarmy.chaos.ASG.maxTerminationsPerDay not respected when using LocalDB
- Upgrade AWS SDK to latest version HOT 1
- [Janitor Monkey] Opt in/out resources while running on Jenkins
- Display resource name in Janitor Monkey notifications
- Starting gradlew jettyRun permanently HOT 1
- Verify Janitor Monkey
- Issue with SSH chaos scenarios
- Architectural Design for Simian Army
- None of the SSH scenarios work
- Problems connecting to SimpleDB from europe region
- Can chaos monkey be used for other services which is not baseon AWS?and how?
- Issue with NullRoute script
- Chaos Monkey support for spinnaker running as microservices HOT 5
- .travis.yml: The 'sudo' tag is now deprecated in Travis CI
- Can chaos monkey terminate instance not in default namespace?
- CVEs in the dependencies are in the execution path of your project
- Is simian army available in all AWS Regions? HOT 1
- Simian Army not deleting the instance : EC2 is in VPC and is ignored.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simianarmy.