Bug 8956 - Toaster doesn't display build artifacts
Summary: Toaster doesn't display build artifacts
Status: VERIFIED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 2.0
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.1 M4
Assignee: Elliot Smith
QA Contact: Alexandru Roman
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-01-20 12:35 UTC by Belen Barros Pena
Modified: 2016-05-13 12:36 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Belen Barros Pena 2016-01-20 12:35:25 UTC
Steps to reproduce:

1. Delete your build/tmp directory
2. Delete the contents of your toaster database
3. Create a new Toaster project and build an image (core-image-minimal for qemux86 will do)
4. When the build finishes, click the target name

No build artifacts are listed, neither image files nor other artifacts. If you check your /build/tmp/deploy/images/qemux66 directory, you get something like this:

bzImage
bzImage--4.1.15+git0+46bb64d605_788dfc9859-r0-qemux86-20160120114913.bin
bzImage-qemux86.bin
core-image-minimal-qemux86-20160120114913.rootfs.ext3
core-image-minimal-qemux86-20160120114913.rootfs.jffs2
core-image-minimal-qemux86-20160120114913.rootfs.manifest
core-image-minimal-qemux86-20160120114913.rootfs.tar.bz2
core-image-minimal-qemux86.ext3
core-image-minimal-qemux86.jffs2
core-image-minimal-qemux86.manifest
core-image-minimal-qemux86.tar.bz2
modules--4.1.15+git0+46bb64d605_788dfc9859-r0-qemux86-20160120114913.tgz
modules-qemux86.tgz
README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt

Given the above list, Toater should have shown the following image files:

core-image-minimal-qemux86-20160120114913.rootfs.ext3
core-image-minimal-qemux86-20160120114913.rootfs.jffs2
core-image-minimal-qemux86-20160120114913.rootfs.tar.bz2

And the kernel, kernel modules and rootfs manifest in the list of other artifacts.
Comment 1 Elliot Smith 2016-01-25 17:38:29 UTC
I think this is because of changes to do_rootfs, which mean that images aren't in the expected directories when the do_rootfs postfuncs run.

I'm going to try attaching to the new do_image_complete task instead.
Comment 2 Elliot Smith 2016-01-26 15:05:09 UTC
Submitted to mailing list (RFC, as it needs to go to oe-core):
https://lists.yoctoproject.org/pipermail/toaster/2016-January/003743.html
Comment 3 Elliot Smith 2016-01-29 08:21:17 UTC
Still need to show additional artifacts in the build dashboard, as per Belen's review.
Comment 4 Elliot Smith 2016-01-29 14:36:43 UTC
Resubmitted for second review:
https://lists.yoctoproject.org/pipermail/toaster/2016-January/003753.html
Comment 5 Elliot Smith 2016-02-02 10:14:33 UTC
Submitted formal review request for the UI part of this:
https://lists.yoctoproject.org/pipermail/toaster/2016-February/003761.html
Comment 7 Elliot Smith 2016-02-10 11:54:42 UTC
Patches are in oe-core, but https://lists.yoctoproject.org/pipermail/toaster/2016-February/003761.html isn't in bitbake master yet.
Comment 8 Alexandru Roman 2016-05-13 12:36:40 UTC
Verified on master.