serial port reconnect when connection dropped

Bug #1166699 reported by Fu Wei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LAVA Dispatcher
Fix Released
Undecided
Michael Hudson-Doyle

Bug Description

If the test included "deps", the installation will take a long time. During this time, the serial connection may be dropped by some reason. The dispatcher will show:
--------------------------------------------------------
+ sudo yum -e 0 -y -q install perf stress
Connection closed by foreign host.
<LAVA_DISPATCHER>2013-04-09 09:24:00 AM WARNING: lava_test_shell connection dropped
<LAVA_DISPATCHER>2013-04-09 09:24:00 AM INFO: attempting to access master filesystem 3:lava
<LAVA_DISPATCHER>2013-04-09 09:24:00 AM WARNING: [ACTION-E] lava_test_shell is finished with error (End Of File (EOF) in read_nonblocking(). Exception style platform.
<lava_dispatcher.utils.logging_spawn object at 0x2900f90>
-------------------------------------------------------

But actually the test can go on ,if dispatcher could reconnect the serial port.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

is this in the lab or at home? are you using ser2net? That has an idle timeout by default, but it can be disabled.

Revision history for this message
Fu Wei (fu-wei) wrote :

yes , you are right. we can set <timeout> to 0 to disabled that. Thanks !

If it was dropped by accident, the test can not go on.

Fathi Boudra (fboudra)
Changed in lava-dispatcher:
status: New → Fix Released
milestone: none → 2013.04
assignee: nobody → Michael Hudson-Doyle (mwhudson)
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.