cann't install apk with "adb install" for staging-panda-android deployed by lava-dispatcher

Bug #873232 reported by Yongqin Liu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LAVA Dispatcher
Fix Released
Medium
Yongqin Liu

Bug Description

For the android deployed by lava-dispatcher, it can't install apk files using adb install command.

17:10:32 liuyq:bin$ adb install LavaTools.apk
319 KB/s (14610 bytes in 0.044s)
 pkg: /data/local/tmp/LavaTools.apk
Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]
17:10:38 liuyq:bin$

Revision history for this message
Spring Zhang (qzhang) wrote : Re: [Bug 873232] [NEW] cann't install apk with "adb install" for staging-panda-android deployed by lava-dispatcher

The failure message indicates there is no more storage, could you check the
partition available space?

Revision history for this message
Yongqin Liu (liuyq0307) wrote :

And if I use linaro-image-tools to deploy the images to sdcard directly, there is no problem.

Revision history for this message
Yongqin Liu (liuyq0307) wrote :

maybe it has relation with the userdata image.

19:39:26 liuyq:linaro-tools$ adb install LavaTools.apk
318 KB/s (14610 bytes in 0.044s)
 pkg: /data/local/tmp/LavaTools.apk
Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]
19:39:53 liuyq:linaro-tools$ adb shell df
Filesystem Size Used Free Blksize
/dev 448M 44K 448M 4096
/mnt/asec 448M 0K 448M 4096
/mnt/obb 448M 0K 448M 4096
/system 1G 242M 1G 4096
/mnt/sdcard 3G 298M 3G 4096
/mnt/secure/asec 3G 298M 3G 4096
19:40:00 liuyq:linaro-tools$ ll -h LavaTools.apk
-rw-r--r-- 1 liuyq liuyq 15K 2011-10-13 16:14 LavaTools.apk
19:40:10 liuyq:linaro-tools$

Revision history for this message
Yongqin Liu (liuyq0307) wrote :

The reason is that the deployed linaro-andorid has no data partition.
When we use adb install to apk files, it will check the size of /data partition.
The detail is in the method recommendAppInstallLocation of DefaultContainerService.java file.

Changed in lava-dispatcher:
assignee: nobody → Yongqin Liu (liuyq0307)
status: New → In Progress
Revision history for this message
Spring Zhang (qzhang) wrote :

Also going to look into the issue on mx53

Fathi Boudra (fboudra)
Changed in lava-dispatcher:
milestone: none → 2012.01
Yongqin Liu (liuyq0307)
Changed in lava-dispatcher:
status: In Progress → Fix Committed
importance: Undecided → Medium
Fathi Boudra (fboudra)
Changed in lava-dispatcher:
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.