[Bug 1317358] Re: qemu: race condition on stdin reading
Launchpad Bug Tracker
1317358 at bugs.launchpad.net
Fri May 9 22:19:08 UTC 2014
** Branch linked: lp:debian/autopkgtest
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1317358
Title:
qemu: race condition on stdin reading
Status in “autopkgtest” package in Ubuntu:
Fix Committed
Bug description:
When copying files back and forth, adt-virt-qemu sometimes fails with
adt-run: @@@@@@@@@@@@@@@@@@@@ ubtree ubtree0
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/adt-virt-qemu, bump this:
# 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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1317358/+subscriptions
More information about the foundations-bugs
mailing list