please put 'job.' in front of the call to parallel_simple().
On Mon, Nov 22, 2010 at 12:49 AM, divya <[email protected]> wrote: > Hi Lucas , > > Im getting the following error while trying to execute the netperf tests on > 2 machines(client and server) using autoserv. > Attached is the control file that we are trying to execute > > Unhandled NameError: name 'parallel_simple' is not defined > 19:21:33 WARNI| devl4pp-barton-linux1.austin.ibm.com : Target > devl4pp-barton-linux1.austin.ibm.com is missing expected remote paths: > /var/log/kern.log > 19:21:34 INFO | devl4pp-barton-linux1.austin.ibm.com : INFO ---- > ---- kernel=2.6.18-231.el5 localtime=Nov 21 19:21:34 > timestamp=1290385294 > 19:21:35 INFO | devl4pp-barton-linux1.austin.ibm.com : Installing autotest > on devl4pp-barton-linux1.austin.ibm.com > 19:21:35 INFO | devl4pp-barton-linux1.austin.ibm.com : Using installation > dir /usr/local/autotest > 19:21:36 ERROR| devl4pp-barton-linux1.austin.ibm.com : Could not install > autotest from repos > 19:21:37 INFO | devl4pp-barton-linux1.austin.ibm.com : Installation of > autotest completed > 19:21:37 INFO | devl4pp-barton-linux1.austin.ibm.com : GOOD ---- > Autotest.install timestamp=1290385297 localtime=Nov 21 19:21:37 > 19:21:40 INFO | devl4pp-barton-linux1.austin.ibm.com : Executing > /usr/local/autotest/bin/autotest /usr/local/autotest/control phase 0 > 19:21:41 WARNI| ltc-test-l4e-rhel.austin.ibm.com : Target > ltc-test-l4e-rhel.austin.ibm.com is missing expected remote paths: > /var/log/kern.log > 19:21:50 INFO | devl4pp-barton-linux1.austin.ibm.com : START ---- > ---- timestamp=1290413353 localtime=Nov 22 13:39:13 > 19:21:50 INFO | devl4pp-barton-linux1.austin.ibm.com : END ABORT > ---- ---- timestamp=1290413353 localtime=Nov 22 13:39:13 > Unhandled NameError: name 'parallel_simple' is not defined > 19:21:50 INFO | devl4pp-barton-linux1.austin.ibm.com : Traceback (most > recent call last): > 19:21:50 INFO | devl4pp-barton-linux1.austin.ibm.com : File > "/usr/local/autotest/bin/job.py", line 1102, in step_engine > 19:21:50 INFO | devl4pp-barton-linux1.austin.ibm.com : > execfile(self.control, global_control_vars, global_control_vars) > 19:21:50 INFO | devl4pp-barton-linux1.austin.ibm.com : File > "/usr/local/autotest/control.autoserv", line 46, in ? > 19:21:50 INFO | devl4pp-barton-linux1.austin.ibm.com : > parallel_simple(run_netperf2, [machines[0], machines[1]]) > 19:21:50 INFO | devl4pp-barton-linux1.austin.ibm.com : NameError: name > 'parallel_simple' is not defined > 19:21:51 INFO | devl4pp-barton-linux1.austin.ibm.com : END ABORT > ---- ---- timestamp=1290385311 localtime=Nov 21 19:21:51 > Autotest client terminated unexpectedly > 19:21:53 ERROR| devl4pp-barton-linux1.austin.ibm.com : function failed > Traceback (most recent call last): > File "/home/rfolco/autotest-0.12.0/server/subcommand.py", line 178, in > fork_start > result = self.lambda_function() > File "/home/rfolco/autotest-0.12.0/server/subcommand.py", line 125, > in<lambda> > self.lambda_function = lambda: func(*args) > File "/home/rfolco/autotest-0.12.0/server/server_job.py", line 347, in > wrapper > result = function(machine) > File > "/home/rfolco/autotest-0.12.0/results/divya/rhel5.6-snap1/netperf2/control.srv", > line 9, in run_client > at.run(control, host=host, job_tag=job.tag) > File "/home/rfolco/autotest-0.12.0/server/autotest.py", line 322, in run > client_disconnect_timeout, job_tag) > File "/home/rfolco/autotest-0.12.0/server/autotest.py", line 414, in > _do_run > client_disconnect_timeout=client_disconnect_timeout) > File "/home/rfolco/autotest-0.12.0/server/autotest.py", line 773, in > execute_control > logger, client_disconnect_timeout) > File "/home/rfolco/autotest-0.12.0/server/autotest.py", line 685, in > execute_section > raise err > AutotestRunError: client job was aborted > 19:21:53 INFO | subcommand failed pid 16566 > 19:21:53 INFO |<function wrapper at 0x10357e30> > 19:21:53 INFO | rc=1 > 19:21:53 INFO | > 19:21:53 INFO | > 19:21:53 INFO | -------------------------------------------- > > Thanks > Divya > > > _______________________________________________ > 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
