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