jenkins_common_lib passes wrong deb package to linaro-hwpack-replace if linux-image-*-dbg* package is present

Bug #1233324 reported by Andrey Konovalov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro CI
Fix Released
High
Andrey Konovalov

Bug Description

Now that the debug symbols are put into separate bed package (mainline commit 810e843746b7297819b0a76b6c105b9bda01fd9c "deb-pkg: split debug symbols in their own package"), the "./linux-image*${kernel_version}*.deb" pattern used in jenkins_common_lib to get the kernel image deb package name is too vague, and matches the two packages. This results in the ci job failure like:

05:10:34 ++ python linaro-image-tools/linaro-hwpack-replace -t hwpack_linaro-arndale_20130929-478_armhf_supported.tar.gz -p ./linux-image-3.12.0-rc2-linaro-arndale_3.12.0-rc2-linaro-arndale-2_armhf.deb ./linux-image-3.12.0-rc2-linaro-arndale-dbg_3.12.0-rc2-linaro-arndale-2_armhf.deb -r linux-image -n 177
05:10:34 usage: linaro-hwpack-replace [-h] [-t HWPACK_NAME] [-p DEB_PACK]
05:10:34 [-r PREFIX_PKG_REMOVE] [-n BUILD_NUMBER] [-i]
05:10:34 [-d]
05:10:34 linaro-hwpack-replace: error: unrecognized arguments: ./linux-image-3.12.0-rc2-linaro-arndale-dbg_3.12.0-rc2-linaro-arndale-2_armhf.deb

Related branches

Changed in linaro-ci:
assignee: nobody → Andrey Konovalov (andrey-konovalov)
Fathi Boudra (fboudra)
Changed in linaro-ci:
status: New → Fix Committed
importance: Undecided → High
milestone: none → 2013.10
status: Fix Committed → Fix Released
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.