From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Goldish Subject: KVM-Autotest: server problem Date: Mon, 18 May 2009 04:01:04 -0400 (EDT) Message-ID: <2088237534.88171242633664303.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com> References: <346454544.88121242633617578.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: KVM List To: Lucas Meneghel Rodrigues Return-path: Received: from mx1.redhat.com ([66.187.233.31]:47635 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750775AbZERIBG (ORCPT ); Mon, 18 May 2009 04:01:06 -0400 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n4I817k3003986 for ; Mon, 18 May 2009 04:01:07 -0400 In-Reply-To: <346454544.88121242633617578.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Hi Lucas, Since I consider you our Autotest reference I direct the following question to you. Currently our Autotest servers run tests in client mode using the same control file on all hosts. We want to move on to dispatching tests from the server, using a server control file, so that each host runs several test execution pipelines. As far as I know this should be straightforward using at.run_test(), subcommand() and parallel(), as explained in http://autotest.kernel.org/wiki/ServerControlHowto. Theoretically there should be no problem running several pipelines on each host because several independent copies of the Autotest client can be installed in unique temporary directories on each host (using set_install_in_tmpdir()). Though me managed to run two tests in parallel on a single host, the server seems to have trouble parsing the results. Depending on what test tags we specify, the server either displays none or some of the results, but never all of them. Also, there seems to be a difference between what the server displays during execution, and what it displays after execution has completed. In one of the configurations we've tried the server displayed the test results while they were still executing, but as soon as they were completed, the results disappeared and the only visible results remaining were those of the Autotest client installation. Is this a known issue, or is it more likely that I made a mistake somewhere? Is there a known fix or workaround? Could this functionality (running tests in parallel on the same host, from the server) be unsupported? I haven't provided any code because I've temporarily lost contact with the server I was experimenting on. If you find it useful I'll provide some code as soon as I regain access. Note: this message is unrelated to the one I posted yesterday to the KVM list. Yesterday's message refers to the possibility of running tests in parallel using a client control file, not a server one. Thanks, Michael