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

CI: Mac and Windows builds failed for 62 #3174

Closed
conorsch opened this issue Oct 10, 2023 · 7 comments
Closed

CI: Mac and Windows builds failed for 62 #3174

conorsch opened this issue Oct 10, 2023 · 7 comments
Assignees

Comments

@conorsch
Copy link
Contributor

Describe the bug
The cargo-dist workflow for building binaries for Linux, Mac, and Windows failed on Testnet 62: https://github.com/penumbra-zone/penumbra/actions/runs/6474718975/job/17580377131 Why?

I suspect it could be related to the tower-abci v0.10.0 change, which added support for Unix domain sockets for binding pd, and could have thereby broken non-Linux builds. That make sense for the Windows failure, but the Mac build we'd've seen elsewhere.

I'll take a stab at building manually on Windows, and see if we need cfg attributes in tower-abci. It's also worth asking: do we even want mac & windows binaries prebuilt? I think it's worth a timeboxed attempt to restore functionality, but if it gets complicated, I'll fall back to shipping Linux bins only in the interim.

Additional context
First recorded in #3123 (comment)

@conorsch conorsch self-assigned this Oct 10, 2023
@erwanor
Copy link
Member

erwanor commented Oct 11, 2023

It's definitely support for unix sockets in tower-abci that is responsible for the windows build failing. The mac build only fails because it is cancelled when the Windows one fails. I don't think we will be able to restore the Windows build for this testnet because tower-abci has shipped a new major version that uses the latest tendermint-rs release, though we could backport it on a feature branch and do a point release for this testnet.

@conorsch
Copy link
Contributor Author

It's definitely support for unix sockets in tower-abci that is responsible for the windows build failing. The mac build only fails because it is cancelled when the Windows one fails.

Beautiful, thanks for looking into it.

I don't think we will be able to restore the Windows build for this testnet

No problem at all: I'll do a pass through the tower-abci repo and see if I can't get it cross-platform-compatible again.

@conorsch conorsch assigned erwanor and unassigned conorsch Oct 11, 2023
@hdevalence
Copy link
Member

Missing Windows support for the moment is not a big deal, I don't think it's worth doing extra release shenanigans. We could pick it back up later as changes propagate from upstream.

@conorsch conorsch assigned conorsch and unassigned erwanor Oct 13, 2023
@conorsch
Copy link
Contributor Author

Filed a quick cfg PR for tower-abci: penumbra-zone/tower-abci#37 We'll need to bump versions and pin the update in the penumbra repo for this issue to be resolved.

@erwanor
Copy link
Member

erwanor commented Oct 13, 2023

We'll pick this up in the next release of tower-abci, as we integrate [email protected]. Thanks for fixing the upstream!

@conorsch
Copy link
Contributor Author

There's in-flight work around version upgrades, and given that we've got an extra week for 63 (#3182 (comment)), we may be able to land the necessary version bumps to unbreak the builds. cc @erwanor in case I'm making assumptions.

@erwanor
Copy link
Member

erwanor commented Oct 19, 2023

Actually this landed with #3192, so we can close this!

@erwanor erwanor closed this as completed Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Testnet 63: Rhea (Web Wallet)
Development

No branches or pull requests

3 participants