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

Spurious tar error: tar: share/rootfs.img: file changed as we read it in e2e #47

Open
bchalios opened this issue Aug 19, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@bchalios
Copy link
Contributor

Describe the bug
Sometimes the Pack workflow artifact of the e2e workflow fails with the error:

tar: share/rootfs.img: file changed as we read it
Error: Process completed with exit code 1.

Initially I assumed that Firecracker was running, so it makes sense. However, the error persists even after adding a previous step which stops Firecracker. I assumed that the file system cache has something to do with it, so I added a call to sync in said step.

After these fixes, the error is much more rear but still appears occasionally.

Working environment

  1. All possible configurations

To Reproduce
Have an e2e workflow running. The failure appears on one out of ten runs or so.

Expected behavior
rootfs.img is not used by Firecracker or mounted at that point of the workflow, so tar should not observe modifications while it's reading it.

@bchalios bchalios added the bug Something isn't working label Aug 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant