Hi guys, Toaster is returning the below error when trying to do a new failed build by altering the busybox recipe and removing the tmp folder (I'm removing the tmp folder so that the busybox recipe can be reparsed). If I stop toaster before I do the above things, everything works well. $ bitbake core-image-minimal WARNING: Unable to get checksum for busybox SRC_URI entry xget_header_tar.patch: file could not be found########################################################################### | ETA: 00:00:01 Parsing recipes: 100% |######################################################################################################################################################################| ETA: 00:00:00 Parsing of 856 .bb files complete (0 cached, 856 parsed). 1215 targets, 34 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "1.21.1" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-13.10" TARGET_SYS = "i586-poky-linux" MACHINE = "qemux86" DISTRO = "poky" DISTRO_VERSION = "1.5+snapshot-20140328" TUNE_FEATURES = "m32 i586" TARGET_FPU = "" meta meta-yocto meta-yocto-bsp = "(detachedfrom47ceed0):47ceed0d8d60a3ddc398738acafe3aabf4ab8c90" NOTE: Preparing runqueue ERROR: An uncaught exception occured in runqueue, please see the failure below: NOTE: Tasks Summary: Attempted 0 tasks of which 0 didn't need to be rerun and all succeeded. ERROR: Execution of event handler 'toaster_buildhistory_dump' failed Traceback (most recent call last): File "toaster_buildhistory_dump(e)", line 58, in toaster_buildhistory_dump(e=<bb.event.BuildCompleted object at 0xbbc8d10>) File "toaster.bbclass", line 5, in _toaster_load_pkgdatafile(dirpath='/home/ionut/work/toaster/poky/build/tmp/sysroots/qemux86/pkgdata/runtime-reverse/', filepath='busybox') IOError: [Errno 2] No such file or directory: '/home/ionut/work/toaster/poky/build/tmp/sysroots/qemux86/pkgdata/runtime-reverse/busybox' Cheers, Ionut C
I can't duplicate this issue, Can you please get me a rule to reproduce this ? If you manage to reproduce it, can you please attach these files ? toaster.sqlite toaster_ui.log
Created attachment 1900 [details] toaster_ui.log
Created attachment 1901 [details] toaster_web.log
Managed to replicate this on master:bb66113bde5361b869dce2bdaece5b938f077ea8 with a clean -sato build for qemux86. I've attached the Toaster logs. Hopefully they'll help.
I've seen the same behaviour as Belen has in her logs. Basically, it seems that the event handler toaster_buildhistory_dump fails if something in the build references a non-existing package. In my case, systemd has an RRECOMMENDS on among other things: kernel-module-autofs4 and kernel-module-binfmt-misc (well, systemd-binfmt). In my kernel configuration, the former is statically linked into the kernel, and the latter is simply not enabled. Thus,these two packages do not exist... And toaster gives us this nice traceback. If I'm building without toaster started, everything works fine. Excerpt from the log: --------------------- NOTE: Tasks Summary: Attempted 2194 tasks of which 2194 didn't need to be rerun and all succeeded. ERROR: Execution of event handler 'toaster_buildhistory_dump' failed Traceback (most recent call last): File "toaster_buildhistory_dump(e)", line 43, in toaster_buildhistory_dump(e=<bb.event.BuildCompleted object at 0xfb3df10>) File "toaster.bbclass", line 5, in _toaster_load_pkgdatafile(dirpath='/mnt/cs-builds/anders/oe-build/build-ccu/tmp-eglibc/sysroots/ccu/pkgdata/runtime-reverse/', filepath='kernel-module-binfmt-misc') IOError: [Errno 2] No such file or directory: '/mnt/cs-builds/anders/oe-build/build-ccu/tmp-eglibc/sysroots/ccu/pkgdata/runtime-reverse/kernel-module-binfmt-misc' NOTE: Writing buildhistory
Thank you for the analysis, I have a patch pending submission.
merged http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=daisy&id=3c8da7d5bcfebadf9f0cbc75d37aa02850f93afe
Verified on master: 2d1660112e54653f7bb763939d0416472c49fe01.