qemu: race condition on stdin reading
Bug #1317358 reported by
Martin Pitt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autopkgtest (Ubuntu) |
Fix Released
|
High
|
Martin Pitt |
Bug Description
When copying files back and forth, adt-virt-qemu sometimes fails with
adt-run: @@@@@@@
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
Quick workaround for current users: In virt-subproc/
# give the stdin reading some head start
time.sleep(0.1)
to 0.5 or even 1. That'll make the whole thing noticeably slower though, but (mostly) avoid the tar error.
For fixing this for good the "runcmd" needs to be fixed to present the copied data from the host as an actual pipe instead of a plain file.
Related branches
Changed in autopkgtest (Ubuntu): | |
status: | New → Triaged |
status: | Triaged → In Progress |
importance: | Undecided → High |
assignee: | nobody → Martin Pitt (pitti) |
To post a comment you must log in.
http:// anonscm. debian. org/gitweb/ ?p=autopkgtest/ autopkgtest. git;a=commitdif f;h=c5674690