← Back to team overview

linaro-release team mailing list archive

[Bug 894270] Re: "compare build" doesn't work

 

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.

-- 
You received this bug notification because you are a member of linaro-
infrastructure-drivers, which is the registrant for Linaro Offspring.
https://bugs.launchpad.net/bugs/894270

Title:
  "compare build" doesn't work

Status in Linaro Offspring:
  New

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?

To manage notifications about this bug go to:
https://bugs.launchpad.net/linaro-offspring/+bug/894270/+subscriptions


Follow ups

References