On qemux86-64 build, the qa tests for smartpm fail due to lack on disk space on the target rootfs. In image.bbclass IMAGE_OVERHEAD_FACTOR is set to 1.3 to allow for startup overhead. On this build, that amounts to about 85 MB free space. When 'rpm' and 'smartpm' are run as part of the qa tests, they use about 42 MB for rpm and 59 MB for smartpm, which leaves no space remaining, causing subsequent tests to fail. In rootfs_rpm.bbclass, an additional 51 MB is added to the rootfs size via IMAGE_ROOTFS_EXTRA_SPACE_append when smartpm is one of the package managers in PACKAGE_INSTALL. However, this additional 51 MB is not being included in the rootfs size so either this class is not being run or, if it is, smartpm is not ending up in the PACKAGE_INSTALL list. Even so, it would be good to increase this extra space to account for the additional 42 MB or so used by rpm.
Some additional details I verified that the smartpm additional 51MB is correctly getting added to the ROOTFS_SIZE. I tweaked the size adjustment to be 100MB and here is the output of df -h for 3 images. Filesystem Size Used Avail Use% Mounted on /dev/loop0 506M 378M 89M 81% /srv/sdb/releases/master/builds/4.4/rpm1 /dev/loop2 552M 378M 133M 75% /srv/sdb/releases/master/builds/4.4/rpm2 /dev/loop3 454M 318M 109M 75% /srv/sdb/releases/master/builds/4.4/ipk rpm1 is the current 51MB additional rpm2 is a tweaked 100MB additional ipk is using the IPK package manager just for comparison. I believe that if we are going to be running QA tests that we need to have a sufficient additional space in the image to run the tests. Since we know in testimage.bbclass that we will be doing SMART testing makes the most sense to add space there.
Extra space increase merged in oe-core 2d636068d9d3a1ea2db3ace49462be13ba9ef125.
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8d56c54107cc352a32745a5df11247debe4d2893