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

Compiling 0.2.1 through xk6 with k6 >= v0.54.0 fails #15

Open
IncandescentChrysalis opened this issue Jan 10, 2025 · 1 comment
Open

Comments

@IncandescentChrysalis
Copy link

Starting with v0.54.0 of k6, compiling it with xk6 with the addition of the xk6-prometheus module fails with multiple import errors, all related to google.golang.org/genproto/googleapis/rpc/* packages.
Compilation of k6 without xk6-prometheus runs fine.
Many google.golang.org/genproto/googleapis/rpc/* imports are impacted. For example:

go: k6 imports
	go.k6.io/k6/cmd imports
	github.com/grafana/xk6-output-opentelemetry/pkg/opentelemetry imports
	go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc imports
	google.golang.org/genproto/googleapis/rpc/errdetails: ambiguous import: found package google.golang.org/genproto/googleapis/rpc/errdetails in multiple modules:
	google.golang.org/genproto v0.0.0-20200423170343-7949de9c1215 (/root/go/pkg/mod/google.golang.org/[email protected]/googleapis/rpc/errdetails)
	google.golang.org/genproto/googleapis/rpc v0.0.0-20240822170219-fc7c04adadcd (/root/go/pkg/mod/google.golang.org/genproto/googleapis/[email protected]/errdetails)
@IncandescentChrysalis IncandescentChrysalis changed the title Compiling through xk6 with k6 >= v0.54.0 fails Compiling 0.2.1 through xk6 with k6 >= v0.54.0 fails Jan 13, 2025
@IncandescentChrysalis
Copy link
Author

Might be related to googleapis/go-genproto#1015

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

1 participant