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

xk6 build with influxdb fails #38

Open
fahmid0101 opened this issue Nov 22, 2024 · 5 comments
Open

xk6 build with influxdb fails #38

fahmid0101 opened this issue Nov 22, 2024 · 5 comments
Assignees
Labels

Comments

@fahmid0101
Copy link

User@DESKTOP-BE1ACC00 MINGW64 ~/source/repos/set-load (exploring_k6)
$ k6 version
k6.exe v0.54.0 (commit/baba871c8a, go1.23.1, windows/amd64)

User@DESKTOP-BE1ACC00 MINGW64 ~/source/repos/set-load (exploring_k6)
$ xk6 build --with github.com/grafana/xk6-output-influxdb
2024/11/22 23:44:45 [INFO] Temporary folder: C:\Users\User\AppData\Local\Temp\buildenv_2024-11-22-2344.727206495
2024/11/22 23:44:45 [INFO] Initializing Go module
2024/11/22 23:44:45 [INFO] exec (timeout=10s): C:\Program Files (x86)\Go\bin\go.exe mod init k6
2024/11/22 23:44:45 [INFO] Pinning versions
2024/11/22 23:44:45 [INFO] exec (timeout=0s): C:\Program Files (x86)\Go\bin\go.exe mod edit -require github.com/grafana/xk6-output-influxdb@latest
2024/11/22 23:44:46 [INFO] exec (timeout=0s): C:\Program Files (x86)\Go\bin\go.exe mod tidy -compat=1.17
2024/11/22 23:44:47 [INFO] exec (timeout=0s): C:\Program Files (x86)\Go\bin\go.exe mod tidy -compat=1.17
2024/11/22 23:44:48 [INFO] Writing main module: C:\Users\User\AppData\Local\Temp\buildenv_2024-11-22-2344.727206495\main.go
2024/11/22 23:44:48 [INFO] exec (timeout=0s): C:\Program Files (x86)\Go\bin\go.exe mod tidy -compat=1.17
2024/11/22 23:44:49 [INFO] Build environment ready
2024/11/22 23:44:49 [INFO] Building k6
2024/11/22 23:44:49 [INFO] exec (timeout=0s): C:\Program Files (x86)\Go\bin\go.exe mod tidy -compat=1.17
2024/11/22 23:44:50 [INFO] exec (timeout=0s): C:\Program Files (x86)\Go\bin\go.exe build -o C:\Users\User\source\repos\set-load\k6.exe -ldflags=-w -s -trimpath

github.com/grafana/xk6-output-prometheus-remote/pkg/remote

........\go\pkg\mod\github.com\grafana\[email protected]\pkg\remote\client.go:121:35: cannot use math.MaxUint32 (untyped int constant 4294967295) as int value in argument to fmt.Errorf (overflows)

github.com/grafana/xk6-dashboard/dashboard

........\go\pkg\mod\github.com\grafana\[email protected]\dashboard\sse.go:69:31: cannot use maxSafeInteger (untyped int constant 9007199254740991) as int value in argument to strconv.Itoa (overflows)

go.k6.io/k6/output/cloud/expv2

........\go\pkg\mod\go.k6.io\[email protected]\output\cloud\expv2\metrics_client.go:89:35: cannot use 0xffffffff (untyped int constant 4294967295) as int value in argument to fmt.Errorf (overflows)
2024/11/22 23:44:51 [INFO] Cleaning up temporary folder: C:\Users\User\AppData\Local\Temp\buildenv_2024-11-22-2344.727206495
2024/11/22 23:44:51 [FATAL] exit status 1

User@DESKTOP-BE1ACC00 MINGW64 ~/source/repos/set-load (exploring_k6)

@oleiade
Copy link
Member

oleiade commented Nov 25, 2024

Hi @fahmid0101 👋🏻

Thanks for your bug report 🙇🏻

Unfortunately, a single stack trace is not enough for us to be able to accept this issue. Please reopen the issue using the "Bug Feature" template offered when creating an issue, and make sure to provide all the information it asks for, and furthermore, as much as you can in general, so we can try to reproduce and decide whether we want to act upon it.

As a result, closing this one, in hopes you open a new one 🙇🏻

@oleiade oleiade closed this as completed Nov 25, 2024
@fahmid0101
Copy link
Author

Can you please guide me to where the bug template has been attached in this repository?

@oleiade
Copy link
Member

oleiade commented Nov 25, 2024

I'm sorry @fahmid0101, I mistook this issue for a k6 repository one. Apologies. Reading notifications from emails don't make it easy either 🙇‍♂️

Let's reopen this issue, and could you please structure it following the same pattern/providing the same info as k6's please: https://github.com/grafana/k6/blob/master/.github/ISSUE_TEMPLATE/bug.yaml

@oleiade oleiade reopened this Nov 25, 2024
@fahmid0101
Copy link
Author

Additional info:
OS: Windows 11
System Type: 64-bit operating system, x64-based processor
Processor: 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz (2.42 GHz)
k6: v0.54.0 (Tried with 2 more older versions)
go: 1.23.1, windows/amd64

Please let me know if you need any other information.

@codebien
Copy link
Collaborator

Hey @fahmid0101,
can you try to run by forcing the latest k6 version, please? xk6 build v0.56.0 --with github.com/grafana/xk6-output-influxdb

Does it work for you?

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

No branches or pull requests

3 participants