On 07/16/2012 08:59 AM, Prasad Joshi wrote:
[root@StecIndia server]# ./autotest-remote -m 172.20.10.98 ../client/tests/sleeptest/control --ssh-user=root --ssh-pass=stec@123 /usr/local/autotest/client/tools/boottool.py:10: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import urllib, tarfile, tempfile, shutil, struct, md5
17:25:25 INFO | Results placed in /usr/local/autotest/server/results.2012-07-16-17.25.25
17:25:25 INFO | Processing control file
17:25:25 INFO | START sleeptest sleeptest timestamp=1342439725 localtime=Jul 16 17:25:25 17:25:25 INFO | Starting master ssh connection '/usr/bin/ssh -a -x -N -o ControlMaster=yes -o ControlPath=/tmp/_autotmp_YL8Fkwssh-master/socket -o StrictHostKeyChecking=no -o UserKnownHostsFile=/tmp/tmphqF1w3 -o BatchMode=yes -o ConnectTimeout=30 -o ServerAliveInterval=300 -l root -p 22 172.20.10.98'
17:25:26 INFO | Installing autotest on 172.20.10.98
17:25:26 INFO | Using installation dir /tmp/sysinfo/autoserv-d91ekD
17:25:26 INFO | Could not install autotest using the packaging system: No repos to install an autotest client from. Trying other methods
17:25:26 INFO | Installation of autotest completed
17:25:27 INFO | Executing /tmp/sysinfo/autoserv-d91ekD/autotest /tmp/sysinfo/autoserv-d91ekD/control phase 0 17:25:28 INFO | START ---- ---- timestamp=1342439728 localtime=Jul 16 17:25:28 17:25:28 INFO | END ABORT ---- ---- timestamp=1342439729 localtime=Jul 16 17:25:29 Unhandled TypeError: can't pickle file objects
17:25:30 INFO | pre-test server sysinfo error:
17:25:30 INFO | Traceback (most recent call last):
17:25:30 INFO | File "/usr/local/autotest/client/shared/log.py", line 70, in decorated_func
17:25:30 INFO |     fn(*args, **dargs)
17:25:30 INFO | File "/usr/local/autotest/server/test.py", line 61, in wrapper
17:25:30 INFO |     func(self, mytest, host, at, outputdir)
17:25:30 INFO | File "/usr/local/autotest/server/test.py", line 162, in before_hook
17:25:30 INFO |     results_dir=self.job.resultdir)
17:25:30 INFO | File "/usr/local/autotest/server/autotest_remote.py", line 343, in run
17:25:30 INFO |     client_disconnect_timeout)
17:25:30 INFO | File "/usr/local/autotest/server/autotest_remote.py", line 424, in _do_run
17:25:30 INFO | client_disconnect_timeout=client_disconnect_timeout)
17:25:30 INFO | File "/usr/local/autotest/server/autotest_remote.py", line 787, in execute_control
17:25:30 INFO |     logger, client_disconnect_timeout)
17:25:30 INFO | File "/usr/local/autotest/server/autotest_remote.py", line 732, in execute_section
17:25:30 INFO |     raise err
17:25:30 INFO | AutotestRunError: client job was aborted
17:25:31 INFO | Executing /tmp/sysinfo/autoserv-d91ekD/autotest /tmp/sysinfo/autoserv-d91ekD/control phase 0 17:25:32 INFO | START ---- ---- timestamp=1342439732 localtime=Jul 16 17:25:32 17:25:32 INFO | END ABORT ---- ---- timestamp=1342439733 localtime=Jul 16 17:25:33 Unhandled TypeError: can't pickle file objects
17:25:34 INFO | pre-test iteration server sysinfo error:
17:25:34 INFO | Traceback (most recent call last):
17:25:34 INFO | File "/usr/local/autotest/client/shared/log.py", line 70, in decorated_func
17:25:34 INFO |     fn(*args, **dargs)
17:25:34 INFO | File "/usr/local/autotest/server/test.py", line 61, in wrapper
17:25:34 INFO |     func(self, mytest, host, at, outputdir)
17:25:34 INFO | File "/usr/local/autotest/server/test.py", line 177, in before_iteration_hook
17:25:34 INFO |     results_dir=self.job.resultdir)
17:25:34 INFO | File "/usr/local/autotest/server/autotest_remote.py", line 343, in run
17:25:34 INFO |     client_disconnect_timeout)
17:25:34 INFO | File "/usr/local/autotest/server/autotest_remote.py", line 424, in _do_run
17:25:34 INFO | client_disconnect_timeout=client_disconnect_timeout)
17:25:34 INFO | File "/usr/local/autotest/server/autotest_remote.py", line 787, in execute_control
17:25:34 INFO |     logger, client_disconnect_timeout)
17:25:34 INFO | File "/usr/local/autotest/server/autotest_remote.py", line 732, in execute_section
17:25:34 INFO |     raise err
17:25:34 INFO | AutotestRunError: client job was aborted
17:25:37 INFO | Executing /tmp/sysinfo/autoserv-d91ekD/autotest /tmp/sysinfo/autoserv-d91ekD/control phase 0 17:25:38 INFO | START ---- ---- timestamp=1342439738 localtime=Jul 16 17:25:38 17:25:38 INFO | END ABORT ---- ---- timestamp=1342439739 localtime=Jul 16 17:25:39 Unhandled TypeError: can't pickle file objects
17:25:40 INFO | post-test iteration server sysinfo error:
17:25:40 INFO | Traceback (most recent call last):
17:25:40 INFO | File "/usr/local/autotest/client/shared/log.py", line 70, in decorated_func
17:25:40 INFO |     fn(*args, **dargs)
17:25:40 INFO | File "/usr/local/autotest/server/test.py", line 61, in wrapper
17:25:40 INFO |     func(self, mytest, host, at, outputdir)
17:25:40 INFO | File "/usr/local/autotest/server/test.py", line 192, in after_iteration_hook
17:25:40 INFO |     results_dir=self.job.resultdir)
17:25:40 INFO | File "/usr/local/autotest/server/autotest_remote.py", line 343, in run
17:25:40 INFO |     client_disconnect_timeout)
17:25:40 INFO | File "/usr/local/autotest/server/autotest_remote.py", line 424, in _do_run
17:25:40 INFO | client_disconnect_timeout=client_disconnect_timeout)
17:25:40 INFO | File "/usr/local/autotest/server/autotest_remote.py", line 787, in execute_control
17:25:40 INFO |     logger, client_disconnect_timeout)
17:25:40 INFO | File "/usr/local/autotest/server/autotest_remote.py", line 732, in execute_section
17:25:40 INFO |     raise err
17:25:40 INFO | AutotestRunError: client job was aborted
17:25:41 INFO | Executing /tmp/sysinfo/autoserv-d91ekD/autotest /tmp/sysinfo/autoserv-d91ekD/control phase 0 17:25:42 INFO | START ---- ---- timestamp=1342439742 localtime=Jul 16 17:25:42 17:25:42 INFO | GOOD ---- sysinfo.after timestamp=1342439742 localtime=Jul 16 17:25:42 17:25:42 INFO | END GOOD ---- ---- timestamp=1342439742 localtime=Jul 16 17:25:42
17:25:44 INFO | Client complete
17:25:45 INFO | GOOD sleeptest sleeptest timestamp=1342439745 localtime=Jul 16 17:25:45 completed successfully 17:25:45 INFO | END GOOD sleeptest sleeptest timestamp=1342439745 localtime=Jul 16 17:25:45
17:25:45 INFO | Finished processing control file
17:25:45 INFO | Starting master ssh connection '/usr/bin/ssh -a -x -N -o ControlMaster=yes -o ControlPath=/tmp/_autotmp_3SdNPcssh-master/socket -o StrictHostKeyChecking=no -o UserKnownHostsFile=/tmp/tmpRqwFlE -o BatchMode=yes -o ConnectTimeout=30 -o ServerAliveInterval=300 -l root -p 22 172.20.10.98' 17:25:45 ERROR| [stderr] Warning: Permanently added '172.20.10.98' (RSA) to the list of known hosts.



Attached file contains the output of the verbose run.

Thanks and Warm Regards,
Prasad



_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest


Prasad,

I tried but could not reproduce your error. What autotest version (commit?) are you using?

Also, have you tried using key based authentication for SSH? I mention this because it's one of the differences from my test environment (haven't used password based auth with autoserv for a while).

Thanks,
CR.

_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to