/srv/irclogs.ubuntu.com/2013/09/26/#ubuntu-quality.txt

=== Ursinha is now known as Ursinha-afk
=== _salem is now known as salem_
=== Ursinha-afk is now known as Ursinha
=== chihchun_afk is now known as chihchun
=== salem_ is now known as _salem
pittiGood morning05:29
pittithomi: what's up?05:29
thomihi pitti05:29
thomipitti: ummm, I think I got someone else to answer my question05:30
thomiwhat's up with you pitti anyway?05:31
pittithomi: how do you mean?05:32
DanChapmanmorning all05:32
thomidunno, was hoping you'd distract me with exciting takes from mainland europe :)05:32
pittithomi: me being back in the one and only timezone? :-)05:32
thomihi DanChapman05:32
jibelGood morning05:32
thomipitti: exactly05:33
DanChapmanhey thomi05:33
pittibonjour jibel, comment vas-tu ?05:33
thomihey jibel, do you know how to un-stick the daily-release jobs?05:33
thomilast time I looked, some job had been going for like 6 hours or so, blocking everything else05:34
jibelpitti, ça va bien et toi?05:35
jibela bit less fine since thomi asked a question about daily release05:35
jibel:)05:35
jibelthomi, which job ?05:35
jibelthomi, good evening05:35
pittijibel: hah05:35
thomijibel: ummm, will have to find it again - actually, don't worry about it. I'm about to EOD, and I'm sure the european CI crew will find it05:36
pittijibel: je vais bien, mais après le premier Taekwondo hier j'ai les muscles endoloris :)05:37
jibelthomi, okay, it was just to make sure I'm in a bad mood to start my day ;)05:44
thomijibel: sorry05:45
DanChapmanthomi, if I want to patch an environment var in an autopilot test. Do I just set the LC_ALL environment var?  something like .patch_environment("LC_ALL", "zh_CN.utf8") and would this cause the x11 keyboard input to change?07:09
DanChapmansorry set locale environment var07:09
thomiDanChapman: yeah, using 'self.patch_environment' will affect just that one test, and only processes that are spawned after you make that call07:10
DanChapmanthomi, awesome cheers. :-)07:11
thomiyw07:11
jibelpitti, autopkgtest 2.3.5 didn't fix the timeout issue with firefox and bluez. I think it must kill process tree not only 'tee's. I'm testing something but FF takes a while to run.07:52
pittijibel: you can specify --timeout-test=20 or so to make it fail quickly08:00
pittijibel: but weird, in the ps tree that you had yesterday it was the stdout/err tee child which hung08:00
pittijibel: is that VM still running somewhere where I could have a look?08:00
jibelpitti, it is running on wazn08:02
jibelpitti, $(ps a -ocmd|grep ^ssh) should connect you to the vm08:02
jibelpitti, you can restart adt-run in the vm if you wish08:03
pittijibel: I'm in, looking08:03
pittijibel: there's also the "tee" program from this Errplumb thing (which I don't really understand yet)08:04
pittiso it seems right now all processes are still running, the topmost adt-run doesn't want to die yet08:04
pittijibel: but that only started about an hour ago, so it shouldn't time out yet?08:05
pittijibel: what's confusing is that there are two adt-runs, one from 06:59, the other from 07:3908:05
pittijibel: looks like it still has some trouble with the session manager?08:10
pittihttp://10.98.0.1:8080/job/saucy-adt-firefox/ARCH=amd64,label=adt/164/console08:11
pittithat still seems to be right in the middle of tests08:11
pittijibel: I'm tailing the log files, there's still some actual progress there08:19
=== iahmad is now known as iahmad|afk
jibelpitti, it should hang at the end of the browser test08:21
pittijibel: ok, so let's check in about 3 hours when the timeout is due?08:21
jibelpitti, yes08:21
slickymastermorning all08:59
=== iahmad|afk is now known as iahmad
jibelpitti, FYI firefox test is stuck on wazn10:11
pittijibel: hm, did you kill it?10:12
pittijibel: just logged into wazn, there's no kvm running10:12
pittiah, jenkins still thinks it's running on http://10.98.0.1:8080/job/saucy-adt-firefox/ARCH=amd64,label=adt/164/10:13
jibelpitti, no I didn't touched it10:13
jibelpitti, it is a manual run not visible on jenkins10:13
pittijibel: nevermind, silly me10:13
jibelssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o CheckHostIP=no -i /home/auto-package-testing/cache/disks/adtkey -p 54326 -l ubuntu localhost10:13
pittijibel: yes, I see it; forgot the "a" in ps, sorry10:13
jibelnp :)10:13
pittiadt-run1: testbed executing test finished with exit status 010:17
pittihm, that's the last line10:17
pittijibel: did you start this from a shell? I guess it didn't show any kind of exception or something?10:18
jibelpitti, this is the output on the terminal http://paste.ubuntu.com/6158145/10:19
jibelthere is an exception but for firefox's runner10:19
jibelit shouldn't interfere with adt-run itself, just fail the test IMO10:20
jibelthe test ended actually INFO | runtests.py | Running tests: end.10:20
pittiok, so that seems to reflect the log file10:22
pittiso it seems it didn't actually bomb out10:22
pittijibel: does your command continue to run now?10:36
pittijibel: I killed the hanging tee for stdout which was stuck on a read() call10:37
pittijibel: I have an idea what happened there, will try to reproduce in a test10:37
=== iahmad_ is now known as iahmad|afk
pittijibel: but either way, I know how to make this more robust so that it never hangs10:37
pittijibel: ok, should be fixed now; fixing a build failure on lucid/precise/wheezy, then uploading .610:50
pittijibel: 2.3.6 uploaded11:16
davmor2Morning all11:20
jibelpitti, sorry, lunch time. The command continues11:20
jibelpitti, thanks, I'll retry with 2.3.6 when it is in Ubuntu11:20
pittijibel: dejeuner> ici aussi maintenant :)11:21
infinityOh hey, I'm in this channel.  Look at that.12:04
infinitySo, is anyone testing the current lubuntu images?12:04
smartboyhw<phillw> I've noticed.... and tests are being run.12:07
smartboyhwinara, ^12:09
smartboyhwOops12:09
smartboyhwinfinity, ^12:09
=== _salem is now known as salem_
balloonsjibel, coming mate?14:02
elopiohello!14:05
balloonshowdy elopio :-)14:09
balloonsjibel, DanChapman http://pad.ubuntu.com/k6nvveLDHX15:14
balloonsplease add anything I missed, etc15:14
jibelpitti, I get http://paste.ubuntu.com/6159102/ after running apport-cli on a phone and asking it to retrace any idea what I did wrong?15:14
balloonselopio, how's https://code.launchpad.net/~elopio/qtcreator-plugin-ubuntu/uitk_base_class/+merge/187313 coming?15:18
jibelballoons, thanks15:21
balloonscan someone who is running saucy cofirm something for me? if you ctl+alt+numpad 7 does your window snap to the upper left? And if so, does pressing it again scale it smaller in the upper left?15:28
balloonsweird, the grid cycle settings got reset..15:30
davmor2elopio: Morning good sir15:43
pittijibel: not immediately; what's the command line? Do you use -S system ?15:54
=== mzanetti is now known as mzanettifd
=== mzanettifd is now known as mzanetti
=== chihchun is now known as chihchun_afk
cgoldbergmhall119, hey... for getting documentation into developer.ubuntu.com/api  .... do you have a generic html importer?  or do I need to write a special one for autopilot like import-autopilot.py ?  I'm tweaking the Autopilot docs and want to try importing them "as-is"... importer just needs to strip the html <head>16:50
mhall119cgoldberg: you'd need to write an import-autopilot.py, but if there's not much work to do on the content it can probably follow import-juju.py pretty closely16:51
cgoldbergmhall119, ok.. will do.16:52
cgoldbergmhall119, so how does the deploy process work once the command is implemented?  basically how does the import-autopilot get called, and where would docs need to reside?16:52
mhall119cgoldberg: we haven't finalized that yet16:53
mhall119currently I branch and build on my laptop, then scp the generated docs to our staging canonistack server, then run the django manage.py commands to import them16:54
cgoldbergmhall119, so I should run a local version of ubuntu-api-website to view the generated docs?17:00
cgoldbergfor testing/tweaking17:00
mhall119cgoldberg: that's the easiest yeah17:01
mhall119setting up a dev instance is simple, just plain virtualenv and django runserver17:01
mhall119everything you need should be in the README17:01
cgoldbergmhall119, great.. thanks17:02
DanChapmanballoons, jibel i'm just trying to test all the languages are unicode but the type being returned is  <class 'autopilot.introspection.dbus.String'>.  Not sure what to do with it17:39
balloonsDanChapman, what properties does it have?17:43
DanChapmanballoons: i'll just check17:49
DanChapmanballoons: it is already a property its the GtkTextCellAccessible.accessible_name.17:53
DanChapmanwhich in effect a GtkLabel.label value, as ATK uses the label value if a parent widget has a GtkLabel as a child17:55
balloonsDanChapman, so heh, sorry I was kneedeep in my own autopilot fun. So are you ok, or stuck?18:54
DanChapmanballoons: more confused at the moment. See if I get a GtkTextCellAccessible.accessible_name property and then do .encode('UTF-8') for some weird reason i get <type str>, so then i suppose i can just stick u'' in front of them all. But this feels a bit wrong18:58
balloonsI really dislike unicode and python18:58
balloonsI've given up trying to get it right18:59
balloonsDanChapman, I've got stuck on similar things.. autopilot is moving to python 3 which should be the magic pixie dust we want ;-)18:59
DanChapmanso if I stick 'u' in front of each str and then just do an IsInstance on it to test its unicode would that be enough for now?19:01
DanChapmani've read unicode is supposidly alot easier with py319:02
DanChapman:-)19:02
DanChapmanscrap that it don't work lol19:05
balloonsDanChapman, sadly I'm not pythonic enough to help.. thomi will be around shortly and he is a king of python.. I'm sure he'll have a proper answer19:06
cgoldbergballoons, if you haven't seen this presentation, it's very helpful:  http://nedbatchelder.com/text/unipain.html19:11
DanChapmanballoons: I've got to shoot now, i will try and grab him in the morning.19:12
balloonsDanChapman, bookmark cgoldberg 's link too.. looks useful19:12
* DanChapman has bookmarked19:12
balloonsDanChapman, umm as far as timing, hmm..19:13
balloonsthomi is in NZ, so :-)19:13
balloonsthat's a hard one for UK'ers19:13
DanChapmanits not so difficult with a two year old ;-) 5 am is the norm for me19:13
balloonshaha! alrighty then19:14
DanChapmananyway catch you all tomorrow. Night folks19:14
balloonsnight DanChapman !19:14
balloonsletozaf, how are you?19:53
letozafballoons, hello19:54
letozafballoons, I'm quite fine and you ?19:55
balloonshungry.. :-) hah! Just looking through some of the unconverted autopilot apps19:55
balloonsYou up to try another conversion and test writing?19:55
letozafballoons, I got stuck a couple of times, once  with sudoku app integrating emulator I'm doing something wrong, can't figure out what :( , then the rssreader app, the next button adding a feed has dissapeared19:58
balloonsletozaf, yes, I'm trying the sudoku app now because I've been trying to add click support for it, so, I'll cover that one :-)19:59
=== salem_ is now known as _salem
letozafballoons, ok19:59
balloonsthe rssreader has a known bug, as you said, so it's good for now. However, the doc viewer devs just said 2 tests are unblocked19:59
balloonshttps://bugs.launchpad.net/ubuntu-docviewer-app/+bug/118837320:00
ubot5Ubuntu bug 1188373 in Ubuntu Document Viewer App "Autopilot Testcase Needed: Test opening a PDF file" [Undecided,Confirmed]20:00
balloonshttps://bugs.launchpad.net/ubuntu-docviewer-app/+bug/118876220:00
ubot5Ubuntu bug 1188762 in Ubuntu Document Viewer App "Autopilot Testcase Needed: Test PDF file meta-data" [Undecided,Confirmed]20:00
letozafballoons, ok I will try this one then20:00
balloonsI noticed the tests also need converted to the sdk.. I've not looked further, but ;-)20:00
balloonsit can only be exciting right?20:00
letozafballoons, sure :p20:02
thomimorning20:12
balloonsmorning thomi20:25
thomihey balloons, what's up?20:25
balloonsnot much any longer.. updating some old autopilot tests and playing with click.. poor DanChapman was being roughed up by unicode.. I told him I would have to defer as unicode and python is lost on me20:26
thomiballoons: unicode and python is a PITA in python2, but much much easier in python320:47
balloonsthomi, yea, that's pretty much what I shared. python3 is magic pixie dust and autopilot is migrating to it20:49
thomiballoons: s/is migrating/has migrated/20:49
balloonswell, we need to just use 1.420:50
thomiballoons: I mean, you still need to think about what you're doing, it doesn't remove that obstacle20:50
balloonsnew answer right :-)20:50
thomiooh, which reminds me....20:50
* thomi files a bug20:50
thomibefore I forget20:50
=== Ursinha is now known as Ursinha-afk
=== _salem is now known as salem_
=== Ursinha-afk is now known as Ursinha
phillwHi, did beta-2 go out yet?21:37
knomeno21:38
phillwokies, thanks, was worried I'd un-subscribed from too many mailing lists! Catch you all later :)21:39
thomiveebers: could you please review this for me? https://code.launchpad.net/~thomir/autopilot/trunk-add-wait_select_single/+merge/18793722:13
veebersthomi: sure, I'll do that now22:14
veebersthomi: all the 1.4 autopilot bits live in ppa:autopilot/experimental right?22:15
thomiveebers: for now, yes22:15
veeberscool, thanks22:15
veebersthomi: Initial thought is the timeout should be mentioned in the intial docstring sentence lines: 48-51. I.e. . . . until a valid object is found or the timeout is reached22:17
thomiveebers: ok, will fix that now22:18
veebersthomi: also in the docstring of that method, it states the param type_name, but not what's expected in **kwargs22:19
thomiveebers: that's probably because **kwargs is free-form. I wanted to avoid copying the entire docstring from select_single22:20
thomibut I'll copy that part as well22:20
thomiugh, fuck it, I'll rewrite the whole thing22:20
veebersfair enough, just found it odd that one param is documented but not the second. Perhaps just a one-liner stating "**kwargs is the same as select_single or something22:20
thomiveebers: docstring updated22:27
thomiand pushed22:27
veebersthomi: awesome22:27
thomiveebers: just saw another issue, don't approve yet22:32
veebersthomi: ack22:32
thomiveebers: ok, pushed revision 34122:33
thomiveebers: erp, spotted another issue :-/22:36
veebersthomi: heh, I'm just waiting for dist-upgrade so I can run tests22:36
=== salem_ is now known as _salem
veebersthomi: I thought it was :py:meth: not :py:met:?22:37
thomiveebers: exactly :)22:37
veebersah, I see :-)22:37
thomiveebers: ok, fix pushed22:38
thomiveebers: in this MP, those docstrings aren't actually parsed, but I'm preparing a second MP that does parse those...22:38
veebersok sweet, I've gotten into the habit of writing docstring in that method regardless if they're parsed or not :-\22:39
thomiwell, the autopilot docs need some attention22:39
thomiideally we'd parse everything, and make the navigation a bit better22:40
thomiveebers: second MP is here: https://code.launchpad.net/~thomir/autopilot/trunk-fix-docs/+merge/18795122:57
thomiveebers: any progress with those MPs?23:17
veebersthomi: Just finished running the tests for the first one23:18
veebersapproved23:18
veeberslooking at the 2nd now23:18
thomiheh, I wonder if I can produce MPs faster than you can review them?23:19
thomimaybe if I stopped reading the 'nets :)23:19
veebersthomi: line 116, why is it ``QPushButton`` and not "QPushButton"?23:21
thomiveebers: because... that's how sphinx works?23:22
thomi``foo`` makes it a keyword23:22
thomiand is rendered as monospace font etc23:22
veebersthomi: ah ok I see23:22
thomiI tend to use it for class names etc23:22
veebersthomi: sweet. Approved23:23
thomithanks23:23
thomiwill have another one for you soon23:23
veebersnw, sweet23:25
thomiveebers: another MP for you: https://code.launchpad.net/~thomir/autopilot/trunk-support-point3d/+merge/18795423:36
* veebers looks23:39

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