Wenchao Xia has posted comments on this change.
Change subject: walk around threading and pipe problem ......................................................................
Patch Set 1:
added an attachment in bug808853 https://bugzilla.redhat.com/show_bug.cgi?id=808853
Thread_Pipe_Test.py, a test python file to reproduce it without vdsm. Running it about 10 times should result in thread 1 hanging.
I am trying to build latest python release, so can't fire a bug in python issue tracker now. But there are some discuss about subprocess issue there: http://bugs.python.org/issue2320,
It is similar to what I observed, hangs on a thread calling subprocess pipe, conclusion is it is fixed in python 3.2, but not python 2.7. My test case is that one thread hanging at subprocess pipe call while another thread call start(). So more validation is needed on python 3.2 to see if it covers the situation.
-- To view, visit http://gerrit.ovirt.org/3638 To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment Gerrit-Change-Id: I72e2eac7c15fd147b953eebf701257469546d62b Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Wenchao Xia xiawenc@linux.vnet.ibm.com Gerrit-Reviewer: Adam Litke agl@us.ibm.com Gerrit-Reviewer: Ayal Baron abaron@redhat.com Gerrit-Reviewer: Dan Kenigsberg danken@redhat.com Gerrit-Reviewer: Mark Wu wudxw@linux.vnet.ibm.com Gerrit-Reviewer: Saggi Mizrahi smizrahi@redhat.com Gerrit-Reviewer: Shu Ming sming56@gmail.com Gerrit-Reviewer: Wenchao Xia xiawenc@linux.vnet.ibm.com