=== salem_ is now known as _salem | ||
pitti | Good morning | 03:30 |
---|---|---|
jibel | good morning | 06:52 |
=== Ursinha is now known as Ursinha-afk | ||
=== Ursinha-afk is now known as Ursinha | ||
=== Ursinha is now known as Ursinha-afk | ||
=== Ursinha-afk is now known as Ursinha | ||
Noskcaj | someone make smartboyhw ping me as soon as he's online please | 09:48 |
DanChapman | Noskcaj, will do if i see him :) | 09:51 |
=== Ursinha is now known as Ursinha-afk | ||
=== Ursinha-afk is now known as Ursinha | ||
DanChapman | Hey peeps, im having some trouble registering libreoffice as a known application with autopilot. Anyone achieved this yet or any ideas here. Code = http://paste.ubuntu.com/5693464/ and the Traceback = http://paste.ubuntu.com/5693431/. | 11:59 |
balloons | DanChapman, Libreoffice is a big application. IT's probably something we need help on in order to get it working | 12:05 |
balloons | We may have to use something else if it never likes being introspected :-) | 12:05 |
balloons | IT's worth filing a bug against autopilot-gtk specifically for it | 12:06 |
DanChapman | ok then i was just gonna try start some basic tests on it open/close. :D Will go file one now | 12:06 |
balloons | DanChapman, indeed. It was part of the pains we hit last cycle. | 12:07 |
balloons | but pitti and crew get to help us on this stuff now :-) | 12:08 |
DanChapman | that should help then :) | 12:14 |
balloons | DanChapman, did you see Vasudevan's email about the state of the source tree? It's a good jumping off point | 12:39 |
DanChapman | balloons no i didnt | 12:39 |
DanChapman | just seeing if i got it | 12:39 |
balloons | have a look.. He went through and tried to run every test, and then has a few good questions about everything | 12:40 |
DanChapman | I didn't receive it :( Ive ran all the current tests this morning and quite a few had fails. I will probably start with them then :D | 12:43 |
balloons | anyways for starters let's sort of the working stuff first and get it ported to 1.3 | 12:44 |
balloons | then I'd like to clean up anything that doesn't work and get it running, or otherwise put it into a WIP branch or something | 12:44 |
balloons | I'm trying to figure out what the best way to organize the tree would be | 12:44 |
balloons | hmm.. do we think an etherpad would help? | 12:45 |
DanChapman | balloons are we using this guide for porting? http://unity.ubuntu.com/autopilot/porting/porting.html | 12:49 |
balloons | DanChapman, yes | 12:50 |
balloons | DanChapman, so I think a pad could be useful today.. I've made one and we can all share notes on the autopilot stuff this way | 12:50 |
balloons | http://pad.ubuntu.com/CFXkuLR7Lb | 12:50 |
DanChapman | ok great :D | 12:50 |
balloons | most people won't be around till the second half of the session :-) EU evening time | 12:50 |
balloons | man saucy is hating on me | 12:54 |
=== balloons changed the topic of #ubuntu-quality to: Welcome to Ubuntu Quality | http://wiki.ubuntu.com/QATeam | Hackfest Today! https://wiki.ubuntu.com/QATeam/Hackfest/20130523 | Pad for tracking http://pad.ubuntu.com/CFXkuLR7Lb | ||
=== _salem is now known as salem_ | ||
DanChapman | balloons do you run saucy in vm or on your hardware? I was going to install it on a seperate partition but wasnt sure if the daily image would update my machine like it does in testdrive | 13:04 |
balloons | DanChapman, I run it on my main box, as the default OS | 13:04 |
balloons | I'm almost always running the ubuntu development version, never really on a stable release except for just after it's released | 13:04 |
DanChapman | ill give it a whirl later on after the session :D | 13:05 |
balloons | :-) | 13:05 |
balloons | ok, brb.. hopefully saucy will like the amd open drivers | 13:05 |
balloons | that seems much better.. let's see if it lasts :-) | 13:09 |
DanChapman | :) | 13:12 |
balloons | ok, so DanChapman shall we work through the kinks of getting the evince testcase to 1.3? | 13:19 |
DanChapman | yeah sounds good to me :) | 13:20 |
balloons | ok, so I think we should create a branch for each 1.3 conversion | 13:23 |
balloons | do you know how to do that? | 13:24 |
balloons | I guess it's something I can do.. let's see | 13:24 |
DanChapman | bzr branch lp:blablabla :D | 13:24 |
DanChapman | i think anyway bzr still new to me have been a TFS user for few years. | 13:25 |
DanChapman | let me see if im getting this. So for instance with evince the emulators is deprecated so in the startUp() it will need a ProcessManager instance created? | 13:27 |
DanChapman | so pManager = ProcessManager.create("BAMF")?? | 13:27 |
DanChapman | then use that to open a window? | 13:28 |
balloons | DanChapman, I believe that's a valid statement.. We'll find out together :-) However, we can ping the folks in #ubuntu-autopilot if we get stucl | 13:28 |
balloons | DanChapman, I would use launch_test_application I think | 13:28 |
DanChapman | ok no problem, can give it a go | 13:29 |
DanChapman | oops just pushed something to launchpad and didn't mean to :S | 13:34 |
balloons | :-) | 13:38 |
DanChapman | balloons, im just running to get my lil one from school then be back on it | 13:39 |
balloons | DanChapman, enjoy :-) | 13:40 |
balloons | morning SergioMeneses | 13:50 |
SergioMeneses | balloons, morning! | 13:50 |
SergioMeneses | balloons, how's everything? | 13:53 |
balloons | SergioMeneses, working on cleaning up the ubuntu-autopilot-tests project source tree | 13:55 |
balloons | Trying to figure out how to make a production branch for it | 13:55 |
SergioMeneses | balloons, :O awesome | 13:55 |
=== Ursinha is now known as Ursinha-afk | ||
fginther | DanChapman, you want to use launch_test_application to open an application for testing | 13:58 |
DanChapman | fginther, thanks will do | 13:59 |
fginther | DanChapman, it returns a proxy object representing the root of the Gtk tree for the app (I assume you're testing evince) | 13:59 |
DanChapman | yeah | 13:59 |
fginther | DanChapman, unfortunately, my Gtk knowledge is so poor, I don't know the best or proper way to introspect the application after that :-( | 14:01 |
DanChapman | im getting 'no autopilot.process module' error at the moment. does it not come in python-autopilot? | 14:01 |
=== Ursinha-afk is now known as Ursinha | ||
fginther | autopilot.process should be there | 14:02 |
fginther | for 1.23 | 14:02 |
fginther | err for 1.3 | 14:02 |
DanChapman | hmmmm | 14:03 |
DanChapman | it would appear i still have autopilot.emulators aswell need to check if i actually have 1.3 | 14:07 |
balloons | apt-cache show python-autopilot | 14:07 |
DanChapman | Version: 1.2daily13.04.09-0ubuntu1 | 14:08 |
balloons | indeed, that's still 1.2 :-) | 14:08 |
DanChapman | :D | 14:08 |
DanChapman | how do i get 1.3 then :) | 14:09 |
DanChapman | http://unity.ubuntu.com/autopilot/faq/faq.html says i should get it with apt-get install python-autopilot | 14:10 |
balloons | for raring (and apparently saucy still atm) you'll need to use the ppa | 14:11 |
balloons | ppa:autopilot/ppa | 14:11 |
DanChapman | ok thanks balloons | 14:12 |
balloons | sudo add-apt-repository ppa:autopilot/ppa | 14:12 |
balloons | sudo apt-get update && sudo apt-get dist-upgrade | 14:12 |
DanChapman | It gave me 1.2 again so turned off universe and that sorted it :D | 14:22 |
balloons | o really? | 14:23 |
balloons | morning chilicuil | 14:25 |
chilicuil | hi, balloons, good morning, rdy for the hackton ? =P | 14:26 |
balloons | SergioMeneses, so what's on the docket for you today? | 14:26 |
balloons | chilicuil, indeed | 14:26 |
DanChapman | yeah first off it did nothing so i removed python-autopilot then tried again and it pulled 1.2 from universe. So turned it off and tried again and sure enough finally 1.3 | 14:26 |
balloons | so DanChapman chilicuil I think I've solved our repo concerns.. or at least mine | 14:26 |
=== Ursinha is now known as Ursinha-afk | ||
balloons | I'm going to rename trunk series to development. Then I'll create a new series called production which will contain only 100% working good testcases, intended to be run via jenkins | 14:27 |
DanChapman | sounds good to me | 14:27 |
balloons | finally I'm going to make an examples branch to host the example code from the tutorials.. We may or may not keep it, but I'll do it for now | 14:27 |
chilicuil | balloons: +1 | 14:27 |
balloons | so those commit changes should be happening now | 14:28 |
balloons | chilicuil, we're using a pad to try and keep track of things :-) | 14:28 |
balloons | http://pad.ubuntu.com/CFXkuLR7Lb | 14:28 |
chilicuil | balloons: cool!, I'm there | 14:28 |
balloons | so basically you can see the porting efforts for each app.. I linked your branch to evince DanChapman | 14:29 |
DanChapman | ok cool | 14:30 |
SergioMeneses | balloons, I'm working with access points right now =/ | 14:30 |
SergioMeneses | nothing about qa | 14:30 |
balloons | SergioMeneses, I heard about the new job, but you didn't share details on what it was | 14:30 |
SergioMeneses | balloons, jejeje | 14:30 |
balloons | either way, congrats! | 14:30 |
balloons | sounds like some field work.. never a bad thing | 14:31 |
SergioMeneses | I'm working as sysadmin ...but we've had a lot of issues about networking and servers | 14:31 |
balloons | ohh sysadmin.. your going to learn a lot doing that | 14:31 |
SergioMeneses | balloons, I hope so jaja | 14:32 |
balloons | so chilicuil the pad is mostly autopilot centered :-) | 14:32 |
SergioMeneses | I'll be like chilicuil | 14:32 |
=== Ursinha-afk is now known as Ursinha | ||
chilicuil | yep, I've seen it balloons, I think I wont be able to help right now, at work I dont have a machine with unity =/, but when I come to home, I'll review what else is missing and do my part =P, in the meantime I'll review the autopilot guides =) | 14:35 |
chilicuil | SergioMeneses: good morning!, hope you have a nice day there =) | 14:36 |
balloons | chilicuil, I expect most folks will be around in about 4 hours | 14:38 |
balloons | so you'll be right on time ;-) | 14:38 |
balloons | and we'll hopefully have things sorted for them by then | 14:38 |
balloons | hehe | 14:38 |
DanChapman | balloons, is there a list of applications 'known' to autopilot without the need to register i can see | 15:00 |
balloons | DanChapman, http://unity.ubuntu.com/autopilot/api/process.html?highlight=known#autopilot.process.ProcessManager.KNOWN_APPS | 15:01 |
DanChapman | cheers :) | 15:02 |
balloons | have a look, there's a prod branch now :-) https://code.launchpad.net/ubuntu-autopilot-tests | 15:18 |
balloons | howdy Vasudevan | 15:48 |
balloons | Vasudevan, we've got a pad going with what's going on: http://pad.ubuntu.com/CFXkuLR7Lb | 15:49 |
balloons | btw, I realized my conversion to 1.3 with firefox uses the self.mgr = ProcessManager.create("BAMF"), self.mgr.start_app_window("appname" mantra.. I'll have to fix that :-) | 15:49 |
Vasudevan | balloons, Hi, ok, will join, I sent out a summary of what I observed yesterday to the list | 15:49 |
balloons | Vasudevan, indeed, I included it in the doc. It was helpful | 15:50 |
balloons | you'll see everything when you open the pad. We're just taking conversions one by one. In addition, I've made a stable production branch to use | 15:51 |
Vasudevan | cant log in - this is my first time - getting error - PAD has requested some personal information. Please choose what you would like to share: | 15:53 |
Vasudevan | OpenID Authentication Required | 15:53 |
balloons | Vasudevan, are you a member of etherpad? | 15:54 |
balloons | you should be if your a member of the testing team | 15:54 |
Vasudevan | I am using my launchpad creds | 15:54 |
balloons | gotcha.. all the boxes checked to send the creds it wants? | 15:54 |
Vasudevan | dont see any checkboxes ... | 15:56 |
balloons | Vasudevan, lp id? | 15:56 |
balloons | have you used etherpad before? | 15:56 |
Vasudevan | no - first timer | 15:56 |
balloons | Vasudevan, what's your lp id? We can add you in a sec | 15:58 |
balloons | sorry.. that's launchpad id I'm asking for | 15:59 |
balloons | lp=launchpad ;-) | 15:59 |
Vasudevan | vasudevank2@gmail.com | 16:00 |
balloons | Vasudevan, look at https://launchpad.net/~ | 16:02 |
balloons | it should say launchpad id: on that page.. that's what I need :-) | 16:02 |
Vasudevan | vasudevank2 | 16:04 |
balloons | perfect, your a member now, you should have access | 16:05 |
Vasudevan | ok, thanks | 16:07 |
=== salem_ is now known as _salem | ||
Vasudevan | balloons, I can see the shared workspace now, but can not scroll up, down or switch tabs or use the keyboard - it appears to be locked | 16:15 |
balloons | you could try reloading your browser.. you should be all good. | 16:16 |
balloons | if it doesn't work I can pass the details along to you | 16:16 |
Vasudevan | no luck - i am running firefox 21 - does it have liking for specific browser? | 16:18 |
balloons | lol.. I can't imagine but anything is possible | 16:18 |
balloons | I have the same.. ff 21 | 16:18 |
balloons | did you close the browser completely? | 16:19 |
balloons | I'm guessing it's confused by the session information from before | 16:19 |
balloons | fginther, so I have a question. if the app can't be introspected with autopilot and thus I'm left sending keystrokes to it instead, is using on using self.mgr = ProcessManager.create("BAMF") the best way to do that? I know you folks in the QT world never have this scenario, but :-) | 16:21 |
fginther | balloons, hmm. I guess that's the only alternative. The app isn't gtk or qt? | 16:24 |
balloons | fginther, it's gtk, but not everything behaves so well.. | 16:24 |
balloons | for example, try introspecting a big fat gtk app like libreoffice, thunderbird or firefox :-) | 16:25 |
balloons | now that pitti is here I hope we can crack some of those nuts, but we'll see | 16:25 |
fginther | balloons, ack, I was unable to introspect a simple python gtk app I constructed due to what look like bugs or missing features in autopilot | 16:26 |
balloons | fginther, exactly.. so having something to fall back on is nice | 16:27 |
=== _salem is now known as salem_ | ||
Vasudevan | is there a way to know at run time if the target app is of type gtk/qt etc? | 16:35 |
Vasudevan | i am very new to gtk/qt... | 16:36 |
balloons | Vasudevan, in general everything on the ubuntu desktop that we're trying to test is gtk | 16:38 |
Vasudevan | is that info part of introspection model or are there any external app manifests/yaml etc? | 16:38 |
balloons | however all of the unity next stuff, apps, desktop, etc are all moving to QT | 16:39 |
Vasudevan | balloons, ok, | 16:39 |
Vasudevan | so test cases with autopilot 1.3 would work for both types using proxy got from launch_test_application - is that a right assumption? | 16:42 |
balloons | Vasudevan, I believe 1.3 is agnostic in that regards now yes | 16:49 |
balloons | DanChapman, how is it going? | 16:49 |
DanChapman | balloons yeah going good here :) | 16:59 |
elfy | balloons: is apport and ubuntu-bug working properly yet from saucy? | 17:02 |
balloons | elfy, it's not turned on | 17:02 |
elfy | that'd be it then | 17:03 |
elfy | so - create bug and add it to isoqa | 17:03 |
balloons | I certainly had some fun crashes :-) | 17:03 |
balloons | but it was all related to the beta catalyst driver it seems | 17:03 |
balloons | or most of it | 17:03 |
elfy | well one of the forum mod's is crashing with wireless - which makes it even better fun :p | 17:03 |
elfy | balloons: mmm - so if it's not turned on will ubuntu-bug still try and create the reports they can use in a manual bug | 17:05 |
* elfy really should get back up to speed properly ... | 17:05 | |
balloons | elfy, the upload process isn't turned on yet. They don't usually enable it till after the sync is completed I believe | 17:14 |
DanChapman | uii | 17:14 |
elfy | ubuntu-bug seems to be working here - was being lazy - sorry balloons | 17:15 |
balloons | DanChapman, ready to merge? :-) | 17:16 |
Vasudevan | when using launch_test_application, ProcessManager.register_known_application call is required? | 17:17 |
DanChapman | just proposed | 17:18 |
balloons | sweet! | 17:18 |
balloons | DanChapman, ohh.. this case is a bit ugly, we should clean it up :-) | 17:20 |
balloons | alls those sleeps :-( | 17:20 |
DanChapman | yeah no probs :D | 17:21 |
balloons | use the Eventually matcher | 17:21 |
balloons | Vasudevan, you have to register all unkown applicatoins | 17:22 |
Vasudevan | reagrdless of the way it is started.. | 17:23 |
balloons | Vasudevan, you don't need to register it if you use launch_test_application | 17:24 |
balloons | you do need to register it if your using process manager (because you can't introspect the application and are forced to do it :-() | 17:25 |
balloons | http://unity.ubuntu.com/autopilot/api/process.html?highlight=register#autopilot.process.ProcessManager.register_known_application | 17:25 |
balloons | see the list ^^ | 17:25 |
balloons | Dan I'll wait for you to clean up those sleeps before merging | 17:29 |
Vasudevan | ok, yesterday I tried tweaking all these test cases to 1.3 API and was getting process-stderr: {{{Gtk-Message: Failed to load module "autopilot"}}}, RuntimeError: Unable to find Autopilot interface. etc | 17:29 |
DanChapman | balloons, ok on it now | 17:29 |
Vasudevan | using launch_test_application | 17:29 |
balloons | I'm close to pushing the firefox test also | 17:29 |
balloons | Vasudevan, if autopilot launch APPNAME fails, then you can't introspect it | 17:30 |
balloons | we can then file a bug to get support for the app, but if we want to have a test for it anyway, we can use autopilot without introspection. It definitely limits what we can do, but it is possible | 17:31 |
Vasudevan | it was launching allright, no further activity | 17:31 |
balloons | if the module fails to load, you can't introspect it | 17:31 |
balloons | what app was it>/ | 17:31 |
balloons | ? | 17:31 |
balloons | DanChapman, you can introspect evince so definitely want to convert that to using introspection | 17:33 |
Vasudevan | ran all the scripts - I will put one in pastebin - I can not use the public pad | 17:33 |
balloons | Vasudevan, why don't you just pick one to focus on for the moment? | 17:33 |
DanChapman | balloons I have made a start on introspecting it already but might take me a little while :D new tool and all that :D | 17:34 |
balloons | firefox and evince are being worked.. grab another one that interests you | 17:34 |
balloons | DanChapman, certainly.. there's a little curve to it, but it's not so bad once you get it | 17:34 |
balloons | it's much easier actually :-) | 17:35 |
DanChapman | Vasudevan have you made your self a member here? https://launchpad.net/~ubuntu-etherpad | 17:36 |
Vasudevan | here is the simple one for nautilus - http://paste.ubuntu.com/5694374/ | 17:37 |
balloons | DanChapman, I added him so he could get in | 17:38 |
Vasudevan | DanChapman, yes, balloons just added me, but I am not able to add my name or use the keyboard on that link for some reason | 17:38 |
Vasudevan | I can see the contents | 17:38 |
balloons | Vasudevan, ok what's this paste? | 17:39 |
Vasudevan | when I run the nautilus and other scripts, I get the runtime error | 17:39 |
Vasudevan | balloons, it is here - http://paste.ubuntu.com/5694374/ | 17:40 |
balloons | ok, gonna push the firefox test and start on something else | 17:40 |
balloons | Vasudevan, I don't see any run or error information in there | 17:41 |
Vasudevan | balloons are you able to run that script with out error? then it is my env. | 17:42 |
balloons | Vasudevan, ohh.. no, it doesn't work | 17:44 |
balloons | hmmm | 17:44 |
balloons | let's note that as a bug for the autopilot team to look at | 17:45 |
balloons | It *seems* like you can introspect nautilus but maybe you can't | 17:45 |
Vasudevan | it is pretty much the same code from the repo, havent done many changes from my side | 17:45 |
balloons | I don't see any introspection used in the app though | 17:45 |
Letozaf_ | Hello everyone | 17:45 |
balloons | Vasudevan, the code in the repo doesn't use introspection | 17:45 |
balloons | instead to convert without introspection you would use: self.manager = ProcessManager.create('BAMF') | 17:46 |
Vasudevan | yes - it was simply trying to create a new folder | 17:46 |
balloons | however that's a last resort not a first choice :-) | 17:46 |
Vasudevan | tried processmanager route too yesterday.. | 17:47 |
balloons | Vasudevan, it should convert just fine like that | 17:47 |
balloons | I hope the different makes sense to you | 17:47 |
balloons | Letozaf_, hello! | 17:47 |
Letozaf_ | balloons, hello | 17:47 |
balloons | we're working in this pad: http://pad.ubuntu.com/CFXkuLR7Lb | 17:47 |
balloons | I just finished up the firefox test, care to review it? | 17:48 |
balloons | https://code.launchpad.net/~nskaggs/ubuntu-autopilot-tests/firefox_autopilot_1.3/+merge/165419 | 17:48 |
Vasudevan | I was trying to see if it creates the folder and did not on my system | 17:48 |
balloons | Letozaf_, then we'll strike that off.. DanChapman is working on evince atm.. he converted it, and is now working on the introspection updates for it | 17:48 |
Vasudevan | Letozaf_, hello | 17:48 |
Letozaf_ | Vasudevan, hello | 17:48 |
Letozaf_ | balloons, fine, let me just enter IRC on my notebook | 17:49 |
balloons | kk | 17:49 |
Letozaf | balloons, here I am :D | 17:49 |
balloons | Letozaf, ok, I set you as the reviewer on that | 17:51 |
balloons | then you can dive into any app you wish ;-) | 17:51 |
Letozaf | balloons, on the firefox test :D | 17:51 |
balloons | yes | 17:51 |
Letozaf | balloons, ok, so let's review and dive :) | 17:51 |
balloons | DanChapman, so how is it going before I dive in.. need help with anything? | 17:54 |
balloons | Vasudevan, so why don't you make a nautilus1.3 branch and do the conversion and push it | 17:54 |
balloons | we can test and review and if you hit a specific issue we'll be able to help you out | 17:55 |
balloons | I think I'm going to tackle totem | 17:57 |
DanChapman | im good here for now balloons | 18:05 |
Letozaf | balloons, I ran the firefox test I had to review on my notebook but I get a failure : http://paste.ubuntu.com/5694474/ on test_browse_planet_ubuntu | 18:06 |
Letozaf | balloons, I will see if I find out what's the problem | 18:06 |
balloons | I see the problem | 18:07 |
Letozaf | balloons, if you run the test alone, it does not fail | 18:07 |
balloons | Errore di caricamento is a connection error? | 18:07 |
Letozaf | balloons, yes | 18:08 |
Letozaf | :D | 18:08 |
balloons | that's the error it gave | 18:08 |
balloons | run it again, should be fine :-) | 18:08 |
Letozaf | balloons, weired now it worked :O | 18:09 |
balloons | hehe, yea, it failed to load planet.ubuntu.com for some reason.. anyways, excellent | 18:09 |
Letozaf | balloons, :D | 18:10 |
Letozaf | balloons, so do you want me to approve the test or just add a comment and you approve it ? | 18:11 |
balloons | fginther, heh, I just noticed your paste.. you've got a couple slick utility functions.. _walk and _find :-) | 18:11 |
balloons | Letozaf, approve it if everything is good | 18:12 |
balloons | I'll do the merge work | 18:12 |
Letozaf | balloons, ok | 18:12 |
balloons | for everyone else: http://paste.ubuntu.com/5693940/ | 18:12 |
balloons | ^^ the _find function in there can work around the fact autopilot vis doesn't do so a thing | 18:12 |
fginther | balloons, thanks. It was just a quick solution to the problem of finding the object handles. | 18:14 |
Vasudevan | balloons, do I need to generate ssh key to push to launchpad? | 18:14 |
balloons | Vasudevan, yes.. Let me give you a nice link showing you how to do it | 18:14 |
balloons | https://wiki.ubuntu.com/QATeam/ContributingTestcases/Launchpad | 18:15 |
balloons | Vasudevan, go through that page and you should be all setup | 18:15 |
balloons | fginther, weird.. I'm having trouble with the _walk function though | 18:23 |
Letozaf | balloons, I aproved it | 18:23 |
balloons | the name argument on self._walk(c, name).. where does that come from? | 18:24 |
fginther | balloons, oops. s/name/text/ | 18:24 |
fginther | balloons, I should paste a new one | 18:25 |
balloons | fginther, lol.. makes more sense.. I was thinking you were getting the name of the property value or something | 18:25 |
balloons | :-) | 18:25 |
fginther | balloons, it does have a problem traversing the entire object tree. It hits what looks like a dbus timeout if it has to search through a large number of nodes | 18:27 |
Letozaf | balloons, are you guys working on lp:ubuntu-autopilot-tests or lp:~nskaggs/ubuntu-autopilot-tests/firefox_autopilot_1.3 | 18:27 |
Letozaf | balloons, well without the firefox... | 18:27 |
balloons | Letozaf, basically we're making a branch for the 1.3 conversions | 18:28 |
balloons | you can see them in the pad | 18:28 |
balloons | branch lp:ubuntu-autopilot-tests, make your changes, then push to your new branch | 18:28 |
balloons | and merge proposal once ready | 18:28 |
Letozaf | balloons, witch pad | 18:29 |
balloons | Letozaf, http://pad.ubuntu.com/CFXkuLR7Lb | 18:29 |
Letozaf | balloons, oh! thanks :) | 18:29 |
Vasudevan | balloons, bzr whoami is throwing error | 18:30 |
balloons | Vasudevan, what's it say? | 18:30 |
balloons | Letozaf, no worries :-) hehe | 18:30 |
Vasudevan | just uploaded public key | 18:30 |
Vasudevan | bzr: ERROR: Unable to determine your name. | 18:31 |
balloons | Vasudevan, bzr launchpad-login vasudevank2 | 18:34 |
balloons | then bzr whoami | 18:34 |
Vasudevan | yes that went through | 18:34 |
Vasudevan | when I do whoami, it shows error | 18:35 |
elfy | whoami fails for me as well balloons - in fact it gives an error | 18:35 |
elfy | tells you to set it up | 18:35 |
elfy | bzr whoami "Your Name <name@example.com>" | 18:35 |
balloons | you ssh key is not uploaded: vasudevank2 | 18:35 |
balloons | https://launchpad.net/~vasudevank2 | 18:35 |
balloons | ohh wait.. I lied, I see it :-) | 18:35 |
balloons | so what happens when you do bzr launchpad-login? | 18:36 |
balloons | elfy or Vasudevan ^^ | 18:36 |
Vasudevan | no error | 18:36 |
Vasudevan | no other msgs | 18:37 |
elfy | logs in fine balloons | 18:37 |
balloons | does this help? http://askubuntu.com/questions/152239/how-do-i-fix-bzr-error-unable-to-determine-your-name | 18:37 |
elfy | I assume anyway | 18:37 |
balloons | namely, bzr whoami "Jorge Castro <jorge@ubuntu.com>" | 18:38 |
elfy | balloons: but it's obviously ok as it let me get the testcases again | 18:38 |
balloons | elfy, the authentication is commit back :-)( | 18:38 |
balloons | you don't have to login to grab stuff | 18:38 |
elfy | well it failed the other day | 18:38 |
balloons | ahh | 18:39 |
balloons | no fun.. try the namely, bzr whoami "Jorge Castro <jorge@ubuntu.com" command and see if that works :-) | 18:39 |
balloons | but don't pretend to be jorge | 18:39 |
balloons | haha | 18:39 |
elfy | that works | 18:39 |
balloons | awesome.. so I guess update that wiki page to get it right | 18:40 |
elfy | I'll do it | 18:40 |
balloons | ty elfy :-) | 18:40 |
balloons | Vasudevan, everything working for you now also? | 18:44 |
balloons | Letozaf, how's gedit treating you? :-) | 18:44 |
elfy | balloons: all done | 18:45 |
Letozaf | balloons, :( mmm 4 failures ... | 18:46 |
* Letozaf is trying to solve them | 18:46 | |
balloons | elfy, perfect.. your all set now for contributing some tests :-) | 18:47 |
elfy | well that was the general idea - I'll be playing with some useful testcase over the weekend - I sort of have the syntax sorted in my head :p | 18:48 |
Vasudevan | balloons, bzr branch lp:ubuntu-autopilot-tests1.3 update nautilus and bzr push lp:ubuntu-autopilot-tests1.3 ? | 18:48 |
balloons | Vasudevan, yes so bzr branch lp:ubuntu-autopilot-tests | 18:49 |
elfy | balloons: you know the sort of thing - "Does sudo apt-get install xubuntu-desktop" work ... :p | 18:49 |
balloons | you'll get all the tests. Then do a bzr push to make your own branch for working on things | 18:49 |
balloons | bzr push bzr branch lp:~LPNAME/ubuntu-autopilot-tests/YOURBRANCHNAME | 18:50 |
elfy | so I could do the same for testcases I assume | 18:50 |
balloons | so for nautilus, something like bzr push lp:~nskaggs/ubuntu-autopilot-tests/nautilus_autopilot_1.3 | 18:50 |
balloons | then hack away and do bzr commit locally as much as you'd like | 18:50 |
balloons | when your all done you do a bzr push, and that pushes your code back to launchpad | 18:50 |
balloons | it'll show up on this page: https://code.launchpad.net/ubuntu-autopilot-tests | 18:51 |
balloons | along with everyone else's stuff and you can then propose a merge back | 18:51 |
Letozaf | balloons, I was trying to find the commit log of autopilot-gtk I wanted to see if the fix for the problem I was having yesterday has been merged | 18:54 |
balloons | Letozaf, ahh yes | 18:54 |
Letozaf | balloons, where is it :p | 18:54 |
balloons | actually I found a bug today in autopilot-gtk | 18:55 |
Letozaf | balloons, oh! so you mean introspection is not working ? | 18:55 |
balloons | Letozaf, can you link the bug | 18:55 |
balloons | no it was something really tiny | 18:55 |
balloons | an obscure function in autopilotprocessinwdow didn't work | 18:56 |
Letozaf | balloons, which bug | 18:56 |
balloons | http://bazaar.launchpad.net/~autopilot/autopilot/trunk/view/head:/debian/changelog | 18:57 |
balloons | Letozaf, I haven't filed the one I found. No introspection is working.. But some apps it doesn't work on as always, that's all | 18:57 |
balloons | Letozaf, I meant the bug you found that was causing you issues | 18:57 |
Letozaf | balloons, oh! but thomi yesterday was saying that there's already a patch to fix it, I mean the problem I was having | 18:59 |
balloons | ahh.. so we don't know the bug persay | 18:59 |
balloons | that's fine | 18:59 |
Letozaf | balloons,yes | 18:59 |
Letozaf | balloons, :( | 18:59 |
Letozaf | balloons, thomi also said that it should have been merged the fix I mean by now | 18:59 |
balloons | ahh.. then feel confident and move forward :-) | 18:59 |
balloons | this totem case is quite a mess, heh | 19:00 |
Letozaf | balloons, I think it could not be completed, do not remember why :( | 19:02 |
Letozaf | balloons, a lot of problems | 19:02 |
balloons | no worries.. we'll fix them up | 19:03 |
elfy | balloons: cool - I found the list of todo testcases - loads of xubuntu ones to do then :) | 19:03 |
balloons | elfy, indeed | 19:04 |
elfy | :) | 19:06 |
thomi | morning | 19:08 |
balloons | morning thomi | 19:10 |
balloons | so heh.. hope you've had your tea if you drink it | 19:10 |
thomi | I notice an awful lot of autopilot chatter here - any questions for me? | 19:11 |
balloons | I'm wondering if you could confirm a potential bug I found in autopilot-gtk. The autopilot.process.Window.geometry property fails with an error | 19:12 |
Vasudevan | balloons, done - bzr push lp:~vasudevank2/ubuntu-autopilot-tests/nautilus_autopilot_1.3 | 19:13 |
balloons | just try calling it.. I can probably whip something up for it | 19:13 |
balloons | Vasudevan, excellent.. does it work now with ap1.3? | 19:13 |
balloons | thomi that bug chatter above was for you, but I'm guessing you'll want the code example, which might be a bit | 19:14 |
Letozaf | thomi, you remember yesteday's error: self.assertThat(btn, NotEquals(None)) giving MismatchError: None == None it's still there, is the fix you were talking about merged ? | 19:15 |
Vasudevan | I changed to use launch_test_application and attempts to create a folder- it just launches and stays put; | 19:15 |
balloons | Vasudevan, ahh ok, so the conversion is done, but the test still needs work | 19:16 |
balloons | so keep going at it ;-) | 19:16 |
thomi | Letozaf: no, not yet | 19:17 |
Letozaf | thomi, ah! ok | 19:17 |
thomi | Letozaf: I'll hassle alesage to get it merged | 19:17 |
Letozaf | thomi, thanks :) | 19:17 |
Vasudevan | balloons - yes, I am getting the errors that I reported yesterday after conversion | 19:18 |
balloons | Vasudevan, ok, if your unable to figure out how to fix them, let us know | 19:18 |
balloons | we can branch your code and run it too to help if needed | 19:18 |
Vasudevan | I will try to see if it runs on the latest image instead of quantal if it makes a difference | 19:19 |
thomi | ahh, I just remembered that alesage is actually on holiday | 19:19 |
thomi | so I'll add that to my TODO list | 19:19 |
balloons | <3 | 19:19 |
Letozaf | thomi, ok I | 19:21 |
balloons | thomi, so I have a question. I think the self.assertProperty feature can let me know things about my app's window, including things like window count and child windows right? How can I know when a child window has spawned, say the 'open' dialog, etc? | 19:27 |
thomi | balloons: you don't need assertProperty for that - just do the select_single to find the open dialog box object, and then do soemthing like: | 19:27 |
balloons | in general, working with children windows was quite difficult before | 19:28 |
thomi | self.assertThat(open_dlg.visible, Eventually(Equals(True))) | 19:28 |
balloons | thomi, yea, the sadness is there often isn't a visible object for it.. or I'm crazy :-) | 19:28 |
balloons | I'll try that right now.. thank | 19:28 |
Vasudevan | balloons, this is the error since yesterday for nautilus and gedit also - http://paste.ubuntu.com/5694738/ | 19:30 |
Letozaf | balloons, I'm trying terminal test now, but I get this http://paste.ubuntu.com/5694745/ on test_save_a_file | 19:32 |
balloons | Vasudevan, well one issue here is that your running on quantal right? you really should develop this on raring or saucy | 19:32 |
Letozaf | balloons, that ""Unable to find Autopilot interface." thought I read something somewhere about it... | 19:32 |
balloons | can you use a vm if you don't want to upgrade? | 19:32 |
Vasudevan | balloons, ok then I will try that option | 19:32 |
balloons | Vasudevan, it would be best to eliminate any issues with quantal | 19:33 |
balloons | save some heartache | 19:33 |
Vasudevan | yes - i can use a vm - have just one laptop | 19:33 |
balloons | gotcha. yep, vm is perfect | 19:33 |
balloons | then you don't even have to worry about the test running wild ;-) | 19:33 |
balloons | ok so Letozaf yours is weird.. it loads the interface, then complains it can't find it? | 19:34 |
Letozaf | balloons, :( | 19:34 |
Vasudevan | balloons, can you point me to the location of the latest img for 13.10 cycle? i will bookmark it | 19:34 |
Letozaf | balloons, look like | 19:34 |
Letozaf | balloons, sorry looks like | 19:34 |
balloons | Vasudevan, http://cdimage.ubuntu.com/daily-live/current/ | 19:34 |
Vasudevan | ok, thanks | 19:35 |
balloons | yw | 19:35 |
asac | gema: nice ... i see a test passed on grouper smoke device ... does it mean there is breakthrough soon :)? | 19:36 |
balloons | Letozaf, so how are you doing? | 19:46 |
Letozaf | balloons, for gedit I will wait for the fix to be merged, for terminal still stuck on the error I pasted | 19:47 |
balloons | ohh right.. let's file a bug for that error | 19:47 |
balloons | and keep moving :-) | 19:47 |
Letozaf | balloons, the bug are you going to or do I have to report it ? | 19:48 |
balloons | Letozaf, if you would, that'd be great | 19:49 |
Letozaf | balloons, ok | 19:49 |
balloons | just put your paste output in there | 19:49 |
balloons | tag it with autopilot1.3 | 19:49 |
balloons | so we can track all the blocking bugs | 19:49 |
Letozaf | balloons, ok thanks | 19:49 |
balloons | ty! :-) | 19:49 |
Letozaf | balloons, yw | 19:49 |
balloons | I'm trying thomi's suggestion for finding the child window, but it's not working.. I'm trying to search, but it's timing out I think. Eitheir way it's not finding the window | 19:50 |
balloons | thomi, if I had to be hacky, how could I track window counts? got a better alternate approach? | 19:51 |
thomi | balloons: just in a call, one moment | 19:51 |
elfy | balloons: do you know what's happening about the schedule being redone to suit what we're going to be doing for saucy - I'm sure I heard someone in vuds saying that | 19:54 |
balloons | elfy, no.. I didn't see any changes as of yet | 19:55 |
balloons | but I too heard they were going to clean it up.. I was in that session | 19:55 |
elfy | k - didn't know if you had inside track - I'm subscribed to the wiki - makes it hard to plan if you're actually going to be doing the opt-in things :) | 19:55 |
Letozaf | balloons, Bug #1183536 | 19:56 |
ubot5 | bug 1183536 in Autopilot " Autopilot 1.3 raise RuntimeError("Unable to find Autopilot interface.")" [Undecided,New] https://launchpad.net/bugs/1183536 | 19:56 |
thomi | balloons: this is for a gtk app? | 19:58 |
balloons | thomi, of course :) | 19:58 |
thomi | balloons: bah :( | 19:58 |
thomi | balloons: you'll need the branch that fixes ap-gtk | 19:58 |
balloons | there's a fix for the issue.. as in I should be able to see the window? | 19:59 |
thomi | balloons: My guess is that you're hitting the bug in ap-gtk where the selection fails | 19:59 |
thomi | so you ask for a window that has XYZ properties, and autopilot-gtk refuses to give you anything | 20:00 |
thomi | however, that bug is fixed, and it's first up on my list to do to land it (after getting a coffee) | 20:00 |
balloons | thomi, well, it's hard to know exactly for sure. I do a selection and it fails. But I also can't find what I'm selecting in the list anywhere. fginther showed off a little _walk function to traverse the property tree.. It doesn't find it either, but it has issues with going to deep into the tree before blowing up :-) | 20:00 |
thomi | balloons: can you grab the branch with the fix and build it & install? | 20:01 |
balloons | ok, well I'll just finish the test assuming it will work and commit it to the branch for now | 20:01 |
thomi | balloons: and then re-try? | 20:01 |
balloons | thomi, I'm about tapped out for today.. I can wait if it's coming down the pipe :-) | 20:02 |
thomi | ok | 20:02 |
balloons | you don't need to feel any pressure before getting your coffee in :-) | 20:02 |
thomi | in that case... | 20:03 |
* thomi -> coffee | 20:03 | |
balloons | Letozaf, so I'm going to commit this and have a look at what's still out there | 20:03 |
Letozaf | balloons, I am trying screenshot now, let's see what happens | 20:04 |
Letozaf | balloons, 3 failures | 20:08 |
Letozaf | balloons, in screenshot I get this error : AttributeError: Class 'Root' has no attribute 'set_focus'. | 20:13 |
Letozaf | balloons, but with autopilot1.2 it worked, could it be the same problem we are waiting the fix for ? | 20:14 |
balloons | Letozaf, you can remove the focus stuff | 20:15 |
balloons | it was for non-introspection | 20:15 |
balloons | your setup can just have super(GtkToolbarTests, self).setUp() | 20:15 |
balloons | self.app = self.launch_test_application('totem') | 20:15 |
balloons | those couple lines :-) | 20:15 |
Letozaf | balloons, I already did it, but then without the focus stuff I get a OSError: [Errno 2] No such file or directory: '/tmp/shot2.png' | 20:15 |
balloons | push it up to your branch | 20:16 |
balloons | i'll pull it and look | 20:16 |
Letozaf | balloons, ok | 20:16 |
balloons | it's probably a timing issue | 20:16 |
balloons | it was so hacky.. we need to be able to detect child windows | 20:16 |
Letozaf | balloons, lp:~carla-sella/ubuntu-autopilot-tests/screenshot-ap13 | 20:21 |
balloons | Letozaf, I think I've got to tap out | 20:30 |
balloons | :-) | 20:30 |
balloons | it's late for you also | 20:30 |
balloons | we'll keep at this tomorrow and next week | 20:30 |
balloons | It's a long weekend here in the US | 20:30 |
Letozaf | balloons, ok, but what was the problem ? | 20:31 |
balloons | ahh.. let me confirm, one moment | 20:31 |
balloons | ahh.. yea, timing | 20:32 |
Letozaf | balloons, oh fine! | 20:33 |
balloons | should be trivial to fix once we can detect child windows | 20:33 |
balloons | it's basically all done, which is nice | 20:33 |
Letozaf | balloons, good :) | 20:33 |
balloons | you can drop this line at the top now too: ProcessManager.register_known_application("Screenshot", "gnome-screenshot.desktop", "gnome-screenshot") | 20:34 |
balloons | it's no longer needed | 20:34 |
balloons | alright with that, I'm going for good | 20:34 |
balloons | enjoy your night Letozaf | 20:34 |
Letozaf | balloons, ok thanks have a nice long weekend :) | 20:34 |
Vasudevan | bye balloons, will try these on the latest build and let you know... | 20:43 |
=== francisco is now known as Guest84395 | ||
=== salem_ is now known as _salem | ||
kotux | Hello, I didn't get to attend today's Hackfest. What has been accomplished today and what needs work? | 23:42 |
Noskcaj | kotux, use the irc logs. i'll try and find them | 23:54 |
Noskcaj | http://irclogs.ubuntu.com/2013/05/23/%23ubuntu-quality.html | 23:56 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!