[Bug 1287943] Re: vm-builder needs trusty suite
Brian Candler
1287943 at bugs.launchpad.net
Thu Jun 19 12:04:13 UTC 2014
I can replicate this issue with a standalone python script.
http://pastebin.com/vTREYc9n
It hangs at:
read stdout: 'I: Base system installed successfully.\n'
Furthermore, if I add a timeout to select and force it to read anyway, I
get an IOError:
read stdout: [Errno 11] Resource temporarily unavailable
It's easy to eliminate the zombie child. You can reap the child
explicitly by adding this to the main loop:
sys.stderr.write("poll=%s\n" % repr(proc.poll()))
However even after the child has terminated, select() still says there's
no data to read, and read() gives EAGAIN.
Note: changing the code to use proc.communicate() also hangs and leaves
a zombie child. And that uses threads rather than non-blocking sockets.
This looks very much like a bug in python to me.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in Ubuntu.
https://bugs.launchpad.net/bugs/1287943
Title:
vm-builder needs trusty suite
To manage notifications about this bug go to:
https://bugs.launchpad.net/vmbuilder/+bug/1287943/+subscriptions
More information about the Ubuntu-server-bugs
mailing list