| Summary: | Toaster traceback - Execution of event handler 'toaster_buildhistory_dump' failed | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Toaster | Reporter: | Ionut Chisanovici <ionutx.chisanovici> | ||||||
| Component: | toaster | Assignee: | Alexandru Damian <alexandru.damian> | ||||||
| Status: | VERIFIED FIXED | QA Contact: | Mihail Stanciu <stanciux.mihail> | ||||||
| Severity: | normal | ||||||||
| Priority: | Medium | CC: | alexandru.damian, anders.darander, belen.barros.pena, cristiana.voicu, stanciux.mihail | ||||||
| Version: | 1.6 | ||||||||
| Target Milestone: | 1.6 M5 | ||||||||
| Hardware: | x86 | ||||||||
| OS: | Multiple | ||||||||
| Whiteboard: | |||||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||||
| Verified: | Documentation change: | Don't know | |||||||
| Attachments: |
|
||||||||
|
Description
Ionut Chisanovici
2014-03-28 13:55:30 UTC
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. Verified on master: 2d1660112e54653f7bb763939d0416472c49fe01. |