-
Notifications
You must be signed in to change notification settings - Fork 172
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
K8 Pod not starting for larger load test script #508
Comments
Hi @nitesh-mykaarma,
So you're saying that |
@yorugac no if I tried with |
Hi @nitesh-mykaarma, sorry for the delay; it's been a holiday season. IIUC, you mention 2 errors at once. Additionally, your script appears to be written to the volume with smth like ArgoCD Workflows. You didn't mention this explicitly, so feel free to correct me if I'm wrong. Assuming the above, there are several possibilities according to your description:
Could you please check the above? Perhaps, it'd allow to see what the root issue is here. |
Brief summary
So I have large size load test script (size ~1MB), to run this I have used persistent volume to mount this file
Template YML file Code
But when giving parallelism to 2 or 4 one or two of the pods failed to start (strange that other pods start and are able to fetch script correctly)
The error in load-test-initializer
error msg="The moduleSpecifier \"/test/authentication-utils.js\" couldn't be found on local disk. Make sure that you've specified the right path to the file. If you're running k6 using the Docker image make sure you have mounted the local directory (-v /local/path/:/inside/docker/path) containing your script and modules so that they're accessible by k6 from inside of the container, see https://grafana.com/docs/k6/latest/using-k6/modules/#using-local-modules-with-docker."
I am using k6 version -
0.55
K6 operator REVISION: 2 CHART: k6-operator VERSION: 3.8.0 APP_VERSION: 0.0.16
k6-operator version or image
3.8.0
Helm chart version (if applicable)
No response
TestRun / PrivateLoadZone YAML
Other environment details (if applicable)
No response
Steps to reproduce the problem
Mentioned the brief section
Expected behaviour
All k8 Pod should start and execute test.
Actual behaviour
One of the pods failed with the error
exec /usr/bin/k6: exec format error
The text was updated successfully, but these errors were encountered: