Closed kubiksamek closed 5 years ago
Hi @aliaCZEk,
It is really hard to say why it does not work as expected. Does it work locally in a docker setup with your custom containers?
@diemol I tried it locally using minikube and it works. But I tried only one test run. I don't have too much powerful cpu to be able to execute multiple runs.
In AWS it works if I run 1/2 parallel executions for example. 10 executions and it starts to fail. We don't know it problem is in AWS or in Zalenium. Starting nodes, moving containers, ...
What do you see in the Zalenium log? Are all pods starting normally?
How can I get Zalenium log? Sorry for delay.
it should be the log output from the Zalenium pod
@diemol So you mean by using kubectl logs <pod_name>
. We don't save logs from pods by default. I'll try to get them in another executions.
Closing as we didn't get more feedback. Feel free to reopen when more information that helps to reproduce the issue is provided.
🐛 Bug Report
Hello, I am struggling to run parallel Zalenium in Kubernetes.
Our E2E testing tools: Ruby, ver.:
2.5.1
Watir framework (ver.:6.16.0
, http://watir.com/)We want to run E2E tests in Kubernetes in AWS with support of auto scaling. Our goal is to run 15 parallel executions (up to 5 browsers per test run).
We get errors like:
Can't open browser in node:
Can't connect to node:
zalenium.yaml:
As you can see, we are using non standard browsers images
520314695264.dkr.ecr.us-east-1.amazonaws.com/collab/node-zalenium-with-data:3.14.0-p22
. This image is modified only with our testing data (Audio/Video for fake webcam). So if you will be running it you can use originalelgalu/selenium:3.14.0-p22
Tests are executed in executor:
Shared data between browsers in one execution are in PVC:
_helpers.tpl
To Reproduce
We use Jenkins pipeline to run tests.
I am deploying Zalenium using
helm
:helm install ci-pipeline/helm/ --name='$job.BUILDNAME'
Simplified example:
Expected behavior
All browsers are started correctly and connection is not lost between client and browsers.
Environment
Everything is running in AWS (executor and browsers).
Machine(s) for K8s: AWS EC2 m5.large, ami image
ami-050a5ee88521c50e4
Zalenium Image Version(s): 3.141.59jm5.large
has 2 CPUs, 8GB RAM Because of requested resourceswe know that only 2 browsers can run in one AWS node. I also tried
m5.xlarge
instance with double HW specs and results were same.Thank you for any response!