| Summary: | qemumips sanity tests fail at rpm_query and connman due to no space on device | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Other YP Layers | Reporter: | Beth Flanagan <elizabeth.flanagan> |
| Component: | layers | Assignee: | Saul Wold <sgw> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | Undecided | CC: | edwin.zhai, elizabeth.flanagan, jiajun.xu, kevin.tian, meta.layer.watcher, meta.watcher, richard.purdie, yp.test.watcher, yp.watcher |
| Version: | 1.0 | ||
| Target Milestone: | 1.0 M4 | ||
| Hardware: | Other | ||
| OS: | mips | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Beth Flanagan
2011-03-17 20:37:32 UTC
The problem is that qemu rootfs has no enough disk space. I think we may need to find why qemumips rootfs has no spare size. The no space issue is caused by the zypper search command. In case "zypper search", sanity test will run "zypper search avahi" in target. This will casue target out of disk space. I manually run the command in qemumips image and got following information: ########## root@qemumips:~# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/root 271885 247658 10407 96% / tmpfs 40 0 40 0% /mnt/.psplash none 61356 112 61244 0% /dev tmpfs 61356 56 61300 0% /var/volatile tmpfs 61356 0 61356 0% /media/ram root@qemumips:~# root@qemumips:~# root@qemumips:~# ls root@qemumips:~# zypper search avahi Loading repository data... Reading installed packages... S | Name | Summary | Type --+------------------+---------------------------------------------------+-------- i | avahi-daemon | Avahi IPv4LL network address configuration daemon | package i | libavahi-client3 | Avahi IPv4LL network address configuration daemon | package i | libavahi-common3 | Avahi IPv4LL network address configuration daemon | package i | libavahi-core7 | Avahi IPv4LL network address configuration daemon | package i | libavahi-glib1 | Avahi IPv4LL network address configuration daemon | package root@qemumips:~# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/root 271885 267402 0 100% / tmpfs 40 0 40 0% /mnt/.psplash none 61356 112 61244 0% /dev tmpfs 61356 280 61076 0% /var/volatile tmpfs 61356 0 61356 0% /media/ram ########## And the failed connman and rpm tests could pass if target has enough disk space. qemuppc sanity test failed too, with same "No space left on device" error. It looks that recent rpm/zypper changes add more footprint. Beth is trying to increase IMAGE_OVERHEAD_FACTOR now... I remove /lost+found folder on target and find command "zypper search avahi" needs about 20M disk space: ####root@qemumips:/# df -h Filesystem Size Used Available Use% Mounted on /dev/root 265.5M 228.3M 23.7M 91% / tmpfs 40.0K 0 40.0K 0% /mnt/.psplash none 59.9M 112.0K 59.8M 0% /dev tmpfs 59.9M 56.0K 59.9M 0% /var/volatile tmpfs 59.9M 0 59.9M 0% /media/ram root@qemumips:/# zypper search avahi Loading repository data... Reading installed packages... S | Name | Summary | Type --+------------------+---------------------------------------------------+-------- i | avahi-daemon | Avahi IPv4LL network address configuration daemon | package i | libavahi-client3 | Avahi IPv4LL network address configuration daemon | package i | libavahi-common3 | Avahi IPv4LL network address configuration daemon | package i | libavahi-core7 | Avahi IPv4LL network address configuration daemon | package i | libavahi-glib1 | Avahi IPv4LL network address configuration daemon | package root@qemumips:/# df -h Filesystem Size Used Available Use% Mounted on /dev/root 265.5M 247.6M 4.4M 98% / tmpfs 40.0K 0 40.0K 0% /mnt/.psplash none 59.9M 112.0K 59.8M 0% /dev tmpfs 59.9M 280.0K 59.6M 0% /var/volatile tmpfs 59.9M 0 59.9M 0% /media/ram #### Mips sato image is ~460M, so increasing IMAGE_OVERHEAD_FACTOR from 1.2 to 1.3 is enough for 20M space. Testing the fix for it on my test ab. When I verify it, I'll implement on the autobuilders. |