Hi Lucas,
Thanks! It almost worked.
> [CLIENT]
> drop_caches: True
> drop_caches_between_iterations: True
>
> And change that to
>
> [CLIENT]
> drop_caches: False
> drop_caches_between_iterations: False
>
> Ok? So either add /bin/sync somehow, or turn it off the way I explained.
>
I added /bin/sync. Both android's or busybox's sync didnt work, but your
global_config.ini settings seems to have worked. Autotest ran much further
although the error is popen exception is still thrown.
# python ./bin/autotest ./tests/sleeptest/controlDEBUG:root:Cleaning up
previously found state file07:06:02 INFO | Writing results to
/mnt/sdcard/autotest/client/results/default07:06:02 INFO | Initializing the
state engine07:06:02 INFO | Symlinking init scripts07:06:02 WARNI| Linking init
scripts failed07:06:02 INFO | post-reboot sysinfo error:07:06:02 INFO |
Traceback (most recent call last):07:06:02 INFO | File
"/mnt/sdcard/autotest/client/common_lib/log.py", line 70, in
decorated_func07:06:02 INFO | fn(*args, **dargs)07:06:02 INFO | File
"/mnt/sdcard/autotest/client/bin/base_sysinfo.py", line 238, in
log_per_reboot_data07:06:02 INFO | log.run(logdir)07:06:02 INFO | File
"/mnt/sdcard/autotest/client/bin/base_sysinfo.py", line 130, in run07:06:02
INFO | utils.system('gzip -9 "%s"' % logf_path, ignore_status=True)07:06:02
INFO | File "/mnt/sdcard/autotest/client/common_lib/base_utils.py", line 897,
in system07:06:02 INFO | stdout_tee=TEE_TO_LOGS,
stderr_tee=TEE_TO_LOGS).exit_status07:06:02 INFO | File
"/mnt/sdcard/autotest/client/common_lib/base_utils.py", line 654, in
run07:06:02 INFO |
stderr_level=get_stderr_level(stderr_is_expected)),),07:06:02 INFO | File
"/mnt/sdcard/autotest/client/common_lib/base_utils.py", line 79, in
__init__07:06:02 INFO | stdin=stdin)07:06:02 INFO | File
"/home/nigel_hsiung/proj/t3/vendor/pega_extra_src/diag/py4a_build/python-for-android/python-build/output/usr/lib/python2.6/subprocess.py",
line 595, in __init__07:06:02 INFO | File
"/home/nigel_hsiung/proj/t3/vendor/pega_extra_src/diag/py4a_build/python-for-android/python-build/output/usr/lib/python2.6/subprocess.py",
line 1092, in _execute_child07:06:02 INFO | OSError: [Errno 2] No such file or
directory07:06:02 INFO | START ---- ---- timestamp=1314342362
localtime=Aug 26 07:06:02 07:06:02 INFO | START sleeptest
sleeptest timestamp=1314342362 localtime=Aug 26 07:06:02
07:06:02 INFO | END ERROR sleeptest sleeptest
timestamp=1314342362 localtime=Aug 26 07:06:02 'module' object has no
attribute 'statvfs' Traceback (most recent call last): File
"/mnt/sdcard/autotest/client/bin/job.py", line 659, in _rungroup result =
function(*args, **dargs) File "/mnt/sdcard/autotest/client/bin/job.py", line
1251, in watched_func monitor.start() File
"/mnt/sdcard/autotest/client/bin/job.py", line 1214, in start
self.initial_space = utils.freespace(self.device) File
"/mnt/sdcard/autotest/client/bin/base_utils.py", line 618, in freespace s
= os.statvfs(path) AttributeError: 'module' object has no attribute 'statvfs'
07:06:02 ERROR| JOB ERROR: Unhandled AttributeError: 'module' object has no
attribute 'statvfs'Traceback (most recent call last): File
"/mnt/sdcard/autotest/client/bin/job.py", line 1140, in step_engine
execfile(self.control, global_control_vars, global_control_vars) File
"/mnt/sdcard/autotest/client/tests/sleeptest/control", line 15, in <module>
job.run_test('sleeptest', seconds = 1) File
"/mnt/sdcard/autotest/client/bin/job.py", line 43, in wrapped return f(self,
*args, **dargs) File "/mnt/sdcard/autotest/client/bin/job.py", line 600, in
run_test self._rungroup(subdir, testname, group_func, timeout) File
"/mnt/sdcard/autotest/client/bin/job.py", line 659, in _rungroup result =
function(*args, **dargs) File "/mnt/sdcard/autotest/client/bin/job.py", line
1251, in watched_func monitor.start() File
"/mnt/sdcard/autotest/client/bin/job.py", line 1214, in start
self.initial_space = utils.freespace(self.device) File
"/mnt/sdcard/autotest/client/bin/base_utils.py", line 618, in freespace s =
os.statvfs(path)AttributeError: 'module' object has no attribute 'statvfs'
07:06:02 INFO | END ABORT ---- ---- timestamp=1314342362
localtime=Aug 26 07:06:02Unhandled AttributeError: 'module' object has no
attribute 'statvfs' Traceback (most recent call last): File
"/mnt/sdcard/autotest/client/bin/job.py", line 1140, in step_engine
execfile(self.control, global_control_vars, global_control_vars) File
"/mnt/sdcard/autotest/client/tests/sleeptest/control", line 15, in <module>
job.run_test('sleeptest', seconds = 1) File
"/mnt/sdcard/autotest/client/bin/job.py", line 43, in wrapped return
f(self, *args, **dargs) File "/mnt/sdcard/autotest/client/bin/job.py", line
600, in run_test self._rungroup(subdir, testname, group_func, timeout)
File "/mnt/sdcard/autotest/client/bin/job.py", line 659, in _rungroup
result = function(*args, **dargs) File
"/mnt/sdcard/autotest/client/bin/job.py", line 1251, in watched_func
monitor.start() File "/mnt/sdcard/autotest/client/bin/job.py", line 1214, in
start self.initial_space = utils.freespace(self.device) File
"/mnt/sdcard/autotest/client/bin/base_utils.py", line 618, in freespace s
= os.statvfs(path) AttributeError: 'module' object has no attribute 'statvfs'
07:06:02 INFO | sleeptest#
thanks,Nigel _______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest