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

Unable to build with xk6-kafka extension as it's require higher go lang version #121

Open
cloudenum opened this issue Dec 6, 2024 · 0 comments · May be fixed by #122
Open

Unable to build with xk6-kafka extension as it's require higher go lang version #121

cloudenum opened this issue Dec 6, 2024 · 0 comments · May be fixed by #122
Assignees

Comments

@cloudenum
Copy link

As of now xk6 docker image still uses go lang v1.22.9 but the latest version of xk6-kafka requires go lang version >= 1.23

It would be nice if the version could be bumped.

$ docker run --rm -it -u "$(id -u):$(id -g)" -v "${PWD}:/xk6" grafana/xk6 build v0.55.0 --with github.com/mostafa/xk6-kafka@v0.28.0
fixuid: fixuid should only ever be used on development systems. DO NOT USE IN PRODUCTION
fixuid: runtime UID '1000' already matches container user 'xk6' UID
fixuid: runtime GID '1000' already matches container group 'xk6' GID
2024/12/06 08:33:21 [INFO] Temporary folder: /tmp/buildenv_2024-12-06-0833.3695871047
2024/12/06 08:33:21 [INFO] Initializing Go module
2024/12/06 08:33:21 [INFO] exec (timeout=10s): /usr/local/go/bin/go mod init k6
go: creating new go.mod: module k6
2024/12/06 08:33:21 [INFO] Pinning versions
2024/12/06 08:33:21 [INFO] exec (timeout=0s): /usr/local/go/bin/go mod edit -require github.com/mostafa/xk6-kafka@v0.28.0
2024/12/06 08:33:21 [INFO] exec (timeout=0s): /usr/local/go/bin/go mod tidy -compat=1.17
go: downloading github.com/mostafa/xk6-kafka v0.28.0
go: github.com/mostafa/xk6-kafka@v0.28.0 requires go >= 1.23 (running go 1.22.9; GOTOOLCHAIN=local)
2024/12/06 08:33:23 [INFO] Cleaning up temporary folder: /tmp/buildenv_2024-12-06-0833.3695871047
2024/12/06 08:33:23 [FATAL] exit status 1
@pablochacin pablochacin linked a pull request Dec 10, 2024 that will close this issue
@pablochacin pablochacin self-assigned this Dec 10, 2024
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

Successfully merging a pull request may close this issue.

2 participants