-
-
Notifications
You must be signed in to change notification settings - Fork 198
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
Build failure on ARM #218
Comments
Interesting -- the Also looking at the Benthos source, I'm pretty sure its atomics are not aligned either, example:
I also highly doubt that the many many imported modules are all aligning atomics properly. I'll see about setting up a 32 bit I'll also change the |
In the above comment, I realize that the three So, benthos is probably fine. Not sure about the dependencies, though. |
Thank you so much for the quick investigation and the insight! Indeed, unless such issues are caught by the compiler, then there is a large surface to run into trouble at runtime... Ideally, people who need to run Benthos on a lightweight system will compile their own binary, importing only the packages they need instead of pulling in everything. |
This will be fixed by #219, and the new github actions also will ensure this continues to work on arm -- including proper atomic alignment. If you know actions better than I do (almost certainly) and know how to fix this chunk of broken code, that'd be super cool 😅 This will be out with 1.9 soon (this week hopefully, hopefully sooner) |
That's awesome, thank you so much for doing all this work so fast Travis! Ash opened an issue to check who is still interested in keeping these ARM builds before making any decision about deprecation, but, until then, this update should get the builds to pass. For the CI, I see some examples in other repos, but I'll have to look closer at your setup. One thing that might be needed is a health check, to make sure those services are up and running (not just the container started), but Zookeeper and Kafka make that really difficult. However, if you'd consider replacing them with a Redpanda container, then that one has a HTTP endpoint which can be healthchecked easier if need be and it's also way faster to start up. |
The integration tests previously didn't pass against redpanda due to some incompleteness in redpanda's implementation of transactions, but it looks like the tests now reliably pass (I know a lot of work has gone into improving transactions for the past few months, pretty cool to see it pay off). I'm quite keen to use redpanda in the integration tests. |
This has been fixed and released in v1.9 |
Hey @twmb, thanks for this awesome package! I noticed that commit 31f3f5f changed
p.waitBuffer = make(chan struct{}, 32)
top.waitBuffer = make(chan struct{}, math.MaxInt64)
here, which seems to upset the compiler on 32-bit platforms. I noticed this after franz-go was updated to v1.8.0 in Benthos here.The text was updated successfully, but these errors were encountered: