maven problem to execute a gatling performance in a remote computer.

730 views
Skip to first unread message

jcan...@groupon.com

unread,
Jul 13, 2015, 12:19:07 PM7/13/15
to gat...@googlegroups.com
I could execute a mvn clean install without problems, but when I try to execute de tests, it fails. 
this is the error I get. Do anyone know why this could be happening?



[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building geo-performance-test2 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ geo-performance-test2 ---
[INFO] Deleting /home/jcanavire/geo-performance-test/target
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ geo-performance-test2 ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jcanavire/geo-performance-test/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ geo-performance-test2 ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ geo-performance-test2 ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 14 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ geo-performance-test2 ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- scala-maven-plugin:3.2.0:testCompile (default) @ geo-performance-test2 ---
[INFO] /home/jcanavire/geo-performance-test/src/test/scala:-1: info: compiling
[INFO] Compiling 14 source files to /home/jcanavire/geo-performance-test/target/test-classes at 1436803726140
[INFO] prepare-compile in 0 s
[INFO] compile in 6 s
[INFO]
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ geo-performance-test2 ---
[INFO] Surefire report directory: /home/jcanavire/geo-performance-test/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- gatling-maven-plugin:2.2.0-SNAPSHOT:execute (default) @ geo-performance-test2 ---
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at io.gatling.mojo.MainWithArgsInFile.runMain(MainWithArgsInFile.java:50)
at io.gatling.mojo.MainWithArgsInFile.main(MainWithArgsInFile.java:33)
Caused by: java.io.FileNotFoundException: /home/jcanavire/geo-performance-test/file:/home/jcanavire/.m2/repository/com/typesafe/sbt/compiler-interface/0.13.7/compiler-interface-0.13.7-sources.jar (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at sbt.Using$$anonfun$fileInputStream$1.apply(Using.scala:73)
at sbt.Using$$anonfun$fileInputStream$1.apply(Using.scala:73)
at sbt.Using$$anon$2.openImpl(Using.scala:65)
at sbt.OpenFile$class.open(Using.scala:43)
at sbt.Using$$anon$2.open(Using.scala:64)
at sbt.Using$$anon$2.open(Using.scala:64)
at sbt.Using.apply(Using.scala:23)
at sbt.IO$.unzip(IO.scala:196)
at sbt.compiler.AnalyzingCompiler$$anonfun$compileSources$1$$anonfun$5.apply(AnalyzingCompiler.scala:140)
at sbt.compiler.AnalyzingCompiler$$anonfun$compileSources$1$$anonfun$5.apply(AnalyzingCompiler.scala:140)
at scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:111)
at scala.collection.immutable.List.foldLeft(List.scala:84)
at scala.collection.TraversableOnce$class.$div$colon(TraversableOnce.scala:138)
at scala.collection.AbstractTraversable.$div$colon(Traversable.scala:105)
at sbt.compiler.AnalyzingCompiler$$anonfun$compileSources$1.apply(AnalyzingCompiler.scala:140)
at sbt.compiler.AnalyzingCompiler$$anonfun$compileSources$1.apply(AnalyzingCompiler.scala:139)
at sbt.IO$.withTemporaryDirectory(IO.scala:291)
at sbt.compiler.AnalyzingCompiler$.compileSources(AnalyzingCompiler.scala:139)
at sbt.compiler.IC$.compileInterfaceJar(IncrementalCompiler.scala:30)
at com.typesafe.zinc.Compiler$.compilerInterface(Compiler.scala:148)
at com.typesafe.zinc.Compiler$.create(Compiler.scala:53)
at io.gatling.compiler.ZincCompiler$delayedInit$body.apply(ZincCompiler.scala:144)
at scala.Function0$class.apply$mcV$sp(Function0.scala:40)
at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
at scala.App$$anonfun$main$1.apply(App.scala:71)
at scala.App$$anonfun$main$1.apply(App.scala:71)
at scala.collection.immutable.List.foreach(List.scala:318)
at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:32)
at scala.App$class.main(App.scala:71)
at io.gatling.compiler.ZincCompiler$.main(ZincCompiler.scala:37)
at io.gatling.compiler.ZincCompiler.main(ZincCompiler.scala)
... 6 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.111s
[INFO] Finished at: Mon Jul 13 16:08:53 UTC 2015
[INFO] Final Memory: 16M/966M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.gatling:gatling-maven-plugin:2.2.0-SNAPSHOT:execute (default) on project geo-performance-test2: Gatling failed. Simulations compilation failed. Process exited with an error: 255 (Exit value: 255) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:

Stéphane LANDELLE

unread,
Jul 13, 2015, 1:23:33 PM7/13/15
to gat...@googlegroups.com
Hi,

Could you please provide a procedure to reproduce?

Thanks,

Stéphane Landelle
Lead developer


--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Stéphane LANDELLE

unread,
Jul 13, 2015, 5:41:01 PM7/13/15
to gat...@googlegroups.com
Latest commit might help: https://github.com/gatling/gatling/commit/29a3114ca4104d20d3c427cca2e6f86ac32f0ff5

If not, please explain how to reproduce.

Thanks,

Stéphane Landelle
Lead developer


Neel Desai

unread,
Jan 30, 2018, 3:25:50 PM1/30/18
to Gatling User Group
Any success on this issue? I've same kind of issue but error is different. having problem in running it locally but it works fine on windows machine
Reply all
Reply to author
Forward
0 new messages