/srv/irclogs.ubuntu.com/2014/02/13/#ubuntu-touch.txt

=== chriadam|away is now known as chriadam
=== zoktar_ is now known as zoktar
=== fmasi is now known as Guest13772
=== cjohnston_ is now known as cjohnston
=== xnox_ is now known as xnox
=== ValicekB_ is now known as ValicekB
=== JoseeAntonioR is now known as jose
=== dlan is now known as Guest75001
=== Zic_ is now known as Guest20290
=== fmasi is now known as Guest63667
=== Zic is now known as Guest47791
=== dobey_ is now known as dobey
=== jhodapp is now known as jhodapp|afk
=== nhaines_ is now known as nhaines
=== duflu__ is now known as duflu
Term1nalDesktop mode for ubuntu touch available yet?05:14
RAOFNo05:15
Term1nalAww :( ok see you in 6 months!05:15
Term1nalWhere I'll ask agian05:15
Term1nal:D05:15
=== FuLgOrE is now known as Guest34777
=== LarrySteeze is now known as LarrySteeze|Away
=== Calm is now known as CalmForest
CalmForesthello anybody here?06:17
CalmForestHow long does it take to boot for the first time? I tried manually flashing the zip, but after google it just gives me a black screen. wiped and tried again still results in the same situation.06:18
CalmForestanybody?06:27
CalmForesthi guys?06:42
=== chriadam is now known as chriadam|away
CalmForestcan anyone help me? or tell me what time it is at least07:23
=== Guest47791 is now known as Zic
dholbachgood morning08:13
=== cul- is now known as cul
=== lan3y is now known as Laney
=== Laney is now known as Guest89008
=== Guest89008 is now known as Laney
=== JamesTai1 is now known as JamesTait
=== JamesTait is now known as KateShortForBob
=== MacSlow_ is now known as MacSlow
mardydbarth_: hi! Is there any way we can speed up the landing of item 240? https://docs.google.com/a/canonical.com/spreadsheet/ccc?key=0Au6idq7TkpUUdGNWb0tTVmJLVzFZd0doV3dVOGpWemc#gid=109:59
timppaHi, is there a bug open on the OTA update blacklist.tar.* file missing/corrupt?10:01
timppaI've had the problem since few images back. I can update via adb system-image-cli -v command just fine10:02
ogra_bug 127758910:04
ubot5bug 1277589 in ubuntu-download-manager ""FileNotFoundError: /var/lib/system-image/blacklist.tar.xz"" [Critical,Confirmed] https://launchpad.net/bugs/127758910:04
ogra_mardy, saking in #ubuntu-ci-eng is better for that kind of questions ... (you can most likely speed it up by running the AP tests in advance)10:05
ogra_s/saking/asking/10:05
jibelbarry, mandel wrt. the bug above, I added a test case to the description and can reproduce it very easily. If you need specific info or run some tests just ask.10:13
ogra_jibel, heh, well, that only works for every 10th person10:20
ogra_(which is the big issue with this bug)10:21
ogra_many dont get it at all ... and it shows across all devices10:21
jibelogra_, at least I can reproduce by flashing 176 and upgrading to 178 on my network, 3 times in a row10:23
ogra_yeah, if it happes to you it seems to be consistent10:23
=== mirco is now known as MacSlow
mhr3didrocks, looks like unity-scope-scopes is in distro now, can i press the magic merge and clean?10:38
mhr3it's all red, so i'm scared :P10:38
didrocksmhr3: you can always press the magic merge and clean, it will tell you if it wasn't the right time :)10:41
mhr3heh, ok10:41
davmor2Morning all10:52
=== KateShortForBob is now known as JamesTait
tvosspitti, salut10:58
=== FuLgOrE is now known as Guest82332
dbarth_mardy: yes, get the landing team to activate it11:15
=== Guest82332 is now known as FuLgOrE_
=== zequence_ is now known as zequence
timppa20140213.1 broken on Mako? Does not boot to unity12:21
popeythats 179, yes, broken.12:22
timppa:(12:22
timppapopey: Any way to fix it without new image?12:23
popeyI don't know, it's being discussed in #ubuntu-ci-eng12:23
timppapopey: ok12:23
popeyyou can roll back to 17812:24
timppapopey: what's the command on adb shell for rollback?12:24
timppapopey: system-image-cli -v -b 177 ?12:25
timppa178..12:25
popey-1 i think12:25
popey-1 previous build, -2 previous previous...12:25
popeymaybe check the docs for system-image-cli12:26
timppaany idea how I can enable networking?12:26
popeyphablet-network12:27
=== MacSlow is now known as MacSlow|lunch
timppapopey: nope, I have wireless connections configured but they cannot be enabled12:33
timppapopey: I could enable 3G data via ofono scripts, I'll try to downgrade12:40
timppapopey: thanks!12:40
=== _salem is now known as salem_
timppapopey: It just refuses to downgrade. I tried with -b -1 -b 178, -b 17712:53
timppapopey: how can I check which image it "thinks" it's running?12:53
popeytimppa: adb shell system-image-cli --info12:53
timppapopey: hmm, 17912:54
timppapopey: It seems it's doing something but after install it's still 179 :/12:56
sergiusenstimppa, from the outside? ubuntu-device-flash --channel devel-proposed --revision 178 ?12:59
sergiusensunless you want to use system-image-cli; then I have nothing to say13:00
timppasergiusens: as long as I don't lose any data on the phone it's fine whichever utility I use :)13:00
=== Guest63667 is now known as fmasi
sergiusensit's not supposed to delete your data unless you --wipe13:02
timppasergiusens: is it phablet-flash? Or which package contains the ubuntu-device-flash?13:03
popeysergiusens: any chance you can update https://wiki.ubuntu.com/Touch/Install with details about ubuntu-device-flash ?13:03
popeyits the main place we send people to and doesn't say that phablet-flash is no longer maintained13:04
ybonpopey: I think I'm stuck on OSMTouch waiting for QT5.2 to land; any apps/issues I can work on now and then in the meantime (QML/js part mainly)?13:05
ybon(I can just go to launchpad and pick one for sure, but as you coordinate things :) )13:05
popeyybon: yeah!13:05
popeyybon: could you take a look at the active reviews for calendar perhaps? That's all QML. https://code.launchpad.net/ubuntu-calendar-app/+activereviews13:06
ybonsure, lets do that :)13:06
sergiusenstimppa, apt-get ubuntu-device-flash13:06
popeyybon: kunal would really appreciate the help, I'm sure!13:07
popeyybon: also, if you're any good at performance tuning, if you could figure out a better way to do the year view that would be awesome. profiler shows it spends a lot of time in a chunk of code setting colors for the hundreds of elements on screen at once.13:07
ybonpopey: in two world, the worlkflow for me is: review the merge, and give comments?13:07
popeyybon: yes.13:08
ybonok13:08
popeyThank you!13:08
=== jhodapp|afk is now known as jhodapp
ybon:)13:08
popeyahayzen: pounce!13:08
timppasergiusens: I'm running saucy, no such package?13:09
popeyybon: we have a calendar app irc meeting in ~40 mins in #ubuntu-touch-meeting if you fancy joining13:12
sergiusenstimppa, ppa:phablet-team/tools13:15
timppasergiusens: thanks!13:16
ybonpopey: sure13:16
sergiusenspopey, https://wiki.ubuntu.com/Touch/Install13:17
sergiusensfeel free to make edits13:17
sergiusenspopey, would be good to remove manual installation and have ogra_ add the rootstock stuff13:18
popeyyeah, if that worked13:18
ogra_sergiusens, popey's recovery on flo has no /cache partition at all ... i have no clue why13:18
ogra_which indeed breaks rootsotck completely13:18
ogra_popey, but other install wouldnt work either without that, not a rootstock issue13:19
popeysure.13:19
sergiusensit works13:20
sergiusenspopey, what recovery are you running?13:20
popeytried http://paste.ubuntu.com/6915695/13:20
popeythe instructions from there, and tried a recovery from ogra_13:21
sergiusenspopey, try too boot once without rootstock; seem if that fixes it13:21
popeyboot to what?13:22
popeyif i boot I get a busybox shell13:22
ogra_popey, to android13:22
ogra_but you said you did that at least once13:22
popeyyeah13:23
popeyi just get busybox13:23
sergiusenspopey, busybox booting to android?13:23
ogra_yeah, indeed, since the tarball couldnt be unpacked13:23
popeyif I just adb reboot, i get busybox13:23
ogra_popey, no, your initial android 4.4 boot to android ... did you do that13:23
sergiusenswhat I'm saying is; flash fully without rootstock; use the ubuntu zips13:24
popeyit had 4.3 or something13:24
popeyi updated it and rebooted13:24
ogra_ah !13:24
popeyhang on13:24
popeyi did go into 4.413:24
=== dandrader is now known as dandrader|afk
popeythen started flashing it13:24
ogra_and you booted the 4.4 before ?13:24
ogra_it should have cared for the partition13:24
popeyi started out of the box with 4.3, booted into android, system update, booted into android 4.4, booted into fastboot and thats where I started with your guide13:25
ogra_hmm13:25
=== elfangor2 is now known as elfangor
popeyogra_: do i need to start again back on android original 4.4 ?13:32
ogra_i would do so13:32
timppasergiusens: ubuntu-device-flash didn't work, error:  Cannot push /path/to/ubuntu-xxx.tar.xz to device13:32
ogra_what was the actual /path/to ... ?13:33
ogra_:)13:33
popeyogra_: https://developers.google.com/android/nexus/images#razor right?13:34
ogra_hmm, i thought it was flo there too13:35
ogra_iirc razor was the 3G grouper variant13:35
popeyrazor vs razorg13:36
ogra_hmm, k13:36
ogra_then i'm probably wrong13:36
popeynvm, it happens, you get used to it13:36
timppaogra_: /home/timppa/.cache/ubuntuimages/pool13:37
timppaogra_: file exists in that path13:37
jdstrandmhall119: hope you don't mind-- I added several things to your click frameworks todo list13:38
ogra_timppa, well, that /path/to in the error message looks really weird13:39
=== MacSlow|lunch is now known as MacSlow
timppaogra_: :) Well, I did not type the original path. My IRC client and the laptop which I'm working with the phone are two different machines so no copy-paste...13:40
timppaogra_: which patch ubuntu-device-flash tries to push the image? Maybe there is not enough free space?13:47
timppaogra_: pastebin.ubuntu.com/692554813:48
ogra_timppa, yeah, check the free space on the device13:49
timppaogra_: pastebin.ubuntu.com/6925571/13:51
ogra_/dev/disk/by-partlabel/cache    552M  366M  186M  67% /android/cache13:52
ogra_looks like you still have some spare space13:52
ogra_timppa, try using recovery mode and use -d mako for the flash command13:52
=== dandrader|afk is now known as dandrader
timppaogra_: I'll try, thanks13:54
timppaogra_: problem was that there was not enough space on cache slice13:56
ogra_right, but that theoretically shouldnt happen13:56
timppaogra_: theoretically :)13:56
popeysergiusens: ok, so with this 2013 nexus 7, which guide should I use to take it from stock android 4.4 to ubuntu goodness?13:56
ogra_yeah13:57
ogra_popey, the pastebin still13:57
timppaogra_: thank you for the help!13:57
popeyok13:57
ogra_(i dont think there is any other valid guide anymore)13:57
MacSlowanybody else having problems with the image in the emulator not displaying anything?13:59
ogra_MacSlow, if you used the latest one from -proposed, thats broken (see the ML)14:01
ogra_if you dont, take into account that the first boot of the emulator takes >10min14:01
MacSlowogra_, hm... pulled the image on this machine before lunch... so I guess I've the broken one14:02
popeyogra_: flo flashed \o/14:04
ogra_yay14:04
MacSlowogra_, so I guess I've to disable -proposed and grab a new one then14:04
ogra_so your upgrade to 4.4 somehow didnt create the cache partition on the first run14:05
ogra_MacSlow, see the ML ... there is a workaround14:05
ogra_MacSlow, or go to lunch ... there is a new image with the fix building already14:05
ogra_shuld be ready in 30-34min14:06
MacSlowogra_, I had lunch by now :)14:06
MacSlowogra_, I'll wait then14:06
ogra_ah, i missed how late it already is :)14:06
=== Tassadar_ is now known as Tassadar
mterryogra_, missing exec bit?  how did it work at all?14:09
ogra_mterry, i didnt have merged the merge branch back into the main branch ... ricardo merged the debdiff it seems, then added his merge and uploaded14:09
ogra_the debdiff didnt have the exec bit14:10
barryjibel: yes, i'm flashing to 174 and upgrading from there.  i've seen it just once on my device, but hopefully that will be good enough to capture14:10
ogra_mterry, so my upload worked fine ... and his (with a completely unrelated change set) didnt14:10
cwaynemterry, hey, so for thaat demo-users stuff, it's showing up on the mako now as well, i thought it only was supposed to do that on tablet?14:12
mterryogra_, sorry, got disconnected.  So do we think the exec bit fix is all we need?  I remember with image 177 only sometimes were people seeing a black screen.  Which sounded like a USC crash, not an exec bit problem14:17
ogra_<ogra_> mterry, i didnt have merged the merge branch back into the main branch ... ricardo merged the debdiff it seems, then added his merge and uploaded14:18
ogra_<ogra_> the debdiff didnt have the exec bit14:18
ogra_<ogra_> mterry, so my upload worked fine ... and his (with a completely unrelated change set) didnt14:18
mterryogra_, oh this was post 177?  I see14:18
ogra_17914:18
ogra_but 180 is already building with the fix included14:18
mterryogra_, well I still feel nervous about 177's occasional black-screen boot.  I'm going to spend some time rebooting today and see if I can hit it14:18
ogra_i havent had a black screen oot here14:19
ogra_and i havent heard from others14:19
ogra_apart from one person on the ML who didnt even mention which device he has14:19
mterryogra_, on the landing thread for 177, two people mentioned14:19
mterryogra_, one of them said mako14:19
ogra_mterry, for 177 ? are you not mixing the threads here ?14:20
mterryogra_, listen, I don't want anything to need another nested mode revert   :)14:20
mterryogra_, let me dig it up14:20
mterryogra_, sorry, 176 was the image number14:20
mhall119jdstrand: I don't mind at all, especially since most of them are assigned to you :)14:21
mterryogra_, Sebastian Gomułka reported it with mako.  I guess just the one14:21
ogra_mterry, well, as long as we hear it from only one ...14:23
ogra_mterry, note that if apport or whoopsie kick in after an upgrade, the boot can take very long ... i would currently be inclined to assume that was the case for him and he just didnt give feedback that it worked later14:23
mterryogra_, hmm, fair14:24
mterrywell, I'm still nervous, but won't spend a bunch of time trying to reproduce14:25
jdstrandmhall119: hehe14:29
jdstrandmhall119: the one for cjwatson we already agreed to (hi Colin!)14:29
jdstrandmhall119: and the one for bzoltan just makes his life easier14:29
mhall119jdstrand: as long as there aren't more items with [mhall119] on them, I'm happy :)14:29
jdstrandhi Zoltan! :)14:29
jdstrandhehe14:30
cjwatsonsure, it's just blocked behind libclick14:30
cjwatsononce I finish the https installer work I'm doing at the moment, that's next on my list per guidance from Steve14:30
jdstrandcjwatson: so, I'm not sure if you will land that for FF, but I can just do the parsing myself for the tag to unblock on the app showdown14:30
jdstrandah, ok, cool, maybe I won't need to do that14:31
jdstrands/tag/framework/14:31
pmcgowanlibclick woopee14:31
pmcgowanjdstrand, gave you write access14:31
jdstrandthanks14:31
* jdstrand changes 'link-reviewers-rools to 'click-reviewers-tools'14:31
jdstrandI don't have anything to do with that first project14:32
jdstranderr, lick-reviewers-tools14:32
jdstrandjokes are funnier when you type them correctly14:32
pmcgowanbad cut and paste I suspect14:32
jdstrand:)14:32
pmcgowannot the first time14:33
ogra_lick-reviwers ? is that an order ?14:33
pmcgowandooh14:33
jdstrandthere we go :)14:33
cjwatsonjdstrand: maaaaaaaaaaybe14:33
jdstrandcjwatson: click-apparmor already hard codes, I'll hard code for this for now, then transition whenever libclick lands14:34
cjwatsonjdstrand: if you can parse it yourself initially, that would certainly take the pressure off a bit14:34
bzoltanjdstrand: hello there ... who summoned me and for what reason? :)14:34
davmor2dbarth_, alex-abreu: Guys I installed the bbc news webapp and noticed that if I cover the sensors the screen blanks is that meant to happen ?14:34
jdstrandcjwatson: np14:34
jdstrandbzoltan: just the thread on ubuntu-appstore-developers on the 'Switching Click framework to 14.04 Dev' tasks14:35
alex-abreudavmor2, no, the webapp displays fine otherwise?14:35
alex-abreudavmor2, I dont see how it can be related to webapp per se14:35
bzoltanjdstrand: is there anything I need to do?14:35
dbarth_davmor2: wdym by "cover the sensors"?14:35
davmor2alex-abreu: Yeap it fine and if I remove my thumb from the sensors the screen unblanks14:35
dbarth_?!14:36
alex-abreudavmor2, no idea why it does that, but it shouldn't be specific to webapps ...14:36
davmor2dbarth_: I put the phone down initially on my printer which has a fairly enclosed tray and the screen went out so I took a closer look.  Basically by the earpiece you have the sensors for light and proximity and those are blanking the screen from what I can tell14:38
davmor2alex-abreu: and you are right it is happening on normal apps too14:39
robotfuel_boiko: ping14:39
alex-abreuphfewww14:40
davmor2okay hands up if you deal with the proximity and light sensors :D14:43
pmcgowandavmor2, I dont see any relevant changes for that, which build are you on?14:43
ogra_davmor2, ricmm14:44
davmor2pmcgowan: 178, It might not be a current issue it might be an older one that I just happen to of stumbled onto14:44
jdstrandbzoltan: there are a couple of items in that thread, yes14:44
pmcgowandavmor2, never seen that, and not here on 17614:45
davmor2pmcgowan: could it be the new unity8 code that landed on 178?14:45
pmcgowandavmor2, I suppose, maybe greyback would know if any relevant code there14:46
jdstrandbzoltan: https://lists.launchpad.net/ubuntu-appstore-developers/msg00760.html (you have items '1' and '11')14:46
davmor2pmcgowan: hmmm it might actually be specific to maguro too mako is on a semi custom up-to-date build and it isn't happening there14:48
pmcgowandavmor2, interesting, I see a platform_api fix for a sensors call in 17714:48
greybackpmcgowan: davmor2: I've nothing to do with sensors really, it's powerd that reads that information directly via platform api.14:49
pmcgowanack14:50
boikorobotfuel_: pong14:56
robotfuel_boiko: can you review this mp when you have time? https://code.launchpad.net/~chris.gagnon/messaging-app/autopilot-tests/+merge/20494714:56
boikorobotfuel_: sure, either me or salem_  will review  that14:57
MacSlowogra_, the chmod-fix for the usc-wrapper doesn't work for the emulator?!15:04
ogra_MacSlow, feel free to try15:04
MacSlowogra_, well when the emulator is running I get a "read-only filesystem"-error when trying "adb shell touch /userdata/.writable_image"15:05
ogra_MacSlow, yeah, thats what i suspected15:06
ogra_MacSlow, image 180 is available now btw ... it has the fix15:06
MacSlowogra_, I guess I could only change that without the emulator running... but I don't know if I can mess with the image in that case15:06
MacSlowogra_, ok... so just recreate the image then15:06
ogra_right15:07
* MacSlow crosses fingers15:07
davmor2pmcgowan: okay weirder I rebooted and now it doesn't happen so I wonder if it is a knock on effect from the call test and the rule just never ends.   I try a call now and see if it happens again15:08
pmcgowandavmor2, oh that could be if somehow proximity was not turned off on end of call15:08
davmor2pmcgowan: Nope nothing I can't seem to trigger it again :(  I'll keep an eye out for it anyway and see if I can't reproduce it15:12
pmcgowandavmor2, ok but that makes sense now, somehow powerd didn't get the call hangup and left sensor on15:13
pmcgowandavmor2, do you have any crash files from that test?15:14
davmor2pmcgowan: only crash file I have is _usr_lib_arm-linux-gnueabihf_upstart-app-launch_desktop-hook.32011.crash15:16
pmcgowandavmor2, ok, guess we just watch for it again15:16
mandelthostr_, sorry, I had no idea you where in the hangout :-)15:16
mandelthostr_, so you know what we are doing, et me know when I can give a hand15:17
mandelagh, wrong channel15:17
ilyahi15:23
MacSlowmzanetti, tsdgeos: unity8 trunk (with unity-notifications trunk) runs without failure through all the notification AP-tests on the desktop here.15:32
=== alan_g is now known as alan_g|tea
Yamagatang15:34
snwhis it possible to take a screenshot on the mir-based images on a galaxy nexus (phablet-tools is telling me my device is unsupported)15:35
snwhphablet-screenshot*15:36
=== phantom is now known as Guest79302
MacSlowogra_, ah... I've my emulator back... read: the 180 is working... phew :)15:39
ogra_:)15:39
MacSlowogra_, now I won't touch that setup until April ;)15:40
=== gatox is now known as gatox_lunch
cwaynemterry, ping15:45
mterrycwayne, hello15:46
cwaynemterry, heya, so now that your unity8 demo-users branch is in the image, i've added a .unity8-greeter(or whatever the filename was) to setup the multi-user greeter demo15:47
mterryawesome15:47
=== alan_g|tea is now known as alan_g
cwaynebut it's not showing up on the phone as well (i thought it was only meant for tablet)15:47
=== rickspencer3_ is now known as rickspencer3
mterrycwayne, that file is used on both phone and tablet15:48
jcbjoehi all i have a question .. i been reading that all support has stopped and is now for nexus 7 .. i have a nexus 715:48
jcbjoei also have a mac computer15:48
jcbjoecan i get ubuntu touch on my nexus 7 via this mac ?15:49
pessauroheu15:51
pessaurohei15:51
=== dandrader is now known as dandrader|afk
=== jono is now known as Guest53088
cwaynemterry, blagh, so ill have to find a way to only apply it to tablets..15:59
frecel__popey: I have not changed anything in SmartFart so if it doesn't work it's something in the OS16:01
frecel__popey: also good morning :D16:01
popeyfrecel__: I'll do some more testing and check the logs, this is of course my top piority :p16:02
=== frecel__ is now known as frecel
jcbjoelet me back up16:03
jcbjoeis the only way to get ubuntu touch to a nexus 7 thru gnu/linux (linux) or can i do it from a mac ?16:03
cwaynejcbjoe, which nexus 7? (old one or new one)16:04
bfillerkenvandine: meeting?16:04
jcbjoecwayne, 201316:04
frecelwell you could also make html5 launcher work, unless it already does because the last time I checked was on 170 (i think)16:04
jcbjoecwayne, nexus 7 201316:08
cwaynejcbjoe, it'll be available to flash soon, but not quite yet via ubuntu-device-flash, which AIUI works on mac16:09
kenvandinebfiller, oh... i forgot the meeting16:16
kenvandinebfiller, still having it?16:16
bfillerkenvandine: lets do a quick sync16:16
pmcgowanmandel, barry do you have any debug libs to use on the update issue? my tablet currently stuck again16:16
asacbarry: mandel: so do you feel stuck in the upgrade bug?16:16
asachehe16:17
kenvandinebfiller, give me a couple minutes16:17
bfillerkenvandine: https://plus.google.com/hangouts/_/calendar/cmFjaGVsLmxpdUBjYW5vbmljYWwuY29t.ekpliocgi08ceqi2pch3emv1eg16:17
barryi'm in a meeting atm, but i will soon have a branch/ppa package that will gather more information.  i was able to reproduce the crash *once* on my device late last night, so that gives me some hope that i can capture it.  we still don't know at what layer the bug/change is though16:18
=== vying is now known as Guest74157
asacbarry: so its a crash?16:18
barryasac: i think some downloaded file is getting corrupted, causing the gpg signatures to fail validation.  but it's *very* random and intermittent.  after i got the one error on my device, i ran it maybe 1/2 dozen more times with no errors16:19
asacbarry: can you see how the code is not robust aganist that?16:20
ogra_asac, it clearly looks like the request to download the blacklist file doesnt reach the download manager16:20
barryasac: but now i know it can happen on open wifi networks, so likely has nothing to do with 3g or login-protected networks16:20
asacbarry: it can always happen16:20
barryasac: well, what can it do?  if the signature doesn't match, you can't trust the file16:20
ogra_barry, u-d-m never downloads it16:20
jcbjoecwayne, so i can get parallels or something/ install ubuntu then i can go that route correct ?16:20
ogra_and it doesnt look like it is asked for that16:20
asacbarry: yes, you have to plan for that... you will always have corruptionm16:20
asacbarry: or failed downloads etc.16:20
asacbarry: so we need to have mechanism to evict stuff that was broken or something16:21
asacbarry: also they say it works with cli?16:21
barryasac: right.  corrupted stuff does get evicted, so a retry would succeed.  if of course the corruption doesn't happen again16:21
ogra_barry, see the syslog as well as the new "ubuntu-downaload-manager-log" on the bug16:21
ogra_the download is never attempted16:21
asacbarry: but is that what people observe?16:22
asaccan they click again and it redownloads etc.?16:22
ogra_asac, the UI indicates so16:22
barryasac: sometimes.  for me it does work on subsequent tries.16:23
ogra_if the background process timed out you can just run the UI again and it seems to start downloading again16:23
asacpmcgowan: does it redownload/retry after this issue happens for you?16:23
ogra_yes, he told me about it16:23
ogra_last night16:23
pmcgowanasac, depends, when system-image-dbus crashes then you need to restart16:23
asacso its all about better error reporting so the user knows what to try?16:24
ogra_asac, well, that wont give you the file16:24
asace.g. "the downloaded update wasn't good, please try again after ensuring you have good networking"16:24
asac?16:24
ogra_https://bugs.launchpad.net/ubuntu-system-image/+bug/1277589/+attachment/3979749/+files/ubuntu-download-manager.log20140213-151948.231416:24
ubot5Launchpad bug 1277589 in ubuntu-download-manager ""FileNotFoundError: /var/lib/system-image/blacklist.tar.xz"" [Critical,Confirmed]16:24
ogra_grep for blacklist in this file16:24
pmcgowanasac, I dont think its that simple, my network here is fine and it failed16:24
pmcgowansomething else is going on16:24
pmcgowanand was at the office and it failed16:25
ogra_or in this https://bugs.launchpad.net/ubuntu-system-image/+bug/1277589/+attachment/3972761/+files/syslog16:25
barryhere's a mystery: why did we get the first report of this on feb 7 when neither u-d-m nor s-i has changed since december?  maybe nobody saw it until the u/i made it evident the error was happening, but i don't think that's the case.16:25
asacpmcgowan: yeah. so download can be corrupted by bogus wifi, but also through crashes etc.16:25
ogra_(both have download manager logs)16:25
asacimo the update manager should just recover transparently16:25
ogra_barry, they communicate over dbus16:25
asacbarry: maybe our wifi is more flaky now16:25
asacor dbus etc.16:25
ogra_barry, there is polkit involved, logind and dbus itself16:25
barryasac: right, *and* there was a change to libqt5network5 on feb 6, which is darn suspicious, although the changelog doesn't reveal anything16:26
ogra_and the request to download blacklist clearly never reaches u-d-m16:26
ogra_asac, it definitely isnt the wifi16:26
ogra_it happens on the way from s-i to u-d-m somewhere16:27
barryogra_: i hadn't thought about changes to dbus.  do you know when that might have changed on touch?16:27
ogra_barry, nope, i was looking at the one policykit change yet, but that doesnt seem to have anything that could cause this ... looking at dbus changes was on my list next (got two meetings in a row now)16:28
barryogra_: in my test suite on amd64 desktop, i *do* see new and strange dbus behavior.  like s-i not receiving all the expected signals from u-d-m16:28
ogra_barry, right, so it could happen vice versa16:28
barryogra_: so in the test suite, you can get timeout errors because the finish/cancel/error signal from u-d-m never reaches s-i16:29
pmcgowandbus did update feb516:29
barryso if dbus is somehow dropping messages, that could explain a both symptoms16:29
barrypmcgowan: https://launchpad.net/ubuntu/+source/dbus says jan 1716:30
barrybut maybe it only landed in touch by feb 5?16:30
pmcgowanI see libdbus-cpp1:armhf from 1.0.0+14.04.20140123-0ubuntu1 to 1.0.0+14.04.20140123.1-0ubuntu116:30
pmcgowanon feb 516:30
barrypmcgowan: that is definitely a useful avenue to investigate.  mind if i ask you to follow that lead, while mandel follows the networking change, and i work on the s-i level?16:31
ogra_pmcgowan, cpp16:31
ogra_not sure there is muchg using that yet16:31
pmcgowanright16:31
ogra_(apart from location service)16:32
barrywell, u-d-m might.  it's qt and c++.  s-i wouldn't, it uses libdbus16:32
ogra_mandel, ^^^16:33
mandelbarry, ogra_ I'm adding even more logs to get the exact structure sent by s-i16:33
ogra_does u-d-m use dbus-cpp ?16:33
mandelogra_, no, qtdbus, and last time someone touch libdbus in git was 200916:33
mandelI already went that far16:34
ogra_right, but libdbus-cpp is new16:34
mandelogra_, and not used by me16:34
ogra_i wonder if it can cause interference on the bus16:34
=== gatox_lunch is now known as gatox
mandelbarry, ogra_ give me a few mins and I can build a new ppa with eve more logging jibel you can reproduce it, correct?16:35
barrymandel, ogra_, jibel i need to dist-upgrade and reboot, but then i will build a ppa package of s-i that you can install to gather more data in the s-i logs16:35
ogra_great16:36
barry(i just don't want to upload that yet until i get current on trusty and have a successful unittest suite run)16:36
* barry will hopefully be back in a little bit16:37
jibelbfiller, FYI I rebased lp:~jibel/address-book-app/abook_delete_contact_pickmode on trunk, renato already reviewed it. Not sure if the bot will re-review it again.16:51
bfillerjibel: thanks16:51
jibelrenato, boiko , salem_ Hey, when you have time for reviews, there are 3 MPs waiting for you17:08
jibelhttps://code.launchpad.net/~allanlesage/address-book-app/abook_navigation_favorites/+merge/20526417:08
jibelhttps://code.launchpad.net/~allanlesage/address-book-app/abook_navigation_collapse/+merge/20589017:08
jibelhttps://code.launchpad.net/~iahmad/dialer-app/smart-dialing-test/+merge/20570617:08
boikojibel: yep, I'm reviewing lots of other MRs today, but I think I can review those tomorrow17:09
boikojibel: I mean, the dialer-app one, the addressbook ones are for renato :)17:09
jibelboiko, sounds good, thanks!17:10
jcbjoeis anyone using ubuntu touch on a nexus 7 and if so how do you like it .. also are you using it as a daily driver ?17:20
jcbjoei read somewhere that all support will be going to the n7 2013 witch i have17:20
jcbjoewhich*17:20
popeyjcbjoe: i have it on a nexus 7 2013 here17:25
* ogra_ likes the new N7 a lot17:27
ogra_ubuntu touch is super snappy on it17:28
=== mandel is now known as mandel|afk
ogra_barry, soo ...17:56
ogra_barry, this landed at the same time the issues started http://launchpadlibrarian.net/165161694/ubuntu-system-settings_0.1%2B14.04.20140203-0ubuntu1_0.1%2B14.04.20140206-0ubuntu1.diff.gz17:57
ogra_barry, do you have an idea of the update notification changes could have any influence on s-i behavior ? i tested with pmcgowan and when he rolled back the packages it worked for him (which could indeed just be coincidence)17:58
barryogra_: i don't *think* so since the dbus api hasn't changed, and afaik, the ui isn't doing anything crazy now like canceling or pausing an update in the middle (tho those operations should of course work)17:59
barryogra_: unless somehow the ui is messing with u-d-m17:59
ogra_barry, well, it *must* be one of the packages landed on the 7th18:00
barryogra_: yeah, i agree!18:00
ogra_http://people.canonical.com/~ogra/touch-image-stats/20140207.changes18:00
barryogra_: i still want to hear what mandel|afk has to say about libqt5network518:00
ogra_barry, that was a day before the 7th18:00
barryogra_: but that's a possibility right?  i.e. the landings on the 6th but we didn't notice until the 7th.  or people did notice, but retried enough times to make it succeed until popey's first bug report on the 7th18:01
ogra_barry, and both first manifestations of the bug that we know about showed on the 7th18:01
ogra_(popey as well as pmcgowan had it first on the same day)18:01
barryogra_: tbh, i'd be suspicious of any change from the 5th to the 7th18:01
ogra_yeah, probably18:02
ogra_i find it intresting though that it started to work for pat once he rolled back system-settings18:02
ogra_but that can indeed be coincidence18:02
ogra_he is just trying to reproduce the same18:02
barrythat is definitely an interesting data point18:03
barrythat package is "involved" in the upgrade process so it can't be ruled out18:03
=== alan_g is now known as alan_g|EOD
ogra_the bug is so flaky that it is hard to tell if it was the package roll-back, but it smells intresting already :)18:03
barryindeed ;)18:03
barryfwiw, my test suite is running and once that's done, i'll ppa a package that folks can try out.  i'll also be trying it on my device.  it won't fix the problem but it should provide better information18:04
ogra_barry, the thing is though ... you have to make the image writable for installing the debs ...18:04
ogra_so that might have some influence indeed18:05
barryogra_: yeah.  but it's the best we can do to continue debugging it18:05
=== gustavold1 is now known as gustavold1\
=== gustavold1\ is now known as gustavold
barryogra_: another interesting test, albeit time consuming, is to flash back to older revisions until we find one that doesn't fail.  of course, it's hard to know if that's just luck or not, but still18:06
ogra_barry, right18:06
ogra_i dont have a device to reproduce ... else i would have done exactly that during the day18:06
* barry nods18:07
ogra_(my maguro didnt expose it at all, my mako is my main phone and not for testing (not a company phone) and my flo and manta are on 4.4=18:07
ogra_)18:07
zhanxAny tips for compiling for a intel z2560 soc?18:17
frecelAaaannnnddddd I just bricked my Nexus 418:18
popeyyou sure?18:19
snwhis there a way to take a screenshot on one's device?18:19
frecelwell software bricked anyway18:19
frecelit's getting stucked on the google logo on boot18:19
ogra_frecel, what did you do to it ?18:20
frecelI tried to update to 180 and it didn't want to so I forced it through shell :D18:20
barryogra_: i flashed my device to r174 and tried to upgrade it and got the error.18:20
popeysnwh: depends which device18:20
frecelturns out it wasn't a good idea :D18:20
popeysnwh: phablet-screeenshot is in the phablet-tools package and works on nexus 418:21
ogra_barry, right, to my knowledge it started between 169 and 17018:21
popeyfrecel: force how?18:21
snwhpopey, i have a galaxy nexus18:21
popeyogra_: does phablet-screenshot work on maguro?18:21
snwhthe phablet screenshot doesn't work with it18:21
popeyoh bummer18:21
barryogra_: yep.  so the next step for me will be to reflash to 174, install my new s-i package and see if i can capture enough info18:21
ogra_snwh, remove /home/phablet/.display-mir ... reboot ... do what you need for the screenshot and take it, touch /home/phablet/.display-mir and reboot18:22
ogra_popey, it crashes Mir on the PVR driver18:22
ogra_crap HW ...18:22
snwhogra_ will try that, thanks18:23
ogra_snwh, the android tool should work (i forgot the name)18:23
ogra_should be somewhere in /system/bin ... (you need to use the full PATH)18:23
snwhscreencap18:23
ogra_screencap iirc18:23
ogra_yeah18:23
snwhi was under the impression that only worked with surfacefllinger18:24
barryogra_: here's a thought: did anything in the gpg stack change during the interesting time frame?18:24
ogra_the steps i gave you above switch you toi surfaceflinger ;)18:24
ogra_barry, not that i remember, but let me check18:24
snwhogra_ ah18:24
ogra_barry, though i still never see the request to even download the blacklist file arrive in the u-d-m logs18:25
=== mandel|afk is now known as mandel
ogra_barry, last gpg upload was end of last month18:26
ogra_i think we would heard about issues before the 7th if that would realyl cause anything18:27
ogra_28 Jan 201418:27
barryogra_: that's really interesting.  what it looks like from the s-i side is that a blacklist file *did* get downloaded, but it's signature check failed, so s-i then thinks "well, maybe the image-master key is old" since that key has to sign the blacklist.  so then it tries to get a new image master, which appears to succeed, only *its* signature also fails.  there's no place else to go, since the image master has to be signed by the18:27
barryarchive-master, and that's preloaded on the image18:27
zhanxAny tips for compiling for a intel z2560 soc? Broke my laptop, want to use touch on my tablet18:27
mandelbarry, I'll bevery surprise is the qnetwork change, it changes nothing in th enetwork stack18:28
barryogra_: possibly.  that was during the london sprint, but it does seem a little early18:28
barrymandel: okay, so we don't think that's it18:28
mandelbarry, I have a new build of udm with more logs for you :)18:28
ogra_barry, http://people.canonical.com/~ogra/touch-image-stats/20140129.changes18:29
barrymandel: cool.  i am starting to sniff a scent though :)18:29
ogra_gpgv and gnupg18:29
ogra_thats the last time they changed18:29
mandelbarry, yep, I saw the backlog :)18:29
barryogra_: let me take a peak at the change log.  looks like a new upstream version18:29
ogra_it is18:29
ogra_blame mdeslaur if it broke :)18:30
barry:)18:30
mdeslaurwhat?18:30
mdeslaurwhat'd I do?18:30
ogra_mdeslaur, we're trying to find why people cant upgrade anymore18:30
barryi think i understand how we're getting the traceback now, but not why18:30
ogra_mdeslaur, but the first reported incident with this error is from the 7th ... i'm pretty sure its not your gpg upload18:31
=== dandrader is now known as dandrader|lunch
barrymdeslaur: so, we're trying to figure out why phone upgrades fail now and then.  my latest thinking is maybe something in the gnupg stack has changed, though it doesn't make sense that signature checks would only fail intermittently18:31
barryright, it's probably not, but still18:31
mdeslaurogra_: thanks for the heart attack :)18:31
mdeslaurbarry: ok, let me know18:32
ogra_mdeslaur, awake now ? :)18:32
mdeslaurhehe18:32
barrygnupg 1.4.16 upstream was apparently released mid december18:32
frecelI know that I have phablet-tools installed but I get command not found when I'm trying to run ubuntu-device-flash18:32
frecelstrange18:32
ogra_barry, well, if it would be not properly backwards compatible, the server signs with whatever version it runs ... precise i bet18:32
ogra_and we use the trusty version to decrypt18:33
ogra_but i guess there would be tons of other issues if there was any such incompatibility18:33
barrythat's what i'd think.  it smells like we're close but not quite there18:33
ogra_frecel, ubuntu-device-flash is in a differnt package ... check the install wikipage18:33
mandelbarry, I lied to you, waiting on the armhf build => https://code.launchpad.net/~mandel/+recipe/ubuntu-download-manager-daily18:33
barrymandel: cool18:34
mandelbarry, but we have labeled lines for download, logs for when downloads are created and tracing of all methods18:34
mandelbarry, we are really going to know what udm is doing18:34
popeyfrecel: you on 14.04?18:34
frecelpopey: 13.1018:34
frecelnvm, ubuntu-device-flash is it's own package18:35
mandelbarry, and auth errors being raised18:36
mandelbarry, I cannot think of any more logging to add18:36
frecelIn my defenese I have a fever so my brain doesn't really work18:37
frecelI'm going to be doing stupid things today18:37
barrymandel: the most important things are: can we easily find the relevant log file (more difficult now with google logging naming scheme unfortunately), and can we correlate udm log entries with si log entries18:38
mandelbarry, I have fixed logging files, we can now see the time when the log was created, the logs are labeled with time AND download id so we can trace what happened in each step and we can see the creation method call18:39
barrymandel: cool.  i'll take a look as soon as possible.18:40
balloonspopey, does loudspeaker work for you on image 180?18:50
jibelmandel, does it mean you'll have a new build to test soon?18:50
mandeljibel, yes, waiting on the builder atm18:50
mandeljibel, https://code.launchpad.net/~mandel/+recipe/ubuntu-download-manager-daily18:50
jibelmandel, if it's an arm builder, I've enough time to have dinner ;)18:52
jibelmandel, failed to build on arm BTW18:52
mandelahghg18:52
ogra_Build finished at 20140213-185118:52
ogra_FAILED [dpkg-buildpackage died]18:52
popeyballoons: no devices on 180 yet, updating now18:52
balloonsfails for me, see if you can confirm18:53
=== bfiller is now known as bfiller_afk
mandeljibel, *** quemu => qemu: uncaught target signal 6 (Aborted) - core dumped18:53
ogra_mandel, use the canonical-arm-dev PPA ... :P18:53
ogra_mandel,  its a native builder18:53
jibelmandel, I'll be back later, ping me when there's a deb ready18:53
mandeljibel, will do18:56
=== dandrader|lunch is now known as dandrader
frecelballoons: the loudspeaker works for me on nexus4 r18019:02
balloonsfrecel, when you start a call does it display the icon with an X?19:03
balloonsthen pressing the X displays the volume icon? For me tapping the icon simply resets it to an X over and over19:03
popeyballoons: i have audio on 18019:04
popeyin music app19:04
balloonspopey, frecel I'm talking about speaker mode in a phone call19:04
popeyoh19:04
freceloh19:05
frecellet me put a sim card in :D19:05
balloonslol :-)19:05
popeyyup, works here19:05
balloonsk, see above for what happens on mine. It's a fresh flash.. I flashed the 4.3 radio stock again as well19:06
balloonsI feel like this phone is just unhappy19:06
frecelworks on my phone too19:06
barryogra_, mandel we have another clue: http://paste.ubuntu.com/6927127/19:08
barrynote the m5 checksum on keyring.tar.xz{,.asc}!  two problems, they are identical, and they also don't match the blacklist on the server19:09
mandelbarry, that is good, I mean, it is not network related something I was very scared off19:09
ogra_barry, what about: [systemimage] Feb 13 19:06:14 2014 (2066) No signed blacklist found19:09
balloonsty frecel and popey19:11
frecelpopey SmartFart works for me just fine in r18019:11
popeyhmm19:11
ogra_frecel, heh, thats also my preferred test app for click installs19:11
popeyhaha19:11
popeyogra_: its frecel's app ☻19:11
ogra_annoys the hell out of my GF :)19:11
barryogra_, mandel: so.  what happens is this: si requests the blacklist.tar.xz and .asc files from the server as you can see in line 1 and 2, with the local path specified.  once the group download finished (successfully, apparently), it checks the signatures against image-master.  when that fails, you see the "no signed blacklist found" error in line 7, and *then* it prints more details of the error, including exactly what we needed.  the19:11
barrypaths and checksums of all the files involved in the sig check19:11
barryogra_, mandel this clearly tells me that blacklist.tar.xz{,.asc} are apparently downloaded successfully, but in reality are corrupt19:12
ogra_weird19:12
barrythe rest of the cascading errors make perfect sense from there19:12
ogra_how do you know it is actually downloaded19:12
barrybecause the SignatureError details include the local file system path and md5sum of whatever it found at that path19:13
thomicyphermox_: robru: could one of you fine gentlemen please run the 'Merge & Clean' job for silo 6?19:13
mandelbarry, so, if we manually download the files, can we see if their signatures match? to ensure that it is no udm doing a bad download19:13
robruthomi, on it19:13
thomirobru: thanks, I realised this was the wrong channel after I sent that, sorry19:13
cyphermox_robru: ok19:13
barrymandel: sure. you can verify that on a desktop.  wget them and unpack19:14
barryyou see something very similar when it tries to get the new image master:19:14
barryhttp://paste.ubuntu.com/6927172/19:15
barrynote the *same* checksums on the signature error19:15
barryso what the heck is d41d8?19:15
barrynow, the rest makes sense: no valid image master key, so the only thing happening next is the archive master being bad, but we cannot download it.  we've reached the end of the line with nothing more and thus we fail19:16
barrythe ui error is a bit misleading, but ultimately accurate. that can be improved, but it's not the root cause19:16
barrythe root cause is that the files downloaded are somehow corrupt.19:17
barrynext, i'm going to instrument si to preserve the corrupt files so i can try to see what they actually are19:17
barry(they get deleted when the failure occurs)19:17
mandelbarry, yes, it is interesting to know what they might be.. they prefix in the checksum.. is weird19:18
barrymandel: at the very least, the fact that the .xz and the .xz.asc are identical is a bad sign19:18
frecelI noticed that SmartFart doesnt show up when I do click list19:19
mandelbarry, yes, I'm wondering, is udm downloading an error page?19:19
mandelthat would be super weird..19:19
barrymandel: oh, you're going to love this:19:19
barry>>> hashlib.md5(b'').hexdigest()19:19
barry'd41d8cd98f00b204e9800998ecf8427e'19:19
barry 19:19
barrythose are the hashes of empty files19:19
mandelhahahahahahaha19:19
mandelbarry, ok, that explains it19:19
barrymandel: thought: do you flush your output buffers before returning a successful dbus signal?19:20
mandelbarry, yes, 100% sure19:20
barry*you or qt5network519:20
mandelbarry, let me check that part of the code19:20
* pmcgowan watches with much interest19:20
barrymandel: so that's the question.  why are both files empty?19:20
=== bfiller_afk is now known as bfiller
mandelogra_, huge favor, can you look the last time udm was updated?19:23
ogra_sure19:25
barryand now of course, the second time around, all the files are fine19:25
barrytime to reflash19:25
ogra_19 Dec 201319:26
ogra_mandel, ^^^19:26
mandelogra_, ok, long enough :)19:26
ogra_yeah19:26
frecelwhy does click list only list core apps?19:26
mandelogra_, barry I can see errors when trying to download via udm that file from a desktop => http://paste.ubuntu.com/6927242/19:27
mandelogra_, barry and that error, the 203 is QNetworkReply::ContentNotFoundError19:28
ogra_weird19:28
ogra_ERROR::20319:29
barrymandel, ogra_, stgraber: could we possibly be seeing an intermittent server error?19:29
barrymaybe the client is all happy, but the server is misbehaving occasionally?19:29
ogra_203 smells a bit like that19:29
barrymaybe stgraber can check the server logs19:29
ogra_"The server successfully processed the request, but is returning information that may be from another source"19:30
ogra_is the exact definition of 20319:30
barrywtf? ;)19:30
stgraberbarry: can't access the logs, sorry19:30
barrystgraber: who manages those servers? is?19:30
stgraberyep19:31
ogra_wget'ing https://system-image.ubuntu.com/gpg/image-master.tar.xz works fine19:31
barryare we being mitm?19:31
jcbjoeanyone using  n7 ubuntu touch as a everyday driver ?19:31
mandelbarry, ogra_  no, that is probably my network in that error, I just did a udm download of https://system-image.ubuntu.com/gpg/image-master.tar.xz locally via udm and was ok19:32
ogra_barry, heh, that would be pointelss at the current state19:32
ogra_i doubt any hacker would make that effort19:32
barryogra_: i've never seen wget failing.  but i wonder if udm/qt5network5 can handle a 203?  it's supposed to be identical to a 20019:33
stgraberand I'd expect udm to do ssl validation which would happen way before we get a return code19:33
mandelogra_, would be lovely19:33
mandelbarry, that 203 is an internal enum from qt, ignore the number19:33
mandelbarry, ogra_ we are dealing with 200 + correctly19:33
barrymandel: ok ;)19:33
ogra_phew19:33
stgraberthe problem here is that udm is considering a 2XX code as an error, all 2XX are "succesful"19:33
barryyeah19:33
mandelbarry, yeah, crap from qt, sorry19:33
mandelstgraber, nah nah, that is not the issues19:34
stgraberok :)19:34
mandelstgraber, that stdout is from an enum19:34
mandelthey used 203 as a 404 when my network was funny19:34
barrybut now we know that for some reason udm is returning a success signal, but the files on disk are empty19:34
mandelwhy, cause they are xx19:34
mandelbarry, correct, and testing in my machine is returning valid files from udm19:34
barryso i have one more test to run.  i will preserve the corrupt files on error and throw a fatal error right at the first failed validation.  then i can poke around and see what happened19:35
barryremember too that these are *intermittent* errors19:35
barrynot easily reproduced19:35
mandelbarry, do you have access to a phone19:35
stgraberanyway, the server isn't clever or anything, it's just a standard apache2 serving static files, so usually those files are there or they're not :)19:36
barrymandel: no, but i do have a tablet19:36
mandelbarry, ah, could I give you instructions to branch udm and compile it there, the deb build takes for ever and is giving me qemu errors19:36
mandelogra_, I have no arm machine to use to build this but in a chroot  :-/19:36
barrymandel: yeah, i have an armhf chroot, but it's sloooooowwwwww19:37
mandelbarry, but you have a nexus7!19:37
mandelbarry, is a lot faster!!!19:37
ogra_mandel, the canonical-arm-dev PPA doesnt help ?19:37
barrynexus 10, and yeah it might be.  i haven't actually tried to build anything on it19:37
ogra_its is the fastest thing we have19:37
ogra_(same as the buildds)19:37
mandelogra_, so, I have to create a recipe there or dput the deb package?19:39
ogra_just dput19:39
pmcgowanmandel, barry looks like good sleuthing, any smoking gun on what may have recently changed in this regard?19:40
ogra_pmcgowan, libqt5network519:40
ogra_changed on the 6th19:40
ogra_we actually had that on the radar already19:40
pmcgowanand how did it change? has anyone tracked it  down?19:41
mandelpmcgowan, I have look at the changelog and there are comments about other parts of qt but not the network19:41
ogra_stgraber, is there no round-robin or something in front of it ... i.e. like cdimage ?19:41
pmcgowanI asked Mirv but he must have been off already19:41
ogra_yeah, late here19:42
pmcgowanwas wondering if any chance the server side changed19:42
mandelpmcgowan, ogra_ I wouldbe very surprised if it is qt, really I have read the src and looks like no one changed that in a long time19:42
ogra_IS could tell i guess19:42
stgraberogra_: not that I'm aware of, I only push to a single server19:42
ogra_ok19:42
stgraberand that's calingi which is the only server returned by system-image.ubuntu.com19:42
ogra_there were definitely some machine upgrades recently19:43
ogra_but system-image is so new that i would expect it to be on precise since day one19:43
stgraberyeah, callingi has always been precise19:43
stgraber(well, taking IS's word for it, I don't have ssh to that one)19:43
ogra_probably it has a loose cable19:44
ogra_*g*19:44
barryogra_: :-D19:44
barry"have you power cycled your modem?"19:44
ogra_:D19:44
pmcgowango to the start button...19:44
pmcgowanogra_, I could not reproduce it all day here btw19:45
barryso far, in 3 tries, i've consistently gotten it right after a flash --bootstrap to r17419:46
ogra_after the one fix you mean ?19:46
ogra_barry, try 169 next time19:46
barryogra_: okay.  one more test on r174 with some custom packages, and then i'll try that next19:47
mandelogra_, barry only thing I can think off http://qt-project.org/doc/qt-5.0/qtnetwork/qnetworkreply.html#downloadProgress is never emitted (I need to check the code) when the download is completed and I must read the reply data on finished19:47
ogra_would be intresting if 168 exposes it actually19:47
mandelogra_, barry could be a problem because in theory if that signal is used there is no need to read all19:47
mandelthe data on finish, sorry19:48
ogra_hmm, qint64 ...19:49
mandelogra_, it can't be that, we are working with tiny files19:49
ogra_yeah19:50
mandelthat is why, if the fir in a single request with no progress.. but in my machine it works19:50
barryogra_, pmcgowan okay, i am noticing something else quite interesting.  it seems like the ui starts a check for an update available when you open system settings, even before you hit the Updates icon.  i can't see how that could affect things, but its unexpected19:52
ogra_barry, right, i have seen the code for that19:53
pmcgowanbarry, yeah, there actually is a race there, I filed a bug in the UI, it can report software up to date when its not19:53
ogra_barry, it is actually supposed to show a notification19:53
barryokay, so that's a known bug, not expected behavior?19:53
* ogra_ has never seen one)19:53
pmcgowanif you go to updates before it finished the check on the main page, the update page reports the wrong status19:53
ogra_aha, i see it for the first tome now19:54
ogra_it actually adds a row at the top of system-settings19:54
pmcgowanhttps://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/127900619:54
ubot5Launchpad bug 1279006 in ubuntu-system-settings (Ubuntu) "Updates reports Software is up to date when update is available" [Low,New]19:54
pmcgowannot sure why its low19:55
ogra_hmm, tapping it only gets me a spinner19:55
pmcgowancheck your crash dir19:55
mandelewewe that bug should be at least medium19:55
pmcgowanI thought I submitted it as high19:55
pmcgowanguess they are waiting to triage it19:56
ogra_system-image-dbus ... as expected19:56
pmcgowanright19:56
ogra_and i have one running process19:56
ogra_damn ... would have been clever to check before tapping the update button19:56
ogra_i wonder if the "always download on wlan" might probably start a concurring download here19:57
pmcgowanhmm, thats interesting19:57
ogra_i have that on on all devices19:57
pmcgowanI have not seen the problem since I turned that off19:57
ogra_has it ever worked for you before ?19:58
pmcgowanyes19:58
mandelpmcgowan, but, we only have one s-i and one udm, for udm to download two files in parallel is no a problem19:58
ogra_i have that on on all my devices since forever19:58
ogra_never had something pre-downloaded19:58
mandelpmcgowan, ogra_ sorry for my language F*CK19:58
pmcgowanmandel, ?19:58
ogra_heh19:58
mandelpmcgowan, ogra_ follow me here I have an idea19:59
barryogra_: as long as you don't check *again* when they do tap Update :)19:59
mandelpmcgowan, ogra_, barry s-i is the ONLY user of a feature in udm that allows to tell it to download to an specific location, ideally we only have on s-i so there is no issue, but if we have to s-i on is going to step on the other one when trying to write on the same location and udm does nothing to prevent it20:00
mandelpmcgowan, ogra_, barry the latests intance gets the finished signal and is happy and then the second group download starts and steps on the files making this mess20:00
ogra_oh !20:00
mandelwe get a bad checksum and we go nuts20:00
stgraberhmm, two running s-i-dbus would actually explain the symptoms20:01
barrymandel: you might be on to something20:01
ogra_yeah20:01
ogra_that smells about right20:01
barrywould dbus activate two s-i-dbuses at the same time?20:01
stgraberbarry: can we pretty please add a lock, I can't possibly think of a case where we'd want it running twice.20:01
mandelbarry, ogra_, pmcgowan the change in system settings made this happen20:01
LaneyDo you mean that CheckForUpdates actually starts the download in the auto download case?20:01
mandelbarry, it would have one, but you will be dealing with two requests via sbus20:01
ogra_Laney, it should, no ?20:02
barryLaney: yes, it does20:02
pmcgowanffs20:02
cwaynemterry, ping20:02
barrybut internally, s-i-dbus has a flag that it sets when checking for updates, so it should not be possible to get one process to check for two updateds at the same time20:02
ogra_barry, but there are still messages in the dbus queue20:03
mandelbarry, dbus can be evil in this case20:03
barryogra_: if the same s-i-dbus process gets a CheckForUpdate while a check is already happening, it just ignores the second one20:03
ogra_so the s-i -> udm communication goes astray20:03
barrybut that doesn't preclude dbus from activating more than one process (which i thought dbus activation already prevents)20:04
ogra_oh, look, i just got a "timeout error" inmy update manager20:04
mandelbarry, ogra_ not at the same time, but one after the other very fast and udm stepping on the files20:04
LaneyNot if the name isn't on the bus20:04
ogra_first time i get an error message at all there20:04
LaneyYou should have some single instance stuff, like bail out if you can't own the name20:05
barryLaney: we can definitely drop a process lock and bail if the lock is acquired (with sufficent timeout for stale locks.  i already have a *very* safe and well tested library for that elsewhere :)20:05
pmcgowanogra_, I just turned auto update on wifi back on and reproduced first time20:06
mandelbarry, ogra_ the issues here is, I'm always stepping on the files as a feature for si, I'm going to think a way on at least logging that possible case where I step on a file20:06
ogra_pmcgowan, awesome !20:07
mterrycwayne, hi20:07
mandelpmcgowan, ogra_ barry that is starting to look more and more like the bug..20:07
ogra_yep20:07
pmcgowanyep its a race of some sort20:07
barryyep, and it makes sense to have cropped up around the time of the ui change20:07
ogra_yeah20:07
mandelBRAVO!20:08
pmcgowanso who has the fix?20:08
ogra_:)20:08
barryokay, i agree it's entirely plausable.  i'll add the single instance lock and test that here20:08
mandelpmcgowan, you do, turn it off ;)20:08
mandelhehehe20:08
pmcgowanlol20:08
ogra_:)20:08
Laneybarry: Can't you do it entirely with dbus?20:08
LaneyRequest the name and if you fail because it's already owned by another process (s-i-dbus), exit20:09
barryLaney: possibly.  i have to do some research20:09
mandelbarry, ogra_ I'm going to improve the way udm steps on things.. in the case of si providing the local path, I write in a diff location and then try to step on the old file20:09
LaneyThat'd be a pretty standard way of doing it20:09
barryLaney: cool20:09
ogra_mandel, ++20:09
barrymandel: yes, write to a .tmp file and then atomically rename once done20:09
ogra_asac, FYI ^^^20:10
mandelbarry, ogra_ worst case I step on it will a full entire file :)20:10
Laneyhttp://dbus.freedesktop.org/doc/dbus-python/doc/tutorial.html#the-unique-instance-idiom hahaha20:10
ogra_seems we got the issue20:10
barrythat way it's impossible for the client to see a partial file20:10
barryLaney: ha ha #FIXME :)20:10
barry(follow the link :)20:10
ogra_that was a very nice two day team effort btw :)20:11
barryi will utsl20:11
pmcgowanLaney, is there still a bug in settings that it starts the dowload on the check or did I miss something20:11
barryogra_: let's not celebrate yet, but yes, if this turns out to be it, it will be a beautiful example of teamwork!20:11
Laneypmcgowan: I guess maybe it's intended?20:12
ogra_yeah20:12
Laneybarry: http://lethalman.blogspot.co.uk/2008/11/single-app-instances-python-and-dbus.html something like this20:12
barryso i see two action items: 1) barry to add a single instance protection; 2) mandel to download to a temp file and atomically rename20:12
pmcgowanLaney, I am unclear on the design, auto dowload but only when I go to the update page?20:12
* barry reads20:13
pmcgowanLaney, there is another symptom I reported in bug #127900620:13
ubot5bug 1279006 in ubuntu-system-settings (Ubuntu) "Updates reports Software is up to date when update is available" [Low,New] https://launchpad.net/bugs/127900620:13
mandelbarry, yes, sounds good to me, an atomic write in my side should be very helpful, adding a bug to udm20:14
Laneypmcgowan: I guess that setting means that you get auto downloaded in the background ideally20:15
LaneySo next time you visit system-settings you don't have to wait for the download20:15
asacogra_: so whats the exec summary?20:15
pmcgowanthats what I would think20:15
LaneyBut nothing triggers that atm apart from something asking system-image to check for updates20:15
barryLaney: i think i want to do it a little differently, but that page looks like it has the clue.  i think instead we exit if we can't get the unique name20:15
ogra_asac, UI change that triggers that the bottom pieces step on each others toes20:16
Laneybarry: yep20:16
barryawesome20:16
asacogra_: hmm. can you rephrase :)?20:16
asacogra_: is the bug fixed :)?20:16
Laneypmcgowan: It's possible there's a bug if the page in system-settings doesn't start the download itself20:16
Laneyif it comes in while it's in progress20:16
pmcgowanright20:16
Laneybut we can see once this current issue is fixed I guess20:17
pmcgowansame race different symptom20:17
ogra_asac, no, but the cause is found20:17
Laneyit's not a race in that case20:17
ogra_asac,  and there are ideas how to fix it20:17
Laneyjust... incorrect assumptions20:17
ogra_asac, <barry> so i see two action items: 1) barry to add a single instance protection; 2) mandel to download to a temp file and atomically rename20:17
Laneybut we'll see20:17
pmcgowanLaney, well, its till downloading and has not installed yet, but says system up to date20:17
mandel#bug 127996520:17
ubot5bug 1279965 in ubuntu-download-manager "Writes to custom file locations are not atomic" [Critical,Triaged] https://launchpad.net/bugs/127996520:17
Laneyya, but nothing is racing, it's just that the panel can't talk to the backend properly (is my theory)20:18
pmcgowanLaney, but we really want what you said, find the update and download in the background20:18
Laneyonce the dust settles we can see what's left properly20:18
pmcgowanLaney, I think I wil lbug that feature since Automatic on wifi implies it20:18
Laneyif that is the desired behaviour something will have to trigger s-i to do it20:18
Laneypmcgowan: okay, I'd file that one against system-image in the first instance20:19
pmcgowanLaney, but there is no daemon running right?20:19
Laneydon't think so20:19
asacogra_: single instance? what instance is that? a process that we spawn?20:19
ogra_asac,  system-image-dbus20:19
asacogra_: ok. so 2. is something very basic and surely should be done if it didnt happen yet20:20
ogra_right20:20
ogra_asac, in any case we seem to be un-stuck an know where to go with a fix now20:20
ogra_*and20:20
asacin general, i think its key that we dont stop here, but now do the homework required to ensure that users with our devices will never have a broken upgrade20:21
barryand i will add a bunch of new tests around this very scenario20:21
ogra_asac, yep we have some planning for an OTA test already20:21
ogra_asac, i'll write that down tomorrow20:21
asacguess thats a pretty tough task, but needs doing20:21
asacbarry: thanks for nailing this down!20:21
ogra_its not that tough20:21
ogra_we can cheat20:21
Laneythe upgrades themselves were pretty well protected20:21
asacmandel: you too!20:21
Laneyyou got errors instead of trying to upgrade to some broken thing20:22
pmcgowanthe upgrade was not broken, the code to get them was20:22
ogra_asac, pmcgowan as well, without him rolling back system-settings we wouldnt have had the ise20:22
ogra_*idea20:22
Laneythe breakage on the other image earlier though, that was an upgrade failure20:22
asacogra_: system-settings?20:22
asacrollback?20:22
barryand actually, the upgrader was working properly, ensuring that we don't try to apply a corrupted upgrade20:22
ogra_asac, yes20:22
ogra_asac, i noticed that system-settings was updated around the time we faced the issue first, pat rolled back the packages and noticed the issue goes away20:23
ogra_asac, that got us on the right track in the end20:23
mandelasac, well, regarding 2.. it is a system image update specific feature, udm just steps on files when requested.. and ergo the error, fixing asap )20:23
mandel:)20:23
ogra_asac, the bug was always there, but only system-settings changes exposed it20:24
barrystgraber: we finally have a test case for the ci-train :)20:24
mandelbarry, we should just blame setting for requesting two updates at the same time ;)20:24
ogra_haha20:24
barryyeah :)20:24
asacwhich component drives this upgrade activity?20:24
barrysystem settings starts it off20:24
stgraberbarry: let me know when you have a branch proposed for merge in lp:~ubuntu-managed-branches/ubuntu-system-image/client :)20:25
asac(wow big lag here - i get lines in bulks)20:25
asacsystem settings is UI/qml?20:25
ogra_yeah20:25
barrystgraber: will do!20:25
mandelasac, ogra_ tests in system settings are.. lacking20:26
ogra_asac, http://launchpadlibrarian.net/165161694/ubuntu-system-settings_0.1%2B14.04.20140203-0ubuntu1_0.1%2B14.04.20140206-0ubuntu1.diff.gz thats the change20:26
ogra_mandel, they are there but were failing20:26
ogra_i think that got fixed today20:26
ogra_(there was a crash for a while that made not all being run=20:26
ogra_)20:26
asacbarry: what does system settings call to kick this off? do we have an upgrade manager service that then does all the steps?20:27
barryasac: system-image-dbus20:27
ogra_mandel, http://ci.ubuntu.com/smokeng/trusty/touch/mako/178:20140213:20140115.1/6562/ubuntu_system_settings/20:27
barryand it feeds signals to indicate progress20:27
asacbarry: and that calls the download manager?20:27
ogra_mandel, 49 tests since today20:27
barryasac: correct20:27
ogra_mandel, http://ci.ubuntu.com/smokeng/trusty/touch/mako/176:20140212:20140115.1/6550/ubuntu_system_settings/20:28
ogra_5 tests yesterday20:28
ogra_(and a crash)20:28
asacbarry: ok so system-image owns the activity20:28
barryasac: it's the middle man20:28
mandelogra_, it is an improvement20:28
asacbarry: can the UI recover? if i kill and restart it while upgrade is running?20:29
ogra_yep20:29
ogra_asac, the UI spins eternally until system-image-dbus retires20:29
barryasac: yes, it should be able to20:29
ogra_(atm that is)20:29
asactry that :020:29
barryogra_: one thing we may want to think about is better detection of error states to have s-i-dbus commit suicide earlier in those cases20:30
asacif that just shows the nice progress of the still running upgrade etc. it would be cool20:30
asachehe20:30
asacanyway.20:30
ogra_barry, yeah20:30
asacdont worry about me for now20:30
asaclets really set some time aside afterwards to think through what we can do to be really bullet and desaster proof in production20:31
mandelbarry, ogra_ we must find a way to automate this...20:31
ogra_mandel, we discussed an OTA test for UTAH yesterday20:31
ogra_mandel, i'll write that down tomorrow and see if i can implement it20:31
barryogra_: LP: #127997020:32
ubot5Launchpad bug 1279970 in Ubuntu system image "Commit suicide earlier, when error case is detected" [Undecided,New] https://launchpad.net/bugs/127997020:32
ogra_perfect !20:32
barryogra_: sounds good20:32
mandelogra_, barry I'd say, lets fix it first because so far it is a wild guess I made thx to pmcgowan it could be something else :-/20:32
barrymandel: completely agreed.  let's not break out the champagne yet!20:33
ogra_mandel, i doubt it ... but yeah, a fix is needed20:33
* ogra_ is pretty convinced we are on the right track 20:33
* pmcgowan is ready to test20:33
asacpmcgowan: did you find a way to reproduce this reliably?20:33
mandelpmcgowan, asac lets update the bug letting people know the work around, disable that auto update thing from the ui20:34
* mandel does not know the names of the ui things20:34
asacmandel: maybe also update the mail list? i think there were a few folks having troubles.20:35
pmcgowanmandel, yep20:35
pmcgowanmandel, I can do that if you want20:35
barryasac: i will update the si bug and send an email to the list20:35
barrythen i'll work on my fix ;)20:35
mandelpmcgowan, would be very appreciated, you can explain it better20:36
barryor pmcgowan or ogra_ can email the list if they want20:36
mandelasac, yes, email to the list is a good idea20:36
* ogra_ happily leaves that to pat ... :)20:36
pmcgowanhah ok20:37
frecelpopey: I pushed the SmartFart click packaget o my phone and installed it with pkcon and it works20:39
frecelpopey: for the future just assume that my code is flawless and it's your phone that's broken :D20:39
mandelbarry, I'm going to call it an "early" night, do you need me around or should we catch up tomorrow?20:49
barrymandel: heh, yeah, i was up past midnight last night working on this too.  and if i can drive out of the neighborhood tonight i'm going to my medidation class.  let's catch up tomorrow.  g'night!20:50
mandelbarry, yes, I have been not sleeping much and drinking to much tea to be awake.. and walking to the toilet every 30 mins because of that20:51
barrymandel: i've been consuming tea at a prodigious rate too, so i feel your pain ;)20:51
mandelbarry, hehehe catch you later then! have a  great evening!20:52
barrymandel, ogra_, pmcgowan, Laney, asac: here's my thoughts captured in the bug comment: https://bugs.launchpad.net/ubuntu-system-image/+bug/1277589/comments/4020:53
ubot5Launchpad bug 1277589 in Ubuntu system image ""FileNotFoundError: /var/lib/system-image/blacklist.tar.xz"" [Critical,In progress]20:53
barryso now i will mostly ignore irc and work on a fix :)20:53
pmcgowanbarry, awesome20:54
omgwtfgot this message INFO:phablet-flash:Once completed the device should reboot into Ubuntu20:57
omgwtfbut the phone doesn't go past the google logo20:57
asacbarry: thanks a lot barry!20:58
omgwtfphone is a galaxy nexus btw20:59
omgwtfany ideas?20:59
ogra_barry, yay21:08
JumblemuddleIs it possible to run ubuntu touch on a galaxy s4?21:25
ogra_!devices| Jumblemuddle21:26
ubot5Jumblemuddle: You can find the full list of devices, official images, community images, and works in progress at https://wiki.ubuntu.com/Touch/Devices21:26
ogra_check that wikipage ... not sure how well the port is working or maintained though21:26
JumblemuddleWell, I guess that's a no.21:26
=== salem_ is now known as _salem
JumblemuddleThanks21:27
ogra_well21:28
ogra_https://wiki.ubuntu.com/Touch/Devices/i950521:28
ogra_that seems to be the device page for the S421:28
JumblemuddleYa only the i9505 though, I got a sph-l720 (Sprint 4core variant)21:29
ogra_ah21:29
Laneybarry: nice analysis21:29
omgwtfgot this message INFO:phablet-flash:Once completed the device should reboot into Ubuntu but phone is stuck at google logo and after that shuts down, did anyone experienced this ?21:30
ogra_omgwtf, id the battery charged ?21:36
ogra_*is21:36
ogra_all nexus devices bahve pretty weird when on very low battery21:37
omgwtfyes21:41
omgwtfit's not fully charge but it has 70%21:41
jdstrandthomi: hey, bug #1255206 is marked 'Fix Committed'. do we have an eta on when it would be on the images?21:59
ubot5bug 1255206 in autopilot (Ubuntu) "please include /var/log/syslog" [Undecided,New] https://launchpad.net/bugs/125520621:59
thomijdstrand: it's in the images already21:59
jdstrandthomi: I'd like to see syslog output to debug http://ci.ubuntu.com/smokeng/trusty/touch/mako/177:20140212.1:20140115.1/6557/security/21:59
jdstrandis it?21:59
jdstrandthomi: am I looking in the wrong place?21:59
thomipretty sure21:59
* thomi looks21:59
jdstrandthomi: can you look at the above url?22:00
thomijdstrand: I am... but.. these aren't autopilot tests22:00
thomior am I missing something?22:00
jdstrandthat is a good point22:00
jdstrandno, they aren't22:00
jdstrandhmm22:00
jdstrandso, I wonder how I get syslog output in those reports22:01
=== rickspencer3_ is now known as rickspencer3
jdstrandthomi: fyi, I'm looking at http://ci.ubuntu.com/smokeng/trusty/touch/mako/177:20140212.1:20140115.1/6557/ubuntu_system_settings/, which iirc *is* autopilot, but I don't see syslog there22:02
thomijdstrand: dunno, but you could start thinking about producing a subunit result stream as the output format for those tests, at which point it'd be pretty easy to rig up22:02
jdstrandthomi: you lost me at "producing a subunit result stream" :)22:02
* jdstrand doesn't know what that is22:02
thomijdstrand: so.. there's two issues with your last link...22:02
thomi1) the dashboard isn't displaying test result details for passed tests, so you'll never see it on a passed test, unless someone fixes that22:03
jdstrandthe 'security' link22:03
jdstrand?22:03
thomi2) there's a bug where autopilot doesn't have permissions to read /var/log/syslog - I'm following up on this now22:03
thomijdstrand: http://ci.ubuntu.com/smokeng/trusty/touch/mako/177:20140212.1:20140115.1/6557/ubuntu_system_settings/22:03
jdstrandok22:03
thomifor autopilot tests22:04
thomifor problem (1), we ought to have a conversation with the ci folks - this is probably not too hard to fix22:04
thomifor (2), I'm filing a bug now, will let you know when it's fixed22:04
jdstrandfyi, I'm not responsible for the tests in ubuntu-system-settings, but was curious if syslog was there, cause if an app wioth autopilot tests fails, we'll want to see if it is because of apparmor22:05
jdstrandthomi: awesome, thanks!22:05
thomijdstrand:  it will be :)22:05
thomijdstrand: if you find a failed AP test, you can actually see the empty syslog attachment22:05
thomijdstrand: it's empty because we lack the correct permissions to read the log file on the device22:06
jdstrandoh, ok-- only on failures. cool22:06
jdstrandev: hey, so how can I get /var/log/syslog attached to the security tests. eg: http://ci.ubuntu.com/smokeng/trusty/touch/mako/177:20140212.1:20140115.1/6557/security/22:07
jdstrandev: these aren't autopilot22:07
* jdstrand wonders if it is in utah22:07
thomijdstrand: actually, it seems it is attached some of the time, see: http://ci.ubuntu.com/smokeng/trusty/touch/maguro/180:20140213.2:20140115.1/6577/unity8/767070/22:08
* jdstrand squints22:08
jdstrandsyslog is in there?22:09
thomijdstrand: yeah - first attachment22:09
jdstrandoh, StringException22:09
thomiI have no idea why it's called StringException - that's really odd22:09
jdstrandyeah-- I envisioned it would be one of the Artificats down below-- like dbus.log or similar22:10
thomijdstrand: that's the plan22:10
jdstrandok22:10
thomijdstrand: right now, the test attachments are just printed as strings22:10
thomijdstrand: we're working with the CI team to show them as links, and do the right thing with the mime typoe22:10
jdstrandah22:10
jdstrandcool22:10
thomijdstrand: so we can have video links on test failure pages :)22:11
jdstrandthat sounds fun :)22:11
thomiindeed22:11
tamhello22:12
tami got stuck on ubuntu-device-flash --channel devel --bootstrap22:13
tamthis command do nothing22:13
* jdstrand looked in ubuntu-test-cases-touch/tests/security, but don't see how to add an artifact. /me waits for ev22:14
jdstrandI should have probably asked that in #ubuntu-ci-eng22:15

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!