"phablet-flash -l" fails with "Jenkins data format has changed, incompatible"

Bug #1154595 reported by Geoff Youngs
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Phablet Tools
Fix Released
Critical
Ricardo Salveti

Bug Description

It appears that there is data included at the end of the file downloaded from cdimage.ubuntu.com that phablet-flash can't parse.

http://cdimage.ubuntu.com/ubuntu-touch-preview/daily-preinstalled/current/quantal-ubuntu_stamp
---8<---
JENKINS_BUILD=24
UBUNTU=manhattan-quantal-armhf-20130313-1
ubuntu/platform-api=:42
ubuntu/hybris=:123

Android repo head list:
abi/cpp : eb789ea : Fix for issue 28721.
android : 76c770f : default.xml: changing default -j from 4 to 1
bionic : a45cbac : Bionic/libm: Fix the mismatch ENTRY/END in e_pow.S
bootable/diskinstaller : 60d078a : Merge "Fix $(INSTALLED_ANDROID_IMAGE_DATA_TARGET) dependency"
bootable/recovery : c055b99 : Adding some Ubuntu specific customizations to recovery
build : 9a969c9 : envsetup.sh: disabling roomservice call from breakfast
development : 32d202f : Some changes added to compile and run with Java 6 and Java 7.
device/asus/grouper : 5362a5f : init.grouper.rc: changing default permission for sys/brightness
device/common : 201208b : libbt: Add support for board-specific configuration
...
---8<---

Changing line 252 in /usr/bin/phablet-flash in 0.6-0phablet1~quantal:

        jenkins_data = filter(lambda x: x,
                              jenkins_build_stamp.content.split('\n'))

to
        jenkins_data = filter(lambda x: x and len(x.split('=')) > 1,
                              jenkins_build_stamp.content.split('\n'))

appears to fix it.

Related branches

Changed in phablet-tools:
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Ricardo Salveti (rsalveti)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:phablet-tools at revision 65, scheduled for release in phablet-tools, milestone Unknown

Changed in phablet-tools:
status: In Progress → Fix Committed
Changed in phablet-tools:
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.