-
Notifications
You must be signed in to change notification settings - Fork 9
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
k6 0.32 requires xk6-output-kafka that requires 0.31 #6
Comments
Hi @rspendl, We recently (the last two days) changed the path module of
Can you please share some more information about your setup: |
Hi, these 2 lines from my go.mod are probably relevant: Even this fails: |
xk6 is installed using go get -u github.com/k6io/xk6/cmd/xk6 I've created a minimal go.mod with only "go.k6.io/k6 v0.32.0" in the require block and "go mod vendor" still fails. |
Please update/install I don't understand why you are creating a |
OK, now I logged into a totally empty machine and ran this in an empty folder: |
I also just ran with 1.15.11 and 1.14.11 and it did work as well so ... I have no other ideas :( |
Thx, I ran the commands in docker and they work fine, like you've shown. Will see what's off on other machines, thx very much for your help! |
I have the strangest experience with xk6-output-kafka. When I run Though: I don't know why it works, as there's not such tag on xk6-output-kafka on github.com When I run the same command on any machine, not inside docker container, go get fails: So, can you create these tags on github.com repository or explain what magic does docker use to get the repository with non-existing tags? |
This is pseudo-version. As explained there we care about the previous minor version v0.1.1 to exist, to be the ancestor of the commit a159d7c and the timestamp to be of the commit. It seems though that I managed to reproduce it by setting But I have no fix for that, and I don't know why this is a problem for you? You should be able to build the latest v0.32.0 of k6 with the latest of xk6-output-kafka, and even currently, you don't need to as we still included it in k6. Although maybe we will drop it this release, maybe the next one, so thank you for trying to move 🤗 . |
It looks like my problem was that GOPROXY was not set. Once I've set GOPROXY=proxy.golang.org , k6 finally got all repositories! |
This issue is also affecting us on our internal athens proxy - It is unable to get this version in order to cache it. From checking a number of Go proxies publicly available, only a few of them have the pseudo-version cached ( Having looked at commit As this is a blocker to us updating to the latest k6 version we're having to look into configuring our athens proxy to use @mstoykov is there any likelihood for this to be fixed? - As others could be affected by this too in future. |
@56KBs looking at the dependency graph this will require us to release a version of k6 after we release yet another version I definitely don't want to release a point release of k6 just for this so this particular fix will need to wait until at least v0.33.0 is released at the end of the month. I do think though that if we ... "ressurect" the commit and put it in a branch this should be fixed? |
also, I forgot to mention this ... but we might just as well drop the kafka output in v0.33.0 as we are technically planning to drop it either way in the future. But regardless of that, we should probably update
|
I think we should give at least 2 versions notice before we drop something, so the built-in Until then, 👍 for any solution that doesn't require a new k6 point version. I'm fine with adding this dangling commit to a branch, but to me, releasing a new |
k6 still will depend on a version of More importantly, v0.32.0 depends on the version of So until v0.32.0 will not be used the only ... way to get it done is to undangle the commit. I think ... obviously I could've missed something. |
Ugh, ok, I didn't quite realize what has happened here... 😱 I wonder, can some xk6 magic with Edit: and I guess only |
but the problem is that in this case |
I have undangled it in https://github.com/k6io/xk6-output-kafka/tree/dontDeleteHereForIssue6 @56KBs can you confirm that this now works for you? |
@mstoykov I've just checked and our Athens proxy is now serving the module data correctly - Thanks very much :) |
Thanks for reporting and checking and I hope we won't have to re-re-revisit this 🤞 |
go: go.k6.io/k6@v0.32.0 requires
github.com/k6io/xk6-output-kafka@v0.2.0 requires
go.k6.io/k6@v0.31.2-0.20210511090412-61f464b99a2d requires
github.com/k6io/xk6-output-kafka@v0.1.2-0.20210510135110-a159d7c8c171: invalid version: unknown revision a159d7c
The text was updated successfully, but these errors were encountered: