'ifconfig eth0' can't work immediately on android mx53 after boot up
Bug #889030 reported by
Spring Zhang
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LAVA Dispatcher |
Fix Released
|
Medium
|
Spring Zhang |
Bug Description
Issue found when booting to linaro android test image. Need to add some timeout to allow a successful command execution or it will fall into getting IP by DHCP.
Log:
root@linaro: setprop service.
root@linaro: stop adbd
root@linaro: start adbd
root@linaro:
root@linaro: ifconfig eth0
eth0: Cannot assign requested address
root@linaro: [ 22.512335] eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] (mii_bus:
[ 24.508410] PHY: 1:00 - Link is Up - 100/Full
root@linaro: ifconfig eth0
eth0: ip 10.192.244.14 mask 255.255.255.0 flags [up broadcast running multicast]
root@linaro: (user:root) disconnected
Related branches
lp://qastaging/~qzhang/lava-dispatcher/add-mx53-android
- Yongqin Liu: Approve
- Spring Zhang (community): Needs Resubmitting
- Paul Larson (community): Needs Fixing
-
Diff: 240 lines (+83/-11)5 files modifiedlava_dispatcher/actions/android_deploy.py (+19/-5)
lava_dispatcher/actions/lava-android-test.py (+2/-0)
lava_dispatcher/client.py (+17/-6)
lava_dispatcher/default-config/lava-dispatcher/device-defaults.conf (+26/-0)
lava_dispatcher/default-config/lava-dispatcher/device-types/mx53loco.conf (+19/-0)
Changed in lava-dispatcher: | |
assignee: | nobody → Spring Zhang (qzhang) |
Changed in lava-dispatcher: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Is that really what happened here? It looks like it did get the ip address, just not the one it requested (from a previous run perhaps?)
Also, are we sure this just happens on mx53? I think I've seen this on other boards and assumed it was either that, or the dhcp server was having issues again.