Re: [vdsm] gdb for python

2012-04-17 Thread wenchao xia
on a thread hanging problem in vdsm, but when I use gdb to attach the process, no python stack could be showed. Adam recommend me asking for your help, could u give me some tips on how to setup gdb to spy on running python script? Best Regards Wenchao Xia

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] changing vdsm spec file to use python 2.7.3 on Fedora

2012-04-25 Thread wenchao xia
2.6.6. On Tue, 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

[vdsm] Introducing a validation test package to vdsm

2012-04-26 Thread wenchao xia
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 test

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