/srv/irclogs.ubuntu.com/2012/06/13/#ubuntuone.txt

mmccback 30 min ago or so, trying to iron out bugs in my setup-mac.py05:37
JamesTaitGood morning all! :)08:30
=== eu is now known as Guest97335
mandelgatox, hola!11:07
gatoxmandel, buenas11:07
mandelgatox, how did the interview go?11:07
gatoxmandel, jejeej well, it was fun11:17
gatoxmandel, i read inn twitter that you are going to try to execute u111:17
mandelgatox, yes, after lunch I should be ready to jump with excitement or cry like a baby :P11:18
mandelgatox, there are a number of changes I have to make in sd because some of the actions in the daemon implementation are async when they are not in all the other ones11:19
mandeland merging or work is going to be a nightmare, but I'm sure we can deal with it :)11:19
gatoxmandel, so it seems that we are goinng to have this working together...... I HOPE (if everything goes ok), to have this working today too..... i only need to fix 2 tests, and i'll be ready to propose the branch11:22
mandelgatox, oh, but I'm not proposing yet, I want to see it working then fix things is the daemon, land everything there see your code and merge mine with yours11:24
mandelgatox, proposing both at the same time is a very bad idea and I know you are closer to get it accepted than me11:25
gatoxmandel, ........ i hope........ jejeje11:25
alecuHola everyone!12:03
gatoxalecu, hi12:03
ryeerm... we stil have bug #978903 ?12:13
ubot5`Launchpad bug 978903 in ubuntuone-client (Ubuntu Precise) "[precise] Client is stuck due to Upload executing before MakeFile" [High,Fix committed] https://launchpad.net/bugs/97890312:13
alecurye: it seems we still have it in precise12:21
ryealecu: am I able to assist in pushing the fix? I guess we need to re-build the proposed package based on the current one. It's 1 symbol change in the patch12:24
alecurye: we were finishing another needed fix and we'll be releasing today12:26
ryealecu: for precise, right?12:26
alecurye: right12:27
ryealecu: what's the bug number?12:27
alecurye: bug #88206212:28
ubot5`Launchpad bug 882062 in ubuntuone-client (Ubuntu Quantal) "ubuntuone-client doesn't validate ssl certificates" [Medium,Confirmed] https://launchpad.net/bugs/88206212:28
ryealecu: hm, I thought that was already published12:28
alecurye: it was, but there was a little bit missing12:28
ryeunderstood12:29
ralsinagood morning12:32
gatoxralsina, hi!12:33
mandelalecu, ralsina hello o/12:35
mandelwell, short hello 'cause is lunch time already..12:36
urbanapemmcc: anything you want to hear from Labs folks?12:36
mandelurbanape, he's usually here a little later.. /me hates time zones..12:37
urbanapeyeah, tell me about it.12:37
urbanapeI've been waking up at 6:30 EAST COAST TIME12:37
mandelurbanape, ouch! but at least you guys are all in the same continent, I'm the only eur in desktop+ .. I've started talking with my ring..12:38
urbanapeeasy, Gollum.12:39
=== ralsina is now known as mandels_ring
mandels_ringHello mandel!12:39
mandellol12:39
mandelmandels_ring, I'm not calling you my precious, sorry ralsina ;)12:39
mandels_ringring ring! Ring who?12:39
=== mandels_ring is now known as ralsina
mandelok, I'm really out to have lunch :)12:40
* mandel lunch12:40
=== apw is now known as apw_
=== apw_ is now known as cafetiere
=== cafetiere is now known as apw_
=== apw_ is now known as cafetiere
=== cafetiere is now known as apw
joshuahooverralsina: looks like we need to have someone look at and fix bug #711413 as it's climbing the https://errors.ubuntu.com/ charts13:22
ubot5`Launchpad bug 711413 in ubuntu-sso-client (Ubuntu Quantal) "ubuntu-sso-login crashed with DBusException in __new__(): org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /tmp/dbus-zPW5jjeWfI: Connection refused" [High,Triaged] https://launchpad.net/bugs/71141313:22
dobeyeh?13:23
=== m_conley_away is now known as m_conley
dobeyjoshuahoover: how is it climbing the charts? it's dropped down to number 1713:25
dobeyjoshuahoover: also, i've fixed it, i think. but nobody has been able to tell me if the fix actually fixes it or not :(13:27
joshuahooverdobey: heh, right...we do have some others that are higher13:29
joshuahooverdobey: we can't be beat!13:29
dobeynow i wonder where my new workstation case is. aside from apparently at some facility in illinois13:33
ralsinajoshuahoover: yep13:34
ralsinajoshuahoover: mvo was looking at it last I heard13:34
dobeyno13:34
ralsinano?13:34
dobeymvo was looking at a different one13:34
ralsinaoops then13:35
dobeyoh, no, nevermind13:35
dobeyyes that is the one he was looking at13:35
dobeyand i haven't fixed it13:35
ralsinaHowever, it's a completely harmless bug13:35
dobeyfor some reason i was thinking of the ValueError: empty dict bug13:35
* ralsina does the I was right dance13:35
ralsinait involves finger-pointing13:36
dobeyit's too early for me13:36
joshuahooverand here i thought i'd witness a fight13:36
joshuahooverdisappointing13:36
dobeyand that exact same problem happens for many different apps13:38
dobeynot just sso13:38
dobeylike, the video lens and remote scope13:40
dobeyanyway13:41
davidcalledobey, fixes are coming with a SRU next week.13:41
dobeydavidcalle: how did you fix it?13:41
ralsinaBy not crashing if the dbus connection fails?13:44
ralsinaI know, wildly optimistic of me13:44
davidcalledobey, I didn't fix it, yet. But it's mostly catching errors that are not catched, right? Lens daemons are automatically restarted when they crash or are exited.13:48
* mandel back13:49
dobeyhow do you test that catching an error is the right fix?13:50
dobey"hope the crash count goes down" isn't sufficient13:50
davidcalledobey, Zeitgeist had the same issue. Catching it -apparently- solved it. But I'm not aware of a good test plan for this.13:52
ralsinadobey: we have a trace for it, we know exactly where to catch that specific exception. OTOH, I am not 100% sure that's more than hiding the symptoms.13:53
ralsinaOr rather, I *know* it's just hiding the symptom.13:54
dobeyright13:54
joshuahooverChipaca: any ideas on this video lens bug #950862 ?14:05
ubot5`Launchpad bug 950862 in unity-scope-video-remote (Ubuntu) "unity-scope-video-remote crashed with GError in function(): Could not connect: Connection refused" [Low,Confirmed] https://launchpad.net/bugs/95086214:05
ralsinajoshuahoover: I think that's what davidcalle was just talking about :-)14:06
joshuahooverralsina: ah...can you tell i pay no attention to your conversations here? ;)14:07
ralsinajoshuahoover: it was a conversation you started, too :-)14:08
joshuahooverralsina: i'm good like that14:08
ralsinadobey: OTOH, it's a symptom of session management being wacky, not of something wrong with sso :-/14:09
dobeyman sso tests can be slow14:14
=== yofel_ is now known as yofel
joshuahooverralsina: ever seen this error in windows syncdaemon logs? AttributeError: Values instance has no attribute 'debug_manhole' ...a first for me14:34
ralsinajoshuahoover: seen it14:34
ralsinajoshuahoover: means "you are starting syncdaemon without its configuration file"14:34
joshuahooverralsina: weird...hmmm...user has reinstalled u1 and still gets the error...any ideas?14:35
ralsinajoshuahoover: not really, only seen it in development14:35
ralsinajoshuahoover: permission problems and/or broken debug.conf is what I would guess14:35
joshuahooverralsina: k, thanks14:36
dobeyjoshuahoover, ralsina: i think i have a brnach for the dbus thing.14:44
joshuahoovercool14:45
ralsinadobey: nice14:46
dobeyralsina: i even wrote a test!14:46
ralsinadobey: whoa14:46
ralsinadobey: did it hurt?14:46
dobeyyes14:47
dobeyhrmm. lp is being slow though14:48
Chipacadavidcalle: you say "lens demons are automatically restarted", but that is false, empirically14:48
gatoxmandel, ping14:50
davidcalleChipaca, I'm sure they are. Scopes are restarted instantly and Lenses are restarted when the Dash is opened/closed or the lens searched. When they have a dbus .service file.14:50
mandelI've officially changed so many calls in sd that I'm scraed it works..14:51
mandelgatox, pong!14:51
gatoxmandel, which was the tag we were using for mac? darwin-u1 or u1-darwin?14:51
mandelu1-darwin14:51
gatoxmandel, thx14:51
mandelgatox, and is read the following way: 'uh! one darwin!'14:51
alecumeanwhile, charles darwin twists in his grave14:52
mandelgatox, and then  point at a darwin :)14:52
gatoxmandel, jajajaja14:52
gatoxmandel, i'm going to propose my filesystem_notifications branch, i created 2 bugs for the missing things that i have on this.... so i can start having a couple of review from you and alecu ..... who works with the other implementations, and i can start fixing things while i work in the missing features14:55
gatoxmandel, the tests are all green for what i have now14:55
gatoxfile_moved_from_partial and add_watches_to_udf_ancestors are missing..... and of course... any improvee and bug fix that came up from the reviews14:56
mmcchowdy14:56
mandelgatox, ok, I'm making a HUGE change in sd because rm_watch must return a deferred which then makes blah return a deferred and then blahblha that calls blah return a deferred and so on..14:56
gatoxmandel, ahhhhh right14:56
mmccralsina, dobey I just fwded you the response from the ocmock guy14:57
ralsinammcc ack14:57
dobeycol14:57
alecumandel: uh, that sounds like a loooot of work :P14:58
mandelalecu, yes, and I'm scared I forget something so I'm going really slow with it14:59
mandelalecu, which is also interesting because rm_watch on windows returns a deferred so I'm surprise we have seen no issues about that14:59
gatoxme!15:00
briancurtinme15:00
thisfredme15:00
dobeyyou're all early15:00
mmccme15:00
ralsiname (no notes)15:00
dobeymeh15:00
alecume15:00
gatoxmandel, ^15:00
mandelme15:01
gatoxDONE:15:01
gatoxPropose the u1-client filesystem_notifications branch, start working on the missing features for this branch.15:01
gatoxTODO:15:01
gatoxFinish with this feature, fix everything that came up from the reviews.15:01
gatoxBLOCKED:15:01
gatoxNo15:01
gatoxbriancurtin, go15:01
briancurtinDONE: trying to get dev-tools more easily integrated into buildout from lp (no more out-of-date eggs), proposed two small branches for versioning installers on jenkins15:01
briancurtinTODO: hopefully it's time to do 3.0.2 windows installers15:01
briancurtinNOTE: doctor's appointment in the early afternoon15:01
briancurtinBLOCKED: none15:01
briancurtinNEXT: thisfred15:01
alecumandel: probably because "removing" a watch is not as time sensitive as adding one.15:01
thisfredDONE: Bug #1006879 Bug #1009505 TODO: Bug #1006876 BLOCKED: no NEXT:  mmcc15:01
ubot5`Launchpad bug 1006879 in U1DB "api for validating transaction_id of source_replica" [High,In progress] https://launchpad.net/bugs/100687915:01
ubot5`Launchpad bug 1009505 in U1DB "get_keys_from_index is useless for multicolumn indexes" [High,Fix released] https://launchpad.net/bugs/100950515:01
ubot5`Launchpad bug 1006876 in U1DB "put_doc_if_newer should check replica_trans_id" [High,Confirmed] https://launchpad.net/bugs/100687615:01
mmcc DONE: reviewed objc for mandel, setup-mac building from lp trunk15:01
mmcc TODO: fix bug in setup-mac, work on controlpanel fails,15:01
mmccBLOCK: could use extra eyes on setup-mac bug15:01
mmcc NEXT: dobey15:01
dobeyλ DONE: branch landing and backporting craziness, protocol 3.0.2 release15:01
dobeyλ TODO: finish stable release, finish releases/uploads, tarmac tweakery15:01
dobeyλ BLCK: None.15:01
dobeyralsina:15:01
ralsinaDONE: mgmt call, started on bug triaging TODO: fix bug #1012620, bug triaging, 1-1s BLOCKED: no, NEXT alecu15:01
mandelalecu, yes, that might have saved our ass15:01
ubot5`Launchpad bug 1012620 in ubuntuone-client (Ubuntu) "Should ignore .goutputstream-XXXXXX files" [Medium,In progress] https://launchpad.net/bugs/101262015:01
alecuDONE: various branches for txweb ssl issues15:02
alecuTODO: review day, work on windows build15:02
alecuBLOCKED: no15:02
alecuNEXT: mandel15:02
mandelDONE: Started integrating fsevents-daemon conde in u1-client. Made rm_watch return a deferred and followed the chained calls to make sure things work15:02
mandelTODO: Look at things that might have broken due to that change. Fix fsevents-daemon branches per review.15:02
mandelBLOCKED: no15:02
alecumandel: also, on windows we really only "remove" watches on the top-level folders15:03
alecumandel: so that may have helped too.15:03
dobeyalecu, ralsina: can one of you review/test https://code.launchpad.net/~dobey/ubuntu-sso-client/fix-no-dbus/+merge/110083 on windows?15:03
dobeyand osx if either of you can15:03
dobeyor if mmcc, gatox, or mandel can test it on osx, that would be great15:04
ralsinadobey: no can do on windows, my VM exploded (again)15:04
ralsinadobey: and I am not rebooting15:04
gatoxdobey, i can do it15:04
alecudobey: I can run tests for it on windows15:04
dobeythanks15:04
dobeyjust want to make sure my test skipping worked and i didn't break them :)15:04
mandelI was going to say i can, but I'm late so15:04
ralsinaSo I do linux15:04
dobeyalthough15:11
dobeyhmm15:11
gatoxok..... i'll leave the tests for u1-client running and i'm going to have lunch15:14
=== gatox is now known as gatox_lunch
mmccso, I'm having one of those bugs where I'm certain I'm being dumb somewhere but I can't see where - anyone want to take a look?15:15
dobeythat won't work15:15
mandelmmcc, sure, shoot15:17
mmccThe problem is that the dependency search code in py2app only finds the ubuntu_sso the *second* time I run setup-mac.py. For background, here's a paste of some debugging after the first run, where it can't import ubuntu_sso even though it's right there in the path;http://paste.ubuntu.com/1039199/15:17
* mandel looks15:18
mmccthanks mandel. I'm thinking it'll be something simple and I've just been staring at the same code too long15:18
dobeyalecu, gatox_lunch: just pushed a ocuple fixes to that branch, that i just caught myself. :)15:21
alecudobey: pep8 fixes?15:21
mmccI'm also pushing the branch with setup-mac to lp:~mikemc/ubuntuone-windows-installer/setup-mac15:22
dobeyalecu: yes, and calling the better shutdown_func() instead of self.shutdown() (which would have caused AttributErrors instead)15:22
alecudobey: I just got this:15:22
alecu(crap, I can't paste in quassel from virtualbox)15:22
dobeyalecu: trailing whitespace and expected 1 blank line?15:23
alecudobey: right15:23
dobeyyep, fixed those15:23
alecudobey: great. I'll pull and re-run the tests on windows.15:23
dobeyhrmm. why are the qt tests in sso so slow :(15:24
ralsinadobey: +1 for latest revno15:24
mmccmandel, does what I'm doing in that paste make sense?15:24
mandelmmcc, can you print the path from build_app.py just for curiosity15:25
briancurtinelopio: here's an updated version of the installer name i can produce on jenkins - ubuntuone-4.1-windows-installer-20120612-214300.exe - does this work for you?15:25
mandelmmcc, and yes it does, I had to deal with something like that with windows15:25
mmccmandel, I'm not sure exactly what you want me to print...15:26
mandelmmcc, the sys.path before you get the import error15:26
mandelmmcc, you can always extend the module finder and do whatever you want with it, the setup.py from windows does something like that to find certain deps that gave errors15:27
dobeysigh15:28
mmccmandel, yeah, the options in the windows setup have  'ubuntu_sso' and 'ubuntu_sso.qt' in the 'includes' section -- and I guess that's why... I'm doing that here, too, that's how I get the importerror during setup instead of at runtime...15:28
mmccmandel: if I don't add them manually the setup runs without complaint but doesn't package ubuntu_sso... :\15:29
dobeyi apparently hit some button by accident in evolution, so it's only showing unread messages in my canonical folder now.15:30
dobeyanyway, i'm going to get some lunch. bbiab15:30
mandelmmcc, is probable that the module finder gets confused by the imports and does not see them as dependencies..  lets try something super dirty, import the modules in the setup.py and check if it works15:30
mandelmmcc, just for testing, is not a real solution :)15:30
mmccmandel: I'll print the sys.path from before the py2app step - note that I've used the same trick from the windows setup.py at line 373: http://bazaar.launchpad.net/~mikemc/ubuntuone-windows-installer/setup-mac/view/head:/scripts/setup-mac.py#L37315:31
mmccmandel, right - I think I've done that already, but I'll go double check what happens15:31
alecudobey: +1. I'm leaving the proposal open in case you want to wait for the darwin review15:32
mmccmandel: note that I'm calling setup() multiple times -- I've never seen that done but it seems to work. let me know if that's a red flag15:32
mmccmandel, importing ubuntu_sso from setup.py , right after adding the path to sys.path on line 373 works as you'd expect15:33
* briancurtin brb15:34
mandelmmcc, as in, it is imported and you still get the error?15:34
ralsinaWTF launchpad bzr: ERROR: Cannot lock LockDir(chroot-74104272:///%2Bbranch/ubuntuone-client/.bzr/branch/lock): Transport operation not possible: readonly transport15:34
ralsinaoh right15:35
* ralsina just forgot some bits15:35
ralsinaso, wtf, self?15:35
mmccmandel: er, I had it do a sys.exit() because i'm impatient with all the output... trying again15:35
mandelhehe15:38
mmccmandel: ah wait, my bad, it doesn't import in the setup. this is the annoying thing about this bug, I have to remember to delete all the generated & staged stuff every time because it works the second time around15:38
mmccI feel like I'm misunderstanding something about setup()15:39
mmccIt's structured the same way as the windows script - a "Prepare" Command subclass to run the subprojects' setup.py's, then copy things around before running the py2app Command subclass that does all the deps and packaging stuff15:40
mmccso trying to import ubuntu_sso before doing the setup shouldn't work, because the prepare step hasn't run yet, so the path we just inserted on line 373 doesn't exist until later15:42
mmccof course it works if you're running a second time because it's there from the first run. the thing is that it *is* also there when the py2app step tries to find it, as you see in the paste15:43
mmccso under what circumstances could a module be verifiably present at a path in sys.path, but you still can't import it?15:43
* mmcc done spamming, sorry15:44
mandelmmcc, no worries, let me read a little15:44
ralsinammcc: if you have a folder with the same name and no __init__.py (just one way that can happen)15:44
ralsinammcc: in any place in your sys.path15:44
mmccralsina: in any place? because the right one is at sys.path[0]...15:45
mandelralsina, nice idea!15:45
mmccralsina: ok I'll see if that's going on15:45
ralsinammcc: good question. I don't know.15:45
mmccralsina: yeah, I'd assume searching starts at [0], but at least this is something to check...15:46
ralsinammcc: actually no, it starts at site.py IIRC but yes, usually [0] is early enough :-)15:46
ralsinammcc: you can use python -v to see how it imports15:47
mmccralsina: our buildout python doesn't like -v :) there's an env var, though right?15:47
ralsinammcc: dunno15:48
mmccPYTHONVERBOSE=115:48
mmccnaturally, Terminal.app hangs now15:48
ralsinammcc: may be too much verbosity for it15:50
ralsinadaaaaaaaamn running u1-client tests takes a while!15:50
mmccralsina: heh, no it actually handles HUGE tracebacks pretty well, but just hung while I tried to switch tabs, frantically mashing all the different keycombos I know of that switch between things. The third and fifth tries worked15:51
mandelralsina, yes! an on windows even more and I'm making them slower (not  on purpose)15:51
ralsinamandel: fun!15:52
* ralsina needs to expense a i7 then15:52
mandelralsina, is more the fs than the cpu15:52
ralsinathis HD is pretty pathetic15:52
ralsinaso maybe a SSD is a good idea15:52
=== gatox_lunch is now known as gatox
mandelralsina, problem is, we hit it a lot, so it will last you less that it will last someone else..15:54
mmccralsina: if you're expensing hardware, we should really have a retina-display macbook so we can test our graphics at 2x resolution :)15:56
gatoxmandel, alecu when you have a (big) moment, please review this: https://code.launchpad.net/~diegosarmentero/ubuntuone-client/darwin-fsevents/+merge/110098 (i think that it would be a couple of things to fix/improve)15:56
gatoxok...... u1-client fsevents proposed..... now..... to fix what it come from the reviews and implements the missing features15:56
=== zyga is now known as zyga-afk
mmccPYTHONVERBOSE fails to enlighten, but maybe py2app's --debug-modulegraph will help15:57
ralsinammcc: I like how you think.15:58
gatoxmmm this branch is kind of..... big....... sorry15:58
* ralsina realizes the only hardware he has ever expensed is a mac mini and weeps for spending money on evil things.15:58
ralsinagatox: whoaaaaaa15:59
gatoxi'm fixing a couple of things i miss..... pushing some changes in a few mins15:59
gatoxralsina, are you going to buy a new machine?? i really recommend the asus zen..... but tests the keyboard first..... it requires a mind ajustment :P16:00
ralsinagatox: nah, I am still happy with the toshiba16:00
ralsinagatox: I may buy the SSD though16:00
gatoxralsina, yes.... with a ssd you really notice the difference16:01
alecugatox: I'm doing one review of that branch, but after lunch16:14
gatoxalecu, noo problem16:16
alecuralsina, briancurtin: from which stable are we doing the windows releases? stable-3-0?16:20
ralsinaalecu: yes16:22
mandelgatox, I'll do tom, is late here and would not be a good review..16:22
gatoxmandel, of course16:25
mandelalecu, dobey, ralsina, how do you feel about an extra check in our tests that ensures that if a test has a yield it does use the defer.inlineCallbacks decorator?16:25
dobeymandel: we have something like that already; though it might only do it for setUp/tearDown at the moment16:28
alecumandel: it sounds like a good idea, but I'd like us to give it a bit more thought first.16:28
alecuanyway, I'm off to lunch.16:28
alecubbiaw!16:28
gatoxdobey, +1 on your branch for the tests on mac16:28
gatoxdobey, wow.... you have 3 approves16:29
mandeldobey, yes, it just do setUp and tearDown, that is why I mentioned it16:29
gatoxdobey, should i change it to globally approve or do you want to wait for anything else?16:29
dobeygatox: sounds good then :)16:30
gatoxack16:30
dobeythanks16:30
dobeybugger. the riser card i got doesn't fit in any pcie slots on my board :(16:39
dobeydoh pylint16:40
* dobey fixes16:42
elopiobriancurtin: it will work perfectly. Thanks a lot.16:47
mandelok, EOD my head is about to implode, see you all tom!16:49
ralsinabye mandel!16:52
dobeylater mandel16:54
gatoxmandel, bye16:56
ralsinadobey, alecu: trivial branch https://code.launchpad.net/~ralsina/ubuntuone-client/ignore-goutput/+merge/11009516:59
dobeyralsina: any reason to not just do .* instead of .{6}? hardcoding a number there doesn't seem great to me17:07
ralsinadobey, mmcc: the license changes look good enough for me. It's never going to be a problem.17:07
dobeyralsina: right, i just sent a reply mail :)17:07
ralsinadobey: was the suggested change, I don't care one way or the other17:07
dobeyto you/mmcc that is17:07
ralsinadobey: yes, saw it17:07
dobeyrye: ^^ any reason to use {6} instead of * there?17:08
ralsinadobey: AFAICS, it always uses 6 chars there, but that may change in the future, so I'll change it17:08
dobeyright :)17:09
ryedobey: more specific for the sake of being more specific, but you are right17:09
ralsinadobey: pushed. Any chance on getting this in 3.0.2? It prevents data loss17:09
mmccdobey, just saw your mail re OCMock, and I agree. So I'll reply and say that'd work for us, and ask him to please proceed, sound good?17:09
mmcccc ralsina ^^17:10
ralsinammcc: +1 on that17:10
dobeyralsina: sure17:10
dobeymmcc: sure17:10
ryeglocalfileoutputstream.c:      tmp_filename = g_build_filename (dirname, ".goutputstream-XXXXXX", NULL);17:10
dobeyrye: yeah, but may change in the future17:11
ryedobey: yep, no objection to use .*17:11
ralsinajenkins on windows down!17:13
briancurtinlooking17:14
ralsinait's a completely wtf failure, too!17:15
ralsinaa fsm test failure in a build triggered by a SSO commit. sigh.17:15
briancurtinooh i thought you meant the jenkins machine went down17:16
briancurtinweird17:16
dobeyand it's an off-by-one error17:16
ralsinadobey: yes, that's the bonus17:16
dobeywell, maybe next pass it'll succeed :)17:17
ralsinadobey: ha!17:21
ralsinalet's see if it's true :-)17:22
mmccsent ocmock email, now lunch17:28
ralsinathere, fixed the build by magic17:28
ralsinafull of confidence I am now17:28
dobeydamned complex out-of-tree parallel updates17:58
* briancurtin doctor's appointment18:08
dobeyalecu, ralsina: https://code.launchpad.net/~dobey/ubuntu-sso-client/ssl-strict/+merge/110128 please?18:15
ralsinadobey: on it!18:16
ralsinadobey: +118:20
dobeymeh18:21
dobeyit's causing a segfault18:21
dobeyat least, it is for me18:21
dobeywell, at the end of the tests18:24
dobeyof the gtk tests18:24
=== JanC_ is now known as JanC
ralsinareally?18:30
ralsinaweird18:30
dobeyyeah, and the backtrace isn't enlightening18:32
dobeyhopefully will be more so with some more debug symbols18:32
dobeygrr18:42
dobeyralsina: does it not do so for you?18:43
ralsinadobey: didn't18:43
ralsinadobey: let me retry just in case18:43
dobeyhttp://pastebin.ubuntu.com/1039507/ is the bt i'm seeing :(18:45
ralsinadobey: no segfault, no failure, no nothing18:46
dobeyhuh18:46
dobeyralsina: are you on amd64?18:46
ralsinadobey: intel i518:47
dobeyralsina: i mean, are you using 64-bit ubuntu, or i386?18:47
ralsinadobey: 64 bit AFAIK18:47
ralsinadobey: how do I check?18:47
* ralsina feels stupid18:48
dobeyuname -m18:48
ralsinai68618:48
ralsinaso may be 64-bit-specific18:48
dobeyno, that's 32-bit18:48
dobey64-bit would be x86_6418:48
dobeyyou're using the i686 kernel18:48
dobeyok, wtf is it crashing for me, but not for you, then18:49
ralsinayes, and it doesn't fail here, so it may be 64-bit specific. Unless you are also on 32 bits :-)18:49
dobeyi am18:49
ralsinadobey: I did dist-upgrade 1 hour ago18:49
* dobey checks the apts then18:49
dobeyralsina: and rebooted since as well?18:50
ralsinadobey: no, but it's not asking me to18:51
* mmcc source leads me to PEP 302 Importers18:52
dobeywell i see there is a kernel update, which is why i ask18:52
* mmcc meant to verb that18:52
ralsinadobey: am on 3.2.0.24 which seems to be the latest18:53
ralsinaalthough I did an upgrade, not a dist-upgrade18:53
dobeyright, there's a new build of it18:53
ralsinaok, updating and rebooting, to see if I can make it fail18:53
ralsinashould take 10' or so18:53
dobeyoh no, there's a 25 now18:53
dobeyno, i was just wondering if maybe i was seeing a kernel bug you weren't, because of the update18:54
dobeybut i'm on 24 still too18:54
dobeyand damn all these old kernels need to get removed automatically already18:54
ralsina24.39?18:55
ralsinayeah, I have like 20 kernels. Sheesh.18:55
dobeyyeah, 24.39 is what is being replaced18:55
dobeyuname isn't more specific than the -2418:55
ralsinadobey: so, we are on exactly the same kernel and that's not it18:56
ralsinalet's both upgrade & reboot, I guess18:56
dobeymaybe i have bad ram18:57
ralsinadobey: we need a 3rd opinion. Tarmac's? ;-)18:58
dobeymaybe18:59
dobeysomeone else want to review it?18:59
mmccI can help, if testing in a VM is useful19:04
dobeyhttps://code.launchpad.net/~dobey/ubuntu-sso-client/ssl-strict/+merge/11012819:05
mmcck, thanks19:07
dobeyhmm19:12
dobeyralsina: nope, it's dumping core on the tarmac instance as well19:13
ralsinadobey: only remotely bad thing I get is this Gtk-CRITICAL **: gtk_scrolled_window_add: assertion `child_widget == NULL' failed19:13
dobeyyeah, that was happening before19:13
mmccralsina: I get that too, but the test still passes.19:13
ralsinabut tests finish19:13
ralsinadobey: full log (stdout & stderr) https://pastebin.canonical.com/68043/19:14
dobeyand tarmac is x86_64, so it's not a bit issue19:14
mmcccore dump in my vm after gtk tests...19:15
dobeyralsina: ah, so it does fail for you; you're just not getting a segfault for some reason19:15
mmccis any of the error-reporter info useful? where does the 'send an error report' go to?19:17
ralsinadobey: nothing says failure. Maybe it's being subtle.19:18
dobeymmcc: not useful in this case. but it generally reports a bug on launchpad, i think19:18
dobeyralsina: do you not notice that the qt tests weren't run there?19:18
dobeyg_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.19:19
dobeyTerminated19:19
* mmcc considers set -e harmful19:19
dobeymmcc: well, we either use set -e, or reimplement set -e in a bunch of bash code. i'd prefer to just do set -e19:20
dobeyfor run-tests, set -e makes sense19:20
mmccdobey: fair enough, but it'd be nice if we could always print a summary "1/2 test suites pass" or something19:20
ralsinadobey: but it fails *after* the tests are finished19:21
mmcc(and set -e precludes that). it's come up a couple of times19:21
dobeyralsina: yes, same here, except it's a segfault19:21
ralsinadobey: oh, ok19:21
dobeyand i don't get a g_dbus message19:21
ralsinathe g_dbus one has happened intermittently t tarmac for a long time19:21
dobeymmcc: well, we really shouldn't have multiple test suites per project.19:22
mmccdobey, oh sure, bring up the "right way"19:22
mmccanyway, I'll stop distracting. ping me if I can help test ?19:23
alecudobey: I'm on 64 bits, and I'm getting that error too.19:23
dobeyweird19:30
dobeywhy can't code just work already19:42
mmccok I solved my little problem - I needed to clear sys.path_importer_cache before searching for modules so the runtime would actually look at the filesystem and notice that the 'prepare' step created a directory that was added to sys.path at the beginning of the script19:47
ralsinammcc: I have never heard of such a thing19:48
ralsinabut hey, if it works, it works19:49
mmccralsina: yep me neither! pep 302 ...19:49
ralsinareading it19:50
ralsinainteresting, but things should never break that low in the totem pole19:50
ralsinaI mean, needing to clean that means you have a stale finder, which is the thing that finds the files from which the modules are loaded19:51
ralsinaany finder that doesn't find the module you just created would seem broken to me19:51
mmccthe problem is we put /path/to/module on sys.path before it exists19:52
ralsinammcc: oh, ok it makes sense then19:52
mmccso the importing mechanism gives that path a nullimporter in the cache before we populate it19:52
ralsinammcc: to a point19:52
mmccand the module finder can't do any better than using the pep302 importing mechanism -- except maybe it should clear the importer_cache before starting, just to be really sure19:53
mmccI might make that suggestion, but I'm not sure how much of a general problem we've got here19:54
mmccthis also only shows up when you do "setup-mac.py prepare py2app" -- if you did prepare and py2app separately it'd work19:54
mmccI think maybe I spent too long on this? I thought the one-liner of 'prepare py2app' that more or less matches the windows invocation would make adding it to automated builds simpler19:55
mmccanyway, on to *real bugs*19:55
ralsinammcc: yes, totally not worth it19:56
ralsinammcc: OTOH, we both learned something new :)19:56
mmccyeah, :(19:57
mmcctrue, now I won't expect importing to 'just work' even if I have the path right, ever again19:57
dobeyhey look! hoops! time to jump through them!19:58
gatoxpeople...... EOD here.....see you tomorrow!20:04
mmccbye gatox20:05
gatoxmmcc, bye20:05
mmccok, anyone with a mac handy, if you'd like to test out setup-mac.py and tell me how it breaks: https://code.launchpad.net/~mikemc/ubuntuone-windows-installer/setup-mac/+merge/11015520:05
mmccthere's a README-mac to explain things, since nothing is double-clickable just yet20:06
ralsinammcc: wooooohooo20:07
ralsinanot that mine is handy20:07
ralsinammcc: I can take a look late tonight maybr20:08
alecummcc: I'll take a look soon, too20:08
mmccok, thanks20:08
dobeyralsina, alecu: i figured out a way to fix the segfault issue in https://code.launchpad.net/~dobey/ubuntu-sso-client/ssl-strict/+merge/110128 :)20:16
ralsinadobey: looking20:17
alecudobey: what was it?20:17
dobeyalecu: i don't know exactly, but moved it to a separate function, patched it in the tests, and added a test to ensure the function is getting called20:18
alecudobey: so the solution is to not run that bit of code in the tests.20:20
dobeyyeah20:21
ralsinathat sounds like a "solution".20:21
dobeyindeed20:21
dobeyit is the same thing the tests are doing in the security update patches though; albeit likely for a different reason20:21
dobeyand it didn't segfault in real code20:22
ralsinadobey: I get the same g_dbus_connection_real_closed in revno 97020:22
dobeyralsina: and it gets terminated, or it keeps going?20:23
ralsinadobey: terminated20:23
ralsinadobey: and only runs the gtk suite20:23
dobeyralsina: do you get it with trunk sso tests?20:23
ralsinadobey: I can check20:23
ralsinadobey: aha! It fails in trunk20:25
dobeyok :)20:26
dobeybut not here, or in tarmac, it seems20:26
alecudobey: why do we use "ssl-ca-file"? libsoup docs says it's deprecated:20:27
alecudobey: http://developer.gnome.org/libsoup/stable/SoupSession.html#SoupSession--ssl-ca-file20:27
ralsinadobey: so, my reviews in sso are sorta useless at this point in time20:28
dobeyalecu: it's what the code in the security update is using. and it would be nice to know *when* it was deprecated\20:28
* briancurtin back, thanks to the doctor for finally showing up20:28
alecuright20:28
dobeyalecu: and i can't seem to find anywhere what the "ssl-use-system-ca-file" actually uses for the ca file20:29
dobeyplus it's true by default, and we also need to support the older versions of libsoup in natty/oneiric20:29
dobeyso i presume we need to set it anyway for now, even if it is deprecated20:29
dobeyoh, i guess use-system-ca-file is false by default :(20:30
alecudobey: yes, it makes more sense to use the older setting so it works on N-O20:30
dobeyi wish i knew what it actually uses in that case20:31
alecudobey: it is false by default, yes.20:31
alecudobey: "ssl-strict" says "If the session has no CA file or TLS database, then all certificates are always accepted"20:32
dobeyright, which is annoying20:32
dobeyso i guess i need to make it set the new property as well20:33
dobeysigh20:33
dobeyat least it's only the terms and conditions URL20:34
ralsinahow can that possibly be defined as strict?20:41
dobeyit's a very loose definition of strict20:41
dobeyand we should probably release an update to ubuntu, to make it actually be strict20:42
alecucan I get some reviews on this? https://code.launchpad.net/~alecu/ubuntuone-client/txweb-ssl-3-0/+merge/11016520:43
ralsinaalecu: sure21:10
* ralsina is having one of those days where everything he tries causes something else to explode21:10
mmccralsina: I know those days! so maybe a refreshing trivial review would be nice? https://code.launchpad.net/~mikemc/ubuntu-sso-client/fix-1012837-raise-and-shine/+merge/11016721:12
dobeyralsina: welcome to the grand world of engineering21:12
ralsinammcc: queuing21:12
ralsinadobey: it's like science, but louder, I know21:13
dobeydoesn't pylint and/or pep8 complain about multiple statements on the same line like that?21:13
ralsinait took me 45 minutes and a needsfixing to merge a branch with no code in it. Not my best showing.21:13
ralsinadobey, mmcc: yes they do21:13
* mmcc feels shame21:14
ralsinammcc: I know, pylint doesn't run well on mac :-)21:14
mmccno, I rushed that through. tested the UI but didn't run the tests21:14
mmccyeah, of course it screws up a bunch of tests, let alone the fact that pep8 isn't even on my amc21:16
mmccs/amc/mac. -- back to the drawing board21:16
mmccin other news, here is the image that was burned into my head as an "engineering" major -- from a course covering precision and error: http://upload.wikimedia.org/wikipedia/commons/1/19/Train_wreck_at_Montparnasse_1895.jpg (it was either in the slides or the cover of an estimation textbook)21:17
ralsinalooks salvageable21:17
dobeyhrmm. 1750x2100. not great for a large print21:18
ralsinaargh, how the heck does one close the questions feature in launchpad21:19
ralsinabefore someone hurts himself: https://answers.launchpad.net/ubuntu/+source/ubuntuone-client/+question/20036021:19
dobeyyou can't21:19
ralsinanot to mention that the questions feature is in a host called answers21:19
ralsinaI will start posting on launchpad's launchpad answers things like "yes" "no" and "because it was not formulated in the form of a question"21:20
dobeyalso i moved it off ubuntuone-client (Ubuntu) to just Ubuntu21:20
dobeybut eh21:20
dobeyquestions really does need to be extinguished21:21
ralsinait's even worse than askubuntu21:21
dobeyor exanguinated21:21
ralsinaalecu: +1 on code review, running the tests would take it beyond my EOD21:28
ralsinaalecu: so I trust that you ran them21:28
alecuralsina: thanks!21:29
ralsinaand EOD21:30
dobeyhttps://code.launchpad.net/~dobey/ubuntu-sso-client/update-3-0/+merge/110177 for sanity check anyone?21:37
dobeyok, i'm off as well. have a good eve all.21:45
mmccok, FWIW my branch https://code.launchpad.net/~mikemc/ubuntu-sso-client/fix-1012837-raise-and-shine/+merge/110167 is now style-compliant and the tests pass.21:59
mmcchi urbanape, how is WWDC going for you? exhausted yet?22:24
urbanapelittle bit.22:25
urbanapeit's going really well. I'm loving some of the stuff coming for iOS 6 and Mountain Lion22:26
mmcccool. I need to catch up... busy week here, haven't had a chance to read up.22:26
urbanapehow's the mac port going? Saw some tweets from mandel that looked promising (or at least tempting)22:26
urbanapeteasing, rather22:27
mmccnot bad. packaging was being a real pain for me, but I think I've gotten py2app doing what I need22:27
mmccand mandel and gatox are closing in on filesystem watching from different directions, both pretty close22:28
mmccjust now I got all the tests in controlpanel passing22:28
mmccwhat's the main highlight for you for the OS upgrades?22:29
mmccmy family is going to really love ios6's shared photo streams, for sure22:29
urbanapewill move it internally.22:36
mmcchrm, looks like sso's xdg tests aren't run on darwin because there's no test_darwin in there. but we don't have any way of catching that unless there are bugs in the code - since we're ignoring all test_linux and test_windows files...23:02
mmccno, that's wrong. there's a test_common that covers it, and I was just running control-panel with the wrong PYTHONPATH, as usual23:06
* mmcc is tired23:06
mmccok, calling it a EOD23:14
thumpercan someone help me work out why filesync is disabled on my server?23:15
mmcchi thumper, it's after hours for most of the people in this channel. You will have better luck tomorrow during London / US business hours.23:19
* thumper sighs23:20
thumperbeuno: I blame you23:20
thumperbeuno: plz get someone in nz/au23:20
thumperthanks mmcc23:20
mmccthumper, sure. sorry I'm not more helpful.23:21

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