Hi Chris, Lucas Thanks for your assistance. class AsyncJob() is doing fine.
Applied patch from : https://github.com/autotest/autotest/commit/4296a0fd36ed5b7c10bfb4fcad4fc18ad79cb7fa#diff-4 The small problem I am getting is, the slave thread in the test which is waiting for master is not showing any results. Master thread logs are reflected in the results directory. Both are dumping logs in the stdout/stderr descriptors, so using get_stdout(), get_stderr() methods. One thing is confirmed that test is getting executed as expected. Still debugging on this issue, surely will update you about the same. -thanks yogesh On Wed, Feb 29, 2012 at 6:55 PM, Chris Evich <[email protected]> wrote: > On 02/29/2012 06:09 AM, Yogesh Kulkarni wrote: > > Does autotest provide any interfaces to launch multiple > processes/sessions > > on the client machine so that I can execute slave and master as different > > processes and collect result of both of them back to the server ? > > Hey, > > While you asked for processes, I did find a possible threading solution: > common_lib/utils.py which pulls in base_utils.py class AsyncJob(). I > didn't look too deeply at any synchronization aspects or other helpers, > but on the surface it appears it may work for you. Let us know if you > can't figure it out, or can't find anything that would work. Thanks! > > -- > Chris Evich, RHCA, RHCE, RHCDS, RHCSS > Quality Assurance Engineer > e-mail: cevich + `@' + redhat.com o: 1-888-RED-HAT1 x44214 > _______________________________________________ > Autotest mailing list > [email protected] > http://test.kernel.org/cgi-bin/mailman/listinfo/autotest >
_______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
