/srv/irclogs.ubuntu.com/2014/10/03/#ubuntu-mir.txt

=== mpt_ is now known as mpt
dufluEurope comes online and Launchpad times out lots :)07:24
=== sil2100_ is now known as sil2100
duflualf: We don't use the snapshot logic for screencasting, right?09:58
dufluAnd "screenshots" use screencasting09:58
alf__duflu: right and right10:01
dufluscreensnapcastshot10:01
dufluthing10:02
duflu(tm)10:02
tsdgeosdoes anyone know at what point the SessionAuthorizer is created for qt apps?10:49
alan_gtsdgeos: during Mir startup - when the_session_authorizer() is called setting up the connector.10:58
tsdgeosalan_g: yeah i found10:58
tsdgeosalan_g: so i have a small problem not sure if you're able to help10:58
tsdgeosalan_g: basically the sessionauthorizer is calling things "too early" and my other singleton that is supposed to work together with it is still not ready10:59
tsdgeosi guess that's more qtmir than mir10:59
alan_gtsdgeos: yeah, Mir doesn't like singletons11:00
tsdgeosalan_g: well it's not really even a singleton (Well it is, but it's basically loaded by another plugin :D)11:00
* tsdgeos checks when Gerry is back from holydays11:00
alan_gtsdgeos: so your SessionAuthorizer does stuff when created?11:01
tsdgeosalan_g: no, thing goes like this11:02
tsdgeosSessionAuthorized is created11:02
tsdgeossomeone calls connection_is_allowed11:02
tsdgeosbut the other thing we use to "naswer" connection_is_allowed is still not created11:02
tsdgeosso things go wrong11:02
tsdgeosunfortunately "the other thing" is in a different plugin11:02
tsdgeosso synchronizing them seems to be pretty hard11:03
tsdgeosmore for me that have no clue at all about that code :D11:03
tsdgeosdandrader: maybe you know a bit about SessionAuthorizer/ApplicationManager ?11:03
dandradertsdgeos, a bit, don't expect much11:04
alan_gIs there a way to block connection_is_allowed until the needed helper is loaded?11:04
tsdgeosalan_g: i guess that'd be it, but being in different plugins is not that optimal i'd say11:04
tsdgeosdandrader: do you know if/how unity8 finds out about apps that were running before it started?11:05
alan_gWell, I'm not sure why Mir would be started before unity is ready to handle connections11:05
tsdgeosbecause everything is a plugin :/11:06
alan_gBut it doesn't need to be *started* when the plugin loads11:07
dandrader_tsdgeos, I recall that it didn't know about them11:10
dandrader_tsdgeos, but that might have changed recently11:11
tsdgeosok11:11
dandrader_tsdgeos, as you already mentioned, Gerry is the one that has been working on that part11:11
=== alan_g is now known as alan_g|lunch
=== dandrader_ is now known as dandrader
=== alan_g|lunch is now known as alan_g
alan_gcamako: this bug is about the time taken by this test to run. Not about it failing (which I don't deny). https://bugs.launchpad.net/mir/+bug/1375211/comments/413:37
ubot5Ubuntu bug 1375211 in Mir "[regression] unit_tests AndroidInputReceiverSetup.* takes excessive time" [Low,In progress]13:37
camakoalan_g, Before r1955, it was taking excessive time but passing jenkins... with r1955 (tried to address the issue of time taken) but the test itself failed on jenkins every time.13:42
alan_gcamako: about the test - https://code.launchpad.net/~vanvugt/mir/fix-1375211-v2/+merge/236989/comments/58079513:44
camakoalan_g, so you're okay with the fix in there but not the test?13:47
alan_gcamako: yeah. The test is well motivated, but flaky13:48
camakoalan_g, if it passes jenkins, then no harm done by the test (or is that not the case?)... if it doesn't, then duflu will then agree to remove it.13:51
alan_gcamako: the test, in effect, set a timer to 0ms and then tests that it expires in under 1ms at least one time in a hundred. Which is likely, but *not* guaranteed by anything we can control. (we're not a RTOS)13:53
alan_gthink valgrind on slow, loaded build servers...13:54
camakoI agree it's not a guarantee... but it's a problem if it fails with high probability. It's difficult to say it will. My thought is if it passes jenkins then it's good enough.13:58
alan_gThat attitude is how we get annoying intermittent test failures. If a thousand tests each passes 99.9% of the time we have trouble landing.14:00
camakoIf that were true, yes... I'm just saying it'll be more convincing if you can get it to fail locally, for instance, by simulating a loaded server.14:02
alan_gI'll remind you of that when it goes wrong during an urgent release.14:04
camako:-)14:04
camakoI understand what you're saying anfd they are valid points. But without evidence (and assuming it passes jenkins - which *is* a loaded server), it's difficult to support one-side of the argument over the other. Feel free to put these comments on the review and even disapprove.14:07
=== dandrader is now known as dandrader|afk
=== chihchun is now known as chihchun_afk
=== dandrader|afk is now known as dandrader
=== dandrader is now known as dandrader|afk
=== alan_g is now known as alan_g|EOW
=== dandrader|afk is now known as dandrader
robotfuelkgunn: are you the person to get unity-scopes-api bugs triaged? I have this new top crasher today https://errors.ubuntu.com/problem/72efb07867c31436ac312b1a5027bfa6ee90b0bd18:54
robotfuelkgunn: hmm never mind it looks like it might be apparmor18:56
kgunnrobotfuel: for future, that'd be thostr19:00
robotfuelkgunn: I ran in to this on both mako and krillin today https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/136059322:10
ubot5Ubuntu bug 1360593 in unity8 (Ubuntu) "unity8 freezes randomly" [Critical,Confirmed]22:10
robotfuelI unmarked the duplicate of the location services bug22:10
robotfuel:(22:10
robotfuellet me know if you'd rather have a new bug open22:11
robotfuelkgunn: ^22:11
robotfuelah I see in the last comment you want a fresh bug.. so I'll do that22:14
kgunnrobotfuel: also can you please attach a profile of the memory being used ?22:14
kgunne.g. list of all processes and threads22:14
kgunni'd be curious if this might be the damn OOM killer killing services22:15
kgunnit shouldn't22:15
robotfuelkgunn: sure, it's very low on memory22:15
robotfuelkgunn: this the new bug https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1377332 I grabbed extra logs so let me know if I can help with more22:37
ubot5Ubuntu bug 1377332 in unity8 (Ubuntu) "UI randomly freezes" [Undecided,New]22:37
robotfuelI have dinner plans have to run22:39

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