Merge lp:~linaro-infrastructure/linaro-ci/fix_bug_911205 into lp:linaro-ci

Proposed by Deepti B. Kalakeri
Status: Merged
Merged at revision: 46
Proposed branch: lp:~linaro-infrastructure/linaro-ci/fix_bug_911205
Merge into: lp:linaro-ci
Diff against target: 39 lines (+9/-2)
2 files modified
find_latest.py (+8/-2)
jenkins_kernel_build_inst (+1/-0)
To merge this branch: bzr merge lp:~linaro-infrastructure/linaro-ci/fix_bug_911205
Reviewer Review Type Date Requested Status
Данило Шеган (community) Approve
Review via email: mp+87466@code.launchpad.net

Description of the change

The hwpacks under http://snapshots.linaro.org/11.05-daily/linaro-hwpacks/ seems to deleted and hence the ci.linaro.org builds are failing.

The changes here move to using the latest hwpacks under http://snapshots.linaro.org/oneiric/.

To post a comment you must log in.
Revision history for this message
Данило Шеган (danilo) wrote :

This looks good. I assume you are using the "latest" link as well? (eg. http://snapshots.linaro.org/oneiric/linaro-o-server/latest/)

review: Approve
Revision history for this message
Deepti B. Kalakeri (deeptik) wrote :

> This looks good. I assume you are using the "latest" link as well? (eg.
> http://snapshots.linaro.org/oneiric/linaro-o-server/latest/)

I pick the hwpack that is latest in the directory. eg: http://snapshots.linaro.org/oneiric/lt-panda-oneiric/20120104

I want to be sure that the hwpack is available for download and not in the middle of some update when the jobs try to access it.

Thanks!!!
Deepti.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'find_latest.py'
2--- find_latest.py 2011-10-11 13:16:52 +0000
3+++ find_latest.py 2012-01-04 12:30:29 +0000
4@@ -87,7 +87,7 @@
5
6 :param imgtype: The short name of the image type.
7 """
8- imageurl="http://snapshots.linaro.org/11.05-daily/linaro-%s/" % imgtype
9+ imageurl="http://snapshots.linaro.org/oneiric/linaro-o-%s/" % imgtype
10 extrapath="/images/tar/"
11 build_id, filename = find_latest(imageurl, extrapath)
12 return build_id, filename
13@@ -97,7 +97,13 @@
14
15 :param hwpack: The name of the hardware pack to look for.
16 """
17- url="http://snapshots.linaro.org/11.05-daily/linaro-hwpacks/%s/" % hwpack
18+ # There is no omap3 hwpacks generated by landing team, hence use
19+ # the default omap3 hwpack available.
20+ if hwpack != 'omap3':
21+ url="http://snapshots.linaro.org/oneiric/lt-%s-oneiric/" % hwpack
22+ else:
23+ url="http://snapshots.linaro.org/oneiric/%s-oneiric/" % hwpack
24+
25 hwpackextra="/images/hwpack/"
26 build_id, filename = find_latest(url, hwpackextra)
27 return build_id, filename
28
29=== modified file 'jenkins_kernel_build_inst'
30--- jenkins_kernel_build_inst 2011-12-20 09:46:57 +0000
31+++ jenkins_kernel_build_inst 2012-01-04 12:30:29 +0000
32@@ -29,6 +29,7 @@
33 fi
34
35 export kernel_config
36+export hwpack_type
37 export board_type
38 export kernel_flavour
39 export rootfs_type

Subscribers

People subscribed via source and target branches