From: [email protected]
To: [email protected]
Subject: RE: [Autotest] Running Autotest on ARM
Date: Mon, 15 Aug 2011 11:35:17 +0000








Hi Christopher,
Thanks for replying.Yes, pgrep is missing. I created a symlink to busybox but 
the error still persist. Anything else like differing ttyAS0?Appreciate any 
help.
thanks,Nigel
# pgrep BusyBox v1.8.1 (2007-11-14 10:11:37 EST) multi-call binary
Usage: pgrep [-flnovx] pattern



Date: Mon, 15 Aug 2011 00:19:24 -0700
Subject: Re: [Autotest] Running Autotest on ARM
From: [email protected]
To: [email protected]
CC: [email protected]; [email protected]

Given the exception sequence, it looks like your system doesn't have the pgrep 
command. Can you check to see if it does?
Autotest makes some assumptions about the platform on which it is running. It 
assumes certain tools exist and that they take all of the gnu options, so you 
might run into other issues if you are trying to execute it on a stripped down 
distribution.

Christopher
On Sun, Aug 14, 2011 at 11:24 PM, Nigel Hsiung <[email protected]> wrote:






Hi Ajeet, list,
I'm trying to run autotest (client only) on my arm platform. I'm getting this 
error  "OSError: [Errno 2] No such file or directory". The error is exactly the 
same as mention by Ajeet. 


I'm using the latest svn check out. 
nigel_hsiung:bin$ svn infoPath: .URL: 
svn://test.kernel.org/autotest/trunk/client/binRepository Root: 
svn://test.kernel.org/autotest
Repository UUID: 592f7852-d20e-0410-864c-8624ca9c26a4Revision: 5526Node Kind: 
directorySchedule: normalLast Changed Author: lmrLast Changed Rev: 5506Last 
Changed Date: 2011-07-21 04:03:22 +0800 (Thu, 21 Jul 2011)

I'm now concentrating on running pure python test on my arm platform, but 
eventually i would like to run C/C++ compiled tests. Is there any documentation 
as to how to set it up. I understand compilation is done by the autoserver and 
copied to the client for running. How/where do i set the CC, CHOST etc.

Thanks,Nigel
ARM Platform:
# cd /mnt/sdcard/autotest/client# python ./bin/autotest 
./tests/sleeptest/control
DEBUG:root:Cleaning up previously found state file05:53:03 INFO | Writing 
results to /mnt/sdcard/autotest/client/results/default
05:53:03 ERROR| Symlink init scripts failed with [Errno 2] No such file or 
directory05:53:03 INFO | ABORT       ----    ----    timestamp=1313387583    
localtime=Aug 15 05:53:03       client.bin.job.__init__ failed: [Errno 2] No 
such file or directory
05:53:03 CRITI| JOB ERROR (autotest bug?): [Errno 2] No such file or 
directoryTraceback (most recent call last):  File 
"/mnt/sdcard/autotest/client/bin/job.py", line 1286, in runjob
    myjob = job(control=control, drop_caches=drop_caches, options=options)  
File "/mnt/sdcard/autotest/client/bin/job.py", line 115, in __init__
    extra_copy_cmdline)  File "/mnt/sdcard/autotest/client/bin/job.py", line 
210, in _post_record_init    self._init_drop_caches(drop_caches)
  File "/mnt/sdcard/autotest/client/bin/job.py", line 278, in _init_drop_caches 
   utils.drop_caches()  File "/mnt/sdcard/autotest/client/bin/base_utils.py", 
line 735, in drop_caches
    utils.system("sync")  File 
"/mnt/sdcard/autotest/client/common_lib/base_utils.py", line 897, in system
    stdout_tee=TEE_TO_LOGS, stderr_tee=TEE_TO_LOGS).exit_status  File 
"/mnt/sdcard/autotest/client/common_lib/base_utils.py", line 654, in run
    stderr_level=get_stderr_level(stderr_is_expected)),),  File 
"/mnt/sdcard/autotest/client/common_lib/base_utils.py", line 79, in __init__
    stdin=stdin)  File 
"/home/nigel_hsiung/proj/z2/py4a_build/python-for-android/python-build/output/usr/lib/python2.6/subprocess.py",
 line 595, in __init__
  File 
"/home/nigel_hsiung/proj/z2/py4a_build/python-for-android/python-build/output/usr/lib/python2.6/subprocess.py",
 line 1092, in _execute_childOSError: [Errno 2] No such file or directory

                                          

_______________________________________________

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

Reply via email to