/srv/irclogs.ubuntu.com/2014/05/27/#ubuntu-autopilot.txt

=== vrruiz_ is now known as rvr
=== charles_ is now known as charles_quassel
=== charles_quassel is now known as charles__
ahayzenHi, i'm trying to run autopilot on device (#51utopic) for the music-app but i keep getting ImportError: No module named 'ubuntuuitoolkit' any ideas what I have done wrong?14:47
elopiobarry: do you know why your dialer py3 branch is failing?15:04
barryelopio: i don't15:08
barryraise StateNotFoundError(type_name, **kwargs)15:08
barryautopilot.exceptions.StateNotFoundError: Object not found with name '*' and properties {'objectName': 'historyDelegate0'}.15:08
barryelopio: i'll merge in trunk (which has changed a bit) and re-push.  let's see if that helps15:10
thomiahayzen: Hi - it sounds like you don't have the ubuntu-ui-toolkit-autopilot package installed15:10
ahayzenthomi, hmm how does that get installed on device? phablet-click-test-setup ?15:11
thomiahayzen: ummm, I'm not actually sure - I thought it was in the image seed, but perhaps not.15:12
thomiahayzen: this should be all you need: https://wiki.ubuntu.com/Touch/Testing15:12
* ahayzen notices some strange bzr errors and runs it again15:12
ahayzenthomi, cool thanks :) ... also do you know anything about the issue of autopilot trying to write to /tmp ?15:13
thomiahayzen: I know that autopilot writes to /tmp, I wasn't aware there was an issue15:13
ahayzenthomi, i believe calendar was fixed? but i think we (music-app) suffer the same issue https://bugs.launchpad.net/ubuntu-calendar-app/+bug/131938215:13
ubot5Ubuntu bug 1319382 in Ubuntu Music App "apparmor denials during autopilot testing" [High,Triaged]15:13
thomiahayzen: ahhhhh, I've just been looking at that code15:14
ahayzenthomi, we are going to try and land this soon https://code.launchpad.net/~music-app-dev/music-app/use-mediascanner2.0/+merge/214140 which redoes alot of autopilot stuff but it still suffers the same issue15:14
thomiahayzen: The first pass fix is in, I believe, but it needs some bug fixing15:14
thomiahayzen: check out the recent revisions to calendar-app maybe15:15
ahayzenthomi, ok thanks15:15
* thomi reads the MP15:15
ahayzenthomi, autopilot is running now \o/ not sure what happened before had things like 'bzr: ERROR: Server sent an unexpected error'15:16
thomiahayzen: :-/15:16
thomiahh well, at least it works now15:16
ahayzenthomi, i'll retry the mediascanner2 branch see if that suffers the same apparmor stuff we had last week15:17
thomiok15:17
thomisorry I can't be more useful. balloons should be back soon I think15:17
ahayzenyeah must have picked up something in malta :( poor balloons15:18
cgoldbergbarry.. ping ... got a sec?   I was just reading about API changes in psutil 2.0 package ... and ran across your request to get psutil updated in debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=74129115:25
ubot5Debian bug 741291 in src:python-psutil "python-psutil: Please update to psutil 2.0" [Normal,Fixed]15:25
barrycgoldberg: yep15:26
barrycgoldberg: fwiw, i just fixed a related breakage in system-image15:26
cgoldbergbarry.  we use psutil inside Autopilot.  seems easy to port to 2.0... but I'm trying to figure out when that package will reach Ubuntu?15:26
barrycgoldberg: utopic has 2.1.1 now15:27
barry(trusty still has 1.2.1)15:27
cgoldbergbarry.. wow.. and Autopilot didn't break in Utopic?15:27
cgoldbergah.. most API changes are just deprecated, not removed15:27
barrycgoldberg: yep.  the one that broke for me is Process.cmdline -it's now a function15:28
ahayzenthomi, yeah it is still being denied things to /tmp i'll see if i can patch up similar to calendar, thanks for your help :)15:28
elopiobarry: yes, thanks. I'll take a look in a while.15:28
barrycgoldberg: https://github.com/giampaolo/psutil/blob/master/HISTORY.rst#200---2014-03-1015:29
cgoldbergyea.. i know we use get_children in Autopilot... and maybe a few other things.    I'll search the Autopilot codebase and see what else we use and create a task for my team of porting to psutil 2.x15:30
barrycgoldberg: cool.  let me know if i can help15:30
cgoldbergbarry, thanks.  I hope it will be trivial though15:30
barrycgoldberg: should be i think.  np!15:31
cgoldbergalthough, i think there are areas around process management that we don't use psutil for and we probably should15:31
* thomi makes a sadface at psutil landing without running the AP tests15:32
thomicgoldberg: can you figure out if that's actually broken something, and if it has, barry can we back it out please?15:32
thomiI'm getting uo to my EOD :(15:33
cgoldbergthomi, I'm not here btw :)  day off.. just stopped in because i read a blog post about psutil15:33
thomidoh :(15:33
cgoldbergthomi, want me to add a task to our backlog for porting to psutil 2.x ?15:33
barrythomi: i don't think we should back out psutil update.  the api differences should be easy to work around, even if you want to maintain pre-2.0 compatibility15:33
cgoldbergi can do the port once after I get my video fixture landed15:34
thomicgoldberg: well, I'd rather have it fixed than have a card, but sure, knock yourself out :)15:34
thomibarry: I guess i'm woried about "autopilot being broken" right now in the image, since we've just made a release15:34
thomiI can see it'd be easy for people to do a 2+2=515:35
cgoldbergthomi, i can get it fixed this week.. but will put a card up so i dont forget :)15:35
barrycgoldberg: thanks.  yeah, it would be a royal PITA to revert the psutil update in utopic15:35
cgoldbergthomi, i'm still trying to decipher if anything broke, or if we are just getting deprecation messages15:37
cgoldbergthomi, card added.. I'll chase it down tomorrow15:44
cgoldbergl8r15:44
thomicgoldberg: thanks15:44

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