/srv/irclogs.ubuntu.com/2014/02/17/#ubuntu-quality.txt

=== e11bits_ is now known as e11bits
knomeso.. boo :)02:12
knomeoops, wrong channel02:12
DanChapmangood morning all06:42
=== psivaa-afk is now known as psivaa
=== Ursinha is now known as Ursinha-afk
=== jackson is now known as Guest13784
=== Ursinha-afk is now known as Ursinha
=== vrruiz_ is now known as rvr
DanChapmanmorning disc0tech11:30
pittiGood morning14:13
senanDanChapman, Hi Dan15:45
senanDanChapman, need a help..menu is not still working :(15:48
balloonshowdy DanChapman15:50
DanChapmansenan hey, is it still not finding the item?15:51
DanChapmanballoons, howdy :-D15:51
DanChapmanhow are you?15:51
senanDanChapman, No dan..15:51
balloons:-) DanChapman think you'll have some time this week to look at disc0tech's MP?15:51
balloonsDanChapman: I'm sprinting again this week, heh15:51
senanDanChapman, BaobabWindow is not part of the GtkWindow that contains the menu15:52
DanChapmanballoons, sure can. I had a quick look yesterday and left a few comments on python3 complaining about tabs n spaces and some missing imports15:52
DanChapmanballoons, nice. Keeping you busy atm then. Where in the world are you this week?15:53
DanChapmansenan, yes thats right all menu's have there own GtkWindow instance.15:53
balloonsDanChapman: Calie-forni-ai15:54
* DanChapman is kinda jealous now. 15:54
DanChapmanballoons, I have an MP waiting if you get a chance at all this week. Its a test runner which i modified from the ubiquity one to run the desktop tests. Oh but i guess your on a smaller box atm, probably wait till your back from sprint15:56
balloonsDanChapman: yea, that's really the issue with being away15:57
balloonsDanChapman: ohh but you modified to run the desktop tests? awesome! I was planning on bringing them up this week with everyone. They need migrated over as well15:58
DanChapmanballoons, yes the runner is pretty cool and since jibel did an awesome job getting it to work for all flavors they can all jump in if they wish :-D16:01
senanDanChapman, how to resolve this issue.. in autopilot its working but in autpilot3 its not working16:02
DanChapmanballoons, it would be a good idea to get bugs created for the current tests as they all fail bar gedit either becasuse of python3 or changes to the apps since we last wrote them16:03
DanChapmansenan have you tried printing the menu items so you can see if you are selecting it by the correct label value?16:03
balloonsDanChapman: that's excellent news. I'll try and have a look.16:04
DanChapmanballoons, excluding the firefox test. BUt that ones just crazy anyway16:04
senanDanChapman, No I didn't16:04
balloonsDanChapman: :-) yea py3 conversion is a good point also16:06
elfyballoons: hi boss :)16:15
senanDanChapman, will simple print statement work ?16:16
DanChapmansenan it sure does. or you can use print_tree16:18
senanDanChapman, I'm getting syntax error while using print and print_tree16:21
balloonselfy: hello! good to hear from you16:37
disc0techDanChapman saw your MP comments, look like trivial to resolve, however I'm trying to get your TestRunner / QEMU / KVM working first... because I assume then I can find these issues myself?16:37
DanChapmandisc0tech, yes trivial little things :-) are you having problems with it?16:41
disc0techWell I lost about half a day on various qemu issues (apparmor problems, libusb conflicts and I had my /tmp mounted to RAM with noexec - which caused some strife)..  As of just now I have a working VM running through the trusty install..16:43
DanChapmanIt should be just a case of specifying your bzr branch in the config file then from the desktop-autopilot-runner directory run "./run-autopilot-test -T /path/to/config.cfg --test rhythmbox ~/path/to/iso"16:44
disc0techah yes, spent so long resolving random issues I forgot what I was supposed to be doing :)16:45
disc0techso the TestRunner spins up the virt for me...16:45
DanChapmandisc0tech, oh sounds a nightmare!!16:45
DanChapmandisc0tech, it sure does it boots into a live session, pulls in deps and test branch, runs tests and then collects all artifacts and pulls them back to /tmp/ubuntu_autopilot.tests16:46
disc0techwhat config file is the -T option referring to above?16:47
disc0techand does it INSTALL the ISO also?16:47
disc0techah sorry - found that in the readme16:48
DanChapmandisc0tech, just copy the one in desktop-autopilot-runner/config. Yes it install's the ISO but it's all cleaned up at the end all your left with is the test artifacts16:48
DanChapmandisc0tech, sorry it doesn't install the iso it's a live session. I was thinking of ubiquity then16:49
disc0techOK, that's fine, actually that makes a lot more sense16:49
DanChapmansenan what's the issue with print_tree()16:50
senanDanChapman, its working fine dan16:57
DanChapmansenan i can select the menu items fine with get_state_by_path("//GtkWindow//GtkAccelLabel[label='Scan Remote Folder...']")17:02
senanDanChapman, NameError: global name 'print_tree' is not defined17:02
senanDanChapman, wow17:03
cyphermox_hey, seems like https://jenkins.qa.ubuntu.com/view/Trusty/view/AutoPkgTest/job/trusty-adt-network-manager/ is having some issues downloading packages to run the adt tests, could someone please look into it?17:10
senanDanChapman, How do I import that17:13
DanChapmansenan import what?17:16
DanChapmanoh get_state_by_path..... just do self.app.get_state_by_path() it's an autopilot function17:17
senanDanChapman, But its not working for me17:19
DanChapmanwhats the output saying?17:19
thomiDanChapman: curious: why are you looking at get_state_by_path? it's probably not that usefulf or you17:19
thomi*for you17:19
senanDanChapman,getting  <senan> DanChapman, But its not working for me17:19
senan<DanChapman> whats the output saying?17:19
senanDanChapman, ValueError: Object 'dbus.Array([], signature=dbus.Signature('(sv)'))' does not have any recognised position attributes17:20
davmor2 sent out?17:21
DanChapmanthomi, hey o/ it's an annoying little issue trying to select a GtkMenuItem autopilot2.7 is selecting fine aautopilot3 can't find it. but i could select it with get_state_by_path so it is there, just gotta figure out why select_single isn't finding it17:21
thomiDanChapman: Iiiiiinteresting.17:22
thomiDanChapman: that sounds like something I should look in to - but I'm on a sprint this week, so i'm likely to be pretty busy17:23
thomiDanChapman: if you can select it in python2-land, but not in python3-land, that sounds like a bug17:24
senanDanChapman, why I am getting this NameError: global name 'print_tree' is not defined17:25
thomiDanChapman: maybe, if you don't find anything useful, you could file a bug against autopilot with instructions for how I can reproduce it17:25
DanChapmanthomi ok cool well i will see if I can pin point whats happening and If it is a bug i'll file one with a simplified testcase17:28
thomiDanChapman: thanks17:29
senanDanChapman, why i am getting this NameError: global name 'print_tree' is not defined17:29
DanChapmansenan, how are you using print tree?17:29
senanprint_tree(object_name)17:30
senanDanChapman, print_tree(object_name)17:31
DanChapmansenan ahhhh.... you need to use it on an object. for instance "window = self.app.select_single(GtkWindow)" and then call print tree on it so "window.print_tree()" which will dump it to console or you can print to file with window.print_tree("/tmp/tree.txt")17:32
senanDanChapman, he he.. I though its just like a normal function17:32
DanChapmansenan :-D17:32
senanDanChapman, http://paste.ubuntu.com/6949935/17:35
senanDanChapman,I did a  self.create_scan_folder_sub_menu_item = window.select_many('GtkCheckMenuItemAccessible')[0]17:35
DanChapmansenan ok so using that in your test does that select it ok now17:42
senanDanChapman, It will work dan, but Is it the right way ?17:43
DanChapmansenan so if that works I don't see why select_single('GtkCheckMenuItemAccessible', label="Scan Folder...") doesn't17:46
DanChapmansenan i'll give it a try17:46
DanChapmansenan this is perculiar select_many accepts it select_single doesn't18:04
senanDanChapman, hmmmm18:05
senanDanChapman, going to sleep.. nothing seems to work out :(18:08
=== TheLordOfTime is now known as teward
DanChapmanthomi, it's not a bug with autopilot it's down to crazy unicode characters like \u2026 not being the same as '...' (looks the same to me though) :-D19:47
thomiDanChapman: can you file a bug please? I'll try and get to it this week19:48
thomisounds like an easy fix,19:48
DanChapmanthomi, sure :-)19:51
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
balloonsping elfy22:46

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