a16z / jolt

The simplest and most extensible zkVM. Fast and fully open source from a16z crypto and friends. ⚡
https://jolt.a16zcrypto.com
MIT License
587 stars 106 forks source link

Retry install_toolchain #356

Closed sragss closed 1 month ago

sragss commented 2 months ago

CI sporadically fails with "Unexpected inconsistency when making directory". Presumably this is due to a bad download / tarball unzip. Add 5x retry around this section in install_toolchain. Print on each iteration of the retry.

https://github.com/a16z/jolt/blob/main/jolt-core/src/host/toolchain.rs#L24-L27

imikushin commented 1 month ago

Hope this ⬆️ fixes it.

imikushin commented 1 month ago

Let me know if this is fixed now or perhaps there's something else that could be done.

sragss commented 1 month ago

Fixed.

imikushin commented 1 month ago

Hmm, just saw this run: https://github.com/a16z/jolt/actions/runs/9164237512/job/25195113397

Perhaps there's something else to why it fails: this one failed right after "Attempt 1/5".