-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simulations on nodes running serially. #12
Comments
Hey @alanroche, thanks for reporting this! That sounds like a regression in 1.0.6. Can you confirm if this was working fine on 1.0.5? Thanks, |
I tried with a 1.0.6-SNAPSHOT which we believe was working OK before (on a different machine). Going to try on 1.0.5 next |
OK, so the same issue is there on 1.0.5, - but after some investigation I have found the problem and solution/workaround. This had a few of us stuck for a day or two, - so it would be very helpful to others to make a note in the README.mds as a gotcha, - hopefully others may then come to a quicker solution if they run into it. The issue comes from SSH generating secure random numbers using a native (OS) random number generator. We are running on VMs so it is likely that this is also a problem that is exasperated by running from a VM, - hard to say for sure thoughj The problem is basically this: The culprit thread in the stack trace is this:
There are a few solutions:
|
Thanks for your investigation on this! Can you post more information about your environment e.g. JDK version, OS, Jenkins version, Maven version? |
I will need to check Jenkins version in the morning when I get back into the office, -though the issue isn't really related to Jenkins. Interesting though that they(Jenkins) encountered the same issue with Jenkins slaves which would also be over SSH. |
Hi, I'm not sure if this is the same problem, but I have experienced very low performance of SSH client when running load tests on Jenkins. I have successfully resolved this issue by reusing SSH configuration for all subsequent creations of SSH client. My solution is in pull request #17 if you are interested. |
closing this since @petrvlcek 's PR got merged at the end of 2016. let me know if this is still an issue @alanroche |
Hi,
Using the version 1.0.6
We have noticed that tests on multiple nodes seem to be running serially. ie. The simulation runs against one node, - then the next, then the next and so on.
Standard out etc. does not appear to be interspersed or mixed up as one would expect.
It almost looks like the threadpool executor in GatlingAwsMojo is running on a single thread, though the configuration doesn't seem to suggest so. Another possibility perhaps is a synchronized block has been introduced in the SSH client etc
I am going to have investigate this in more detail tomorrow, - but we are wondering if this is something someone has noticed already?
Thanks,
Alan
The text was updated successfully, but these errors were encountered: