Re: [vdsm] Threading and Pipe bug in vdsm, related to python itself

2012-04-12 Thread wenchao xia
于 2012-4-12 14:54, Ayal Baron 写道: - Original Message - I am using Fedora 16 with default python2.7.2 installed, and found sometimes vdsm hanged at vdsm/storage/misc.py, func execFunc: p = subprocess.Popen(command, close_fds=True, cwd=cwd, stdin=infile, s

Re: [vdsm] Threading and Pipe bug in vdsm, related to python itself

2012-04-12 Thread wenchao xia
The attachment is the log. Vdsm was built on: 19981e1bee497cded822b184180d661b7cb625bd BZ#773210 - Avoid infinite loop when delete volume failed during the merge with following change: vdsm.spec.in: -Requires: lvm2 >= 2.02.95 +Requires: lvm2 >= 2.02.86 -Requires: libvirt >= 0.9.10-9 -

Re: [vdsm] gdb for python

2012-04-17 Thread wenchao xia
more features is but I don't have time to work on it. Patches are welcome! - Original Message - From: "wenchao xia" To: "Saggi Mizrahi" Sent: Monday, April 16, 2012 6:29:08 AM Subject: [vdsm] gdb for python Hi, Saggi, I am currently working on a thread han

Re: [vdsm] Threading and Pipe bug in vdsm, related to python itself

2012-04-18 Thread wenchao xia
attachment is test script to reproduce it, tar xzvf it, and sudo ./test_clean.sh. runs on vdsm after version: commit acfe53407b450cab3b600e257bf487556fbece5e Author: Saggi Mizrahi Date: Thu Apr 12 10:13:27 2012 -0400 Fix build-aux version scripts so that internal tags don't confuse t

Re: [vdsm] Threading and Pipe bug in vdsm, test .py file without vdsm

2012-04-19 Thread wenchao xia
Hi Ayal and Dan, Attachment is the file reproducing the bug, it is verified on python2.7.2(fedora16) and python2.7.2+(ubuntu). Related discuss on python issue tracker: http://bugs.python.org/issue2320 It is similar to what I observed, program hangs on a thread calling subprocess pipe.

Re: [vdsm] Threading and Pipe bug in vdsm, test .py file without vdsm

2012-04-19 Thread wenchao xia
The test script should be runned for several times, and thread 1 have its chance to hang. Hi Ayal and Dan, Attachment is the file reproducing the bug, it is verified on python2.7.2(fedora16) and python2.7.2+(ubuntu). Related discuss on python issue tracker: http://bugs.python.org/issue2320 It

[vdsm] changing vdsm spec file to use python 2.7.3 on Fedora

2012-04-24 Thread wenchao xia
Hello, I am planning to let vdsm use python 2.7.3 for that race condition was found in subprocess.Popen and threading.Thread in python 2.7.2 on Fedora 16. The test case could be found in previous mails. gerrit: http://gerrit.ovirt.org/#change,3638 Python 2.7.3 on Fedora could be got from : https:

Re: [vdsm] changing vdsm spec file to use python 2.7.3 on Fedora

2012-04-25 Thread wenchao xia
, Apr 24, 2012 at 05:10:40PM +0800, wenchao xia wrote: Hello, I am planning to let vdsm use python 2.7.3 for that race condition was found in subprocess.Popen and threading.Thread in python 2.7.2 on Fedora 16. The test case could be found in previous mails. gerrit: http://gerrit.ovirt.org/#change

Re: [vdsm] changing vdsm spec file to use python 2.7.3 on Fedora

2012-04-25 Thread wenchao xia
, Apr 24, 2012 at 05:10:40PM +0800, wenchao xia wrote: Hello, I am planning to let vdsm use python 2.7.3 for that race condition was found in subprocess.Popen and threading.Thread in python 2.7.2 on Fedora 16. The test case could be found in previous mails. gerrit: http://gerrit.ovirt.org/#change

[vdsm] Introducing a validation test package to vdsm

2012-04-26 Thread wenchao xia
wo sub dir in test/VT: user_case_test;general_test. It is just a scratch from my mind, so I'd like hear your opinions. Best Regargs: Wenchao Xia ___ vdsm-devel mailing list vdsm-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/vdsm-devel

Re: [vdsm] Introducing a validation test package to vdsm

2012-04-26 Thread wenchao xia
于 2012-4-26 21:57, Adam Litke 写道: On Thu, Apr 26, 2012 at 05:24:29PM +0800, wenchao xia wrote: Hello, vdsm now have UT suits for developer, but sometimes building and installation machine is not the same one, and additional check is need which is ignored at building time, so I think some

Re: [vdsm] Introducing a validation test package to vdsm

2012-04-26 Thread wenchao xia
于 2012-4-27 5:13, Ewoud Kohl van Wijngaarden 写道: On Thu, Apr 26, 2012 at 11:11:49AM -0500, Adam Litke wrote: On Thu, Apr 26, 2012 at 11:12:06PM +0800, Shu Ming wrote: One more comment about the test package version. Most likely, the package version will be the same version as the VDSM package

Re: [vdsm] Introducing a validation test package to vdsm

2012-04-26 Thread wenchao xia
于 2012-4-26 22:35, Ewoud Kohl van Wijngaarden 写道: On Thu, Apr 26, 2012 at 08:57:55AM -0500, Adam Litke wrote: On Thu, Apr 26, 2012 at 05:24:29PM +0800, wenchao xia wrote: It is just a scratch from my mind, so I'd like hear your opinions. Thanks for the idea! Do you have a sample tes

Re: [vdsm] Introducing a validation test package to vdsm

2012-05-01 Thread wenchao xia
于 2012-4-30 17:26, Dan Kenigsberg 写道: On Fri, Apr 27, 2012 at 11:19:21AM +0800, wenchao xia wrote: 于 2012-4-26 21:57, Adam Litke 写道: On Thu, Apr 26, 2012 at 05:24:29PM +0800, wenchao xia wrote: Hello, vdsm now have UT suits for developer, but sometimes building and installation machine is

Re: [vdsm] Introducing a validation test package to vdsm

2012-05-02 Thread wenchao xia
于 2012-5-2 19:53, Dan Kenigsberg 写道: On Wed, May 02, 2012 at 08:36:18AM +0800, wenchao xia wrote: 于 2012-4-30 17:26, Dan Kenigsberg 写道: On Fri, Apr 27, 2012 at 11:19:21AM +0800, wenchao xia wrote: 于 2012-4-26 21:57, Adam Litke 写道: On Thu, Apr 26, 2012 at 05:24:29PM +0800, wenchao xia wrote