Hi all,

Please find the log of the test execution with autotest below.

I am not able to figure out why 'permission denied' error returned on
stderr, though passwordless ssh login for the target machine works fine.
I am having this error from past few iterations with the perfectly working
autotest setup.



------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


*kvm-#II autotest@:$ ../server/autoserv -m 10.0.0.136 -r
./results-ltp-14052012145615 -c ../client/tests/hello_world_cfg/control
--ssh-user=root*
*
*
15:24:12 INFO | Results placed in
/usr/local/autotest/results/results-ltp-14052012145615
15:24:12 INFO | Processing control file
15:24:18 INFO | Launching followfiles on target: 10.0.0.136,
/var/tmp/autoserv-vZe6MS, ['/var/log/kern.log']
15:24:21 WARNI| rsync not available on remote host 10.0.0.136 -- disabled
15:24:28 INFO | INFO ---- ---- kernel=2.6.36.2 localtime=May 14 15:24:28
timestamp=1336989268
15:24:34 INFO | Installing autotest on 10.0.0.136
15:24:36 INFO | Using installation dir /usr/local/autotest
15:24:38 INFO | Could not install autotest using the packaging system: No
repos to install an autotest client from. Trying other methods
15:26:29 ERROR| Exception escaped control file, job aborting:
Traceback (most recent call last):
  File "/usr/local/autotest/server/server_job.py", line 535, in run
    self._execute_code(server_control_file, namespace)
  File "/usr/local/autotest/server/server_job.py", line 1018, in
_execute_code
    execfile(code_file, namespace, namespace)
  File
"/usr/local/autotest/results/results-ltp-14052012145615/control.srv", line
10, in <module>
    job.parallel_simple(run_client, machines)
  File "/usr/local/autotest/server/server_job.py", line 437, 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/results/results-ltp-14052012145615/control.srv", line
7, in run_client
    at.run(control, host=host)
  File "/usr/local/autotest/server/autotest_remote.py", line 302, in run
    host = self._get_host_and_setup(host)
  File "/usr/local/autotest/server/autotest_remote.py", line 320, in
_get_host_and_setup
    self.install(host)
  File "/usr/local/autotest/server/autotest_remote.py", line 125, in install
    self._install(host=host, autodir=autodir)
  File "/usr/local/autotest/server/autotest_remote.py", line 229, in
_install
    self._install_using_send_file(host, autodir)
  File "/usr/local/autotest/server/autotest_remote.py", line 164, in
_install_using_send_file
    host.send_file(light_files, autodir, delete_dest=True)
  File "/usr/local/autotest/server/hosts/abstract_ssh.py", line 404, in
send_file
    raise error.AutoservRunError(e.args[0], e.args[1])
AutoservRunError: scp -rq  -o StrictHostKeyChecking=no -o
UserKnownHostsFile=/tmp/tmpkTnSDx -P 22
/usr/local/autotest/client/__init__.pyc /usr/local/autotest/client/packages
/usr/local/autotest/client/tmp /usr/local/autotest/client/__init__.py
/usr/local/autotest/client/bin /usr/local/autotest/client/LICENSE
/usr/local/autotest/client/setup_modules.py
/usr/local/autotest/client/stderr /usr/local/autotest/client/config
/usr/local/autotest/client/results
/usr/local/autotest/client/setup_modules_unittest.py
/usr/local/autotest/client/common_lib /usr/local/autotest/client/virt
/usr/local/autotest/client/setup_modules.pyc
/usr/local/autotest/client/control /usr/local/autotest/client/samples
/usr/local/autotest/client/tools* '[email protected]:"/usr/local/autotest"'*
* Command:
    scp -rq  -o StrictHostKeyChecking=no -o
UserKnownHostsFile=/tmp/tmpkTnSDx
    -P 22 /usr/local/autotest/client/__init__.pyc
    /usr/local/autotest/client/packages /usr/local/autotest/client/tmp
    /usr/local/autotest/client/__init__.py /usr/local/autotest/client/bin
    /usr/local/autotest/client/LICENSE
    /usr/local/autotest/client/setup_modules.py
    /usr/local/autotest/client/stderr /usr/local/autotest/client/config
    /usr/local/autotest/client/results
    /usr/local/autotest/client/setup_modules_unittest.py
    /usr/local/autotest/client/common_lib /usr/local/autotest/client/virt
    /usr/local/autotest/client/setup_modules.pyc
    /usr/local/autotest/client/control /usr/local/autotest/client/samples
    /usr/local/autotest/client/tools *'[email protected]
:"/usr/local/autotest"'*
*Exit status: 1*
Duration: 83.6452548504

*stderr:*
*/usr/local/autotest/client/tmp/tmp7wcfH5_ltp: Permission denied*
15:26:29 INFO | Collecting crash information...
15:26:30 ERROR| [stderr] Warning: Permanently added '10.0.0.136' (RSA) to
the list of known hosts.
15:26:31 INFO | 10.0.0.136 already up, collecting crash info
15:26:31 INFO | Collecting /var/tmp/messages.autotest_start...
15:26:31 WARNI| rsync not available on remote host 10.0.0.136 -- disabled
15:26:32 INFO | Collecting /var/log/messages...
15:26:33 INFO | Collecting /var/log/monitor-ssh-reboots...
15:26:34 WARNI| Collection of /var/log/monitor-ssh-reboots failed
15:26:34 INFO | Collecting 'dmesg' ...
15:26:39 ERROR| Traceback (most recent call last):
15:26:39 ERROR|   File "/usr/local/autotest/server/autoserv.py", line 147,
in run_autoserv
15:26:39 ERROR|     only_collect_crashinfo=collect_crashinfo)
15:26:39 ERROR|   File "/usr/local/autotest/server/server_job.py", line
545, in run
15:26:39 ERROR|     {'job_abort_reason': str(e)})
15:26:39 ERROR|   File "/usr/local/autotest/client/common_lib/base_job.py",
line 1196, in record
15:26:39 ERROR|     optional_fields)
15:26:39 ERROR|   File "/usr/local/autotest/client/common_lib/base_job.py",
line 476, in __init__
15:26:39 ERROR|     % (key, value))
15:26:39 ERROR| ValueError: Invalid character in 'job_abort_reason'='scp
-rq  -o StrictHostKeyChecking=no -o UserKnownHostsFile=/tmp/tmpkTnSDx -P 22
/usr/local/autotest/client/__init__.pyc /usr/local/autotest/client/packages
/usr/local/autotest/client/tmp /usr/local/autotest/client/__init__.py
/usr/local/autotest/client/bin /usr/local/autotest/client/LICENSE
/usr/local/autotest/client/setup_modules.py
/usr/local/autotest/client/stderr /usr/local/autotest/client/config
/usr/local/autotest/client/results
/usr/local/autotest/client/setup_modules_unittest.py
/usr/local/autotest/client/common_lib /usr/local/autotest/client/virt
/usr/local/autotest/client/setup_modules.pyc
/usr/local/autotest/client/control /usr/local/autotest/client/samples
/usr/local/autotest/client/tools \'[email protected]:"/usr/local/autotest"\'\n*
Command: \n    scp -rq  -o StrictHostKeyChecking=no -o
UserKnownHostsFile=/tmp/tmpkTnSDx\n    -P 22
/usr/local/autotest/client/__init__.pyc\n
 /usr/local/autotest/client/packages /usr/local/autotest/client/tmp\n
 /usr/local/autotest/client/__init__.py /usr/local/autotest/client/bin\n
 /usr/local/autotest/client/LICENSE\n
 /usr/local/autotest/client/setup_modules.py\n
 /usr/local/autotest/client/stderr /usr/local/autotest/client/config\n
 /usr/local/autotest/client/results\n
 /usr/local/autotest/client/setup_modules_unittest.py\n
 /usr/local/autotest/client/common_lib /usr/local/autotest/client/virt\n
 /usr/local/autotest/client/setup_modules.pyc\n
 /usr/local/autotest/client/control /usr/local/autotest/client/samples\n
 /usr/local/autotest/client/tools
\'[email protected]:"/usr/local/autotest"\'\nExit
status: 1\nDuration:
83.6452548504\n\nstderr:\n/usr/local/autotest/client/tmp/tmp7wcfH5_ltp:
Permission denied' field

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Any thoughts on this one . . . . .

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

Reply via email to