/srv/irclogs.ubuntu.com/2014/11/06/#ubuntu-mir.txt

alan_gdoes anyone know why the "mediumtest" jobs are not running in CI since the switch to vivid?09:46
alf_alan_g: no09:48
alan_galf_: "<vila> alan_g: looks like the mir-mediumtests-vivid-touch doesn't exist, will ping fginther"10:19
alf_alan_g: ack, thanks10:20
alf_alan_g: the bright side is that our MPs pass through CI a lot faster now :)10:21
alan_gLOL10:21
anpokhttps://code.launchpad.net/~andreas-pokorny/unity-system-compositor/expose-powerkey-state-and-screen-toggle-controller-interface would be nice if someone reviews this change.. but not top approve.. it is not meant to be released next week10:23
anpoki found a lot of low hanging fruits while doing this..10:24
alf_anpok: ok10:24
anpokthe actual change is kind of trivial... but i needed the code separation..10:25
anpoki mean.. i struggled with relating the code to the actual system behavior10:25
anpokespecially those timeouts..10:25
alf_I wonder why/when the tests where commented out...10:26
alan_galf_: it was an accident10:27
anpokbecause they werent working with the cross compile setup10:27
anpokusc is also one of the pacakges that do not build with a x-sbuild10:27
alf_alan_g: anpok: thanks10:27
alf_alan_g: anpok: I was thinking about whether it's worth for time::Timer to have the convenience functions notify_in() and notify_at(), since we can just say "auto alarm = timer.create_alarm(); alarm->notify_in(..);" instead.10:36
alan_gThat looks like a repeating pattern that could be simplified. So yes.10:38
anpoki would have no objection to reduce it to just that10:38
alf_...and the convenience functions return an Alarm object anyway, which we still have to keep alive10:38
anpokso from looking at usc .. it is also just .. create_alarm + notify_in that is in use10:39
alf_alan_g: anpok: Even if we want them as part of the interface, I am not sure they are worth it as pure virtual functions. Perhaps they could have a default implementation.10:42
alf_anpok: yes, the same in Mir proper10:43
alan_gI agree they're not appropriate for overriding. Technically they could even be free functions.10:44
alan_gBut I'd go for non-virtual TemplateFunctions (not C++ templates, just the design pattern)10:45
=== dandrader is now known as dandrader|afk
=== alan_g is now known as alan_g|lunch
=== dandrader|afk is now known as dandrader
=== chihchun_afk is now known as chihchun
=== alan_g|lunch is now known as alan_g
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== alan_g is now known as alan_g|EOD
=== chihchun is now known as chihchun_afk
desrthi hi miristoj20:02
desrtwhat's the word on the prerolled nature of the cursor-names available for use with mir?20:02
attente_hi, when i try to run an app from a vt, i keep getting an error like Failed to connect to Mir: connect not called or Failed to send message to server: Broken pipe20:51
bschaeferattente_, make sure you've set the socket permissions20:54
bschaeferas well as20:54
bschaeferexport MIR_SOCKET=/tmp/mir_socket (or /path/to/socket)20:55
desrtbschaefer: the socket is in the xdg runtime dir with the correct perms20:55
bschaeferdesrt, when i run mir_demo_server_* it puts it in /tmp for me :(20:55
desrtthis is a unity8 graphical session20:55
bschaeferoo i see20:55
bschaeferusually if you've mir in a vt you've got a mir_demo running20:56
attente_bschaefer: i'm just trying to figure out how i can run something under unity 8 in a terminal session20:58
bschaeferattente_, oo hmm i think ubuntu-app-launch?20:59
bschaeferwill let you do that, or --desktop_file_hint=/path/to/desktop/file20:59
attente_bschaefer: ubuntu-app-launch is giving me Unable to connect to Upstart bus: Cannot launch D-Bus without X11 $DISPLAY21:01
bschaeferattente_, i've had that before ... but i didn't get around it :(21:02
bschaeferthats a ted question21:02
bschaefertedg, ^21:02
tedgattente_, usually means for some reason you didn't get the DBUS_SESSION_BUS_ADDRESS variable set in your environment.21:03
tedgattente_, How is your shell session being created?21:04
attente_tedg: i'm logging into unity8 from the greeter21:04
tedgattente_, And then opening a terminal?21:04
tedgCommand line shell, not graphical shell.21:05
* tedg might be partially to blame for that confusion21:05
attente_tedg: the command line shell is from a vt21:06
tedgattente_, Okay, so you'll need to get the dbus session bus address. It should be /run/user/$(user number)/dbus-session21:07
attente_bschaefer: is MIR_SOCKET required to be set? i thought it derived it from the XDG_RUNTIME_DIR21:07
bschaeferattente_, no i was wrong in what i thought you were doing21:07
tedgattente_, No21:07
bschaeferi thought you were using a mir demo, not unity8 haha21:07
tedgIt'll get MIR_SOCKET from Upstart though21:07
bschaeferyeah21:07
tedgattente_, This might also be helpful depending on what you're doing: https://lists.launchpad.net/ubuntu-phone/msg09839.html21:32
attente_tedg: thanks, i'll try it!21:35
fginthercamako, is there someone who can take a look at http://s-jenkins.ubuntu-ci:8080/job/mir-mediumtests-runner-mako/3297/ ? I've updated this to run with vivid bits and it's failing.22:01
fginthercamako, It's currently not enabled as part of the mir ci jobs, but I can if that's the right thing to do22:02
camakofginther, I'll take a look22:16
fginthercamako, it looks like for this run, mir_performance_tests, took too much time and the job timed out. The timeout is 60 minutes and the whole thing usually takes < 20 minutes22:17
camakofginther, I see22:18
camakofginther, we were having problems with this test and disabled it in CI... Can't remember if we reenabled it later22:22
fginthercamako, it was re-enabled right after the device sprint22:22
fginthercamako, I ran it again without mir_performance_tests, http://s-jenkins.ubuntu-ci:8080/job/mir-mediumtests-runner-mako/3298/console22:24
* camako looks22:25
fginthercamako, looks like this one failed: mStaleFrames.are_dropped_when_restarting_compositor22:27
camakofginther, ok let me investigate and I'll get back to you22:27
fginthercamako, thanks. Shall I enable the test for -ci jobs or just hold off until you've investigated?22:28
camakofginther, aren't -ci jobs currently enabled against our MPs? Not sure if I understand correctly what is being enabled.22:30
RAOFdesrt: What do you mean?22:31
fginthercamako, sorry, I need to give you more context... When the jobs were converted to vivid, the mir mako test was missing and as a result wasn't running on MPs within the last day22:31
fginthercamako, I would prefer to enable it so that it can be fixed with just an MP22:32
camakofginther, Ah ok... I think we should enable them... Just to increase urgency on our end22:32
fginthercamako, thanks22:32
camakofginther, have you committed your vivid changes? Can I get a link to the tree?22:40
fginthercamako, there were no changes to how the tests are executed. Only that the packages are now built for vivid (and the image is devel-proposed which is now vivid)22:41
camakofginther, I see...22:42
camakofginther, so still using lp:~mir-team/+junk/mir-medium-test-runner-for-jenkins, right? And if I download the archive.zip mentioned on the link you sent above, then I should be able to repro, correct?22:44
camakorepro locally , I mean22:44
fginthercamako, correct22:45

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