[05:54] <pitti> Good morning
[07:02] <DanChapman> good morning
[07:02] <elfy> morning DanChapman
[07:03] <DanChapman> hey elfy how are you?
[07:03] <elfy> DanChapman: did anything come of the xubuntu autopilot branch conversation - lderan has started to get things done :D
[07:03] <elfy> and I'm good thanks - trust you had a good weekend
[07:14] <DanChapman> elfy, I did mention it but I can't exactly remember the outcome. :-| I should have made a note, i'll traul back through the logs later. IMO after some thought I think the best solution will be to have a seperate directory in the current dev branch? I'll create the branch now and traul through the logs to see what was said :-)
[07:14] <DanChapman> elfy, yes I had a good weekend thanks, nice and relaxed
[07:14] <elfy> ok - all I could find was jackson asking nick and him not answering it :p
[07:34] <pitti> jibel: FYI, I just added http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=commitdiff;h=07ac168e5f and these all work; investigating further then
[07:46] <pitti> jibel: I now tried to change the hardcoded defaults to
[07:46] <pitti> timeouts = {'short': 2, 'copy': 2, 'install': 5, 'test': 1, 'build': 10}
[07:46] <pitti> for a ~ 9 s build (package pmount), and it still works; so this only seens to happen for long timeouts
[08:20] <jibel> pitti, Good morning. I added print statement to monitor when and which timeout were set and everything seems correct
[08:20] <jibel> but I didn't try with linux
[09:54] <slickymaster> morning all
[09:55] <knome> slickymaster, we should look/finalize https://wiki.ubuntu.com/slickymaster/LinksMergeSandbox at some point
[09:57] <slickymaster> knome: I'll ready when you'll want me too
[09:57] <slickymaster> I'll be ^^^
[09:58] <knome> i've no idea what to do with it next
[09:58] <knome> i'll ping in again in some time, i need to do real work now :)
[10:00] <slickymaster> knome:I think the next step will be to triage all those links in order to assess their merit
[10:04] <knome> yep, probably
[10:05] <knome> but we also need to think whether we want to have just the OtherResources page, or one more links page with... more links
[10:07] <slickymaster> knome: I think you should approach the all thing gradually
[10:08] <slickymaster> the first step being that triage in order to see the universe of links that we will be left with, and afterwards make that decision
[10:08] <DanChapman> slickymaster, when is your membership meeting? I've been a little busy, but want to make sure i've added my testimonial
[10:10] <slickymaster> hi, DanChapman good morning
[10:10] <slickymaster> DanChapman: it will be held in February 6th, 2014 at 22:00:00 UTC
[10:11] <DanChapman> slickymaster great so I won't miss it if i get it done this week :-)
[10:11] <slickymaster> DanChapman: I do appreciate that you haven't forget it and also your testimonial
[10:11] <slickymaster> DanChapman: I think I'll have to ping balloons to be sure that he won't forget it also ;)
[10:12] <slickymaster> DanChapman: thanks again, mate
[10:12] <DanChapman> slickymaster, :-D no problem at all
[10:52] <davmor2> Morning all
[10:54] <slickymaster> morning davmor2
[10:57] <elfy> hi davmor2
[10:57] <davmor2> everyone have a good weekend?
[10:59] <slickymaster> davmor2: besides the enormous amount of rain that kept falling all weekend long, yes
[10:59] <elfy> all good here in Blighty - or in my bit - and had a really busy weekend doing as little as I could get away with :)
[12:27] <slickymaster> DanChapman: sorry for bothering you mate, but I've just thought it straight right now. You haven't write then testimonial yet, have you?
[12:27] <slickymaster> the^^
[12:31] <DanChapman> slickymaster, hey no not yet mate, why's that?
[12:34] <slickymaster> DanChapman: it's just I haven't checked the wiki yet and I got confused,
[12:34] <slickymaster> nevermid that, sorry
[12:34] <slickymaster> nevermind
[12:51] <slickymaster> I'm off. Lunch time ->
[14:49] <slickymaster> I'm back <-
[15:57] <slickymaster> balloons: thanks a lot for that. I really appreciate it.
[15:57] <balloons> slickymaster, np :-)
[15:59] <elfy> balloons: !!! caught you
[16:01] <elfy> balloons: so - this is brought to you all the way from stgraber - elfy: that's a config option, so balloons should be able to enable it
[16:01] <elfy> https://bugs.launchpad.net/ubuntu-qa-website/+bug/1210728
[16:02] <balloons> elfy, :-) let me look
[16:02] <elfy> thanks :)
[16:04] <balloons> elfy, I've already set the"URL for testcase bug reporting "
[16:04] <balloons> it's set to https://bugs.launchpad.net/ubuntu-manual-tests/+filebug
[16:05] <elfy> then something is broken
[16:05] <elfy> http://packages.qa.ubuntu.com/qatracker/testcases/1557/info
[16:05] <elfy> go there and find the button for it
[16:06] <balloons> elfy, looks like packages and laptop tracker didn't have it
[16:06] <balloons> have a look at them now
[16:06] <elfy> cheers balloons :)
[16:06] <balloons> yay!
[16:06] <elfy> EXCELLENT :D
[16:06] <balloons> nice find.. I only had it config'd on iso
[16:06] <elfy> thanks - that makes life a whole lot easier :)
[16:07] <elfy> well I did report it in October ... just saying :p
[16:07] <balloons> ouch..
[16:09] <balloons> let me look at the other bugs in there actually..
[16:13] <balloons> elfy, I see this actually; https://bugs.launchpad.net/ubuntu-qa-website/+bug/1263429
[16:14] <balloons> misfiled, so I moved it.
[16:15] <elfy> how did I do that :(
[16:15] <elfy> oh - thought it was one of mine lol
[16:16] <balloons> elfy, lol, no not one of yours
[16:16] <elfy> I do try and keep on top of manual testcase bugs
[16:16] <balloons> just thought you or slickymaster might be interested in tweaking that case :-)
[16:17] <elfy> slickymaster is busy doing something for me :p
[16:17] <elfy> there was another one like that ^^ I saw
[16:18] <slickymaster> half way through it, elfy :)
[16:18] <elfy> lol
[16:19] <elfy> you think you are - not told you about the other one :p
[16:19] <slickymaster> elfy, balloons, 1263429 concerns ubuntu specifically, I think
[16:20] <elfy> balloons: bug 1205009 1210732
[16:20] <elfy> bug 1210732
[16:20] <elfy> all kind of tied up together - one looks half finished - sorry
[16:20] <elfy> slickymaster: yea - but we use the same image testcases
[16:21] <balloons> ^^ indeed.. just worthwhile looking at how we spell out our tests cases
[16:21] <balloons> always a good thing to have a read and make sure things are straightforward, with no hidden assumptions
[16:21] <slickymaster> yeah
[17:54] <slickymaster> I'm off
[17:54] <slickymaster> bbl ->
[20:17] <Letozaf_> mzanetti, hi
[20:19] <mzanetti> Letozaf_: hi
[20:20] <Letozaf_> mzanetti, I think I need some help to run reminders-app tests on the device, I have tried both with adb shell launching autopilot and with phablet-test-run but I could not launch them, can you help me ?
[20:21] <mzanetti> Letozaf_: sure
[20:21] <Letozaf_> mzanetti, thanks :)
[20:21] <mzanetti> Letozaf_: can you start the app on the device?
[20:21] <Letozaf_> mzanetti, yes using ./run_on_ubuntu_touch.sh -h
[20:22] <mzanetti> the -h is not needed (actually it should print some help with -h)
[20:22] <mzanetti> anyways...
[20:22] <mzanetti> let me prepare my device
[20:22] <Letozaf_> mzanetti, :) yes it works also without the -h :P
[20:25] <mzanetti> Letozaf_: hmm... so jenkins installs the deb packages and runs them
[20:25] <mzanetti> Letozaf_: just running it from the build dir does not work currently
[20:26] <mzanetti> balloons: how do autopilot tests work nowadays? do they use upstart to start the app?
[20:26] <Letozaf_> mzanetti, ok
[20:27] <Letozaf_> balloons, hi
[20:27] <balloons> Letozaf_, mzanetti hello :-) Letozaf_ just the person I wanted to chat with today
[20:27] <Letozaf_> balloons, :)
[20:27] <balloons> so we want to try and get reminders onto the dashboard this week.. or asap :-)
[20:27] <balloons> I had a quick look at the app and tests finally
[20:27] <Letozaf_> balloons, I have two little tests ready but I wanted to test them on device first
[20:28] <balloons> mzanetti, yes upstart
[20:28] <mzanetti> Letozaf_: so there are 2 options. either you install the deb packages for running them on the device or you fix the test suite so you can just run it from within ~/reminders-app/tests/autopilot/ on the device
[20:28] <balloons> mzanetti, basically they take the click package and install it. Then grab the source tree, pull out the tests, copy them to /home and run them from there
[20:29] <mzanetti> balloons: but I guess the tests need to be prepared to be able to do so, right?
[20:30] <balloons> mzanetti, there's a basic shell to follow.. Any other core app should make things cleaer
[20:31] <mzanetti> Letozaf_: this could work too ^^
[20:31] <mzanetti> Letozaf_: and probably way to go
[20:31] <balloons> mzanetti, we support 3 methods for launching generally.. local, deb, and click
[20:31] <mzanetti> balloons: yeah... just all of them are quite a bit of efforts to get running with autopilot
[20:32] <balloons> Letozaf_, grab the __init__.py, test_XXX.py and emulators.py files/folders from another core app and strip them down as a base :-)
[20:33] <mzanetti> Letozaf_: so... to start over again (I assume we confused you by now)
[20:33] <Letozaf_> balloons, mzanetti a little bit :)
[20:33] <mzanetti> Letozaf_: if you use run_on_ubuntu_touch.sh -c it will produce a click package for you
[20:33] <Letozaf_> mzanetti, yes I tried that
[20:33] <mzanetti> Letozaf_: you need to install that
[20:34] <mzanetti> Letozaf_: after that, you should be able to run the tests from ~/reminders-app/tests/autopilot/
[20:34] <Letozaf_> mzanetti, so I just have to copy it over to the device in /tmp for intance and launch it ?
[20:34] <mzanetti> Letozaf_: no. it's already on the device in /home/phablet/
[20:35] <mzanetti> Letozaf_: you need to install it with this:
[20:35] <mzanetti> sudo click install --user=phablet com.ubuntu.reminders-app...click
[20:36] <Letozaf_> mzanetti, ok let me try it
[20:38] <Letozaf_> mzanetti, probably I'm missing something as I get an error, where do you have to launch the command from ?
[20:39] <mzanetti> Letozaf_: on the device. log in with ssh. do you know how that works?
[20:39] <Letozaf_> mzanetti, yes I was on the device in /home/phabelt/reminders-app
[20:39] <Letozaf_> mzanetti, but I get FileNotFoundError: [Errno 2] No such file or directory: 'com.ubuntu.reminders-app...click'
[20:40] <mzanetti> ok. the package should be in /home/phablet/com.ubuntu.reminders-app_0.1_armhf.click
[20:40] <mzanetti> oh... I just typed in before and was to lazy to spell it out...
[20:40] <mzanetti> the ... should have been replaced with the version number and architecture
[20:42] <Letozaf_> mzanetti, I got the error, I have no com.ubuntu.reminders-app_0.1_armhf.click directory in /home/phablet as I re-flashed my device yesterday and did not launch the run_on_ubuntu_touch.sh -c command again
[20:43] <Letozaf_> mzanetti, I must first launch that
[20:43] <mzanetti> Letozaf_: its not a directory. its a file
[20:43] <Letozaf_> mzanetti, yes file, sorry :P
[20:43] <mzanetti> but ok. if you wiped your device you need to build the click package again (or copy it from the pc)
[20:44] <Letozaf_> mzanetti, I got the click package now under /home/phablet
[20:45] <Letozaf_> mzanetti, com.ubuntu.reminders-app_0.1_armhf.click
[20:45] <mzanetti> perfect
[20:45] <mzanetti> install it
[20:46] <Letozaf_> mzanetti, ok done
[20:47] <mzanetti> Letozaf_: great. now test if you can launch it.
[20:47] <Letozaf_> mzanetti, with phablet-test-run ?
[20:48] <mzanetti> Letozaf_: no, tapping on it in the applications scope
[20:48] <mzanetti> Letozaf_: if it doesn't appear in the applications scope, you can search for it and it should appear
[20:48] <Letozaf_> mzanetti, let me search for it, cannot se it in the application scope
[20:50] <Letozaf_> mzanetti, :( cannot find it... searching for reminders returns  nothing
[20:50] <mzanetti> hmm...
[20:50] <mzanetti> Letozaf_: did the install command throw some error?
[20:51] <Letozaf_> mzanetti, no : sudo click install com.ubuntu.reminders-app_0.
[20:51] <Letozaf_> Selecting previously unselected package com.ubuntu.reminders-app.
[20:51] <Letozaf_> (Reading database ... 0 files and directories currently installed.)
[20:51] <Letozaf_> Unpacking com.ubuntu.reminders-app (from com.ubuntu.reminders-app_0.1_armhf.click) ...
[20:51] <Letozaf_> Setting up com.ubuntu.reminders-app (0.1) ...
[20:51] <Letozaf_> mzanetti, yes 0 files installed
[20:51] <Letozaf_> mzanetti, that 0 ...
[20:51] <mzanetti> hmm... this looks like dpkg output
[20:52] <mzanetti> oh indeed... click looks the same nowadays
[20:52] <mzanetti> Letozaf_: hmm. looks ok
[20:52] <mzanetti> Letozaf_: can you restart the device and see if it appears?
[20:53] <Letozaf_> mzanetti, I will, now
[20:55] <Letozaf_> mzanetti, sorry nothing changed after reboot it's still missing in the applications scope and if I search for reminders, nothing is displayed
[20:56] <mzanetti> Letozaf_: gimme a minute, I'll uninstall it from mine and try to reinstall the latest version
[20:56] <Letozaf_> mzanetti, thanks
[21:04] <mzanetti> Letozaf_: hmm... works here
[21:05] <mzanetti> Letozaf_: check if this exists:
[21:05] <mzanetti>  /opt/click.ubuntu.com/com.ubuntu.reminders-app/
[21:07] <Letozaf_> mzanetti, yes got that directory
[21:07] <mzanetti> Letozaf_: and this one: /home/phablet/.local/share/applications/com.ubuntu.reminders-app_reminders-app_0.1.desktop ?
[21:09] <Letozaf_> mzanetti, in /home/phablet/.local/share/applications/ got a lot of other files but com.ubuntu.reminders-app_reminders-app_0.1.desktop is missing
[21:10] <mzanetti> Letozaf_: ok. then its not isntalled correctly...
[21:10] <mzanetti> Letozaf_: one last check: /opt/click.ubuntu.com/com.ubuntu.reminders-app/0.1/reminders-app.desktop
[21:10] <mzanetti> does that exist?
[21:11] <Letozaf_> mzanetti, yes got it
[21:11] <mzanetti> Letozaf_: can it be that you forgot the --user=phablet when installing?
[21:12] <Letozaf_> mzanetti, could be, did it in a hurry, will re-launching the command help fix this ?
[21:12] <mzanetti> Letozaf_: no, but you can fix it with this:
[21:13] <mzanetti> sudo click register --user=phablet com.ubuntu.reminders-app 0.1
[21:14] <Letozaf_> mzanetti, ok did it ...
[21:14] <mzanetti> now it should appear in the installed applications. maybe only after a search for reminders
[21:14] <Letozaf_> mzanetti, yes.. it's there
[21:14] <mzanetti> ok
[21:15] <mzanetti> Letozaf_: now, do you have the code for the app already in /home/phablet/reminders-app/ ?
[21:15] <Letozaf_> mzanetti, I think so but let me check first
[21:16] <mzanetti> if not, just use run_on_ubuntu_touch.sh once
[21:16] <Letozaf_> mzanetti, yes I got the code
[21:16] <mzanetti> Letozaf_: ok. now we should be able to run the tests doing this:
[21:17] <mzanetti> Letozaf_: cd reminders-app/tests/autopilot/
[21:17] <mzanetti> Letozaf_: autopilot run reminders_app
[21:17] <mzanetti> Letozaf_: however, it doesn't seem to work. and I think we should gix that
[21:17] <mzanetti> fix
[21:17] <Letozaf_> mzanetti, yes I got DBusException: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[21:18] <mzanetti> Letozaf_: are you trying to launch it as root?
[21:18] <Letozaf_> mzanetti, yes
[21:18] <mzanetti> (you should not - run autopilot as user)
[21:18] <mzanetti> how did you log in into the device btw?
[21:18] <Letozaf_> mzanetti, adb shell
[21:20] <mzanetti> Letozaf_: on your pc, open your ~/.bashrc and put this at the end:
[21:20] <mzanetti> alias sd='adb shell start ssh; adb forward tcp:2222 tcp:22; ssh-keygen -f /home/mzanetti/.ssh/known_hosts -R [localhost]:2222; ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no phablet@localhost -p 2222'
[21:20] <mzanetti> Letozaf_: replace mzanetti with your username on the pc
[21:21]  * Letozaf_ is doing i
[21:21] <Letozaf_> it
[21:21] <mzanetti> Letozaf_: then close and open the terminal again and use "sd" to connect to the device instead of "adb shell"
[21:22] <Letozaf_> mzanetti, done :)
[21:22] <mzanetti> Letozaf_: ok. now you're logged in as user and have the terminal configured correctly so you can use editors on the device
[21:22] <Letozaf_> mzanetti, cool thanks
[21:23] <mzanetti> now try again. the error should be another one. and thats the one we need to fix
[21:23] <Letozaf_> mzanetti, now I get ProcessSearchError: Process exited with exit code: -6
[21:23] <mzanetti> Letozaf_: exactly... I don't know yet what its happening... must be someting in __init__.py in launch_test_application
[21:25]  * Letozaf_ is looking at __init__.py
[21:26] <mzanetti> Letozaf_: seems the get_module_include_path doesn't have the correct path for the reminders qml plugin
[21:26] <Letozaf_> mzanetti, I think I left that out as didn't know how to put it in correclty
[21:28] <Letozaf_> mzanetti, how come the tests work on the desktop ?
[21:29] <mzanetti> Letozaf_: because you're running them from the build directory and this ../../../src/plugin works for that
[21:29] <mzanetti> Letozaf_: but now the plugin is installed in .
[21:30] <mzanetti> as in, same directory where the rest of the app is installed
[21:32] <Letozaf_> mzanetti, oh I understand
[21:40] <mzanetti> Letozaf_: seems there's more to it... it tries to start the app from the builddir in /home/phablet/reminders-app/builddir/src/app/
[21:41] <mzanetti> Letozaf_: while it should do some upstart magic to start the installed click package
[21:41] <mzanetti> Letozaf_: do you think you can track that down and fix it like the other core apps autopilot tests are?
[21:42] <Letozaf_> mzanetti, I can try, I will take a look and let you know if I was able to
[21:43] <mzanetti> Letozaf_: ok
[21:43] <mzanetti> Letozaf_: well ideally it would work like this:
[21:45] <mzanetti> Letozaf_: if the tests file is installed in /usr/lib/python2.7/dist-packages/ then it should load the qml file installed in /usr/share/reminders-app/
[21:45] <mzanetti> Letozaf_: if the tests file is located in /home/phablet/autopilot/ then it should start the installed click package with upstart
[21:46] <mzanetti> Letozaf_: if the tests file is located in /home/phablet/reminders-app/tests/autopilot/ then it should start the qml file from /home/phablet/reminders-app/src/app/
[21:46] <mzanetti> now, I understand this is somewhat overkill
[21:47] <mzanetti> balloons: can you tell us which are the required minimum?
[21:47] <mzanetti> I think the first one works already and is required by the upstream merger jenkins
[21:47] <mzanetti> the third one nearly works and is the easiest one to run and change tests/code on the device
[21:48] <mzanetti> the second one doesn't work right now but I'm afraid that's what the release jenkins wants
[21:48] <Letozaf_> balloons, my code is here: bzr branch lp:~carla-sella/reminders-app/new-reminders-app-tests
[21:49] <Letozaf_> balloons, if you need it
[21:51] <balloons> not sure I understand the question yet.. I'll nab the code :-)
[21:52] <balloons> Letozaf_, it doesn't merge clean yet eh?
[21:53] <Letozaf_> balloons, is there one conflict ?
[21:53] <balloons> Letozaf_, 2.. I just branched it direct
[21:54] <mzanetti> Letozaf_: yay! got it executed
[21:54] <Letozaf_> balloons, :)
[21:54] <Letozaf_> mzanetti, :)
[21:54] <Letozaf_> mzanetti, yay!!!
[21:54] <mzanetti> Letozaf_: in __init__.py change this: http://paste.ubuntu.com/6747208/
[21:55] <mzanetti> Letozaf_: and in launch_test_qml this: http://paste.ubuntu.com/6747210
[21:55] <mzanetti> Letozaf_: then it starts
[21:56] <mzanetti> locally from the build dir that is. the upstart job doesn't work yet
[21:59] <Letozaf_> mzanetti, launch_test_qml you added that
[21:59] <mzanetti> Letozaf_: no... its in tests/autopilot/reminders-app/__init__.py
[21:59] <mzanetti> Letozaf_: around line 50
[22:00] <mzanetti> Letozaf_: this is the complete function: http://paste.ubuntu.com/6747234
[22:00] <mzanetti> Letozaf_: I just added the --desktop_file_hint parameter
[22:00] <mzanetti> (which btw shouldn't point to camera-app.desktop, but rather reminders-app.desktop)
[22:01] <mzanetti> but anyways, should get you started
[22:03] <Letozaf_> mzanetti, balloons  ok thanks I will look at this tomorrow evening, it's late for me now have to wake up early tomorrow :P
[22:03] <Letozaf_> mzanetti, think I got it but will try it out tomorrow thanks
[22:06] <Letozaf_> balloons, mzanetti night be back tomorrow
[22:06] <balloons> night.. ty Letozaf_  and mzanetti
[22:07] <Letozaf_> balloons, mzanetti thank you guys :D