Bug 11099

Summary: nightly-wic build: Autobuilder should build wic-tools
Product: [Infrastructure] AutoBuilder Reporter: Ed Bartosh <eduard.bartosh>
Component: autobuilderAssignee: Joshua Lock <joshuagloe>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: High CC: infras.ab.watcher, Infras.watcher, pidge
Version: 2.3   
Target Milestone: 2.3 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: New (Never tested)
Verified: Documentation change: Don't know

Description Ed Bartosh 2017-02-23 11:09:34 UTC
AB builds set of tools for wic in step 12 of nightly-wic build: 
 BuildImages Building syslinux syslinux-native parted-native gptfdisk-native dosfstools-native mtools-native

However, due to RSS those tools are not accessible by wic. AB should build wic-tools instead.
Comment 1 Joshua Lock 2017-02-23 14:45:26 UTC
We need to continue to build "syslinux syslinux-native parted-native gptfdisk-native dosfstools-native mtools-native" for YP releases prior to pyro
Comment 2 Ed Bartosh 2017-02-23 16:08:55 UTC
There is another way to fix it: to modify autobuilder code to build wic images with bitbake. This way step 12 can be skipped entirely.

This can be done by adding 'wic' to the IMAGE_FSTYPES on step 11: CreateAutoConf Create Auto Configuration.
Comment 3 Joshua Lock 2017-02-23 16:16:09 UTC
(In reply to comment #2)
> There is another way to fix it: to modify autobuilder code to build wic
> images with bitbake. This way step 12 can be skipped entirely.
> 
> This can be done by adding 'wic' to the IMAGE_FSTYPES on step 11:
> CreateAutoConf Create Auto Configuration.

Will that change be backwards compatible? We have to continue to build prior releases with the AB, substituting the string of native-tools for wic-tools on pyro or newer is an easy way to achieve that.
Comment 4 Ed Bartosh 2017-02-23 16:59:06 UTC
It depends on which releases we should support. wic image type was implemented around Sep 2015.
Comment 5 Joshua Lock 2017-02-28 10:34:55 UTC
A change has been implemented and deployed to production and new clusters:

http://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder/commit/?id=3f488eb60ad1e371c46540fc0e6be88216d7f56e