← Back to team overview

ubuntu-phone team mailing list archive

Re: [Ongoing] Issues with CI Train Spreadsheet

 

On 03/23/2015 09:37 PM, Robert Park wrote:
> On Mon, Mar 23, 2015 at 7:33 AM, Tony Espy <espy@xxxxxxxxxxxxx> wrote:
>> I noticed over the weekend that 'citrain device-upgrade' was getting the
>> silo wrong ( ie. I'd specified ubuntu silo 13, and it started to process
>> silo 11 ).
> 
> I have no idea how that could even be remotely possible. Unless your
> pin is "0011" and you got your pin / silo number mixed up when
> invoking the command. Check the source for the citrain tool:
> 
> http://bazaar.launchpad.net/~phablet-team/phablet-tools/trunk/view/head:/citrain#L59
> 
> Unless you've discovered a bug in *printf*, there's really no
> possibility for the silonumber to not be exactly what you entered.

Well, I think that this has bit me in the past too. The problem is that
if you pass "013" as the silo number, then it's taken as an octal
number. :-)
Maybe the citrain tool should strip leading 0s.

Ciao,
  Alberto


Follow ups

References