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

cargo kani install does not recover from partially downloaded archive #2830

Open
matthiaskrgr opened this issue Oct 19, 2023 · 1 comment
Open
Assignees
Labels
[C] Bug This is a bug. Something isn't working. [E] User Experience An UX enhancement for an existing feature. Including deprecation of an existing one.

Comments

@matthiaskrgr
Copy link
Contributor

  1. update kani-verifier to latest version
  2. run cargo kani install
  3. ctrl+c while its downloading
  4. re-run cargo kani install expecting it would resume the download
    =>
[0/5] Running Kani first-time setup...
[1/5] Ensuring the existence of: /home/matthias/.kani/kani-0.39.0
[2/5] Installing local Kani bundle: /home/matthias/.kani/kani-0.39.0-x86_64-unknown-linux-gnu.tar.gz

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
Error: Failed to extract tar file, try removing Kani setup located in .kani in your home directory and restarting

Caused by:
    Failed command: tar --strip-components=1 -zxf /home/matthias/.kani/kani-0.39.0-x86_64-unknown-linux-gnu.tar.gz

removing all 0.39.0 artifacts manually and retrying fixes this though

@matthiaskrgr matthiaskrgr added the [C] Bug This is a bug. Something isn't working. label Oct 19, 2023
@adpaco-aws
Copy link
Contributor

Hi @matthiaskrgr , thank you for letting us know about this issue!

We recently did some work here (#2799) but it looks like we need further improvements.

@adpaco-aws adpaco-aws added the [E] User Experience An UX enhancement for an existing feature. Including deprecation of an existing one. label Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C] Bug This is a bug. Something isn't working. [E] User Experience An UX enhancement for an existing feature. Including deprecation of an existing one.
Projects
None yet
Development

No branches or pull requests

3 participants