/srv/irclogs.ubuntu.com/2014/03/03/#ubuntu-quality.txt

=== iahmad is now known as iahmad|afk
davmor2Morning all11:06
=== vrruiz_ is now known as rvr
=== psivaa is now known as psivaa-lunch
asacanyone can run the http://q-jenkins:8080/job/autopilot-release-gatekeeper/ job13:55
asacfor qt5 edgers?13:55
asacelopio: ^^13:55
elopiogood morning!14:24
davmor2morning elopio14:28
=== psivaa-lunch is now known as psivaa
senanDanChapman,balloons : Hello15:38
balloonssenan, hello15:55
senanballoons, do I need to change anything in that test ?15:58
elfyballoons: you a moderator on the quality mailig list - I've got a held message16:00
elfyballoons: also - you syncing that mp - or shall I do it16:00
balloonselfy, I was planning on doing it now, but you can if you want it sooner, dragged into a meeting :-)16:03
balloonssenan, I've not had a chance to review after your changes. do the tests run successfully?16:04
elfyballoons: ok - leave it with me :)16:05
balloonselfy, :-) thanks mate16:06
senanballoons, yes16:06
elfyballoons: but I can't moderate my post on the list :p16:06
cgoldbergelopio, got any time for a quick code review?  nobody from my team is currently online and I don't wanna wait for NZ to wake :)16:06
balloonselfy, knome I saw you inquired about the sync tool. I can share it; it's a hacky perl script, and by hacky I mean loads of fun. But it works. I always thought we'd have cleaned it up by now and had something but ;-)16:07
elopiocgoldberg: sure. I'm not sure if I know the part of autopilot where you are working, but I can take a look.16:07
knomeballoons, please do that16:07
cgoldbergelopio, it's familiar territory...  I'm updating the runner/result to act unittest and print the dots/flags as tests run.  so it's not just silent when running in normal (non-verbose )mode16:10
cgoldbergwe've been down this rode in SST a while back16:10
cgoldbergelopio: https://code.launchpad.net/~coreygoldberg/autopilot/texttest-run/+merge/20908916:10
elopiothat's nice, yeah16:11
elopiocgoldberg: isn't this a feature from TextTestResult? On SST we didn't have to implement the dots16:12
cgoldbergelopio, actually we did :)  it's a feature of unittest's TextTestResult ... but not of testtools TextTestResult16:13
cgoldberglifeless doesn't like the output.. I personally do16:14
elopiook, then it looks good.16:14
elopioI also like it. But you are missing the tests.16:14
cgoldbergWIP ;)16:14
elopioon SST we have some nice ways to test testresults and testcases, I've been copying that stuff all over :)16:14
cgoldbergelopio, yea, I've grabbed some snippets from SST also16:15
elfyballoons: all done16:18
balloonselfy, I'll let your post through one sec16:29
elfyok cheers16:29
elfyI don't often attach images ...16:29
balloonssenan, I'll have a look now16:30
balloonselfy, ahh.. I hadn't seen the thread; all makes sense.16:31
elfy;)16:31
elfydrives me insane lol16:31
=== qwebirc173872 is now known as slickymasterWork
balloonselfy, since you are about; what do you think of https://code.launchpad.net/~rohangarg/ubuntu-manual-tests/ubuntu-manual-tests/+merge/207882?16:35
elfyballoons: I was looking at that earlier actually - but I couldn't work out what the original testcase was16:36
balloonssenan, ok while you are still here, there are a couple minor layout things I would still do. Ready?16:37
balloonselfy, it was originally an non-english install testcase16:37
elfybut then it was first cuppa time16:37
balloonswith everything you see tacked onto the end16:37
elfyyep16:37
elfycommenting now16:38
senanballoons, ready :D16:38
balloonssenan, run pep8 and pyflakes on the code and fix any errors.16:40
elfyballoons: done16:40
balloonssenan, I was thinking I would change the name of the non-test functions as well, or move some of the utility functions to the emulator, but I'm reconsidering16:41
balloonsI think I might be ok with everything on that front16:41
balloonssenan, I suppose the other thing I would like to see is removing an commented out code, and add some inline coding comments to follow along (docstrings you added are wonderful thank you)16:42
balloonsI'll have to run and verify it works and we can merge16:43
balloonsyou've come a long way on this ;-)16:43
senanballoons, I ran pyflakes and got two information16:43
balloonselfy, ty.. He did the changes to make it a kubuntu only testcase; how / where should this live on the tracker? He didn't change the filename, but we can ask him to do that16:44
elfywe can do that when we merge/sync it can't we16:45
balloonselfy, yes, I generally do renames as part of merge16:45
elfyyea - same16:45
elfymmm16:46
elfyI'd guess it should live in images really16:46
elfyjust be a new one in there16:46
senanballoons, pyflakes error corrected16:47
elfyballoons: something like Kubuntu Localisation Support16:47
balloonsok, so if we are ok with that, I suppose we can merge it?16:48
senanballoons, I didnt understand the commenting part16:48
balloonssenan, ahh.. I was hoping to see some more comments in the code itself of what's going on during the tests16:49
senanballoons, ok.. let me check16:49
balloonssenan, also you have code like #self.keyboard.focused_type(editBox) which is commented out. Remove it if it's not needed16:49
senanballoons, some codes are not working in autopilot3 thats why they are commented out16:50
balloonssenan,ok,  do we have a bug filed for them?16:51
senanballoons, I think DanChapman filed a bug16:51
senanI'm not sure16:51
balloonssenan, ok.. I like to see a bug # or link even left there so it can be referenced later on16:52
senanballoons, I need to check with dan, but he is busy it seems :(16:52
balloonssenan, we can look for it16:53
balloonssenan, is it in here? https://bugs.launchpad.net/ubuntu/+source/autopilot-gtk16:53
balloonssenan, you can see what he reported: https://bugs.launchpad.net/~dpniel/?orderby=-datecreated&start=016:54
balloonsI don't see anything.. I think you can report i16:55
balloons*it16:55
DanChapmanballoons, senan what bug we talking about?16:56
senanDanChapman, while opening the scan folder dialog, we faced some issue in using select_single16:57
senanidentifying the object16:57
elfyballoons: do you want me to rename/merge/sync this kubuntu testcase? is that what you meant?16:58
senandanchapman, it was working fine in autiopilot and its broken in autopilot316:58
senandanchapman, do you remember ?16:58
DanChapmansenan, let me just look and refresh my memory16:58
balloonselfy, ohh, if you'd like. I just wanted someone else's opinion on the matter before I did anything further with it16:59
elfyoh - fine with me :)16:59
balloonsIt is a very kubuntu specific testcase, which is ok. I'm happy to merge at this point I think16:59
balloonsafter our conversation16:59
senanDanChapman, http://paste.ubuntu.com/7028547/16:59
balloonsJust need to check formatting then I would approve16:59
elfyok - I'm on it then17:00
balloonselfy, you rock!17:00
balloonsDanChapman, I'd like to talk semantics about layout, etc with senan's testcase as the example after e solve this issue ;-)17:01
DanChapmansenan ahh yes the '...'  \u2026 issue? I think i forgot to file a bug for that against autopilot. Let me check17:02
senanDanChapman, yep17:03
senan:D17:03
DanChapmansenan, can you create a simple testcase to reproduce the bug?17:03
elfyballoons: ok - thanks for the compliment - but as much as I'd like to do it for you - when I try and add a testcase in iso.qa - it gives me the edit a testcase page17:03
elfyurl says /add - but there's nowhere to give it a number17:04
senanDanChapman, same DiskusageAnalyzer tc ?17:04
DanChapmanballoons, sure :-)17:04
balloonselfy, using the script or ?17:04
elfyno - manually :)17:04
DanChapmansenan yes something simple that works with autopilot but not autopilot317:04
balloonselfy, with the script, you leave off the number part and it will assign and rename17:05
elfyor is the iso tracker slightly different from the package one - and the thing numbers automatically?17:05
balloonselfy, otherwise, I think that is correct17:05
balloonselfy, you don't get to assign the number :)17:05
senanDanChapman, yea sure.. shall I do it tomorrow17:05
elfyaaah - ok so it is different :)17:05
balloonsDanChapman, so for these gtk apps, what do you think of the utility functions inside the main testcase.py file?17:06
elfyok - thanks balloons - rolling along now :)17:07
DanChapmansenan, when ever you have time. It's not a blocking bug but it does need fixing, so if you could file the bug against autopilot and provide the simple testcase to reproduce the bug17:07
senanDanChapman, sure.. I'll take care17:08
balloonssenan, I would like to hold off on merging until we have the bug number if that's alright?17:08
senanballoons, Its ok17:08
senanballoon, you want to make sure that I'll file a bug right ;) he he17:09
senanballoons, DanChapman : Thanks for the comments and review, going to sleep now...see you tomorrow17:10
teward|phoneelfy: balloons: before I go absolutely bonkers and do the email equivalent of yelling at someone, would either of you like to calmly but sternly talk to Alberto before I do?17:11
balloonssenan, have a pleasant evening!17:12
senanballoons, DanChapman : Goooood Night :)17:13
balloonsteward|phone, let's not go bonkers. I'll have a chat with him17:13
DanChapmanballoons, I personally don't like it, it makes messy reading to my eyes as long as the utility functions name is clear on it's intent. Whats your thoughts17:14
elfynot going bonkers is a plan17:14
elfyballoons: ok - manually ;) merged and synced it17:15
balloonsDanChapman, I guess I'm confused by your sentence :-)17:15
balloonsdo you like the mp as-is or would you change it?17:15
balloonselfy, :-)17:15
DanChapmanballoons, sorry that is kind of confusing now i've read it back. Mind is elsewhere atm. ;-) I'll take a look at it now17:22
balloonsDanChapman, :-) Basically we are starting to push tests to be written in a page object model. I've got a post in draft where I want to talk about it more and so off some examples; namely ubuntu-clock which leo and nekelesh have been tweaking to fit the model quite nicely17:24
DanChapmanballoons, sounds interesting i would like to read it :-D17:25
balloonsDanChapman, the idea was proposed by elopio and stems from this: http://code.google.com/p/selenium/wiki/PageObjects17:26
balloonsAnyways, for gtk apps I'm not sure how I want things to look.. But I don't think I'm a big fan of having the utility functions inside the tests17:26
balloonsI'm asking because I think senan's mp is otherwise pretty much ready to merge. But we should make sure the format is one that is maintainable and makes sense17:27
balloonsDanChapman, so for example for the disk usage analyzer app I would imagine an object for each dialog being tested. The test then get very very simple. a few lines, which read very nicely17:32
balloonsbut it's hard to say if that's desirable or the way to go for these apps/tests17:35
DanChapmanballoons, yes i agree I like the idea of breaking it out into objects :-)17:36
elfyI'd love to have an opinion - but it's all stuck in the wall above my head :p17:36
elfyhi DanChapman17:36
balloonsDanChapman, so should we merge his MP hen have him refactor it? I'm leaning towards that option as it's been in process for so long17:38
DanChapmanballoons, yes i would merge it. I'm going to give the page object style a go on the eog test seeing as thats completely borked atm. Then we can see how it turns out17:39
DanChapmanelfy hey there :-)17:39
balloonsDanChapman, ok, perfect ;-)17:42
elfyballoons: so why if you add a testcase in packages does it let you give them a number - wouldn't it be better if it didn't?17:55
elfyjust a thought17:55
balloonselfy, I'm not sure actually..17:55
* balloons goes to look17:55
balloonselfy, at one point someone had a purpose for it.. I remember issues with UTAH wanting to specify things17:57
balloonsit might be leftover from that. If you don't fill in the field, it autoassigns17:57
elfyoh does it - useful to know that17:57
balloonsit's interesting it only shows on packages.qa.u.c17:57
balloonselfy, right, title and testcase is the only required fields17:58
elfydidn't know that :)18:00
phillwelfy: balloons I stepped back to get de-stressed... the user18:38
phillwAlberto Salvia Novella us that disruptive. I am ceasing my following of ubuntu-quality@lists.ubuntu.com18:38
phillwsorry folks... I just don't need this crap.18:38
balloonsphillw, I've spoken to Alberto about it. If there is another lapse I'll simple remove him from the list and moderate any mails he may decide to post18:58
phillwballoons: I've re-joined but different email addy... can you have a quick check to see my old one expired (a legacy one  xxxxxx@ubuntu.com and xxxxxx@uk.voplink.com) and the new one xxxxx@phillw.net is being used. Thanks.19:03
balloonsphillw, sure, just a moment19:04
balloonsphillw, I only see the new addy19:14
phillwokies :)19:15
phillwthnx19:15
phillwsorry for pauses, just installing a centos 6.5 VM for a student19:16
letozafballoons, elopio hello19:56
balloonsletozaf, hello20:07
letozafballoons, about rssreader-app I saw elopio's refactoring of one test, whats next now ?20:12
letozafballoons, and about reminders app, if qmlscene is not supported anymore how is autopilot vis going to work ?20:19
balloonsletozaf, yes I saw michael's response. Since the binary launches again, we can just use vis against that20:20
balloonsletozaf, like so: autopilot launch -i Qt reminders20:20
* balloons tries and doesn't see anything, heh20:21
letozafballoons, ah ok thanks I will try this20:21
letozafballoons, oh wait... :P20:21
letozafballoons, it works for me :)20:22
balloonsletozaf, perfect.. it shoudl20:22
letozafballoons, no, I was wrong, thers is nothing in vis :P20:23
balloonsletozaf, hmm20:38
letozafballoons, :)20:39
balloonsletozaf, on the rssreader, I'm not sure of the status for elopio.20:41
balloonsI see https://code.launchpad.net/~elopio/ubuntu-rssreader-app/refactor_tests/+merge/20851720:42
letozafballoons, ok I will wait20:42
balloonsletozaf, ohh yea, looks all done. So do you see how the refactoring happened?20:43
balloonsessentially each page is an object20:43
letozafballoons, yes I had a look at it20:43
balloonsso you can continue to mold the tests in this way20:44
balloonsand of course, work on getting all the tests running :-)20:44
balloonson reminders, that's quite annoying. Assuming you can't use vis, what do you need to understand? We can use print_tree and look at the qml for objects as needed20:44
letozafballoons, ok for rssreader app I will give it a try20:47
letozafballoons, for reminders app I will have to see what happens when I try to write the tests, whats print_tree20:47
* letozaf is looking for print_tree20:47
balloonsletozaf, http://unity.ubuntu.com/autopilot/api/introspection.html?highlight=print_tree#autopilot.introspection.dbus.DBusIntrospectionObject.print_tree20:48
balloonsletozaf, basically you can print an entire tree of any object20:49
balloonsletozaf, so you can grab the main_view for reminders, then call print_tree and get a vis dump more or less you can browser20:50
balloons*browse20:50
letozafballoons, just found it, thanks I will try to use this20:50
elopioletozaf: oh, hi.20:51
elopioyes, can you please review that branch? https://code.launchpad.net/~elopio/ubuntu-rssreader-app/refactor_tests/+merge/20851720:51
letozafelopio, hi :)20:51
elopioI broke one test, so I need a little small fix on it, and it would be good to go, if you like it.20:51
letozafelopio, already done it :)20:51
elopioletozaf: thanks!20:51
elopioI'll fix it after lunch.20:51
letozafelopio, ok20:52

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