/srv/irclogs.ubuntu.com/2014/03/19/#ubuntu-unity.txt

Mirvmzanetti: you're making me into a framebuffer driver? :)05:12
MirvI for one will be the first one to use mirvfb05:14
mzanettiMirv: haha08:21
tsdgeosSaviq: so cleanup is gone, only clean-to-trunk as of now, right?08:36
tsdgeosmeh, the autopilot tests are still too unstable :/09:01
didrocksSaviq: hey, are you going to implement Ricardo's fix or do you expect a fix in qmenumodel?09:08
=== davidcalle_ is now known as davidcalle
Cimitsdgeos, yeah09:22
Cimitsdgeos, saw loads of failures on the isCurrent and on the index09:22
Cimitsdgeos, will they be fixed with new tabs?09:22
tsdgeoshas nothing to do with tabs09:23
tsdgeosMacSlow: ping09:23
tsdgeosCimi: i have no idea why they showed up now since nothing changed in there09:24
Cimitsdgeos, so they might be races09:24
tsdgeosyes09:24
tsdgeossame as for unlocking the greeter09:24
tsdgeosif you look at the video failure09:25
MacSlowtsdgeos, what's up09:25
tsdgeosit tries to unlock the greeter what seems to be a few milliseconds before it's there09:25
tsdgeosMacSlow: you gave me a unity-notifications thing to review yesterday that says "better with this MR", but that MR is not yet approved, what do you want me to do09:25
tsdgeos?09:25
MacSlowtsdgeos, that would be nice *very.broad.grin*09:26
tsdgeosconfused :D09:27
tsdgeoswhat me to review+approve? or wait?09:28
MacSlowtsdgeos, I asked you for this here lp:~macslow/unity-notifications/multiple-snap-decision-example right?09:28
tsdgeosyes09:28
MacSlowtsdgeos, mzanetti already did look over lp:~macslow/unity8/snap-decisions-states and commented (all issues fixed by now)09:29
mzanettiMacSlow: nope. on the list09:29
MacSlowmzanetti, well sure... I meant it's not totally fresh (like nobody took a look at it yet)09:30
MacSlowtsdgeos, then wait I guess09:30
MacSlowmzanetti, ^ ok?09:30
mzanettioh... I read it as a question if I re-reviewed after the fixes already09:30
mzanettiso yeah. will try to get to it before your lunchtime09:30
tsdgeosok09:31
MacSlowthx09:32
Saviqtsdgeos, yes, no cleanup09:42
Saviqdidrocks, we need to chat whether we can do it lower level easily09:43
didrocksSaviq: as it's a blocker, can you get back to us quite quickly, please?09:44
Saviqdidrocks, definitely09:44
didrocksthanks :)09:44
Saviqlarsu, you know things about qmenumodel, don't you?09:46
larsuSaviq: not that much anymore, dednick pretty much took over09:46
Saviqlarsu, yeah, but it's actually maybe more of a dbus question - https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1293478/comments/509:47
ubot5Ubuntu bug 1293478 in unity8 (Ubuntu) "Volume buttons no longer function correctly since #238 mako/flo/manta" [High,Confirmed]09:47
Saviqlarsu, Qt 5.2 decided that "1" is a double, not an int in QML09:47
tsdgeosSaviq: so what's in for me, anything you want me to look in the clean-to-trunk branch or go back to having a look at the split branch by mterry?09:48
Saviqlarsu, we can do what Ricardo wrote there and pray that this'll work (i.e. JS respecting the type), or actually handle this lower level (now that I think of it - maybe it should simply be the sound indicator that accepts doubles?)09:49
didrocksSaviq: on other note09:50
didrocksSaviq: I don't think we should get the transition to new scope09:50
didrocksbefore getting a promotable image09:50
Saviqdidrocks, that's ok, I expected this09:51
didrocksSaviq: can you punt them out? (we still want the other fixes for the indicator thingy)09:51
Saviqdidrocks, I just wanted to get a silo, can back it out (or force unlock or something)09:51
didrocksand maybe the workaround in unity8 if the sdk team don't think it shuld be lower09:51
didrockssure09:51
larsuSaviq: but then next time qt decides that -1 is an int again we break again?09:51
didrocksthat's fine if you reconcile the conflicting silo then09:51
Saviqlarsu, well, it should just accept both?09:52
Saviqdidrocks, yeah, I'll take care of rebasing / merging and such09:52
larsuSaviq: action groups don't work like that. Parameters are of a fixed type, so that implementing an action doesn't involve a lot of type checking09:53
larsuSaviq: we could amend qmenumodel that it knows about the type and does the cast for us09:53
Saviqlarsu, right, so that was my other idea, do you know how much work that'd be? I remember talking to dednick about this before and it seemed like a significant amount?09:54
larsuSaviq: I'd trust him on that, he did most of the action work in qmenumodel09:54
larsuSaviq: is he out of office?09:54
Saviqlarsu, should be around afaict09:55
Saviqjust late09:55
Saviqok, looks like we'll get the workaround in for now09:55
Saviqdidrocks, ↑09:56
Saviqtsdgeos, so, only thing would be test stability, we did go green at some point with the cleanup branch, but that doesn't seem to happen any more :/09:57
tsdgeosSaviq: ok, let me see what the clean-to-trunk results are09:57
Saviqtsdgeos, one weird thing I noticed was that "Desktop Nexus 10" tests were running a small geometry window in a few cases09:58
tsdgeosyeah09:58
tsdgeosnow that you mention09:58
tsdgeosdidn't realize but those videos for N10 look like regular09:58
Saviqtsdgeos, https://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/3533/? seem like actual failures, although no idea how new scopes could affect it09:58
Saviqtsdgeos, and well... qmltests locking up...09:59
Saviqtsdgeos, the 90 min limit, I mean09:59
* Saviq goes into meeting09:59
tsdgeosSaviq: we still don't know if they are locking up or just initial sync took ages09:59
tsdgeosand that's why they go to 90min10:00
didrocksSaviq: great!10:02
didrocksSaviq: so…10:02
didrocksbad news10:02
didrocksblame davmor210:02
didrocksthere is a crash of unity8 if you search in the music scope10:02
didrockshe's starting bisecting10:02
davmor2didrocks: it's my job to break stuff, don't blame me when I do :P10:03
Saviqtsdgeos, right, mzanetti should be able to increase that, but maybe we can find some timestamps in the log (probably not)10:05
* mzanetti reads backlog10:05
tsdgeosSaviq: adding timestamps is trivial10:05
mzanettimeh... phone call.. will take a bit10:05
tsdgeosit's just a plugin10:05
Saviqsil2100, elopio, KUDOS10:06
tsdgeoswe have it in kde jenkins, we just have to convince the right people to install it :D10:06
davmor2Saviq: it crashes unity8 on music and home scope, we are assuming because the home scope is also showing music10:06
Saviqtsdgeos, we tried that already, didn't we ;)10:06
tsdgeosSaviq: sure, but being repetitive sometimes has some success :D10:07
Saviqdavmor2, didrocks, sounds like album art provider, then10:07
Saviqtsdgeos, file a bug with ubuntu-ci-services-itself10:07
didrocksSaviq: right10:07
davmor2Saviq: could be10:08
tsdgeosSaviq: good news, testShell just hanged in here in the same place it hangs on the CI machines10:08
Saviqtsdgeos, oh good10:10
didrocksdavmor2: I don't get a crash though10:10
didrocksbut as popey and you are getting it, can be the format the UK providers are sending unity8 a bitmap10:10
didrocksSaviq: FYI, popey didn't reproduce it on latest promoted image, maybe you were safe-guarded against that10:11
davmor2didrocks: how much music do you have on the device I think popey and I have over 4GB10:11
didrocksdavmor2: ah, I only have the online providers10:12
popey1.3G    /home/phablet/Music10:13
davmor2popey: so just me with over 4 GB then :)10:13
Saviqdidrocks, https://bugs.launchpad.net/unity8/+bug/1268172 btw10:13
ubot5Ubuntu bug 1268172 in Unity 8 "Music preview crash" [Undecided,Incomplete]10:13
didrocksSaviq: I think you'll need davmor2's crash file?10:14
Saviqand then https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/126271110:14
ubot5Ubuntu bug 1262711 in unity8 (Ubuntu) "Unity crashes with lots of music displayed in expanded music category in home scope" [Undecided,Incomplete]10:14
Saviqdidrocks, I can try and reproduce locally after adding some music to my device10:14
Saviqdidrocks, we had those before, never managed to get rid of them, was hoping 5.2 would help - but maybe it did not10:15
didrocksSaviq: excuse for running your torrent! :p10:15
Saviqor it's a different one10:15
didrocksSaviq: seems to be a different one or popey has different music on the two devices10:15
popeyi also have had a long standing crash when just expanding the music scope10:15
Saviqpopey, yeah, look up ↑↑10:16
didrockspopey: can you try to copy your music from latest proposed to promoted?10:16
davmor2biab10:16
tsdgeosSaviq: and now it's even crashing :-S10:16
popeyhttps://bugs.launchpad.net/ubuntu/+source/unity8/+bug/126271110:16
ubot5Ubuntu bug 1262711 in unity8 (Ubuntu) "Unity crashes with lots of music displayed in expanded music category in home scope" [Undecided,Incomplete]10:16
popeyah yes10:16
didrockspopey: if it's a dedicated music crashing it, I think unity8 is trying to teach you good music tastes :p10:16
popeydidrocks: i have same music on all devices10:16
didrocksok, so Saviq, a safeguard seems to have been removed during the transition (or other formats…)10:17
Saviqdidrocks, yeah, we know it to be pretty random10:20
mzanettire10:21
mzanettiSaviq: so, should I increase the timout for jenkins jobs?10:21
davmor2didrocks, Saviq, popey: okay so with 238(first image after popey's working one) search is working on home and music with no music on the actual device, I'm transferring music over now so I'll retry once that is done10:21
Saviqmzanetti, no, tsdgeos reproduced the failure locally10:22
mzanettiack10:22
didrocksSaviq: I can trigger the crash as well now, tried the same configuration on latest promoted image and it wasn't the case10:22
didrocksdavmor2: yeah, seems you need to transform the same music10:22
tsdgeosSaviq: i was suggested that in the future we run our processes thorugh annotate-output if we want timestamps10:23
Saviqdidrocks, so Qt 5.0 vs 5.2?10:24
didrocksSaviq: that or (hopefully) one of the 2 unity8 landings10:24
didrockswhich will make it way easier to corner10:24
Saviqwouldn't count on it :/10:25
didrocksSaviq: I have a regular string search failing here10:27
didrocksSaviq: I'm trying to pop out music slowly10:27
didrocksto see if I can track down to an album/music10:27
Saviqdidrocks, thanks10:27
didrocksyw ;)10:27
davmor2Saviq: That's why I've started on the 5.2 image, next I'll move to the first of the unity landings10:31
Saviqdavmor2, thanks10:31
didrocksSaviq: hum… can't get a nice reproducer, I will suggest that we start from the crash file rather10:35
didrockssometimes it crashes with the same string, sometimes not10:36
Saviqdidrocks, I saw recently that the 30s timeout wasn't enough... :/10:43
Saviqdidrocks, at times, at least10:43
didrocksSaviq: do you want me to attach the CoreDump? There are 37 threads…10:43
didrocksSaviq: (gdb) bt full10:43
didrocks#-1 0xaf1004f8 in ?? ()10:43
didrocksNo symbol table info available.10:43
didrockswarning: Unable to restore previously selected frame.10:43
didrocksdoesn't seems yummy :/10:43
MacSlowmzanetti, answered your question in the MR-comment10:43
tsdgeosSaviq: so i have a fix for that lockup i think, shall i commit to clean-to-trunk?10:47
Saviqtsdgeos, yes please10:47
Saviqdidrocks, try increasing the kill timeout to 60 in /usr/share/upstart/session/unity8.conf10:48
Saviqdidrocks, maybe the crash is truncated again10:48
tsdgeospushed10:48
davmor2Saviq, didrocks, popey: so 238 has the issue on home but I believe that is the expanding on the music section.  On the music scope it is finding music no issues10:49
davmor2didrocks: do you happen to know what image had the first landing on unity8 after 238?10:49
didrocksSaviq: hum, can be10:50
didrocksdavmor2: hum, why do you need to upgade more, if 238 has the same issue?10:50
didrocksas you have the crash on home10:51
davmor2didrocks: 238 has the issue on home which is different it is expanding the music section which is the known bug, musci search is working fine on the music lens10:51
didrocksdavmor2: are you sure you don't have the issue at all on 238?10:52
didrocksit's really random for me10:52
davmor2didrocks: ah no I do see it now10:52
davmor2didrocks: so it looks like initial search adele didn't trigger it but mea did so I'll try that again now10:53
davmor2didrocks: yeap retried mea and it died again I have a theory I am about to try it out10:55
didrocksok10:55
didrocksdavmor2: I couldn't get something tight enough to find a particular music triggering it10:55
didrockscan be the number as well10:55
davmor2didrocks: search for something in the carousel over searching something that isn't10:57
davmor2meh nope just proved that theory wrong10:58
didrocksdavmor2: yeah, no :/10:58
didrocksdavmor2: mind updating the bug that Saviq pointed at?10:59
didrocksSaviq: I can't make it recrash now…10:59
davmor2ah that was the mir locking up so it might be that my theory was right10:59
Saviqdidrocks, after increasing the timeout? great10:59
didrocksSaviq: yeah, it's clearly the timeout increase that fixed it… hem hem :p11:00
davmor2Saviq: which of the 2 bugs do you want updating?11:02
Saviqdavmor2, whichever one fits more - one is for opening preview, the other for expanding the list of music11:03
Saviqdavmor2, although IIUC you're describing something completely different11:03
* Saviq loves Dell... complained yesterday about my keyboard dying, have a new one in my hands already11:04
davmor2Saviq: yeah I'll open a fresh one if it turns out it linked we can always link them11:04
Saviqdavmor2, indeed11:05
Saviqlarsu, do you know anything about the volume indicator?11:09
larsuSaviq: yes11:10
Saviqlarsu, so, I'm looking at "if you use the slider to change volume, using buttons then won't reach you 0% or 100%"11:10
Saviqlarsu, it looks like it becomes 0.5 - 1 → -0.5, rejected11:11
Saviqlarsu, and same at the other end11:11
larsuSaviq: interesting. Let me have a look11:12
larsuSaviq: hm, the code looks right to me. It clamps after doing the calculation11:13
Saviqlarsu, on the "volume" action, too?11:14
Saviqlarsu, that's what we activate with -1 / +111:14
larsuya11:14
larsulet me try it out11:15
Saviqlarsu, you probably won't be able to due to the int vs. double issue11:15
larsuSaviq: I'm trying on the dbus interface directly11:15
Saviqlarsu, ah ok11:15
larsuSaviq: works fine here11:17
Saviqlarsu, ok, I'll dig more to see what's happening11:17
larsudoes unity check the current value before activating the action?11:17
Saviqlarsu, no11:17
larsuhm, weird11:17
Saviqlarsu, https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1293478/comments/7 is what Ricardo said11:17
ubot5Ubuntu bug 1293478 in unity8 (Ubuntu) "Volume buttons no longer function correctly since #238 mako/flo/manta" [High,Confirmed]11:17
Saviqlarsu, I didn't have time to repro, so let's leave it for now11:17
larsuokay11:18
tsdgeosSaviq: the nexus10 being weird is something that happens in trunk too11:25
tsdgeosin autopilot i mean11:25
tsdgeoslet me bisect11:26
Saviqtsdgeos, yeah, right, forgot to mention that I saw that outside of new scopes...11:26
Saviqdidrocks, ok, added row 51 with just small fixes to unity8, can we get a silo (overriding the lock)?11:28
didrocksSaviq: giving to you even a luxury silo (number 7!)11:29
didrocks(I turned ready to yes)11:30
Saviqdidrocks, right, thanks11:30
Saviqyay, I don't have to scroll 3 times to get to my silo ;P11:30
=== MacSlow is now known as MacSlow|lunch
tsdgeosSaviq: weird, even going back one month in unity8 i get that bad shaped N10 :S11:34
davmor2Saviq: bug #1294605 I've added the 2 crash files I see and I'll try to get a full BT on them now if I can11:39
ubot5bug 1294605 in unity8 (Ubuntu) "Searching on the music scope is causeing unity8 to crash" [Undecided,New] https://launchpad.net/bugs/129460511:39
Saviqdavmor2, you might need to increase the kill timeout in /usr/share/upstart/sessions/unity8.conf11:42
Saviqdavmor2, I saw 30s not being enough11:42
Saviqtsdgeos, I'm feeling 5.211:42
Saviqbiab11:43
davmor2Saviq: will do11:43
tsdgeosSaviq: you think 5.2 is causing the sizing thing?11:45
tsdgeosmay be11:45
Cimiwith new js, maybe11:49
Cimitsdgeos, what's the magic cmake declaration that puts qml files inside qtcreator project dir?11:52
CimiI'm trying to do the same with the wizard11:52
tsdgeosCimi: see src/CMakeLists.txt11:53
davmor2Saviq: changing the 30 to 60 makes things searchable again with no more crash11:54
Saviqdavmor2, lol12:07
davmor2Saviq: home scope is searchable now too12:07
Saviqdavmor2, not like that can have any impact, but didrocks reported exactly the same ;)12:08
didrocksSaviq: don't even dare propose that as a fix! :)12:08
davmor2Saviq: and if I drop down the music section that is no longer crashing either12:08
Saviqdidrocks, :D12:09
davmor2Saviq: do it i dare you ;)12:09
didrockswell, actually, that can be useful for CI or other people reporting12:09
didrocksbut clearly not what's going to fix it :)12:09
davmor2Saviq: I can also preview music too so fixes that also :D12:10
davmor2didrocks: but it fixes it ;)12:11
didrockspffff :p12:11
davmor2didrocks: 3 bugs gone from one setting change it has to be a fix right :D12:11
didrockssure sure12:11
* davmor2 picks up a tissue to wipe the tears from his eyes from laughing so much :)12:12
davmor2didrocks: so now we know where the issue evolved from can I update to latest and do some daily testing, or Saviq do you need anything else?12:13
Saviqdavmor2, no, thank you, we'll have to dig into that12:13
davmor2didrocks: right I'm updating to current then and starting the daily testing then12:15
Saviqlarsu, can you give me a dbus-monitor command to monitor the things going back and forth between unity and the sound indicator so we can see what's going on at the slider bounds?12:28
seb128Saviq, try "gdbus monitor --session --dest com.canonical.indicator.sound --object-path /com/canonical/indicator/sound" ?12:30
Saviqseb128, thanks12:31
seb128Saviq, wait to see if that does what you want before thanking me ;-) (I didn't follow the details)12:32
Saviqseb128, that's a start :)12:32
larsuSaviq, seb128: that only gives you signals from indicator-sound12:32
seb128larsu, I was unsure if you were at lunch so I replied with what I knew :p12:32
larsuif you want method calls as well, use `dbus-monitor destination=com.canonical.indicator.sound`12:32
larsuseb128: thanks :)12:32
Saviqlarsu, thanks!12:33
CimiSaviq, will test https://code.launchpad.net/~saviq/unity8/workaround-lp1293478/+merge/211702 when CI will build the package :)12:35
SaviqCimi, k12:35
SaviqCimi, actually you can grab silo 00712:35
SaviqCimi, it's there already12:35
tsdgeosSaviq: yeah, defenitely qt, want me to have a go at fixing it?12:35
Saviqtsdgeos, would rather you do the crash / lockup first12:36
tsdgeosSaviq: the qml one? that's done12:36
tsdgeosor should be12:37
Saviqtsdgeos, ah ok12:37
tsdgeoshas it run again?12:37
Saviqtsdgeos, can you check the autopilot upstart tests that failed in desktop jenkins?12:39
Saviqtsdgeos, that seemed not flaky, 'cause failed on both scenarios12:39
CimiSaviq, you mean https://launchpad.net/~ci-train-ppa-service/+archive/landing-007 ?12:39
SaviqCimi, yes12:39
tsdgeosSaviq: do you have the url at hand?12:39
Saviqtsdgeos, https://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/3533/?12:40
mhr3Saviq, were ap tests run on the new-scopes silo?12:41
tsdgeosoki, that was new-scopes right?12:41
Saviqtsdgeos, yes12:42
Saviqmhr3, they are in -ci, I didn't get around to yet12:42
mhr3Saviq, how does it look12:43
Saviqmhr3, positive12:43
Saviqmhr3, just two failures tsdgeos is looking at now, unrelated to new scopes12:43
Saviqmhr3, but we were green at some point, so we just need to get back to that12:43
tsdgeosSaviq: so these two tests fail if you don't have scopes running12:44
tsdgeosso i had the scope-registry stopped, run them -> fail12:45
tsdgeosmanually started it -> works12:45
tsdgeosthere's something out there that is making it not auto start the scopes i guess12:46
mzanettianyone still has Qt 5.0 around?12:46
tsdgeosnope12:47
Saviqmzanetti, do you need it on phone or desktop?12:47
mzanettidoesn't matter12:47
mzanettidesktop more easily12:47
mzanettisomething is broken in the right edge stuff which was definitely working last week12:47
tsdgeosnice, now i stopped the scope-registry and also passes ^_^12:47
mzanettiand going back revision by revision doesn't fix it12:47
tsdgeosah no false alarm, still fails12:48
tsdgeosSaviq: so how do we make sure scope-registry is running for that test to succeed?12:48
Saviqtsdgeos, upstart should take care of that12:48
Saviqawesome, my mako just started remounting every 5 s12:49
* Saviq gains a nautilus window ever 5s12:49
Saviq*every12:49
Saviqtsdgeos, if we have "restart" anywhere, we need to change it into stop/start12:50
Saviqtsdgeos, bug #129423012:50
ubot5bug 1294230 in upstart (Ubuntu) "initctl restart does not reload job config, so does not equal stop + start" [Undecided,Invalid] https://launchpad.net/bugs/129423012:50
tsdgeosSaviq: maybe the wrong unity8.conf is being used?¿12:52
Saviqtsdgeos, weird, looking at that test it should be fine12:52
Saviqtsdgeos, there should be no "wrong unity8.conf" nowhere12:52
tsdgeosSaviq: well at least for me locally there's the system one and the one of new-scopes12:53
tsdgeosthat are different12:53
Saviqtsdgeos, yes, but upstart won't use it unless you copy it to ~/.config/upstart/12:54
Saviqtsdgeos, which you probably should in your case12:54
tsdgeosSaviq: right, so is using the system one that doesn't do "emits scope-ui-starting"12:54
tsdgeosso it makes sense it fails, no?12:54
Saviqtsdgeos, but for otto this should "just happen"12:54
tsdgeosright12:54
tsdgeosotto is a different matter12:54
Saviqtsdgeos, yeah, but on otto it shouldn't matter, since the thing is installed12:54
Saviqor should be, at least12:54
* Saviq reinstalled trusty yesterday with nvidia-prime... no idea how/why but (dying) battery life improved like twice...12:55
tsdgeosSaviq: other than that maybe we need to wait a bit to give time for the scopes to load12:56
tsdgeosgoing for lunch12:56
tsdgeoswill try that later12:56
Saviqenjoy12:56
=== alan_g is now known as alan_g|lunch
mhr3tsdgeos, yea, the timeouts to wait for scope startup are pretty low, but seems to work mostly ok13:11
=== _salem is now known as salem_
=== alan_g|lunch is now known as alan_g
tsdgeosSaviq: any idea what's this? https://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/3546/console14:03
tsdgeosjust general jenkins flakyness?14:04
=== MacSlow|lunch is now known as MacSlow
MacSlowtsdgeos, the branch lp:~macslow/unity8/snap-decisions-states is approved, but jenkins still needs to settle... so it'll probably still take a bit before you can more easily review/test lp:~macslow/unity-notifications/multiple-snap-decision-example14:14
tsdgeosok, thanks :)14:15
tsdgeosSaviq: you said yesterday that otto wasn't being reinstalled between runs or something? maybe that's the cause of https://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/3533/ ?14:22
Saviqtsdgeos, yeah, that's just jenkins going crazy14:28
Saviqtsdgeos, that got fixed, and it wasn't otto but devices14:28
tsdgeosah _D14:28
tsdgeosok14:28
tsdgeosnot that then14:28
Saviqrsalveti, larsu so, looking at dbus monitor the backend actually does set the volume to 0.0/1.0, it's just the slider that doesn't update: http://paste.ubuntu.com/7120192/14:56
* Saviq files another bug14:57
Saviqdednick, can't assign to you: bug #129347814:58
ubot5bug 1293478 in unity8 (Ubuntu) "Volume buttons no longer function correctly since #238 mako/flo/manta" [High,Confirmed] https://launchpad.net/bugs/129347814:58
dednickSaviq: yeap. looking at it now14:58
dednicklooks like that code was overlooked. Didnt know we still used it14:59
Saviqdednick, how long for a fix do you think? should we merge the workaround or drop it?15:01
dednickSaviq: hour or 2 probably.15:02
dednick"hopefully" . if the fix works15:02
Saviqdidrocks, wdyt ↑ land unity8 workaround or wait for proper fix in qmenumodel (volume up/down)15:02
Saviqsil2100, btw, how did we not see a meaningful error message for the temp app do you think?15:03
sil2100Saviq: you mean, in the case of url-dispatcher? :)15:06
Saviqsil2100, yes15:06
Saviqsil2100, sounds like we should improve the test somewhere to get a meaningful error15:06
sil2100Saviq: I have no idea, actually once you open up the whole console log you can see the error message ther15:06
Saviqsil2100, oh15:07
sil2100Saviq: but the big console log file is for all the tests being ran on the CI infra15:07
sil2100Saviq: so it's a big big file - and I was not aware that not all stderr is not being collected15:07
Saviqsil2100, what was the actual issue? couldn't execute url-dispatcher 'cause it wasn't there or?15:08
sil2100Saviq: it was simply not there - we couldn't reproduce it locally since we were installing unity8-autopilot15:09
sil2100Saviq: so yes, in the end the infra was doing things differently - but this time not phablet-test-run was the problem, but the actual test setup ;15:09
sil2100;/15:09
Saviqsil2100, the command, you mean? so url-dispatcher-tools?15:09
sil2100Yep15:09
Saviqsil2100, so yeah, test should bail out when trying to exec it, shouldn't it...15:09
sil2100Saviq: well, the test is not written like that... it assumes it's there, and just executes it from the system shell15:10
sil2100Saviq: it assumes it's there as it's a dependency of the test package15:10
Saviqsil2100, doesn't matter, a call to a non-existent executable should raise15:10
sil2100It seems it wasn't thought that someone would actually execute the test without that - maybe we should fix that anyway15:11
Saviqsil2100, let me mention... bug #1262879 again15:11
ubot5bug 1262879 in Ubuntu CI Services "There should only be one, documented, way to run tests on devices" [Undecided,Confirmed] https://launchpad.net/bugs/126287915:11
tsdgeosSaviq: ha, -geometry applies only to qwidgets (no idea why)15:12
Saviqtsdgeos, hmm are we not parsing it explicitly? should we be?15:12
tsdgeosSaviq: we trusted Qt to do it15:12
sil2100Saviq: not sure if it should raise, as it's done by os.system()15:13
Saviqtsdgeos, sounds like a bad idea :)15:13
tsdgeosSaviq: but since there's no documentation on what the -geometry applies (or i can't find it) not sure we can blame them for changing the behaviour15:13
Saviqsil2100, probably that's the wrong thing - should use Subprocess.check_call15:13
sil2100Saviq: so it's like, executes a command, cannot find it, noop15:13
Saviqsil2100, yup, that's what I'm saying is wrong - should use check_call so that it bails out if the dispatcher fails for whatever reason15:14
sil2100Saviq: indeed - now that you mention it we should basically first check if it's there and bail out gracefully15:14
sil2100Maybe even skip the test then15:14
Saviqsil2100, no, ask for forgiveness, not permission :)15:14
Saviqsil2100, nope, it should fail15:14
sil2100;)15:15
Saviqsil2100, or well, there's plenty of things we could do - use liburl-dispatcher or whatever, assuming there're py bindings for it15:15
Saviqsil2100, or call dbus directly15:15
Saviqwhatever we do, it should fail if url-dispatcher fails15:15
SaviqI'll make it happen15:15
Saviqtsdgeos, ;)15:16
sil2100Saviq: thanks!15:16
tsdgeosSaviq: https://code.launchpad.net/~aacid/unity8/windowgeometry/+merge/21176015:32
Saviqtsdgeos, so Qt was swallowing -geometry?15:33
Saviqs/was/started/15:33
Saviqyay15:33
Saviqit's interesting that they eat args that they don't read anyway...15:34
Saviqgrr15:34
tsdgeosSaviq: they read15:35
Saviqtsdgeos, just ignore ;)15:35
tsdgeosto apply later15:35
tsdgeosbut the later is only in QWidget15:35
Saviqtsdgeos, yeah, understand15:35
=== alan_g is now known as alan_g|tea
SaviqCimi, top-ack https://code.launchpad.net/~saviq/unity8/workaround-lp1293478/+merge/211702 ?15:47
CimiSaviq, saw the packages, I'm upgrading the phone15:48
SaviqCimi, thanks15:48
SaviqCimi, verify fixes for bug #1293478 and bug #1283191 please15:48
ubot5bug 1293478 in unity8 (Ubuntu) "Volume buttons no longer function correctly since #238 mako/flo/manta" [High,In progress] https://launchpad.net/bugs/129347815:48
ubot5bug 1283191 in Unity 8 "Indicator's sliders stop updating after manual interaction" [High,In progress] https://launchpad.net/bugs/128319115:48
=== alan_g|tea is now known as alan_g
tsdgeosmterry: does that QProcess in Upstart.cpp work? seems like it shouldn't to me15:57
mterrytsdgeos, why not?15:57
tsdgeosyou're not passing arguments and environment properly15:57
tsdgeosi.e. via setArguments/setProcessEnvironment15:57
tsdgeosoh it seems you can actually pass the arguments in the start call15:58
tsdgeosi think to remember that wasn't supported15:58
tsdgeosgood it works now :)15:59
mterrytsdgeos, ah.  I guess I did it the quick and simple way16:00
tsdgeosmterry: if it works, that's fine :-)16:00
tsdgeosmterry: maybe use startDetached to save some memory?16:01
tsdgeosi.e. no need to keep the QProcess around for ever if we're not going to use it, no?16:01
mterrytsdgeos, yeah I suppose16:02
Saviqdednick, NeedsFixin: https://code.launchpad.net/~nick-dedekind/unity8/lp1283191/+merge/211307/comments/49991016:03
dednickSaviq: eh?16:04
dednickserverValue = 0?16:05
SaviqCimi, ↑16:05
Saviqdednick, volume 0?16:05
=== jhodapp is now known as jhodapp|afk
dednickSaviq: ok. sounds a bit suspicios.. will take a look16:05
Saviqdednick, no it doesn't16:06
Saviqdednick, I mean that when you use vol buttons16:06
Saviqdednick, to change the volume to 016:06
Saviqdednick, the slider doesn't get the news16:06
Saviqdednick, 'cause serverValue goes undefined16:06
Saviqbecause of object && 0 || undefined === undefined16:06
dednickeh...16:07
Saviqsince 0 evaluates to false16:07
dednickstupid.16:07
Cimiwhy it does?16:07
SaviqCimi, bool(0) is generally false, no?16:07
Cimidednick, menuData.actionState >= 0 ?16:07
* Saviq is worried this will bite us in other places where actionState is numeric16:08
CimiSaviq, I thought it meant menuData.actionState was not null16:08
SaviqCimi, null == 016:08
SaviqCimi, null !== 016:08
SaviqCimi, so 0 || undefined === undefined16:09
SaviqCimi, as does null || undefined16:09
SaviqCimi, and >= 0 is bad, too, as it might be negative16:09
CimiSaviq, negative volume?16:10
SaviqCimi, dednick I think typeof menuData.actionState == "number"16:10
SaviqCimi, that's not a volume widget16:10
SaviqCimi, that's a generic slider widget16:10
Cimiok16:10
Saviqdednick, but we need to review the factory for such quirks16:11
CimiSaviq, null in JS is 0?16:11
dednickSaviq: yeah. why it's not working.16:11
dednickit's just because we changed 0.0 to undefined16:11
SaviqCimi, it *is* not, it *equals*16:11
CimiSaviq, just to avoid approving those things in future reviews16:11
Cimibut I see now16:11
SaviqCimi, http://stackoverflow.com/questions/359494/does-it-matter-which-equals-operator-vs-i-use-in-javascript-comparisons16:12
Saviqequality vs. identity16:12
Cimithank you16:14
CimiI usually use === indeed16:14
=== dandrader is now known as dandrader|lunch
dednickSaviq: fied16:20
dednick*fixed16:20
Saviqdednick, thanks16:20
didrocksSaviq: unity8 for now16:21
didrocksSaviq: back from exercising :p16:21
didrocksSaviq: then going to qmenumodel16:21
Saviqdidrocks, yeah, almost there, except we had a fix of the fix to get in... kicking the build now16:21
didrocksand drop the workaround16:21
didrocksok ;)16:21
didrocksa fix to fix the fix? :p16:21
Saviqdidrocks, yup16:22
Saviqdednick, can you please add tag: to the other entries in _data()16:22
Saviqdednick, and you can probably use it for the label instead of the additional label:16:22
Cimiwifi is bad on the phone16:26
Cimiwhen it boots it's down16:26
Cimithen I enable and it's still down even if the indicator says connected16:26
SaviqCimi, do you have "reconnect to previous networks" enabled in wifi settings?16:26
CimiSaviq, I had16:27
dednickSaviq: done16:27
Cimiit's just off16:28
SaviqCimi, maybe bug #128853716:28
ubot5bug 1288537 in Unity 8 "network indicator's wifi toggle can get reversed" [Undecided,Confirmed] https://launchpad.net/bugs/128853716:28
Cimisays connected but it's not16:28
Saviqdednick, thanks16:28
mhr3Trevinho, i'm getting unity to hang when closing windows by opening the window spread and middle clicking, known?16:28
mhr3Trevinho, not always though16:29
mhr3Trevinho, and it does hang completely, i can move mouse and lock the screen, but that's all, ignores any other input16:30
=== jhodapp|afk is now known as jhodapp
Cimialso16:31
Cimiindicators say wifi is on, but if from indicators I click on wifi settings, it goes into system settings where I see all the wifi access points but the first wifi switch is off, might be related to that bug16:32
Saviqmhall119, I'm afraid I won't be able to attend the Engineering Live call... at least for the next 3 months, have places to be at that time :|16:34
Cimiseb128, I'm having issues with wifi, things are weird here16:34
seb128Cimi, desktop?16:34
Cimiseb128, phone16:35
seb128Cimi, talk to Wellark16:35
Cimiseb128, I can't get the phone to connect16:35
mhall119Saviq: that's okay16:35
seb128Cimi, or to cyphermox16:35
Cimias soon as I touch I see the icon connected16:35
Cimibut nothing happens16:35
Cimisays it's ok but it's offline16:35
Saviqdidrocks, do I always have to do FORCE_REBUILD if there's new commits in a branch?16:37
CimiSaviq, I'm reflashing16:37
didrocksSaviq: no, this isn't needed, why?16:38
CimiSaviq, give me another 30 mins16:38
Saviqdidrocks, http://162.213.34.102/job/landing-007-1-build/42/console :/16:38
didrocksSaviq: did you try the two first options? :p16:38
Cimioh wow16:38
didrocksSaviq: either use "ignore step"16:38
Cimiis trusty-proposed down now?16:38
didrocksor in packages to rebuild, set "unity8"16:38
Saviqdidrocks, right, so they're somewhat ambiguous...16:38
didrocksSaviq: better wording welcomed16:39
didrocksSaviq: basically, the idea, is to avoid you to shoot on our feet16:39
Saviqdidrocks, well, "FORCE_REBUILD" should do that... force rebuild, no?16:39
didrocksit happened in the past that people click "build" when they wanted to only rebuild some parts16:39
didrocksso some components16:39
Saviqdidrocks, "ignore step" I don't understand at all...16:39
Saviqdidrocks, which step?16:39
didrocksSaviq: the 3 steps: build, publish, m&c16:39
didrocksSaviq: so, basically, the idea is:16:40
Saviqdidrocks, well, yeah, I'm trying to build, so there's no previous step...16:40
didrockslisten please :p16:40
Saviqdidrocks, am, sorry16:40
didrocks1. if you have a build succeeding, so that you don't screw your work, we prevent you from rebuilding everything16:40
didrocks-> this is a safety net for you16:40
didrocks2. if you want to build after a successfull build everything (all components of your MP), you use "ignore step", which ignore the step checking (and yeah, I'll welcomed a new naming)16:41
didrocks3. you can as well just want to rebuild component A and B of your set (if your set is A, B, C and D for instance)16:41
didrocksin that case you use "packages to rebuild with "A B"16:42
didrocksto only rebuild those16:42
didrocksC and D stays the same in the ppa16:42
Saviqdidrocks, so "ignore step" relates to publish, too, does it?16:42
Saviqnot to m&c, as that's too late, I'd think?16:42
didrocksSaviq: yeah, it says "force running this job, even if it's not the logical order"16:42
didrockslike you can force trying to publish without having a successful build16:42
didrocksand so on16:43
didrocksforce rebuild, as per parameter description is only for: "Force rebuilding components associated to a MP even if there is no diff with dest or if latest version in destination archive isn't in targeted branches.16:43
didrocks"16:43
Saviqdidrocks, not sure what is "diff with dest"16:43
didrocksSaviq: like you force rebuilding your component16:43
didrocksso we apt-get source from distro16:43
didrocks(if dest == distro, default)16:44
Saviqdidrocks, got it16:44
didrocksand diff with your source branch16:44
Saviqdidrocks, ok, I'll digest that and come back with what I think would be better16:44
Saviqdidrocks, in theory I read those descriptions before, but obviously failed to understand them16:44
didrocksSaviq: yeah, I think it's this "ignore step" which isn't clear16:44
Saviqdidrocks, that for sure, the description for force could probably be improved, too16:45
didrocksbut yeah, so the failure if you try to rebuild a successfull build is really to protect you :)16:45
Saviqdidrocks, that's fine16:45
didrockserrors like that with "oh crap" happened in the past :p16:45
didrocksSaviq: sure, always better from a fresh eye :)16:45
Saviqdidrocks, only I expected it to check whether new commits happened, really16:47
didrocksSaviq: that would be nice, quite a lot of work with the current architecture though16:48
Saviqdidrocks, thought so16:48
=== gatox is now known as gatox_lunch
didrocksSaviq: but will worth a bug report (can probably have a look), description enhancement needs to come first though16:48
didrocksSaviq: as I need to check as well if there is new/removed MP (it's not only the commit numbers)16:48
Saviqdidrocks, right, but those requires reconfiguration, does it not?16:49
didrocksSaviq: was just thinking about that, so step is back to 016:49
didrocks(there are just numbers)16:49
didrocksand so, will work16:49
didrocksI just need to track for every MP the commit number16:49
didrocksand check that when you rerun16:49
Saviqdidrocks, maybe enough to just try and merge MPs and see if anything changed? or are you not keeping the branch around?16:50
didrocksSaviq: but then, what should it rebuilt? everything or just components with new commits?16:50
didrockslike if there is an abi break, people may expect to rebuild everything :p16:50
Saviqdidrocks, right16:50
didrocksSaviq: once you restart a landind for a component, I trash it16:51
didrocksbut that's fixable16:51
didrocksI'm just wondering in term of "sane behavior"16:51
tsdgeosSaviq: i can reproduce unity8.shell.tests.test_emulators.GenericScopeViewEmulatorTestCase.test_open_preview failing quite reliably on the phone, but not desktop nor phone if i run it manually instead of thought autopilot16:51
tsdgeosautopilot seems to cause a higher cpu usage in unity8 than running stuff manually16:51
tsdgeosanyone feels the same?16:51
Saviqtsdgeos, well, introspection takes its toll probably16:52
tsdgeosyeah, somehow the LVWPH messes up and puts a category in the wrong place16:52
tsdgeosbut only with autopilot16:52
Saviqtsdgeos, there's quite some dbus traffic16:52
tsdgeosif i use the same fake scopes and start unity8 in the phone16:52
tsdgeosit's all fine :/16:52
tsdgeoshard to debug16:53
tsdgeosgiven that autopilot seems to eat the unity8 output and send it to hyperspace :/16:53
Saviqtsdgeos, .cache/upstart/unity8.log16:53
Saviqtsdgeos, everything's there16:53
Saviqtsdgeos, there's a long-standing bug that ap should proxy it into stdout/stderr under -v, but didn't happen yet16:54
tsdgeosok16:54
tsdgeosthat ought to be enough to add some debugs to LVWPH and try to find out why the stuff ends up in the wrong place16:55
* Saviq gtg, be back in ~3h16:55
Saviqo/16:55
mterrytsdgeos, I'm actually thinking I want to move that init start out of the plugin and into the data/unity8-greeter-wrapper file.  Will play with that17:01
mterrytsdgeos, (this is in reference to Upstart.cpp and QProcess)17:01
tsdgeosmterry: ok17:01
tsdgeosawesome, our jenkins job was killed while compiling17:02
tsdgeoshttps://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/1430/console17:02
elopiotsdgeos, or Saviq: The demo-stuff PPA doesn't have all the packages anymore. How can I run the new-scopes branch?17:04
mhr3tsdgeos, landing-01317:05
tsdgeoselopio: regular distro packages should have all of it17:05
tsdgeosor as mhr3 says silo 1317:05
mhr3eh, elopio ^17:05
tsdgeosall of it (scopes wise (i think))17:05
elopiook, I'll try the silo, because I'm getting the same error I was getting before I added the demo-stuff ppa.17:06
elopiothanks.17:06
tsdgeoselopio: also you may want to remove/purge the demo-stuff ppa17:06
elopioright, I'll try that too17:06
* tsdgeos eods17:08
kgunndavmor2: were there 2 bugs for those "search for music" crashes ? i looked real quick in unity8 bugs but didn't see...17:12
kgunnif they are handy17:12
kgunni can go dig if you have to dig :)17:13
davmor2kgunn: Yeah I think Saviq was having a quick look at them.  let me grab you the numbers though17:13
kgunnta17:13
davmor2kgunn: https://launchpad.net/bugs/1294605 https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/126271117:17
ubot5Ubuntu bug 1294605 in unity8 (Ubuntu) "Searching on the music scope is causing unity8 to crash" [Undecided,New]17:17
ubot5Ubuntu bug 1262711 in unity8 (Ubuntu) "Unity crashes with lots of music displayed in expanded music category in home scope" [Undecided,Incomplete]17:17
elopioSaviq: I will work today on that fixture that launches a fake app, and closes it at the end.17:19
=== dandrader|lunch is now known as dandrader
=== gatox_lunch is now known as gatox
=== alan_g is now known as alan_g|EOD
=== boiko_ is now known as boiko
=== charles_ is now known as charles
Saviqelopio, great, I never got to it today20:03
Saviqkgunn, there's one more: bug #126817220:03
ubot5bug 1268172 in Unity 8 "Music preview crash" [Undecided,Incomplete] https://launchpad.net/bugs/126817220:03
Saviqand no, I didn't have the time to even try and repro20:04
elopioSaviq: it's really simple: https://code.launchpad.net/~elopio/ubuntu-ui-toolkit/launch_fake_app/+merge/21179020:04
elopiobut I'll need a small change in autopilot to make it look good. It shouldn't receive the test case as a parameter, so it will take a little more.20:04
* greyback eod20:06
ted_mterry, Is there a design for "split greeter" overall?20:06
Saviqelopio, cool20:06
kgunnmy new favorite thing is flashing the phone....and checking only to realize, i didn't reboot into bootloader and its just been waiting20:06
davmor2kgunn: sadtrombone.com20:07
davmor2kgunn: my favourite one currently is forgetting to adb reboot bootloader before running a --bootstrap and then wondering why it isn't working20:13
mterrymzanetti, do you know how to convert an app url like settings:///system/bluetooth to an appid + url?20:13
kgunndavmor2: i know, its awesome20:15
davmor2kgunn: I do prefer the newer ubuntu-devices-flash over the older phablet-flash though on the whole :)20:17
kgunnthen there's the class add repository, run apt update...and wonder why it no workie only to discover you forgot to port fwd the wifi20:18
Saviqmterry, you can't20:25
Saviqmterry, that's a url, hardcoded to open with the settings app20:25
Saviqmterry, why?20:26
mterrySaviq, yeah, I'm looking at url-dispatcher and looks like those special urls are all built-in there20:26
mterrySaviq, just split greeter stuff (split greeter fakes being url-dispatcher, so it can shuttle requests to session)20:26
Saviqmterry, oh, tricksies20:27
Saviqmterry, well, soon (ted_'s working on it, afaik), there will be a way to register an app for a url, but that will be per-user at least to some extent20:34
mterrySaviq, it's fine.  I'll just add some logic to unity-greeter-session-broadcast to be able to hand URLs as well as AppIds to sessions20:35
ted_mterry, Yeah, hopefully that'll land. Seems that we didn't get url-dispatcher into the touch FFE :-/20:35
Saviqmterry, maybe it should be just urls?20:35
ted_So now I'm fighting that battle.20:35
Saviqouch20:35
ted_Seem to have progress on the idnicator-sound FFE though.20:35
Saviqmterry, appid:/// is, after all, url-dispatchable20:35
mterryted_, do you want me to change UGSB to use URLs all the time or to handle both URLs and AppIds?20:36
ted_Uhm, good question.20:36
mterrySaviq, fair20:36
ted_I guess the question would be how the launcher works.20:36
ted_I didn't think it sent URLs20:36
ted_But if it's fine with it, I'm fine with just doing URLs.20:37
ted_We can also drop the Upstart job using the dbus bridge, because I'm pretty sure we can't do that in systemd.20:37
ted_It was on my TODO list to figure out for the migration.20:37
mterryted_, launcher sends AppID, but I can change it to put appid:: in front20:37
mterryted_, let's do the upstart change separately20:38
mterryted_, I don't want to bundle these20:38
ted_mterry, Well you can just have the change be to URL dispatcher to listen to the system bus.20:38
mterryted_, fair sure20:38
ted_mterry, Then the job is obsolete20:38
ted_Which is a Good Thing™20:39
mterryted_, I'm just saying a separate change from url stuff20:39
Saviqted_, it does deal in urls, or at least will, when we land everything20:39
Saviqted_, file:/// for .desktop files and appid:/// for clicks20:39
Saviqerm, make that applications:/// for .desktop files20:39
ted_Ah, cool. Sounds great.20:39
ted_mterry, Uhm, okay. I don't care how it lands. Long term the way we should go though.20:40
mterryted_, https://code.launchpad.net/~mterry/unity-greeter-session-broadcast/urls/+merge/21182320:51
ted_mterry, We should probably change the signal/method names as well.20:54
mterryted_, hrm, k.  to Url?20:55
ted_mterry, Yeah, be creative :-) Something not "Application Start" since that's not really what we're doing.20:55
mterryted_, updated branch btw21:33
mterryted_, went with amazing "StartUrl" name21:33
* ted_ is in awe21:47
=== jhodapp is now known as jhodapp|afk

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