Gatling version: 3.13.4
Gatling flavor: java kotlin scala javascript typescript
Gatling build tool: maven gradle sbt bundle npm
I made sure I’ve update my Gatling version to the latest release
I read the [guidelines] and [how to ask a question] topics.
I provided a [SSCCE] (or at least, all information to help the community understand my topic)
I copied output I observe, and explain what I think should be.
Hello everyone
We are trying to upgrade from version 3.11.5 to 3.13.4 in the Java Flavor using Maven on AWS EKS in a dockerized environment.
When we run our scenarios locally (on a Mac), the behaviour is as expected for both releases - i.e. the test is executed and reports are written. Wenn we build a container and run it locally, the behaviour is also as expected for both releases - i.e. the behaviour is as if I ran it locally outside of the container. However, when we attempt to run it on EKS, the execution fails with the error message as indicated below (the full execution logs for both versions are further down below).
09:00:10.365 [ERROR] i.g.c.a.AtomicRunnableActorRef - Actor controller crashed when processing message ‘Start(ScenarioFlows(List(Flow(io.gatling.core.scenario.Scenario@62b29d9,Set()))),Future())’
Our impression is that this stopped working with 3.12.0.
The log output was collected by SSHing into the container and applying a single change to the pom.xml:
cat pom.xml | sed ‘s/3.11.5/3.13.4/g’ > pom.xml.tmp && mv pom.xml.tmp pom.xml
The execution for 3.13.4 was run twice with identical results as far as the observed behaviour is concerned. The log output of the second run is provided below as it does not contain the Maven dependency download output…
Java Version is 17 and the gatling maven plugin version is 4.15.1 for both executions.
Running it with a log level of TRACE does not seem to provide us with useful information. Given that the execution crashes relatively early in the process and since we observe the failure on EKS only, we do not provide a SSCCE at this point in time.
Our hope is that somebody could give us an indication to the area the cause of this issues lies in.
Your help is very much appreciated.
Thank you,
Minthral
Execution log 3.11.5
root@REDACTED_CONTAINER_NAME-859fcbb777-fjdrd:/home/REDACTED_BASE_FOLDER_NAME# cat log-3-11-5.log
[INFO] Scanning for projects…
[INFO]
[INFO] ------------< REDACTED_PACKAGE_NAME:REDACTED_PROJECT_NAME-REDACTED_CONTAINER_NAME >------------
[INFO] Building REDACTED_PROJECT_NAME-REDACTED_CONTAINER_NAME 0.0.1
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] >>> gatling-maven-plugin:4.15.1:test (default-cli) > test-compile @ REDACTED_PROJECT_NAME-REDACTED_CONTAINER_NAME >>>
[INFO]
[INFO] — maven-resources-plugin:2.6:resources (default-resources) @ REDACTED_PROJECT_NAME-REDACTED_CONTAINER_NAME —
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/REDACTED_BASE_FOLDER_NAME/src/main/resources
[INFO]
[INFO] — maven-compiler-plugin:3.1:compile (default-compile) @ REDACTED_PROJECT_NAME-REDACTED_CONTAINER_NAME —
[INFO] No sources to compile
[INFO]
[INFO] — maven-resources-plugin:2.6:testResources (default-testResources) @ REDACTED_PROJECT_NAME-REDACTED_CONTAINER_NAME —
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 15 resources
[INFO]
[INFO] — maven-compiler-plugin:3.1:testCompile (default-testCompile) @ REDACTED_PROJECT_NAME-REDACTED_CONTAINER_NAME —
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] <<< gatling-maven-plugin:4.15.1:test (default-cli) < test-compile @ REDACTED_PROJECT_NAME-REDACTED_CONTAINER_NAME <<<
[INFO]
[INFO]
[INFO] — gatling-maven-plugin:4.15.1:test (default-cli) @ REDACTED_PROJECT_NAME-REDACTED_CONTAINER_NAME —
[INFO] Running simulation REDACTED_SIMULATION_NAME.
Gatling 3.13.4 is available! (you’re using 3.11.5)
Simulation REDACTED_SIMULATION_NAME started…
================================================================================
2025-02-28 08:56:33 GMT 5s elapsed
---- Requests ------------------------------------------------------------------
Global (OK=60 KO=0 )
---- REDACTED_SIMULATION_SIMPLE_NAME ----------------------------
[#############################---------------------------------------------] 40%
waiting: 0 / active: 3 / done: 2
================================================================================
2025-02-28 08:56:35 GMT 7s elapsed
---- Requests ------------------------------------------------------------------
Global (OK=75 KO=0 )
---- REDACTED_SIMULATION_SIMPLE_NAME ----------------------------
[##########################################################################]100%
waiting: 0 / active: 0 / done: 5
Simulation REDACTED_SIMULATION_NAME completed in 7 seconds
Parsing log file(s)…
Parsing log file(s) done in 0s.
Generating reports…
================================================================================
---- Global Information --------------------------------------------------------
request count 75 (OK=75 KO=0 )
min response time 10 (OK=10 KO=- )
max response time 1064 (OK=1064 KO=- )
mean response time 219 (OK=219 KO=- )
std deviation 270 (OK=270 KO=- )
response time 50th percentile 126 (OK=126 KO=- )
response time 75th percentile 273 (OK=273 KO=- )
response time 95th percentile 850 (OK=850 KO=- )
response time 99th percentile 1012 (OK=1012 KO=- )
mean requests/sec 9.38 (OK=9.38 KO=- )
---- Response Time Distribution ------------------------------------------------
t < 800 ms 69 ( 92%)
800 ms <= t < 1200 ms 6 ( 8%)
t >= 1200 ms 0 ( 0%)
failed 0 ( 0%)
================================================================================
Reports generated, please open the following file: file:///home/REDACTED_BASE_FOLDER_NAME/target/gatling/REDACTED_SIMULATION_NAME-20250228085628112/index.html
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.329 s
[INFO] Finished at: 2025-02-28T08:56:36Z
[INFO] ------------------------------------------------------------------------
root@REDACTED_CONTAINER_NAME-859fcbb777-fjdrd:/home/REDACTED_BASE_FOLDER_NAME#
Execution log 3.13.4
root@REDACTED_CONTAINER_NAME-859fcbb777-fjdrd:/home/REDACTED_BASE_FOLDER_NAME# cat log-3-13-4.log
[INFO] Scanning for projects…
[INFO]
[INFO] ------------< REDACTED_PACKAGE_NAME:REDACTED_PROJECT_NAME-REDACTED_CONTAINER_NAME >------------
[INFO] Building REDACTED_PROJECT_NAME-REDACTED_CONTAINER_NAME 0.0.1
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] >>> gatling-maven-plugin:4.15.1:test (default-cli) > test-compile @ REDACTED_PROJECT_NAME-REDACTED_CONTAINER_NAME >>>
[INFO]
[INFO] — maven-resources-plugin:2.6:resources (default-resources) @ REDACTED_PROJECT_NAME-REDACTED_CONTAINER_NAME —
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/REDACTED_BASE_FOLDER_NAME/src/main/resources
[INFO]
[INFO] — maven-compiler-plugin:3.1:compile (default-compile) @ REDACTED_PROJECT_NAME-REDACTED_CONTAINER_NAME —
[INFO] No sources to compile
[INFO]
[INFO] — maven-resources-plugin:2.6:testResources (default-testResources) @ REDACTED_PROJECT_NAME-REDACTED_CONTAINER_NAME —
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 15 resources
[INFO]
[INFO] — maven-compiler-plugin:3.1:testCompile (default-testCompile) @ REDACTED_PROJECT_NAME-REDACTED_CONTAINER_NAME —
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] <<< gatling-maven-plugin:4.15.1:test (default-cli) < test-compile @ REDACTED_PROJECT_NAME-REDACTED_CONTAINER_NAME <<<
[INFO]
[INFO]
[INFO] — gatling-maven-plugin:4.15.1:test (default-cli) @ REDACTED_PROJECT_NAME-REDACTED_CONTAINER_NAME —
[INFO] Running simulation REDACTED_SIMULATION_NAME.
Simulation REDACTED_SIMULATION_NAME started…
09:00:10.365 [ERROR] i.g.c.a.AtomicRunnableActorRef - Actor controller crashed when processing message ‘Start(ScenarioFlows(List(Flow(io.gatling.core.scenario.Scenario@62b29d9,Set()))),Future())’
java.util.concurrent.TimeoutException: Future timed out after [5 seconds]
at scala.concurrent.impl.Promise$DefaultPromise.tryAwait0(Promise.scala:248)
at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:255)
at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:104)
at scala.concurrent.Await$.$anonfun$ready$1(package.scala:174)
at scala.concurrent.BlockContext$DefaultBlockContext$.blockOn(BlockContext.scala:62)
at scala.concurrent.Await$.ready(package.scala:124)
at io.gatling.core.stats.DataWritersStatsEngine.start(DataWritersStatsEngine.scala:91)
at io.gatling.core.controller.Controller.io$gatling$core$controller$Controller$$$anonfun$init$1(Controller.scala:74)
at io.gatling.core.controller.Controller$$anonfun$init$5.apply(Controller.scala:64)
at io.gatling.core.controller.Controller$$anonfun$init$5.apply(Controller.scala:64)
at io.gatling.core.actor.AtomicRunnableActorRef.$anonfun$run$1(ActorSystem.scala:115)
at io.netty.util.internal.shaded.org.jctools.queues.MessagePassingQueueUtil.drain(MessagePassingQueueUtil.java:39)
at io.netty.util.internal.shaded.org.jctools.queues.BaseMpscLinkedArrayQueue.drain(BaseMpscLinkedArrayQueue.java:612)
at io.netty.util.internal.shaded.org.jctools.queues.MpscUnboundedArrayQueue.drain(MpscUnboundedArrayQueue.java:23)
at io.gatling.core.actor.AtomicRunnableActorRef.run(ActorSystem.scala:120)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
root@REDACTED_CONTAINER_NAME-859fcbb777-fjdrd:/home/REDACTED_BASE_FOLDER_NAME#