benchmark test failed in few cases for timeout problem

Bug #1114930 reported by Naresh Kamboju
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android
New
Undecided
vishal
Linaro big.LITTLE
New
Undecided
Unassigned

Bug Description

workbench automation tool failing few cases for timeout problem. I have noticed this problem 1 out of 10 one of those cases are

[ 5.281198] sda: sda1 sda2 sda3 sda4 < sda5 sda6 >
[ 5.299353] sd 0:0:0:0: [sda] No Caching mode page present
[ 5.315807] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 5.334073] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 5.376638] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
[ 6.631245] EXT4-fs (sda3): recovery complete
[ 6.647577] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=panic
[ 14.355393] EXT4-fs (sda5): recovery complete
[ 14.373135] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=panic
[ 14.434610] lowmem_shrink: convert oom_adj to oom_score_adj:
[ 14.451584] oom_adj 0 => oom_score_adj 0
[ 14.463325] oom_adj 1 => oom_score_adj 58
[ 14.475334] oom_adj 2 => oom_score_adj 117
[ 14.487597] oom_adj 4 => oom_score_adj 235
[ 14.499856] oom_adj 7 => oom_score_adj 411
[ 14.512123] oom_adj 15 => oom_score_adj 1000
[ 14.666467] gator: version magic '3.8.0-rc4-00666-g9286af1 SMP mod_unload ARMv7 p2v8 ' should be '3.7.0-00655-g8cc8c22 SMP mod_unload ARMv7 p2v8 '
[�[ 14.716813] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
root@android:/ # input keyevent 82
[ 15.172142] smsc911x 1a000000.ethernet eth0: SMSC911x/921x identified at 0xf00e0000, IRQ: 47
[ 23.636728] warning: `zygote' uses 32-bit capabilities (legacy support in use)
[ 33.282966] lowmem_shrink: convert oom_adj to oom_score_adj:
[ 33.299960] oom_adj 0 => oom_score_adj 0
[ 33.311719] oom_adj 1 => oom_score_adj 58
[ 33.323718] oom_adj 2 => oom_score_adj 117
[ 33.335976] oom_adj 4 => oom_score_adj 235
[ 33.348234] oom_adj 9 => oom_score_adj 529
[ 33.360492] oom_adj 15 => oom_score_adj 1000
[ 45.396454] init: sys_prop: permission denied uid:1003 name:service.bootanim.exit
Unexpected error: <class 'pexpect.TIMEOUT'>
Unexpected error: <class 'pexpect.TIMEOUT'>
------------------------------------------------------------
Traceback (most recent call last):
  File "workload.py", line 489, in workload_run
    tc2_boot(osmode)
  File "/home/naresh/benchmarks/viresh/jan-31/workload-automation/tc2_boot.py", line 277, in tc2_boot
    target.expect(config_android_prompt)
  File "/usr/lib/python2.7/dist-packages/pexpect.py", line 1311, in expect
    return self.expect_list(compiled_pattern_list, timeout, searchwindowsize)
  File "/usr/lib/python2.7/dist-packages/pexpect.py", line 1325, in expect_list
    return self.expect_loop(searcher_re(pattern_list), timeout, searchwindowsize)
  File "/usr/lib/python2.7/dist-packages/pexpect.py", line 1409, in expect_loop
    raise TIMEOUT (str(e) + '\n' + str(self))
TIMEOUT: Timeout exceeded in read_nonblocking().
<fdpexpect.fdspawn object at 0x2263d50>
version: 2.3 ($Revision: 399 $)
command: None
args: None
searcher: searcher_re:
    0: re.compile("^.*root@android:/ # ")
buffer (last 100 chars): re_adj 1000
[ 45.396454] init: sys_prop: permission denied uid:1003 name:service.bootanim.exit

before (last 100 chars): re_adj 1000
[ 45.396454] init: sys_prop: permission denied uid:1003 name:service.bootanim.exit

after: <class 'pexpect.TIMEOUT'>
match: None
match_index: None
exitstatus: None
flag_eof: False
pid: None
child_fd: 102
closed: False
timeout: 600
delimiter: <class 'pexpect.EOF'>
logfile: <open file '<stdout>', mode 'w' at 0x7f42b1dac1e0>
logfile_read: None
logfile_send: None
maxread: 2000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0.05
delayafterclose: 0.1
delayafterterminate: 0.1
------------------------------------------------------------

once after shell come up, python scripts expects below line.
if it is not found it will wait 1200 sec and report timeout error and restart the target.
root@android:/ #

Changed in linaro-android:
assignee: nobody → vishal (vishalbhoj)
tags: added: bl-iks
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.