Hi, every expert:

   I have a  Mips64 board is installed with a very basic Linux even without
gcc. For some reason, the board is only connected to a Winxp host, so I
install a Ubuntu virtual machine on it. Autotest is installed in the Ubuntu
vm, and can ssh to mips board without password.
   I run the command :
---------------------------
   ../server/autoserv -m [email protected] -r ./ -c
../client/tests/selftest/control
----------------------
   this will lead to error, the error is :
 19:51:25 INFO | Results placed in /usr/local/autotest/result
19:51:25 INFO | Processing control file
19:51:26 INFO | HOST2.__init
19:51:26 INFO | HOST1.__init__
19:51:26 INFO | SSHHost._initialize
19:51:26 INFO | HOST2.__initialize
19:51:26 INFO | HOST1.__initialize
19:51:27 ERROR| [stderr] Warning: Permanently added '128.0.0.111' (RSA) to
the list of known hosts.
19:51:27 ERROR| [stderr] You are trying to access a restricted zone. Only
Authorized Users allowed.
19:51:27 WARNI| Target 128.0.0.111 is missing expected remote paths:
/var/log/kern.log
19:51:28 ERROR| [stderr] You are trying to access a restricted zone. Only
Authorized Users allowed.
19:51:28 ERROR| [stderr] You are trying to access a restricted zone. Only
Authorized Users allowed.
19:51:29 ERROR| [stderr] You are trying to access a restricted zone. Only
Authorized Users allowed.
19:51:29 INFO | INFO ---- ---- kernel=2.6.27.39-WR3.0.2ax_standard
localtime=Mar
10 19:51:29 timestamp=1299757889
19:51:32 ERROR| [stderr] You are trying to access a restricted zone. Only
Authorized Users allowed.
19:51:32 INFO | Installing autotest on 128.0.0.111
19:51:33 ERROR| [stderr] You are trying to access a restricted zone. Only
Authorized Users allowed.
19:51:33 ERROR| [stderr] You are trying to access a restricted zone. Only
Authorized Users allowed.
19:51:33 INFO | Using installation dir /usr/local/autotest
19:51:34 ERROR| [stderr] You are trying to access a restricted zone. Only
Authorized Users allowed.
19:51:34 INFO | Could not install autotest using the packaging system: No
repos to install an autotest client from. Trying other methods
19:51:35 WARNI| rsync not available on remote host 128.0.0.111 -- disabled
19:51:36 ERROR| [stderr] You are trying to access a restricted zone. Only
Authorized Users allowed.
19:51:46 ERROR| [stderr] You are trying to access a restricted zone. Only
Authorized Users allowed.
19:51:46 INFO | Installation of autotest completed
19:51:46 ERROR| [stderr] You are trying to access a restricted zone. Only
Authorized Users allowed.
19:51:47 ERROR| [stderr] You are trying to access a restricted zone. Only
Authorized Users allowed.
19:51:48 ERROR| [stderr] You are trying to access a restricted zone. Only
Authorized Users allowed.
19:51:51 ERROR| [stderr] You are trying to access a restricted zone. Only
Authorized Users allowed.
19:51:51 INFO | Executing /usr/local/autotest/bin/autotest
/usr/local/autotest/control phase 0
19:51:51 ERROR| [stderr] You are trying to access a restricted zone. Only
Authorized Users allowed.
19:51:52 ERROR| [stderr] You are trying to access a restricted zone. Only
Authorized Users allowed.
19:51:53 INFO | You are trying to access a restricted zone. Only Authorized
Users allowed.
19:51:54 INFO | END ABORT ---- ---- timestamp=1299757914 localtime=Mar 10
19:51:54 Autotest client terminated unexpectedly
19:51:54 ERROR| [stderr] You are trying to access a restricted zone. Only
Authorized Users allowed.
19:51:55 ERROR| [stderr] You are trying to access a restricted zone. Only
Authorized Users allowed.
19:51:56 ERROR| Exception escaped control file, job aborting:
Traceback (most recent call last):
  File "/usr/local/autotest/server/server_job.py", line 541, in run
    self._execute_code(server_control_file, namespace)
  File "/usr/local/autotest/server/server_job.py", line 1024, in
_execute_code
    execfile(code_file, namespace, namespace)
  File "/usr/local/autotest/result/control.srv", line 10, in <module>
    job.parallel_simple(run_client, machines)
  File "/usr/local/autotest/server/server_job.py", line 443, in
parallel_simple
    return_results=return_results)
  File "/usr/local/autotest/server/subcommand.py", line 92, in
parallel_simple
    function(arg)
  File "/usr/local/autotest/result/control.srv", line 7, in run_client
    at.run(control, host=host)
  File "/usr/local/autotest/server/autotest.py", line 318, in run
    client_disconnect_timeout)
  File "/usr/local/autotest/server/autotest.py", line 401, in _do_run
    client_disconnect_timeout=client_disconnect_timeout)
  File "/usr/local/autotest/server/autotest.py", line 768, in
execute_control
    raise error.AutotestRunError(msg)
AutotestRunError: Aborting - unexpected final status message from client on
128.0.0.111:

19:51:57 INFO | HOST2.__init
19:51:57 INFO | HOST1.__init__
19:51:57 INFO | SSHHost._initialize
19:51:57 INFO | HOST2.__initialize
19:51:57 INFO | HOST1.__initialize
19:51:57 ERROR| [stderr] Warning: Permanently added '128.0.0.111' (RSA) to
the list of known hosts.
19:51:57 ERROR| [stderr] You are trying to access a restricted zone. Only
Authorized Users allowed.
19:51:57 INFO | Collecting crash information...
19:51:58 ERROR| [stderr] You are trying to access a restricted zone. Only
Authorized Users allowed.
19:51:58 INFO | 128.0.0.111 already up, collecting crash info
19:51:58 INFO | Collecting /var/tmp/messages.autotest_start...
19:51:58 WARNI| rsync not available on remote host 128.0.0.111 -- disabled
19:51:59 INFO | Collecting /var/log/messages...
19:51:59 INFO | Collecting /var/log/monitor-ssh-reboots...
19:52:00 WARNI| Collection of /var/log/monitor-ssh-reboots failed
19:52:00 INFO | Collecting 'dmesg' ...
19:52:00 ERROR| [stderr] You are trying to access a restricted zone. Only
Authorized Users allowed.
19:52:01 ERROR| [stderr] You are trying to access a restricted zone. Only
Authorized Users allowed.
19:52:01 ERROR| Traceback (most recent call last):
19:52:01 ERROR|   File "../server/autoserv", line 148, in run_autoserv
19:52:01 ERROR|     only_collect_crashinfo=collect_crashinfo)
19:52:01 ERROR|   File "/usr/local/autotest/server/server_job.py", line 551,
in run
19:52:01 ERROR|     {'job_abort_reason': str(e)})
19:52:01 ERROR|   File "/usr/local/autotest/client/common_lib/base_job.py",
line 986, in record
19:52:01 ERROR|     optional_fields)
19:52:01 ERROR|   File "/usr/local/autotest/client/common_lib/base_job.py",
line 474, in __init__
19:52:01 ERROR|     % (key, value))
19:52:01 ERROR| ValueError: Invalid character in
'job_abort_reason'='Aborting - unexpected final status message from client
on 128.0.0.111: \n' field
the "red" error is sent from the board, when I ssh to board using a
terminal, I get the message too. So I think it can be ignored.

Does the green error messages mean something? I'm now analysing the python
files according to the error messages. It will be great if someone can give
me some helpful information.

I change the "selftest" to other tests, but get the same error too.
I download the "autotest/client/" to board then execute the command, it can
complete successfully:
---------------------
bin/autotest tests/selfname/control
---------------------

sorry for my poor English and thanks for helps again.

-- 
Zhu Chenjie
Zhejiang University, China
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to