Skip to content
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

Chromium not found in Grafana k6 image #1687

Open
pallavkanaujiya opened this issue Aug 7, 2024 · 0 comments
Open

Chromium not found in Grafana k6 image #1687

pallavkanaujiya opened this issue Aug 7, 2024 · 0 comments
Assignees

Comments

@pallavkanaujiya
Copy link

While running a k6 browser test using TestRun CRD. I am getting a below error:
time="2024-08-07T08:09:12Z" level=error msg="error building browser on IterStart: finding browser executable: k6 couldn't detect google chrome or a chromium-supported browser on this system at file:///test/my-test.js:20:15(0)

my TestRUN CRD is:
apiVersion: k6.io/v1alpha1
kind: TestRun
metadata:
name: my-messenger-test
namespace: k6-operator
spec:
parallelism: 1
script:
configMap:
name: k6-test-run
file: my-test.js
arguments: -o experimental-prometheus-rw
runner:
image: grafana/k6
env:
- name: K6_PROMETHEUS_RW_SERVER_URL
value: http://somePROMETHEUSpath:9090/api/v1/write
- name: K6_BROWSER_ENABLED
value: "true"
- name: K6_BROWSER_EXECUTABLE_PATH
value: "/usr/bin/chromium-browser"

I tried to install other images but it did not work out. kindly help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants