On Tue, Jul 17, 2012 at 7:36 PM, Cleber Rosa <cr...@redhat.com> wrote: > On 07/17/2012 10:52 AM, Prasad Joshi wrote: >> >> On Tue, Jul 17, 2012 at 7:14 PM, Cleber Rosa <cr...@redhat.com> wrote: >>> >>> On 07/16/2012 08:59 AM, Prasad Joshi wrote: >>> >>> >>> Prasad, >>> >>> I tried but could not reproduce your error. What autotest version >>> (commit?) are you using? >> >> Hello Cleber Rosa, >> >> The topmost commit on my repository is >> >> commit 1c25a2387f8a7e1844ce28f315cb04233469979f >> Author: Lucas Meneghel Rodrigues <l...@redhat.com> >> Date: Tue Jul 10 22:52:27 2012 +0000 >> >> frontend.db.backends: Fix undefined name error in _valid_connection >> >> >>> 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). >>> >> I tried key based authentication as well, it did not work for me. > > > Prasad, > > I've just re-run the test with the same commit you're using (the current > HEAD of master) and again, could not replicate it. > > Maybe it's something related to the system you're running the test on. Is is > a fresh system? If not, could you try on one? A simple (but fresh) virtual > machine will do for the sleep test. >
Hello Cleber Rosa, As you suggested I experimented with the a freshly installed system. Please find the attached installation log. However, the sleeptest failed to run on my machine. Here is the log if you want to see it root@prasad-autotest-2:/usr/local/autotest/server# ./autotest-remote -m 172.20.10.64 tests/sleeptest/control 19:08:44 INFO | Results placed in /usr/local/autotest/server/results.2012-07-18-19.08.44 19:08:44 INFO | Processing control file 19:08:44 INFO | Starting master ssh connection '/usr/bin/ssh -a -x -N -o ControlMaster=yes -o ControlPath=/tmp/_autotmp_g1vw8Essh-master/socket -o StrictHostKeyChecking=no -o UserKnownHostsFile=/tmp/tmpoYGY67 -o BatchMode=yes -o ConnectTimeout=30 -o ServerAliveInterval=300 -l root -p 22 172.20.10.64' 19:08:44 WARNI| Target 172.20.10.64 is missing expected remote paths: /var/log/kern.log 19:08:44 INFO | START sleeptest sleeptest timestamp=1342618724 localtime=Jul 18 19:08:44 19:08:44 INFO | Starting master ssh connection '/usr/bin/ssh -a -x -N -o ControlMaster=yes -o ControlPath=/tmp/_autotmp_pXkElKssh-master/socket -o StrictHostKeyChecking=no -o UserKnownHostsFile=/tmp/tmpIdy4NP -o BatchMode=yes -o ConnectTimeout=30 -o ServerAliveInterval=300 -l root -p 22 172.20.10.64' 19:08:45 INFO | Installing autotest on 172.20.10.64 19:08:45 INFO | Using installation dir /tmp/sysinfo/autoserv-tVg1Pk 19:08:45 INFO | Could not install autotest using the packaging system: No repos to install an autotest client from. Trying other methods 19:08:45 INFO | Installation of autotest completed 19:08:46 INFO | Executing /tmp/sysinfo/autoserv-tVg1Pk/autotest /tmp/sysinfo/autoserv-tVg1Pk/control phase 0 19:08:47 INFO | START ---- ---- timestamp=1342598927 localtime=Jul 18 13:38:47 19:08:48 INFO | END ABORT ---- ---- timestamp=1342598928 localtime=Jul 18 13:38:48 Unhandled TypeError: can't pickle file objects 19:08:50 INFO | pre-test server sysinfo error: 19:08:50 INFO | Traceback (most recent call last): 19:08:50 INFO | File "/usr/local/autotest/client/shared/log.py", line 70, in decorated_func 19:08:50 INFO | fn(*args, **dargs) 19:08:50 INFO | File "/usr/local/autotest/server/test.py", line 61, in wrapper 19:08:50 INFO | func(self, mytest, host, at, outputdir) 19:08:50 INFO | File "/usr/local/autotest/server/test.py", line 162, in before_hook 19:08:50 INFO | results_dir=self.job.resultdir) 19:08:50 INFO | File "/usr/local/autotest/server/autotest_remote.py", line 343, in run 19:08:50 INFO | client_disconnect_timeout) 19:08:50 INFO | File "/usr/local/autotest/server/autotest_remote.py", line 424, in _do_run 19:08:50 INFO | client_disconnect_timeout=client_disconnect_timeout) 19:08:50 INFO | File "/usr/local/autotest/server/autotest_remote.py", line 787, in execute_control 19:08:50 INFO | logger, client_disconnect_timeout) 19:08:50 INFO | File "/usr/local/autotest/server/autotest_remote.py", line 732, in execute_section 19:08:50 INFO | raise err 19:08:50 INFO | AutotestRunError: client job was aborted 19:08:51 INFO | Executing /tmp/sysinfo/autoserv-tVg1Pk/autotest /tmp/sysinfo/autoserv-tVg1Pk/control phase 0 19:08:51 INFO | START ---- ---- timestamp=1342598931 localtime=Jul 18 13:38:51 19:08:52 INFO | END ABORT ---- ---- timestamp=1342598932 localtime=Jul 18 13:38:52 Unhandled TypeError: can't pickle file objects 19:08:54 INFO | pre-test iteration server sysinfo error: 19:08:54 INFO | Traceback (most recent call last): 19:08:54 INFO | File "/usr/local/autotest/client/shared/log.py", line 70, in decorated_func 19:08:54 INFO | fn(*args, **dargs) 19:08:54 INFO | File "/usr/local/autotest/server/test.py", line 61, in wrapper 19:08:54 INFO | func(self, mytest, host, at, outputdir) 19:08:54 INFO | File "/usr/local/autotest/server/test.py", line 177, in before_iteration_hook 19:08:54 INFO | results_dir=self.job.resultdir) 19:08:54 INFO | File "/usr/local/autotest/server/autotest_remote.py", line 343, in run 19:08:54 INFO | client_disconnect_timeout) 19:08:54 INFO | File "/usr/local/autotest/server/autotest_remote.py", line 424, in _do_run 19:08:54 INFO | client_disconnect_timeout=client_disconnect_timeout) 19:08:54 INFO | File "/usr/local/autotest/server/autotest_remote.py", line 787, in execute_control 19:08:54 INFO | logger, client_disconnect_timeout) 19:08:54 INFO | File "/usr/local/autotest/server/autotest_remote.py", line 732, in execute_section 19:08:54 INFO | raise err 19:08:54 INFO | AutotestRunError: client job was aborted 19:08:55 INFO | Executing /tmp/sysinfo/autoserv-tVg1Pk/autotest /tmp/sysinfo/autoserv-tVg1Pk/control phase 0 19:08:56 INFO | START ---- ---- timestamp=1342598936 localtime=Jul 18 13:38:56 19:08:56 INFO | END ABORT ---- ---- timestamp=1342598936 localtime=Jul 18 13:38:56 Unhandled TypeError: can't pickle file objects 19:08:58 INFO | post-test iteration server sysinfo error: 19:08:58 INFO | Traceback (most recent call last): 19:08:58 INFO | File "/usr/local/autotest/client/shared/log.py", line 70, in decorated_func 19:08:58 INFO | fn(*args, **dargs) 19:08:58 INFO | File "/usr/local/autotest/server/test.py", line 61, in wrapper 19:08:58 INFO | func(self, mytest, host, at, outputdir) 19:08:58 INFO | File "/usr/local/autotest/server/test.py", line 192, in after_iteration_hook 19:08:58 INFO | results_dir=self.job.resultdir) 19:08:58 INFO | File "/usr/local/autotest/server/autotest_remote.py", line 343, in run 19:08:58 INFO | client_disconnect_timeout) 19:08:58 INFO | File "/usr/local/autotest/server/autotest_remote.py", line 424, in _do_run 19:08:58 INFO | client_disconnect_timeout=client_disconnect_timeout) 19:08:58 INFO | File "/usr/local/autotest/server/autotest_remote.py", line 787, in execute_control 19:08:58 INFO | logger, client_disconnect_timeout) 19:08:58 INFO | File "/usr/local/autotest/server/autotest_remote.py", line 732, in execute_section 19:08:58 INFO | raise err 19:08:58 INFO | AutotestRunError: client job was aborted 19:08:59 INFO | Executing /tmp/sysinfo/autoserv-tVg1Pk/autotest /tmp/sysinfo/autoserv-tVg1Pk/control phase 0 19:08:59 INFO | START ---- ---- timestamp=1342598939 localtime=Jul 18 13:38:59 19:08:59 INFO | GOOD ---- sysinfo.after timestamp=1342598939 localtime=Jul 18 13:38:59 19:08:59 INFO | END GOOD ---- ---- timestamp=1342598939 localtime=Jul 18 13:38:59 19:09:01 INFO | Client complete 19:09:03 INFO | GOOD sleeptest sleeptest timestamp=1342618743 localtime=Jul 18 19:09:03 completed successfully 19:09:03 INFO | END GOOD sleeptest sleeptest timestamp=1342618743 localtime=Jul 18 19:09:03 19:09:03 INFO | Finished processing control file Thanks and Warm Regards, Prasad > Thanks, > CR. > > >> Thanks and Regards, >> Prasad >> >>> Thanks, >>> CR. >>> > >
autotest_server_install.log
Description: Binary data
_______________________________________________ Autotest mailing list Autotest@test.kernel.org http://test.kernel.org/cgi-bin/mailman/listinfo/autotest