/srv/irclogs.ubuntu.com/2013/11/19/#ubuntu-quality.txt

=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
pittiGood morning06:03
pittithomi: still online? got a few mins to discuss autopilot property notifications?06:03
thomipitti: yes, and yes :)06:03
pittithomi: still remember, I signed up for investigating whether we can have some textual "property change monitor" in AP so that you can immediately see which properties change when you do stuff06:04
thomiyup06:04
pittithomi: I have a PoC in https://code.launchpad.net/~pitti/autopilot-gtk/property-monitor/ which just statically turns this on at startup, and it's working very well06:05
pittiI haven't tested it with 10.000 widgets yet, want to measure the overhead; although that's hardly relevant06:05
=== chihchun_afk is now known as chihchun
pittiin a real case, I suppose you want to temporarily enable it for some window or even widget group only06:05
thomipitti: can you create a MP that's WIP so I can get an easy diff? I'm so lazy...06:05
pittias otherwise there are a lot of changes06:05
pittithomi: nah, too early06:05
thomiheh, ok06:06
pittithomi: so, for GTK it works in general06:06
pittithomi: I also investigated Qt, and there it won't06:06
pittithere is no general "property change" signal; properties can specify a signal when they change, but most don't06:06
thomioh :(06:06
thomihmmmm06:06
thomithat surprises me06:06
pittiand we of course can't poll each widget and each property 10 times a second06:06
pittithey are implemented differently in Qt06:07
pittiin GObject it's all dynamic, more or less a hashmap and a defined interface (g_set_property, etc.)06:07
pittiin Qt it's baked into the class, moc seems to turn property access into direct object member changing06:07
pittiand just seems to wire the explicitly specified signals around them06:08
pittiso, that's much faster of course, but prevents us from doing things like that06:08
pittithomi: so that's the status of the investigation06:08
pittithomi: now, my question is how to expose that to/in AP; right now the PoC doesn't change any API06:09
thomiso... QMetaProperty::notifySignal doesn't exist for most properties?06:09
pitticorrect, I checked06:09
thomi:(06:09
pittithomi: added a summary to https://blueprints.launchpad.net/ubuntu/+spec/community-t-testing-technologies06:09
pitti"only 81 out of the 626 defined widget properties have notifiers, and *none* of QWidget's properties have them, so it's not worth the effort; you would miss almost all of the interesting ones."06:09
thomiugh06:10
pittithomi: so I guess for Qt we need to think about alternatives06:10
pittithomi: but quite frankly, for Qt my personal experience is that it's not that hard to see which property changed, but which widget I'm talking to06:10
pittiif you have widget object names, all is well, but if you don't, then clicking through vis is a pain06:11
pittithomi: so for Qt I think the next best thing is to implement search06:11
thomiI guess at least search would work for both UI toolkits06:11
pittii. e. search for a string you see in the UI, that should lead you to the corresponding widget06:11
pittiyes; it's expensive as you have to traverse the whole widget tree, but that's fine of course06:12
pittiright now you have to manually traverse it, which is much more expensive (human-wise) :)06:12
pittithomi: so, for the prop mon, my current idea is:06:12
pittiadd a "MonitorProperties" method to the D-BUS interface with a boolean (on/off)06:13
pittiwhich would enable/disable the prop monitoring for that widget and all its current and future children06:13
pittithen in AP we have to add a method call around that, which checks whether that D-BUS method exists and fails with some "not supported" error if it doesn't06:13
pittior we add that to -qt as well and make it return a D-BUS error; but that would tightly bind the backend and AP versions together, so I think AP needs to get along with the method not existing either way06:14
thomiwe already expose qt-only extensions, I think we can follow the same pattern for gtk-only extensions06:15
thomibut yeah.. that plan sounds OK. I'd like to see support for it in vis as well, because I suspect that's going to be more useful06:16
pittithomi: oh, you mean not just sending the log to stdout, but over D-BUS and show it in vis?06:16
thomiindeed06:17
pittithomi: ok, that sounds like another argument then; often stdout is just what you want, much easier to grep and copy&paste from06:17
pittimethod call argument, I mean06:17
thomiright, but 1) what happens when the app you're running is on the phone, and you're on a laptop, and 2) what will you be copy/pasting? Seems like having the widgets show up in vis is going to be a more useful way to get data to your test. finally, i'd rather improve vis as the tool of choice for inspecting apps running under introspection than introduce a second tool06:19
pittithomi: MonitorProperties(u) with 0 = off, 1 = stdout, 2 = dbus?06:20
pittithomi: oh, it's not a second tool, it's the launched app itself which prints it (it's in libap-{qt,gtk}.so)06:20
pittithomi: it's much harder to run viz on a phone than to watch stdout..06:21
pittivis needs to go through X forwarding on your desktop06:21
thomivis would run on your laptop, I'd imagine06:21
pittithomi: you'd grep for property values or widget names, and copy&paste widget paths mostly (or complicated values maybe)06:21
pittithomi: right06:22
pittithomi: I'm not against sending it to vis, to the contrary; but I'd also like a simple stdout monitor06:22
thomiyeah, ok06:22
pittiso vis would call MonitorProperties(2), or MonitorProperties("signal"), and some other method in AP to enable to stdout would call (1) or ("stdout")06:23
pittienum vs. string, no strong preference06:23
thomistring would be my mild preference06:24
pitti*nod*06:24
pittithomi: ok, thanks; I'll keep this as a side project (I guess it's not that urgent)06:27
=== chihchun is now known as chihchun_afk
jibelGood morning07:52
=== chihchun_afk is now known as chihchun
pittijibel: can you reach d-jenkins.ubuntu-ci:808 ?08:18
pitti..."0"08:19
pittijibel: it worked this morning, but seems to have went AWOL about half an hour ago08:19
jibelpitti, I was 20min ago08:19
jibellet me check08:19
jibelpitti, if works.08:20
jibels/if/it08:20
pittihm; /me restarts openvpn08:20
=== iahmad is now known as iahmad|afk
pittistill no luck08:21
jibelpitti, can you resolve its name? is 10.98 in the routes when the vpn is up? can you ssh to it or another host in the lab?08:24
pitti$ host d-jenkins.ubuntu-ci08:24
pittid-jenkins.ubuntu-ci has address 10.98.3.608:24
* pitti updates his old IPs in .ssh/config08:25
pittijibel: I can ssh to alderamin, yes08:26
jibelpitti, only tachash is unreachable?08:26
pittijibel: I meant, can you reach http://d-jenkins.ubuntu-ci:8080/job/trusty-adt-python3.3 ?08:26
jibelpitti, yes, amd64 failed08:26
pittijibel: whatever tachash is, it pings08:26
pittijibel: I get a "connection was reset" error in firefox08:27
jibeltachash = d-jenkins08:27
pittijibel: WTH, it works with wget, but not with firefox08:28
pitti... and now it works again in ffox, too08:28
pittiNFC08:28
pittianyway, thanks!08:28
jibelpitti, yw, new lab's magic08:28
jibeland apparently network is still terribly slow08:32
sigurdHi, im writing for a norwegian technincal magazine. Is there any Norwegian developers for ubuntu mobile apps?08:55
=== iahmad|afk is now known as iahmad
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== vrruiz_ is now known as rvr
jibelpitti, I'll stop apport test on amd64 and re-run it. It downloaded 2.12.6 instead of 2.12.7.10:41
jibelI don't know what's going on with the lab :/10:41
pittijibel: ah, thanks;  2.12.6 is indeed broken with dpkg10:41
pittibut britney ought to have requested a test for .7, right?10:41
jibelpitti, right and that's what has been tested on i38610:42
jibeland it takes nearly 1.5h to run the tests instead of 20min10:44
=== chihchun_afk is now known as chihchun
=== Ursinha-afk is now known as Ursinha
DanChapmanGood morning all11:09
=== chihchun is now known as chihchun_afk
DanChapmanjibel, just looking at your pep8 MP. what is the pep8 line length now?, so i can change it, my editor seems to say that the line lengths are ok after running its internal pep8 code insepection.11:16
pittihey DanChapman11:17
pittiDanChapman: ah, fighting with this annoying antiquated 79 char limit? :/11:17
jibelDanChapman, I think it's the default 79 characters for ubiquity11:17
pittiTBH I run most of my tests with --ignore E50111:17
jibelxnox, do you confirm? ^11:17
xnoxjibel: yeah, it's the stock 79.11:18
jibeltests/run-pep8 doesn't exclude any rule11:18
DanChapmangood morning pitti, I am indeed, Wow 79 my editor warns at 120, i'll change that11:18
DanChapmanjibel, xnox thanks :-)11:18
pittibreaking lines at 79 chars makes some stuff really hard to read IMHO11:19
xnoxpitti: imho 79 is still good for doing split buffer vertically.11:20
xnoxmaybe when I get high-resolution displays..... =)11:20
pittixnox: I agree that it's nice for most stuff, to avoid putting too many constructs into one line11:20
pittibut I really hate pointless string splitting just because it makes the line 85 chars or so11:20
xnoxtrue.11:21
pittiit's harder to read, breaks grep and similar tools, and is error prone11:21
xnoxhm, my computer doesn't like my usb webcam. let's see if notebook works.11:21
DanChapmani thought it had recently been extended in pep8??11:21
jibelwith 79 I can open 3 editors side by side :)11:23
=== _salem is now known as salem_
pittijibel: ah, wazn is back on?11:51
pittijibel: python-glanceclient/amd64 failed again on the dreaded marshalling error on python package import11:51
pittisomehow this node is cursed11:52
DanChapmanjibel, just a quick one when you get a chance https://code.launchpad.net/~dpniel/ubiquity/fix_1252215/+merge/195756 :-)11:59
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
DanChapmanxnox, when creating a partition say 200MB when closing the partition dialog it drops to 199MB in the treeview (which there is bug 1164783 for it), but if you actually look in gparted after the install its down to 190MB. Should i expand that current bug or create a new one?12:14
ubot5bug 1164783 in ubiquity (Ubuntu) "during manual partitioning, the size is off-by-one, this causes unexpected resizing" [Medium,Confirmed] https://launchpad.net/bugs/116478312:14
xnoxDanChapman: there could be a bug in rouding and units.12:25
xnoxDanChapman: the partitions are rounded up to nearest cillinder and one view is done in base10 and the other view is done in base2.12:25
xnoxDanChapman: the treeview should match the dialog, sans rounding.12:25
xnoxDanChapman: so the off by one is a bug. the 200 -> 190 sounds more like base10/base2 conversion.12:26
DanChapmanxnox, ok thanks that makes more sense, it did seem a rather large difference :-) thanks12:27
pittijibel: for bug 1137763, WDYT about http://paste.ubuntu.com/6442541/ ? does that look like what you had in mind?12:27
ubot5bug 1137763 in autopkgtest (Ubuntu) "Add a way to collect test artifacts from the testbed" [Medium,In progress] https://launchpad.net/bugs/113776312:27
pitti(and yay for alioth still being down -- I'm sitting on 14 commits now which I can't push..)12:28
jibelpitti, access to ftpmaster is fixed and I brought it back. it is also running dkms tests and it cannot stay offline too long12:34
jibelit could be a bug in saucy? kernel or qemu?12:34
pittijibel: ah, thanks; so wazn is still saucy, while the others are precise?12:34
jibelpitti, yes it is. I asked to upgrade it from Raring, because raring is EOL in 2 month and it would be a bad timing for an upgrade12:35
jibelit's better to do it early in the cycle12:35
jibelupgrading to raring while others are on Precise was a mistake IMO12:36
jibelDanChapman, Looks good, thanks12:39
jibelpitti, Excellent. It's similar to what I did for Firefox which only works because host and guest are the same host. Thanks!12:43
jibelgrrr "Hash Sum mismatch" again, this network problem in the lab is killing me.12:58
jibelpitti, apport failed again, but this time on i386, I'll force the results to pass12:58
jibelsince it passed on both arch but separately12:58
pittijibel: hm, it already propagated to trusty13:00
pittijibel: I thought the tests passed, but it forgot to send me mail about "jenkins fixed"13:01
jibelpitti, uh13:01
jibelit didn't send you an email because it never passed13:01
pittijibel: I ripped out the whole AutoFile magic and replaced it with something much simpler to understand and maintain, so I can now say I understand most of what adt-run is doing :)13:01
jibelpitti, that's good news, really sad for AutoFile, it was such a nice piece of magic :)13:02
balloonsmorning chilicuil13:38
* DanChapman waves to balloons13:39
elfyballoons: have fun with uds - shall catch up this evening with what's happened13:42
* balloons waves to DanChapman and elfy 13:45
* elfy goes back to work 13:47
chilicuilmorning balloons and everyone =)13:47
balloonschilicuil, I'm not on the map :-( http://people.ubuntu.com/~chilicuil/ubuntuqamembers.html13:47
balloonsnor is nz?13:48
balloonslooks very cool though13:48
* elfy wonders who it is that's in London 13:48
chilicuillol balloons it seems the google api also hates you xD, the true is that the script makes the marks from the Time Zone data in lp, so it's far from being exact, not sute if you have a tz configured in you lp account13:49
balloonsahh! gotcha13:50
chilicuilalso, if more than one member is in the same tz it will only print the last one, I know it's really bad as it's now, if you know from a better place from taking initial data I'd like to hear from it13:55
balloonsright.. timezones make sense.. how else would you have any idea where we are from :-)13:57
DanChapmanballoons, i will be a little late to the community workflow session, but i will be there asap I want to get in on that session14:33
balloonsDanChapman, no worries.. Jump in the hangout whenever you pop up :-)14:33
DanChapmanballoons, will do :-)14:33
knomeballoons, i'll be around, but not in the hangout itself.14:39
balloonsparticipation in any capacity is most appreciated ;-)14:40
balloonsso ty knome14:40
knomenp14:40
knomeballoons, boo for not having the youtube link ready :)14:58
knome(i don't like the uds. -page too much, waiting to get rid of that ASAP)14:58
balloonsknome, the link is up now :-)15:00
* knome bows15:00
pittijibel: meh, hash sum mismatch again on http://d-jenkins.ubuntu-ci:8080/job/trusty-adt-apport/21/ARCH=i386,label=adt/console ; worth trying again?15:11
jibelpitti, doko uploaded a new gcc and it is retesting the world. I'll check failures afterwards and retrigger what is necessary15:13
pittijibel: ah, ok (not sure apport would trigger on gcc, but let's wait)15:13
jibelor force when required15:13
pittijibel: I'm not blocked on it, it already migrated15:13
pitti(although it shouldn't really have)15:14
=== salem_ is now known as _salem
=== LordOfTime is now known as TheLordOfTime
senanDanChapman, Hi15:54
senanDanChapman, Can you review my code..I just pushed the new changes15:55
=== _salem is now known as salem_
=== jamespag` is now known as jamespage
senanDanChapman, Hello16:14
=== pgraner` is now known as pgraner
balloonsugh.. what a morning.. how's uds or everyone/17:10
TheLordOfTimeballoons: apparently people are having issues with the hangouts17:11
TheLordOfTimejudging from what i've seen in -uds-community-117:12
TheLordOfTime(i'm lurking in prep for the one session i'm showing up in)17:12
balloonsTheLordOfTime, that's why I was saying ugh, heh17:16
TheLordOfTimeballoons: heh.17:16
balloonsI think it's sorted for the merger hangout17:16
TheLordOfTimeballoons: i think everything will work for me, chrome seems to behave on linux with hangouts :P17:16
TheLordOfTimebut as the merger hangout is all i'm attending i haven't actually "tested" yet17:16
elfyballoons: I should manage to lurk for that one17:19
balloonselfy, k17:25
balloonshello Letozaf_17:31
Letozaf_balloons, hi17:32
Letozaf_balloons, I saw the first UDS QA session about roles, the registered one, couldn't make it on time17:32
balloonsLetozaf_, yea, no worries. Hangout troubles this morning, most everything is in IRC :-)17:33
balloonsthe irc log I should say17:33
Letozaf_balloons, yeah saw that17:34
dkesselgood evening :)18:29
elfyhi dkessel18:40
balloonsty everyone who came out to the sessions today :-)20:02
elfyballoons: useful stuff20:07
balloonselfy, glad you thought so20:14
knomeall was just bollocks20:14
knomeespecially everything those knome and balloons guys said20:14
knome:<20:14
balloonshaha.. it was a crazy day for me.. I'm sure I sounded like a maniac20:16
knomeit was fine, and the background noise wasn't really *too* bad20:17
knomeexcept when some guy laughed near you, but luckily he wasn't having too fun20:17
balloonsI couldn't decide if inside or outside was better20:17
knomeis your internet working now?20:18
elfyoutside is best if you spend your day inside20:19
knomeit's dangerous to take balloons outside, they will fly far if you lose your grip of them20:20
knomeaharharhar.20:20
balloonsI stayed outside mostly20:26
balloonsbut it was windy and I was fearful20:26
=== salem_ is now known as _salem

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