/srv/irclogs.ubuntu.com/2010/11/21/#launchpad-dev.txt

lifelessmoin16:14
jmllifeless: hi16:16
lifelesshiya jml16:16
jmllifeless: just polishing off the last of the testtools/twisted-related failures16:17
lifeless\o/16:17
jmllifeless: looks like iterating the reactor is necessary for many tests because of bugs in Twisted (either core or APIs)16:18
jmllifeless: I'm thinking of giving AsynchronousDeferredRunTest some kind of option that controls whether we do that iterating16:18
lifelessjml: don't measure, don't get. [e.g. thats kindof predictable]16:18
lifelessjml: I noticed you deleted the mention of iteration from the docstring16:18
jmllifeless: I actually had deleted iteration at one point, because I thought we could do without it. (I fixed the motivating use case at the root)16:19
lifelessjml: of a helper function; I assume you had good reason but I wanted to mention that it feels kindof lacking - that its not very clear whats going on.16:19
jmllifeless: but now I've restored it along with the docstring16:19
lifelessjml: an option feels nice; then we can report on the failing code periodically16:20
jmllifeless: anyway, I'm thinking maybe a 'strict' optional parameter to ADRT that defaults to True.16:20
jmllifeless: more hassle now, fewer backwards compatibility problems later16:21
lifelessI think thats swings and roundabouts16:21
lifelessfolk will learn to always put strict=False in16:21
lifelessit will never be able to go away.16:21
jmllifeless: good point.16:22
lifelessperhaps a parallel class16:22
lifelessor something like that16:22
jmllifeless: suggested names?16:22
lifelessADRTIterating16:22
lifelessADRTBrokenTwisted16:22
lifelessuhm16:22
jmllifeless: what advantage does that have over an option?16:23
lifelessjml: the non iterating codepath doesn't need conditionals16:23
jmllifeless: hmm16:24
* jml gives it a shot16:25
jmllifeless: btw, would appreciate your thoughts on https://bugs.launchpad.net/testtools/+bug/65447416:25
_mup_Bug #654474: An unexpectedSuccess is like a failure not a success <regression> <selftest> <testtools> <Bazaar:Confirmed> <subunit:New> <testtools:In Progress by jml> <https://launchpad.net/bugs/654474>16:25
lifelessthey are shallow, but added16:28
lifelessjml: I'd like us to do a release this week.16:28
lifelessAnd get it up to debian unstable16:28
lifelessis that reasonable?16:28
jmllifeless: yes, but as mentioned before, I would like to get this Launchpad branch that actually uses the deferred stuff landed before we do a release.16:29
lifelessjml: yes, I'm asking 'all things considered'16:29
jmllifeless: however, that seems likely to happen early this week.16:29
jmllifeless: and after that, a release would be very welcome.16:29
lifelessok, please let me know if that is likely to slip, so that I can put 0.9.5 up - maxb is keen to help bzr in debian build sanely16:30
lifelessI've been thinking about the datamapping layer vs test parallelisation16:31
lifelessI'm still of the opinion that test parallelisation is past the really hard bit16:31
lifelessif I did nothing but it until the epic, it might be working by then16:32
lifelessbut I don't think so - latency is going to be a killer on getting it all figured out and sorted.16:32
lifelessand I only have 3 work weeks between now and then16:32
jmllifeless: *nod*16:32
jmllifeless: I think parallelization needs someone to own it, coordinate, report on progress etc.16:33
jmllifeless: that is if we actually want to make progress on it16:33
lifelessSo, balanced consideration - a data mapping layer, with test double - thats our most urgent infrastructural need with the largest payoff both short and long term.16:33
lifelessjml: I've found a small bug in the canonical.lp.host glue in my databasefixture branch, else that would have landed.16:34
lifelessand immediately after it my librarian branch.16:34
jmllifeless: what's your plan w/ data mapping layer then?16:35
lifelessjml: spend 9-10 days sketching and bootstrapping it16:35
lifelessjml: talk a lot16:35
lifelessjml: and at the epic recruit a task force for it16:36
jmllifeless: ok.16:36
jmllifeless: makes sense.16:36
lifelessoh, and do plenty of literature searches16:36
lifelesswe *may* find something precanned that we can 'fix up'.16:36
jmllifeless: sounds a little big & risky, but a risk worth taking.16:37
lifelessjml: indeed16:37
jmllifeless: any feelings on diverging from stdlib unittest behaviour re unexpected success?16:38
lifelessI think we need to remove the 'please report bugs in launchpad' link from the footer.16:38
lifelessjml: I don't think the stdlib unittest behaviour has had a lot of user feedback and polish16:38
lifelessjml: remember that it was done in situ, not by merging an established implementation.16:38
jml*nod*16:39
jmllifeless: we need to have some way for users who find problems w/ Launchpad to report those problems.16:39
lifelessjml: agreed16:40
lifelessjml: we're getting primarily ubuntu bugs at the moment16:40
jmllifeless: fsvo "primarily"16:40
lifelesspoolie filed a bug about the page we're directing them to and how it could help with the confusion16:40
lifelessjml: its about equal to genuine Launchpad bugs.16:40
lifelessjml: we're not dying, but none of those bug reports will get good treatment in Ubuntu because they aren't apport filed16:41
lifelessand many should be questions in the first place.16:41
lifelesss/q/Q/16:41
lifelesswtf with bug 60629616:44
_mup_Bug #606296: Fix codehosting acceptance tests to not use sample data <tech-debt> <openwns-app:Fix Released by www-martinez187> <https://launchpad.net/bugs/606296>16:44
jmlshrug17:02
lifelessjml: new user confused by UI I guess17:04
lifelessjml: the link in the footer used to be edge only17:13
lifelessjml: I made them the same during the convergence part of unifying edge17:13
jmllifeless: ahh right17:37
lifelessjml: so I think rolling it back to what we had on prod before (nothing) will stop confusing users who are new to the environment.17:37
jmllifeless: indeed.17:37
lifelessjml: until we have a better UI for /launchpad/+filebug17:37
lifeless - at which point I'd like to bring the link back, because I really value user feedback17:38
=== Guest35900 is now known as jelmer
lifelessjml: you agree?17:38
jmllifeless: yeah17:38
jmllifeless: I also think we need to think more broadly about user feedback / beta stuff anyway17:39
lifelessagreed17:39
jmlok. that's all the tests running locally17:40
jmlnot sure how the ForBrokenTwisted experiment will pan out with actual use, but worth a shot17:40
lifelesswell, how does the code look ?17:41
lifelessand how will we/users know when they can use the unbroken one?17:41
jmllifeless: they'll use the unbroken one by default. the trick is how do you know that the unclean warning you get is from your buggy tests or twisted's buggy APIs17:43
lifelesswould it be feasible to whitelist?17:43
jmllifeless: I don't think so.17:43
lifelessjml: by twisted release?17:44
lifelessjml: I mean, release a new testtools in a few weeks when twisted is fixed17:44
jmllifeless: sorry, I don't understand what would actually be on the white list.17:44
lifelessjml: versions of twisted that are not broken.17:45
jmllifeless: oh right. but you can use it with current Twisted for many things17:45
jmllifeless: anyway, I'm doing a full test run now. mildly optimistic.17:56
* jml off.17:58
lifelessgl18:03
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
jmllifeless: failures. looks like I'm going to have to practically rewrite the distributionmirror_prober tests.22:24
lifelessjml: can we land what you do have working ?22:25
jmllifeless: yeah, we could actually. Wouldn't be able to delete the old layers, of course22:25
jmllifeless: funny thing is, the failures in the distributionmirror tests only showed up in completely different tests. I wouldn't have known it was distributionmirror unless I had accidentally left DelayedCall debugging enabled22:26
jmllifeless: I'd like to poke a little to see if I can get the errors better lined up with the tests that caused them.22:27
lifelessthat would be nice22:27
lifelessTime Out Counts by Page ID22:38
lifelessHardSoftPage ID22:38
lifeless35550LoginToken:+accountmerge22:38
lifeless26654Person:+commentedbugs22:38
lifeless2036295Archive:+index22:38
lifeless77280BugTask:+index22:38
lifeless1293ProjectGroupSet:CollectionResource:#project_groups22:38
lifeless10245Distribution:+bugtarget-portlet-bugfilters-stats22:38
lifeless1026DistroSeries:+queue22:38
lifeless109Person:+bugs22:38
lifeless81BinaryPackageBuild:+retry22:38
lifeless638Milestone:+index22:38
lifeless3553 https://launchpad.net/token/.../+accountmerge22:38
lifelessone url22:38
jmlwill get to both of those later, if I can.22:42
lifelesswgrant: do you know where sense Hofstede hangs out on IRC?22:42
jmlbed for now22:42
lifelessjml: gnight22:42
mwhudsonlifeless: he's 'sense' i think22:45
lifelessI think he has merge on autopost with wget ;)22:45
mwhudsonhm?22:46
mwhudsonoh22:46
lifelessmwhudson: https://devpad.canonical.com/~lpqateam/lpnet-oops.html - 3555 oopses, one url ;)22:47
mwhudsonah22:47
mwhudsonthat's a bit rude22:47

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