Merge lp:~asac/lava-dispatcher/TIME_WAIT-before-fastmodel-start into lp:lava-dispatcher
Proposed by
Alexander Sack
Status: | Rejected |
---|---|
Rejected by: | Neil Williams |
Proposed branch: | lp:~asac/lava-dispatcher/TIME_WAIT-before-fastmodel-start |
Merge into: | lp:lava-dispatcher |
Prerequisite: | lp:~asac/lava-dispatcher/logged-commands-getstatusoutput-wrapper-util |
Diff against target: |
31 lines (+7/-0) 1 file modified
lava_dispatcher/client/fastmodel.py (+7/-0) |
To merge this branch: | bzr merge lp:~asac/lava-dispatcher/TIME_WAIT-before-fastmodel-start |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Hudson-Doyle (community) | Approve | ||
Review via email: mp+119032@code.launchpad.net |
Description of the change
workaround fix for TIME_WAIT fast model bustage as discussed in: https:/
here we wait till TIME_WAIT is gone, which will fix that we sometimes cant connect adb after rebooting fastmodel.
see https:/
To post a comment you must log in.
Unmerged revisions
- 368. By Alexander Sack
-
implement workaround for lp:1034809 - wait till socket is released from TIME_WAIT state before launching fast model
- 367. By Alexander Sack
-
add logged commands.
getstatuswrappe r (logging_ commands_ _getstatusoutpu t) to utils.py
example log with this patch applied:
<LAVA_DISPATCHE R>2012- 08-09 08:32:57 PM INFO: Execute adb command on host: adb disconnect 127.0.0.1
<LAVA_DISPATCHE R>2012- 08-09 08:32:57 PM INFO: [ACTION-E] lava_android_ test_run is finished successfully. R>2012- 08-09 08:32:57 PM INFO: [ACTION-B] boot_linaro_ android_ image is started with {} R>2012- 08-09 08:32:58 PM INFO: NOW: waiting for TIME_WAIT 5555 socket to finish - see lp:1034809 R>2012- 08-09 08:32:58 PM INFO: waiting for TIME_WAIT 5555 socket to finish R>2012- 08-09 08:33:01 PM INFO: waiting for TIME_WAIT 5555 socket to finish R>2012- 08-09 08:33:04 PM INFO: waiting for TIME_WAIT 5555 socket to finish R>2012- 08-09 08:33:07 PM INFO: waiting for TIME_WAIT 5555 socket to finish R>2012- 08-09 08:33:10 PM INFO: waiting for TIME_WAIT 5555 socket to finish R>2012- 08-09 08:33:13 PM INFO: waiting for TIME_WAIT 5555 socket to finish R>2012- 08-09 08:33:16 PM INFO: waiting for TIME_WAIT 5555 socket to finish R>2012- 08-09 08:33:19 PM INFO: waiting for TIME_WAIT 5555 socket to finish R>2012- 08-09 08:33:22 PM INFO: waiting for TIME_WAIT 5555 socket to finish R>2012- 08-09 08:33:25 PM INFO: waiting for TIME_WAIT 5555 socket to finish R>2012- 08-09 08:33:28 PM INFO: waiting for TIME_WAIT 5555 socket to finish R>2012- 08-09 08:33:31 PM INFO: waiting for TIME_WAIT 5555 socket to finish R>2012- 08-09 08:33:34 PM INFO: waiting for TIME_WAIT 5555 socket to finish R>2012- 08-09 08:33:37 PM INFO: waiting for TIME_WAIT 5555 socket to finish R>2012- 08-09 08:33:40 PM INFO: waiting for TIME_WAIT 5555 socket to finish R>2012- 08-09 08:33:43 PM INFO: waiting for TIME_WAIT 5555 socket to finish R>2012- 08-09 08:33:46 PM INFO: waiting for TIME_WAIT 5555 socket to finish R>2012- 08-09 08:33:49 PM INFO: waiting for TIME_WAIT 5555 socket to finish R>2012- 08-09 08:33:52 PM INFO: launching fastmodel with command u"/home/ ubuntu/ RTSM_A15- A7x14_VE/ Linux64_ RTSM_VE_ Cortex- A15x4-A7x4/ RTSM_VE_ Cortex- A15x4-A7x4 -a coretile. cluster0. *=/linaro/ images/ tmp/tmp9FwvnR/ linux-system- ISW.axf -C motherboard. smsc_91c111. enabled= 1 -C motherboard. hostbridge. userNetworking= 1 -C motherboard. mmc.p_mmc_ file=/linaro/ images/ tmp/tmp9FwvnR/ android. img -C coretile. cache_state_ modelled= 0 -C coretile. cluster0. cpu0.semihostin g-enable= 1 -C motherboard. hostbridge. userNetPorts= '5555=5555' "
<LAVA_DISPATCHE
<LAVA_DISPATCHE
<LAVA_DISPATCHE
<LAVA_DISPATCHE
<LAVA_DISPATCHE
<LAVA_DISPATCHE
<LAVA_DISPATCHE
<LAVA_DISPATCHE
<LAVA_DISPATCHE
<LAVA_DISPATCHE
<LAVA_DISPATCHE
<LAVA_DISPATCHE
<LAVA_DISPATCHE
<LAVA_DISPATCHE
<LAVA_DISPATCHE
<LAVA_DISPATCHE
<LAVA_DISPATCHE
<LAVA_DISPATCHE
<LAVA_DISPATCHE
<LAVA_DISPATCHE
<LAVA_DISPATCHE
... in this case it wouldn't have managed to reconnect to adb.