LAVA Test Shell failed on HighBank with Linux Linaro ubuntu in LAVA.

Bug #1215755 reported by Botao
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Ubuntu
Fix Released
High
Fathi Boudra

Bug Description

For HighBank with Linux Linaro ubuntu image:

http://snapshots.linaro.org/ubuntu/pre-built/highbank/436/highbank-raring_server_20130820-436.img.gz

LAVA Test Shell failed on it:

http://validation.linaro.org/dashboard/streams/private/team/linaro/pre-built-highbank/bundles/3e557228d836ae195c9ea8b0376eef2621899864/037caa58-0953-11e3-bdb8-a0b3cceabe8e/

Lava failed at action lava_test_shell with error:Timeout exceeded in read_nonblocking().
<lava_dispatcher.utils.logging_spawn object at 0x1c1cd50>
version: 2.4 ($Revision: 516 $)
command: /usr/bin/ipmitool
args: [u'/usr/bin/ipmitool', u'-I', u'lanplus', u'-U', u'admin', u'-P', u'admin', u'-H', u'192.168.2.81', u'sol', u'activate']
searcher: searcher_re:
    0: re.compile("linaro-test \[rc=(\d+)\]# ")
buffer (last 100 chars): OK
OK
FDT and ATAGS support not compiled in - hanging
### ERROR ### Please RESET the board ###

before (last 100 chars): OK
OK
FDT and ATAGS support not compiled in - hanging
### ERROR ### Please RESET the board ###

after: <class 'pexpect.TIMEOUT'>
match: None
match_index: None
exitstatus: None
flag_eof: False
pid: 7202
child_fd: 3
closed: False
timeout: 1200
delimiter: <class 'pexpect.EOF'>
logfile: None
logfile_read: <lava_dispatcher.context.Flusher object at 0x1e969d0>
logfile_send: None
maxread: 2000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0.05
delayafterclose: 0.1
delayafterterminate: 0.1
Traceback (most recent call last):
  File "/srv/lava<email address hidden>/lava_dispatcher/job.py", line 178, in run
    action.run(**params)
  File "/srv/lava<email address hidden>/lava_dispatcher/actions/lava_test_shell.py", line 537, in run
    runner.wait_for_prompt(timeout)
  File "/srv/lava<email address hidden>/lava_dispatcher/client/base.py", line 90, in wait_for_prompt
    wait_for_prompt(self._connection, self._prompt_str, timeout)
  File "/srv/lava<email address hidden>/lava_dispatcher/client/base.py", line 53, in wait_for_prompt
    connection.expect(prompt_pattern, timeout=partial_timeout)
  File "/srv/lava<email address hidden>/lava_dispatcher/utils.py", line 206, in expect
    return super(logging_spawn, self).expect(*args, **kw)
  File "/srv/lava/.cache/eggs/pexpect-2.4-py2.7.egg/pexpect.py", line 1316, in expect
    return self.expect_list(compiled_pattern_list, timeout, searchwindowsize)
  File "/srv/lava/.cache/eggs/pexpect-2.4-py2.7.egg/pexpect.py", line 1330, in expect_list
    return self.expect_loop(searcher_re(pattern_list), timeout, searchwindowsize)
  File "/srv/lava/.cache/eggs/pexpect-2.4-py2.7.egg/pexpect.py", line 1414, in expect_loop
    raise TIMEOUT (str(e) + '\n' + str(self))
TIMEOUT: Timeout exceeded in read_nonblocking().
<lava_dispatcher.utils.logging_spawn object at 0x1c1cd50>
version: 2.4 ($Revision: 516 $)
command: /usr/bin/ipmitool
args: [u'/usr/bin/ipmitool', u'-I', u'lanplus', u'-U', u'admin', u'-P', u'admin', u'-H', u'192.168.2.81', u'sol', u'activate']
searcher: searcher_re:
    0: re.compile("linaro-test \[rc=(\d+)\]# ")
buffer (last 100 chars): OK
OK
FDT and ATAGS support not compiled in - hanging
### ERROR ### Please RESET the board ###

before (last 100 chars): OK
OK
FDT and ATAGS support not compiled in - hanging
### ERROR ### Please RESET the board ###

after: <class 'pexpect.TIMEOUT'>
match: None
match_index: None
exitstatus: None
flag_eof: False
pid: 7202
child_fd: 3
closed: False
timeout: 1200
delimiter: <class 'pexpect.EOF'>
logfile: None
logfile_read: <lava_dispatcher.context.Flusher object at 0x1e969d0>
logfile_send: None
maxread: 2000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0.05
delayafterclose: 0.1
delayafterterminate: 0.1

Revision history for this message
Tyler Baker (tyler-baker) wrote :

LAVA appears to be working properly here. Master boot looks goods, however lava-test shell is failing when trying to boot the test image.

 ## Booting kernel from Legacy Image at 00800000 ...
  Image Name: Linux
  Image Type: ARM Linux Kernel Image (uncompressed)
  Data Size: 3806032 Bytes = 3.6 MiB
  Load Address: 00008000
  Entry Point: 00008000
  Verifying Checksum ... OK
 ## Loading init Ramdisk from Legacy Image at 01000000 ...
  Image Name: initramfs
  Image Type: ARM Linux RAMDisk Image (uncompressed)
  Data Size: 2114157 Bytes = 2 MiB
  Load Address: 00000000
  Entry Point: 00000000
  Verifying Checksum ... OK
  Loading Kernel Image ... OK
 OK
 FDT and ATAGS support not compiled in - hanging
 ### ERROR ### Please RESET the board ###

Revision history for this message
Tyler Baker (tyler-baker) wrote :

I suppose there is a FDT that should be loaded when booting this test image? If so we might need to control the u-boot directly, rather than rely on predefined boot configuration set with IPMI.

Revision history for this message
Fathi Boudra (fboudra) wrote :

Only the pre-built images were failing because of the lack of fdt in the bootcmd.

Daily builds job are using linaro-image-tools trunk, where I fixed an issue in the bootcmd:
http://bazaar.launchpad.net/~linaro-image-tools/linaro-image-tools/trunk/revision/634

It exposed a bug in the hwpack, since fdt wasn't specified.

When LIT is used in LAVA, an image deployment with hwpack isn't affected.

The hwpack configuration is now fixed and pre-built image will work again.

no longer affects: lava-dispatcher
affects: linaro-linux-baseline → linaro-ubuntu
Changed in linaro-ubuntu:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → Fathi Boudra (fboudra)
milestone: none → 13.08
Fathi Boudra (fboudra)
Changed in linaro-ubuntu:
milestone: 13.08 → 13.09
Fathi Boudra (fboudra)
Changed in linaro-ubuntu:
status: Fix Committed → Fix Released
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.