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

Extensions build process fails due to go.buf.build #3252

Closed
codebien opened this issue Aug 4, 2023 · 6 comments · Fixed by grafana/xk6-loki#63
Closed

Extensions build process fails due to go.buf.build #3252

codebien opened this issue Aug 4, 2023 · 6 comments · Fixed by grafana/xk6-loki#63
Assignees

Comments

@codebien
Copy link
Collaborator

codebien commented Aug 4, 2023

It is not possible to build extensions that are not based on the latest commit of the k6 master branch.

The issue is generated by go.buf.build that has been removed so it isn't able to serve the expected Prometheus remote write dependencies.

For example, following the steps for building the InfluxDB output will generate a failure: https://github.com/grafana/xk6-output-influxdb#install

We are working on a patch for hot fixing v0.45.0 and release a new v0.45.1 patch. This is a high-priority issue and we are actively working on this.

A work around is to run the xk6 command using the -replace directive as following:

xk6 build --with github.com/grafana/xk6-output-influxdb --replace go.buf.build/grpc/go/prometheus/prometheus=buf.build/gen/go/prometheus/prometheus/protocolbuffers/go@latest --replace go.buf.build/grpc/go/gogo/protobuf=buf.build/gen/go/gogo/protobuf/protocolbuffers/go@latest
@kalyan02
Copy link

kalyan02 commented Aug 4, 2023

@codebien Thank you for reporting this and suggesting a fix.

Would appreciate if you are able to clarify the following:

  • would the packages be coming back up at go.buf.build? or the replacement with buf.build permanent?
  • is the domain go.buf.build owned by k6/grafana?

@mstoykov
Copy link
Collaborator

mstoykov commented Aug 4, 2023

is the domain go.buf.build owned by k6/grafana?

No - we have nothing to do with the project, apart from using it.

would the packages be coming back up at go.buf.build? or the replacement with buf.build permanent?

The replacement is permanent and we do not know what caused it to suddenly stop working today exactly.

javaducky added a commit to grafana/xk6-docker that referenced this issue Aug 4, 2023
What timing! v0.45.0 was affected and patched due to grafana/k6#3252.

Signed-off-by: Paul Balogh <javaducky@gmail.com>
@kalyan02
Copy link

kalyan02 commented Aug 4, 2023

@mstoykov Thanks for clarification.

I suspect is is possible that either the cache on the mirros served via cloudflare expired or TTL on the subdomain expired.

Cheers!

javaducky added a commit to grafana/xk6-amqp that referenced this issue Aug 4, 2023
A transitive dependency from v0.45.0 was removed
v0.45.0 was affected and patched due to removal of a dependency. See grafana/k6#3252.

Signed-off-by: Paul Balogh <javaducky@gmail.com>
javaducky added a commit to grafana/xk6-amqp that referenced this issue Aug 4, 2023
A transitive dependency from v0.45.0 was removed
v0.45.0 was affected and patched due to removal of a dependency. See grafana/k6#3252.

Signed-off-by: Paul Balogh <javaducky@gmail.com>
@codebien
Copy link
Collaborator Author

codebien commented Aug 4, 2023

A new k6 release v0.45.1 with a patch has been released. We are accordingly updating extensions for restoring the build processes.

codebien added a commit to grafana/xk6-output-influxdb that referenced this issue Aug 4, 2023
Why and details explained on grafana/k6#3252
codebien added a commit to grafana/xk6-output-influxdb that referenced this issue Aug 4, 2023
Why and details explained on grafana/k6#3252
javaducky added a commit to grafana/xk6-sql that referenced this issue Aug 4, 2023
A transitive dependency from v0.45.0 was removed. v0.45.0 was patched to address the issue. See grafana/k6#3252.

Signed-off-by: Paul Balogh <javaducky@gmail.com>
codebien added a commit to grafana/xk6-output-influxdb that referenced this issue Aug 4, 2023
Why and details explained on grafana/k6#3252
javaducky added a commit to grafana/xk6-output-kafka that referenced this issue Aug 4, 2023
A transitive dependency was removed. v0.45.0 was patched to address the issue. See grafana/k6#3252.

Signed-off-by: Paul Balogh <javaducky@gmail.com>
javaducky added a commit to grafana/xk6-output-timescaledb that referenced this issue Aug 4, 2023
A transitive dependency was removed. v0.45.0 was patched to address the issue. See grafana/k6#3252.

Signed-off-by: Paul Balogh <javaducky@gmail.com>
javaducky added a commit to javaducky/xk6-output-statsd that referenced this issue Aug 4, 2023
A transitive dependency from v0.45.0 was removed. v0.45.0 was patched to address the issue. See grafana/k6#3252.

Signed-off-by: Paul Balogh <javaducky@gmail.com>
mstoykov added a commit to mstoykov/xk6-csv that referenced this issue Aug 5, 2023
A transitive dependency was removed. v0.45.0 was patched to address the issue. See grafana/k6#3252.
mstoykov added a commit to mstoykov/xk6-ansible-vault that referenced this issue Aug 5, 2023
A transitive dependency was removed. v0.45.0 was patched to address the issue. See grafana/k6#3252.
mstoykov added a commit to mstoykov/xk6-jose that referenced this issue Aug 5, 2023
A transitive dependency was removed. v0.45.0 was patched to address the issue. See grafana/k6#3252.
@Laurianti
Copy link

grafana/xk6-amqp#34

Maksimall89 pushed a commit to Maksimall89/xk6-output-clickhouse that referenced this issue Aug 5, 2023
A transitive dependency was removed. v0.45.0 was patched to address the issue. See grafana/k6#3252.
acuenca-facephi pushed a commit to acuenca-facephi/xk6-read that referenced this issue Aug 7, 2023
A transitive dependency was removed. v0.45.0 was patched to address the issue. See grafana/k6#3252.
hasheddan added a commit to mstoykov/xk6-coap that referenced this issue Aug 7, 2023
A transitive dependency was removed. v0.45.0 was patched to address the issue. See grafana/k6#3252.

Co-authored-by: Daniel Mangum <31777345+hasheddan@users.noreply.github.com>
javaducky added a commit to grafana/xk6-notification that referenced this issue Aug 7, 2023
A transitive dependency was removed. v0.45.0 was patched to address the issue. See grafana/k6#3252.

Signed-off-by: Paul Balogh <javaducky@gmail.com>
@codebien
Copy link
Collaborator Author

codebien commented Aug 8, 2023

Closing as all the extensions in the Grafana organization have been fixed.

@codebien codebien closed this as completed Aug 8, 2023
thmshmm pushed a commit to thmshmm/xk6-opentelemetry that referenced this issue Aug 9, 2023
A transitive dependency was removed. v0.45.0 was patched to address the issue. See grafana/k6#3252.
Maksimall89 added a commit to Maksimall89/xk6-telegram that referenced this issue Aug 11, 2023
* Change k6 dependency to v0.45.1

A transitive dependency was removed. v0.45.0 was patched to address the issue. See grafana/k6#3252.

* feat: up go veriosn 19

---------

Co-authored-by: Max Rogozhnikov <maksimall89@gmail.com>
vcastellm added a commit to distribworks/xk6-ethereum that referenced this issue Jan 8, 2024
A transitive dependency was removed. v0.45.0 was patched to address the issue. See grafana/k6#3252.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants