-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
Runtime error occurs with golang 1.22.x #402
Comments
Thanks, it's hard to know if the issue is with Go or something else at this stage. Appreciate the repro. |
There definitely seems to be an issue in linux builds reported over in golang, and is affecting our ci runs with all published version of golang 1.22.x (0,1,2) I've not tested linux aarch64 yet. Definitely appreciate the repro I've been using
which gives me the same error on the first test
|
Tested against linux/arm64 and its fine against there, had to make some updates to support downloading the correct variant of the csv plugin for linux aarch64 using branch https://github.com/pact-foundation/pact-go/tree/deps/go_1_22 |
yep can also confirm this. thanks! TL;DRLinux x86_64 users
|
Thanks Yousaf for putting together the above. It doesn't seem to be a problem on Mac either (the OS I use for development). I'd suggest we sit on this to see where Golang takes it, and leave this as a sign-post for others. |
Also seeing the issue on macos x86_64 solely on 1.22 when testing in GHA |
I've filed a golang issue on this problem |
Will be interesting to see if they come back with anything, perhaps something will jump out at the maintainers there. I suspect they'll want a more minimal repro, as there is probably a lot of digging / effort required to reproduce with the existing repro you have provided (not your fault, but it could be any number of things in both pact-go and in the rust core, or rust libraries that export the C interface). Perhaps we could find the FFI function that's causing the problem, and create a basic C interface that does the same thing until we have a minimal FFI that reproduces the issue (if possible)? |
Software versions
go version go1.22.2 linux/amd64
,go version go1.22.1 linux/amd64
,go version go1.22.0 linux/amd64
go env
Expected behaviour
pact-go consumer test should run successfully without error
Actual behaviour
The test fails with the following error
Steps to reproduce
The code is pretty match same as the example test on github.
https://github.com/pact-foundation/pact-go/blob/master/examples/consumer_v4_test.go
go test -v -race ./...
Relevent log files
Additional information
https://github.com/m15o/pact-go-on-golang1.22/actions/runs/8644350699
-race
flag ingo test
command.It looks similar as this: https://github.com/pact-foundation/pact-go/actions/runs/8647678365
The text was updated successfully, but these errors were encountered: