"compare build" doesn't work

Bug #894270 reported by Fathi Boudra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Image Tools
Won't Fix
Undecided
Unassigned

Bug Description

I tried to compare 2 hwpacks (20111122-1 and 20111124-0) using "compare build" feature.
https://offspring.linaro.org/projects/lt-panda-x11-base-oneiric/

The comparison report isn't generated.

Note: it makes sense to check rootfs comparison as well. I'm pretty sure it doesn't work and isn't specific to hwpack.
[OT] Is there an API to get the report, instead of going through the web UI?

Revision history for this message
Guilherme Salgado (salgado) wrote :

This fails because Offspring expects to find at least one file matching 'images/*/*.manifest' under the build's directory, as we can see on the snippet below:

        try:
            base_manifestPath = glob.glob(base_build.result_directory + '/images/*/*.manifest')[0]
            target_manifestPath = glob.glob(target_build.result_directory + '/images/*/*.manifest')[0]
        except:
            return rc.NOT_HERE

However, for hwpack builds the manifest file ends in .txt, so the code above doesn't match anything and we get a KeyError. Similarly, for the rootfs builds, it won't work because there doesn't seem to be a manifest at all.

Unless there's a good reason for having the hwpack manifest end in .txt, I think we should just change linaro-hwpack-create to drop the .txt from it.

Revision history for this message
Fathi Boudra (fboudra) wrote : Re: [Bug 894270] Re: "compare build" doesn't work

On 24 November 2011 16:27, Guilherme Salgado wrote:
> Unless there's a good reason for having the hwpack manifest end in .txt,
> I think we should just change linaro-hwpack-create to drop the .txt from
> it.

Agree.

no longer affects: linaro-offspring
Revision history for this message
Milo Casagrande (milo) wrote :

Due to the age of this issue, we are acknowledging that this issue will likely not be fixed, is no longer applicable, or was already fixed by an indirect change. If this issue is still important, please add details and reopen the issue.

Changed in linaro-image-tools:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.