/srv/irclogs.ubuntu.com/2011/07/08/#launchpad-dev.txt

poolieo/ huwshimi, lifeless00:17
huwshimipoolie: Hey00:17
lifelesshi y'all00:31
wgrantHmmm.00:50
StevenKwgrant: Your description for fix-patch-number is a little harsh :-)00:57
pooliedoes anyone know if curl checks ssl certs by default?00:58
spivI think so, hence various bzr bugs where the workaround was "use https+urllib"00:59
poolieto not verify it?00:59
spivRight00:59
poolieoh, this is because we didn't depend on the ca-certs packgae01:00
poolieok01:00
wgrantStevenK: Hardly!01:02
lifelesswooo, death to stories01:14
LPCIBotProject db-devel build #707: STILL FAILING in 4 hr 4 min: https://lpci.wedontsleep.org/job/db-devel/707/01:23
mwhudsonlifeless: \o/01:25
jtvwallyworld_: I'm in Europe, so won't be much good to you today!01:38
wallyworld_jtv: np. there's no reviews yet anyway01:39
jtvNot sure that's good news, but I'll take it.  :)01:39
lifelessmwhudson: yeah, bzr+ssh://bazaar.launchpad.net/~lifeless/launchpad/storylayers is landing01:47
lifeless 70 files changed, 4513 insertions(+), 4618 deletions(-)01:47
mwhudsonlifeless: i guess this doesn't rip out the story infrastructure?01:48
lifelessyeah, it goes01:48
mwhudsonah cool01:48
lifelessthe function that walks a directory and makes the suite stays01:48
lifelessbut its just DocFileSuites now01:48
mwhudsonand the cruft in the databaselayer that sometimes doesn't reset the db?01:49
lifelessthats where I started01:52
lifelesshttps://code.launchpad.net/~lifeless/launchpad/storylayers/+merge/6673801:52
lifelessthe tests for that cruft were not parallel safe01:52
lifelessand I was making parallel testing more reliable01:53
mwhudsonahh01:53
mwhudsonhooray01:53
* wgrant lunches.02:05
LPCIBotProject devel build #872: STILL FAILING in 3 hr 54 min: https://lpci.wedontsleep.org/job/devel/872/02:07
wgrantStevenK: Your conflict resolution failed.04:55
wgrantbug-tags.txt failed.04:55
StevenKDamn04:56
StevenKwgrant: Having a poke at it04:58
wgrantStevenK: Thanks.04:58
StevenKwgrant: When does staging need a swift kick?04:58
wgrantStevenK: Once the rev after yours passes buildbot.04:59
wgrantWell.04:59
wgrantI guess we could do it now.04:59
StevenKIt's adding back id and deleting one row from LDR, right?04:59
wgrantUPDATe launchpaddatabaserevision SET minor=77 WHERE major=2208 AND minor=99 AND patch=0;05:00
StevenKOr that, yes05:01
StevenKAnd there is the failure mail05:03
wgrantYup.05:03
wgrantJust that one failure.05:03
* StevenK is waiting for make05:04
StevenKSo I can run it again05:04
StevenKwgrant: One line fix :-/05:17
StevenKNot sure why bzr merge didn't pick it up05:17
* wgrant seeks opinions.05:21
* StevenK submits it to PQM anyway05:22
wgrantShould I put the reset code in rabbitfixture itself? If so, do I make it mandatory? It depends on an unpackaged plugin.05:23
wgrantTest isolation without it is very slow.05:23
=== wgrant changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: wallyworld* (jtv) | Critical bugs: 210 - 0:[######=_]:256
wgrantlifeless: Opinions?05:29
=== almaisan-away is now known as al-maisan
lifelessslow is bad05:49
lifelessother things will want rabid fixtures05:49
StevenKRabid or rapid?05:49
lifelessboth!05:53
wgrantGrar05:56
wgrantLP needs custom suites.05:56
StevenKHm. I don't think I can change the vocab using a feature flag :-(06:11
wgrantYou would have to override it in the view.06:13
StevenKHow?06:17
StevenKFrom what I can see +distrotask (for example) uses BugAlsoAffectsDistroMetaView which is *tiny*06:17
wgrantRight, but you can probably do stuff in setUpWidgets.06:19
wgrantOverride the defaults.06:19
* spiv wonders how hard it would be to write some js goop to automatically add tooltips to every 'bug NNNN' link on every page, to show the bug title.06:21
lifelesstheres a bug for that :)06:23
=== al-maisan is now known as almaisan-away
StevenKwgrant: BugAlsoAffectsDistroMetaView is a MultiStepView and it doesn't seem to call setUpWidgets at all06:38
wgrantIt's not a LaunchpadFormView at all?06:40
StevenKThe only thing in bugalsoaffects that uses LFV is BugAlsoAffectsProductWithProductCreationView06:41
wgrantDirectly.06:41
StevenKRight06:42
wgrantlifeless: You never gave a real opinion on which version of rabbit we should target. Do you have one?06:43
wallyworld_spiv: should be easy since there's code to parse bug nnnn and linkify it using an XHR call. the title would just need to be added to the json data sent back from the server06:43
wgrant(2.2.0 is in CAT, but not in any Ubuntu release, so ew)06:43
lifelesswgrant: easiest meeting all the constraints06:44
lifelesswgrant: that *is* my opinion.06:44
wgrant:(06:45
wgrantMy preferred option is to go with the latest stable Ubuntu release, 2.3.1. Trivial to put it in lucid-cat-lp. And it has not historically been a high-maintenance package, so shouldn't be a problem if LS wants to stay on 2.2.0 forever.06:47
lifelessI bet ls will upgrade happily06:47
wgrantHopefully.06:51
spivwallyworld_: tempting!  I'm trying to resist the urge to grow my todo list rather than shrink it though…07:09
lifelesswgrant: ls would be happy to upgrade07:13
nigelbspiv: I remember that bug. But I doubt if there's a lookup now. Adding that lookup was deemed more expensive the last time I asked.07:15
nigelbBecause, theoretically a page could be slowed down by having a lot of bug numbers07:16
wgrantIt's fairly cheap to do it by AJAX afterwards.07:16
wgrantIt's expensive to do it during page rendering serverside, due to the way the nested views work.07:16
nigelbIn that case, if the solution is easy - moderate and someone can mentor, I might be interested in picking it up07:17
spivThe main thing I'd worry about is making sure the calls are reasonably batched; I don't think one AJAX call per bug link would be great.07:19
wgrantSure. We'd need to introduce a new API call to get details of a set of bugs.07:19
spivBut if it were one for all the links present at domready time, then maybe a couple more as other ajax things add more to the page, I think that'd be fine.07:20
lifelessnote that this is then less efficient than supplying the data when we ender07:20
lifeless*render*07:20
spivYeah.07:20
lifelesswe already look up the bugs07:20
nigelbBUt we also linkify nonexistent bugs07:20
lifelessto decide to linkify or not07:20
nigelbI thought that was because we don't look up07:20
spivlifeless: even for e.g. merge proposal comments?07:20
wgrantlifeless: I don't think we do any more.07:21
lifelesshmm, I may be out of date07:21
lifelessspiv: theres a cluster of bugs around this07:21
wgrantWe used to display titles in tooltips.07:21
wgrantBut it was killed for being too slow.07:21
lifelessyah07:21
spivnigelb: so, wallyworld_ reckons it should be easy… maybe he'd be willing to mentor? :)07:22
wallyworld_spiv: nigelb: of course, no problem07:22
spivSweet!07:23
spivLooking forward to it already ;)07:23
nigelb\o/07:23
wallyworld_ping me when you want to start work on it and i can provide some pointers07:23
nigelbHopefully, Monday.07:23
wallyworld_np. i wrote the code to do the linkification via the XHR call so I can tell you where to hook stuff up. any performance issue will be separate to that and will need to be considered of course07:24
wallyworld_spiv: just been reading the backlog - from memory there's only one XHR call to return details for all the bugs on a page so it should come together nicely07:27
nigelbthis particular bug has been a long term itch of mine, just didn't know there was a way to fix it without affecting performanc07:27
nigelb+e07:27
wallyworld_nigelb: out of curiousity, how long standing? the linkification via XHR call was only put in about 6 months ago07:28
nigelbwallyworld_: Its from the old days of doing this server side07:29
wallyworld_ugh07:30
lifelessand its landed \o/07:41
lifelessa fitting time to end the week07:41
=== mrevell-lunch is now known as mrevell
adeuringgood morning08:12
LPCIBotProject db-devel build #708: STILL FAILING in 5 hr 57 min: https://lpci.wedontsleep.org/job/db-devel/708/08:13
LPCIBotYippie, build fixed!08:30
LPCIBotProject devel build #873: FIXED in 6 hr 2 min: https://lpci.wedontsleep.org/job/devel/873/08:30
=== almaisan-away is now known as al-maisan
=== adeuring changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: wallyworld* (jtv), adeuring | Critical bugs: 210 - 0:[######=_]:256
jtvAnyone else seeing JS test failures that happen _only_ on the command line, _not_ in the browser?  http://paste.ubuntu.com/639998/09:04
jtvIt sounds like a test isolation problem.09:04
jtvBut when I comment out a different test testMultiple, which consists of just a single assertion, it passes.09:04
rvbajtv: which branch?09:04
* jtv digs09:04
danilosallenap, hi, did you see my reply for the review? :)09:05
jtvI haven't pushed it.  Let me just do that.09:05
bigjoolsGavin is off today09:05
rvbadanilos: allenap is off today.09:05
jtvhe knows :)09:06
jtvrvba: just pushed to lp:~jtv/launchpad/bug-80694609:06
jtvStill waiting to be scanned…09:07
jtvdanilos: do we have foldable branch revisions yet?  It'd be really helpful at this point.  :)09:07
danilosI didn't09:08
danilosjtv, nope, expander-anim is still in review :/09:08
danilosjtv, as is spiv's branch the last I heard of it (it was, yesterday)09:08
jtvGoes to show how much better this will make the world.09:08
danilosadeuring, wallyworld_: anyone want to take on the review of https://code.launchpad.net/~danilo/launchpad/expander-anim/+merge/67161 now that Gavin is off?09:09
wallyworld_danilos: i'll grab it but someone else will need to +109:09
daniloswallyworld_, right, thanks, hopefully jtv or adeuring will do that :)09:10
jtvwallyworld_: my job I think :)09:10
wallyworld_jtv: hey, you're there09:11
jtvMore amazingly, you're still here.  :)09:11
wallyworld_jtv: yeah, i should have eod but am tidying up some failing tests in a branch i really want to get landed09:12
* jtv knows the feeling09:12
wallyworld_danilos: so is gavin not around today?09:12
jtvNope09:13
jtvWell, shouldn't be.09:13
wallyworld_bollocks. i was going to ask him to +1 on a mp. he did the prerequisite one yesterday09:13
bigjoolswallyworld_: !09:13
bigjoolsI need your halp with this pycharm thing09:13
wallyworld_bigjools: no cricket today :-(09:14
bigjools!09:14
wallyworld_bigjools: give me a bit of time to clean up some stuff, i'll ping you09:14
bigjoolsok ta09:14
wallyworld_jtv: could you possibly +1 this mp for me. it looks big but its a lot of moving code around in yui tests more than anything else09:15
wallyworld_https://code.launchpad.net/~wallyworld/launchpad/yui-test-cleanup-807294/+merge/6728109:15
* jtv looks09:15
wallyworld_thanks09:15
jtvOh what the !?09:15
wallyworld_when landed, our yui tests will be a lot better and all lazr-js stuff will be integrated09:15
wallyworld_jtv: it's not as bad as it looks - a lot of code deletion09:16
wallyworld_and it's only in the tests09:16
jtvrvba: that breaking JS test passes for me when I run it with "lp.registry -t javascript" instead of "lp.registry -t test_distroseries."09:16
jtv(Sorry about that — on to the MP now)09:16
jtvwallyworld_: actually, I may have been running into the exact race that you've been fixing.09:18
wallyworld_with the test_distroseries test?09:18
jtvYup.09:19
jtvAnd by the way, did you raise hell about the long-poll test that isn't being run?09:20
jtvFile a bug?09:20
jtvwallyworld_: ^09:24
wallyworld_jtv: i will speak to wgrant or bigjools about the long poll stuff. we need to move the javascript to the "standard" place or change the find_test rules09:25
jtvAlso, I'm surprised that the Y.on('domready', run_me) that you're cleaning up worked.  I'd imagine that event would already have fired by the time that executed.09:25
jtvwallyworld_: especially if the long poll will take time, make sure it isn't forgotten when a high-priority job comes along.  Better file a bug.09:26
jtvI wonder if "the tests are never run" qualify as Critical.09:26
wallyworld_jtv: with the domready event, i more or less cargo culted the old lazr-js implementation09:26
jtvWell, the whole thing looks tons better now.09:27
wallyworld_jtv: i checked that it works by hand, but....09:27
wallyworld_yeah, easier to write tests, waaaaaay less cut'n'paste09:27
wallyworld_i will file a bug about the long poll test too09:27
jtvGreat09:28
jtvI'm not sure the bit about lock, stock, and barrels still makes sense now that lock, stock & barrel are no longer pasted everywhere.09:29
jtvAnother thing that really excites me to bits is that this should open the door to log divs that, *gasp*, would be wide enough to read.09:30
jtvOr is that not the "log" div?  The one that the green/red markers appear in.09:32
wallyworld_jtv: bug 807426. i've marked as critical since i agree that tests not running is bad09:34
_mup_Bug #807426: Long poll yui tests not run automatically <Launchpad itself:Triaged> < https://launchpad.net/bugs/807426 >09:34
jtvThanks.09:35
wallyworld_jtv: the log is sent to *both* the browser console and the log div, so it is really *very* readable now09:35
wallyworld_the lock, stock thing is from curtis so i am loath to remove it :-)09:36
jtvI think it's specifically about the situation you rectified though.09:38
jtvBy the way, we're supposed to have clear criteria to say whether a bug is critical.09:39
jtvI'll just submit my MP vote and then I'll look into it.09:39
rvbawallyworld_: I had to modify the way the Makefile finds js files to include the js long poll stuff ... so I suppose we should do the same for the tests to be found and modify "find_yui_tests" ...09:40
jtvhttps://dev.launchpad.net/BugTriage#Critical09:41
wallyworld_rvba: yes. the method to change is build_yui_unittest_suite. or you could move the location of the javascript. but if you change the build_yui_unittest_suite, try and keep it generic so that other new code that puts javascript elsewhere can also work09:42
wgrantwallyworld_: rvba is more relevant for the JS stuff.09:43
wgrantI only know it from a little while struggling with a French keyboard.09:43
rvbawgrant: ;)09:44
wallyworld_we need to decide our packaging methodology. is it lib/lp/<silo>/javascript/<vertical> (like it is now) or lib/<silo>/<vertical>/javascript09:44
wallyworld_there's arguments for and against both09:45
wallyworld_even though lp uses the former almost exclusively, i prefer the latter (like longpoll has done)09:46
wallyworld_it keeps everything related together better09:46
rvbawallyworld_: +109:49
poolieo/ wallyworld_09:50
wallyworld_hi poolie09:51
rvbawallyworld_: what is the outcome of Dublin's big javascript reorg?09:54
wgrantwallyworld_: IMO the latter is better.09:54
wgrantwallyworld_: But we need to be aggressively factoring out non-specific stuff.09:54
wallyworld_rvba: the main branch to do the reorg has landed. i've just got the one to clean up the tests approved09:55
rvbawallyworld_: Great! I'll check them out then :)09:56
wallyworld_jtv: thanks for the review. with the tests, i'm confident that fixing increasing that timeout will ensure the tests pass ok, so my comments in the mp may be a little too pesimistic09:57
wallyworld_rvba: the upcoming branch will cut large chunks of code from the yui tests. but the main refactoring has landed09:58
=== al-maisan is now known as almaisan-away
rvbajtv: have you figured out your js problem?10:12
wallyworld_danilos: this new expander is the one to replace all the other older implementations?10:17
rvbawallyworld_: maybe this has been discussed earlier but did you do something to address the intermittent test_distroseries.html.TestDeriveDistroSeriesActionsWidget.testSuccess issue?10:20
=== wallyworld_ changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: adeuring | Critical bugs: 210 - 0:[######=_]:256
wallyworld_rvba: yes. i increased the wait timeout to 90ms (from 30ms). i seems to have fixed it for me. it could even be set a bit higher but let's see if 90 works for everyone10:23
rvbawallyworld_: ok ... it would be nice if we could come out with a proper strategy to test things like this (things with an animation) ... maybe the code should fire an event when the animation is done and then tests could perform verifications only when the event is fired.10:25
rvbaI think this wasted too much of your time for a simple animation :)10:25
wallyworld_rvba: yes, that sort of strategy is better. i just wanted to do the minimum to get the test passing since it was not the focus of my branch10:25
rvbawallyworld_: sure, I get it.10:26
wallyworld_and the current implementation used a wait()10:26
daniloswallyworld_,yep10:42
daniloswallyworld_, few other branches with it have already been reviewed and are waiting for the animation to land10:43
lifelessgmb: hi11:02
lifelessgmb: I'll look more closely on monday11:02
lifelessbut11:02
lifeless+        if linked_branches.is_empty():11:02
lifeless+            return EmptyResultSet()11:02
lifelessisn't needed11:03
lifelessis it?11:03
danilosjtv, could you ok the wallyworld_'s review on https://code.launchpad.net/~danilo/launchpad/expander-anim/+merge/67161 please? (if you agree, of course :)11:03
lifelessgmb: if it is needed, you should listify: is_empty performs a query, as does __iter__11:03
lifelessgmb: so you're querying the same thing twice11:03
lifelessas for whether you need to eager load, I suspect that you'll need to test - check the query counter on the templates that trigger foo.linked_branches, and see if it changes when you toggle eager loading on/off11:04
lifelessgmb: (and you have 3 or 4 linked branches, maybe one private, that sort of thing.11:05
lifelessgmb: I suspect you don't need it as the callers will be eager loading themselves, but IMBW11:05
gmblifeless: Ah, good point re the is_empty. It's only needed because the store.find() blows up if you pass it an empty list of branch IDs.11:12
gmbSo I'll listify early.11:13
gmbAnd yes, I'll play with the query counter and see what comes out. Thanks.11:13
gmbAnyway, tengo hambre.11:15
* gmb -> lunch11:15
jtvdanilos: was having lunch, coming now11:21
jtvdanilos: does JS have different relative priorities between the ?: and = operators compared to C?  In C, "cfg.from = cfg.from ? cfg.from : {}" would evaluate as "(cfg.from = cfg.from) ? cfg.from : {}"11:23
danilosjtv, that's all copy-pasted from the old slide-out/in animations, I haven't questioned its sanity11:26
jtvalways a big mistake :)11:26
danilosjtv, fwiw, we might want to drop that altogether if we don't care about users being able to set starting/ending points up front11:26
jtvdanilos: at any rate, I'm afraid I won't have time to go through all this today.  :(11:27
danilosjtv, that sucks because branch is getting pushed around, and I might just as well land it then because I had two reviewers on it already :/11:27
danilosjtv, I'll find a different reviewer then, thanks11:28
danilosadeuring, hi, I need you so much :)11:28
jtvVery sorry; bad timing.11:28
danilosadeuring, can you perhaps ok wallyworld_'s * review at https://code.launchpad.net/~danilo/launchpad/expander-anim/+merge/67161?11:29
danilosadeuring, I've also got https://code.launchpad.net/~danilo/launchpad/replace-expanders-2/+merge/67314 up for a full review :)11:32
=== jtv is now known as jtv-away
adeuringdanilos: sure11:40
adeuring(sorry for the delay; had lunch)11:40
danilosadeuring, cool, thanks11:41
danilosadeuring, fwiw, if you haven't started yet, I'd prefer getting a review for expander-anim branch first, because that one is a prerequisite for another 3 of mine branches, and for spiv's branch as well12:04
=== matsubara-afk is now known as matsubara
adeuringdanilos: r=me on the animation branch. great work!12:21
danilosadeuring, yaay, thanks12:22
=== matsubara is now known as matsubara-afk
adeuringdanilos: your other branch looks also good, but there is one issue: On the +filebug page, I see the behaviour: for the first "expand" click on an item, the expand animation runs ... and then the collapse animation runs. On a second click, only the expand animation runs. And if you try one expand  click on collapsed item A, then try another expand click on item B, then then click again on item A, you still get "expand/close" animation13:00
danilosadeuring, sounds pretty weird, what browser is that? (so I can try to reproduce)13:01
adeuringdanilos: firefox 5.0 (natty)13:01
adeuringmonring deryck13:02
deryckmorning, adeuring13:02
danilosadeuring, can you try the same thing in a webkit browser (epiphany, chromium) to see if it happens there as well (while I start up firefox and get the proper branch running :)13:02
adeuringdanilos: just tried epiphany -- same behaviour13:03
danilosadeuring, hum, very weird13:03
daniloswell, tbh, I did merge with the latest stable and haven't tried it with that, and now I have to run make schema as well (are we letting them on stable already, or did we merge db-stable back into stable already)13:04
wgrantdanilos: Some patches can be run live nowadays.13:05
wgrantSo we put them in devel.13:05
wgranthttps://dev.launchpad.net/Database/LivePatching13:06
danilosadeuring, ok, I still can't reproduce this behaviour13:06
adeuringdanilos: so... what shall we do?13:06
daniloswgrant, oh, cool (we could run some patches live in the past as well, but we did it in a very manual way :))13:06
danilosadeuring, can you look at the console to see if there are any problems being reported perhaps?13:06
wgrantdanilos: Right. It's still pretty manual now, but at least they get landed in the tree properly.13:06
wgrantdanilos: One day we will automate it.13:06
daniloswgrant, cool, sounds nice (and it also means that the pqm constraint is removed stopping DB patches getting to devel)13:07
daniloswgrant, it might make development a bit more annoying with more frequent 'make schema' steps13:07
jcsackettmorning, all.13:07
wgrantdanilos: Well, we should probably have a script to run upgrade.py over everything quickly.13:08
wgrantlaunchpad_dev_template, launchpad_dev, launchpad_ftest_template, launchpad_ftest_playground should do, I guess.13:08
daniloswgrant, I found upgrade.py to be very off-and-on for development systems13:08
spivdanilos: I'm not really here atm, but I love the commit message on expander-anim13:08
danilosspiv, heh, thanks :)13:08
wgrantdanilos: But make schema is much faster these days.13:08
wgrantdanilos: So it's not *that* bad.13:08
daniloswgrant, indeed it is13:08
adeuringdanilos: the only messages I see are: "yui: NOT loaded: lp.app.longpoll" and "Y.lp.app.longpoll is undefined            Y.lp.app.longpoll.setupLongPollManager(); "13:09
danilosadeuring, can you perhaps re-run 'make jsbuild' or something along the lines (though that should have happened anyway)13:10
adeuringsure13:10
adeuringdanilos: no change...13:12
wgrantMay be worth a make clean_js as well.13:12
danilosadeuring, oh, indeed, wgrant has a point considering this also does some fixing to the newly integrated lazr JS inside the tree13:13
wgrantConsidering what has been done to the JS build system in the last week, I think it's worth a try.13:13
adeuringdanilos: I did not follow your conversation.... make schema??13:14
adeuringgaa make clean_js13:15
danilosadeuring, right :)13:15
adeuringjust a second...13:15
adeuringdanilos: no change.13:17
adeuringdanilos: but one more detail:13:17
adeuringdanilos: (1) click "expand" on a collapsed item -> expand/collapse runs (2) click into any other desktop window (3) click on the _title bar_ of firefox -> the collapsed item opens.13:18
adeuringdanilos: same behaviour with epiphany13:19
danilosadeuring, hum, this sounds very weird and considering this code had some funny stuff even before, can you try out the clean "stable" tree and see how it behaves there?13:20
adeuringdanilos: sure13:20
danilosadeuring, thanks a lot and sorry for the trouble with this13:20
danilosadeuring, the existing code has an event handler for the focus event so it expands when it's focused even without a click, and also some code to stop propagation of click events for different parts of the item as well, and I haven't really touched that13:21
danilosadeuring, so I am worried that it'd be hard to debug this but we can at least establish if it's the new code or the old code13:21
gary_posterderyck, hey, are you going to reply to jml's question about thunderdome status?  I ask both because I could help with it if you wanted, and because I want to know how your changes are going :-)13:22
deryckgary_poster, yeah, I was going to reply.13:25
gary_postercool, I look forward to it deryck :-)13:25
deryckcool :)13:25
adeuringdanilos: the expander behaves "normally" on stable13:30
adeuringdanilos: one more details: The "expand/collapse" show runs only for a click on the green link text. Clicks onto the xepander icon or onto the text line "New (0 commentnts) cause a regular expansion13:36
LPCIBotProject db-devel build #709: STILL FAILING in 5 hr 38 min: https://lpci.wedontsleep.org/job/db-devel/709/13:51
danilosadeuring, ah, I can reproduce the problem now, I'll look into it, thanks14:05
adeuringdanilos: cool, and sorry for spotting the exact issue so late...14:08
danilosadeuring, no worries, it's very nice to catch bugs like these early on14:09
danilosadeuring, the problem is that there's a big area to click (anything below the green line also works, and the actual expander icon)14:10
danilosadeuring, so the problem is with the focus handling and I'll look into that right now14:11
danilosadeuring, and this doesn't happen in chromium which I mostly use for testing :/14:13
=== almaisan-away is now known as al-maisan
=== matsubara-afk is now known as matsubara
gary_posterderyck, thanks for update, cool!  btw, my fix for the funky asyncore errors and hangs landed on devel yesterday.  I don't know how often you are encountering them, but for me it was obviously frequent enough to be annoying.  What I did seemed to make things much better for me.14:23
gary_posterSo, merging with devel might help14:23
deryckok, cool.  will do that.14:27
=== al-maisan is now known as almaisan-away
=== salgado is now known as salgado-lunch
=== beuno is now known as beuno-lunch
flacostebac: are you OCR today?16:33
benjiflacoste: bac is on vacation today16:40
=== micahg_ is now known as micahg
=== adeuring changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | Critical bugs: 210 - 0:[######=_]:256
dobeyis it just me, or is merge proposal diff generation broken today?16:51
wgrantIt is.17:01
wgrantThe script is hung.17:01
wgrantAny maintenance people around?17:01
wgrant(an email has been sent about it every 20 minutes for the last 3.5 hours)17:05
wgrantBut as it is 3am, I shall sleep.17:05
flacostegary_poster: ^^^^17:06
=== beuno-lunch is now known as beuno
gary_posterflacoste, ack.17:23
gary_posterflacoste, we have no code people on our team to ask for details.  Do you know them17:40
gary_posterflacosete belay that :-)17:40
gary_posterhm17:43
=== salgado-lunch is now known as salgado
flacostegary_poster: we'll have to start to figure them out by ourselves, as the only remaining code people is abentley and he's also on leave today :-)18:15
gary_posterflacoste, yeah, I figured :-)18:16
gary_posterflacoste, as best I can tell from looking at the logs, the code has some problems, but it is often able to recuperate, even if it has to lose a few jobs along the way.  However, there was something like a perfect storm of errors at the time of failure, and the last log that isn't simply waiting for the log file is this:18:59
gary_poster  File "/usr/lib/python2.6/traceback.py", line 57, in print_tb18:59
gary_poster    if hasattr(sys, 'tracebacklimit'):18:59
gary_posterexceptions.AttributeError: 'module' object has no attribute 'tracebacklimit'19:00
gary_posterThis is indicatative of the interpreter having gone a bit insane to my mind19:00
flacosteyeah, looks like it19:00
flacosteis it now always failing with this?19:00
flacosteas this is run every 20 minutes19:00
gary_posterNo, it is silent now, other than staring at the lock file (every minute, it seems)19:01
gary_poster2011-07-08 17:26:06 DEBUG   Cronscript control file not found at file:cronscripts.ini19:01
gary_poster2011-07-08 17:26:06 INFO    Creating lockfile: /var/lock/launchpad-merge-proposal-jobs.lock19:01
gary_poster2011-07-08 17:26:06 DEBUG   Lockfile /var/lock/launchpad-merge-proposal-jobs.lock in use19:01
gary_poster2011-07-08 17:27:04 DEBUG   Cronscript control file not found at file:cronscripts.ini19:01
gary_poster2011-07-08 17:27:04 INFO    Creating lockfile: /var/lock/launchpad-merge-proposal-jobs.lock19:01
gary_poster2011-07-08 17:27:04 DEBUG   Lockfile /var/lock/launchpad-merge-proposal-jobs.lock in use19:01
gary_posterMy immediate recommendation is to have losas kick the process and its subprocesses19:02
gary_posterThen I can file bugs for the two or three errors that seem to have led up to this state19:02
gary_posterDo you agree?19:02
gary_posterwell, kick the process and remove the lock file, I should say19:02
flacostegary_poster: sounds good19:04
gary_posterok thanks flacoste19:05
LPCIBotYippie, build fixed!19:25
LPCIBotProject db-devel build #710: FIXED in 5 hr 34 min: https://lpci.wedontsleep.org/job/db-devel/710/19:25
m4n1shgary_poster: I am working on a small writeup of LP19:30
m4n1sh is it right to name the correct the various components of LP19:30
gary_posterhi m4n1sh19:30
m4n1she.g. malone or soyez19:30
m4n1shor the name has been deprecated?19:30
gary_poster"soyuz" fwiw19:30
m4n1shgary_poster: hope your are fine thesedays19:30
m4n1sh:)19:30
gary_posteryes, thank you m4n1sh, and you too :-)19:31
m4n1shcan I have the name of various components19:31
m4n1shcant recall19:31
m4n1shsoyez19:31
m4n1shmalone19:31
m4n1shmalone - bug tracking19:31
m4n1shsoyez - package management19:31
dobeysoyuz :)19:31
m4n1shah19:31
dobeyrosetta is translations19:31
gary_posterI don't think they are deprecated.  Some internal names that you see in the code base (poppy and some other names) are not really encouraged19:31
m4n1shah that. just slipped19:31
gary_posterbut yeah19:31
dobeyi would just call them by what people see them as in the UI19:32
gary_postersoyuz, malone, rosetta, but then "answers" "blueprints"19:32
gary_posteryeah, I'd be inclined to agree with dobey19:32
m4n1shI am writing a detailed explanation of what good things are there in Launchpad19:32
m4n1shI am writing like19:32
m4n1sh1) Code hosting19:32
m4n1sh2) Bug tracker - Malone19:32
dobeybugs, code, archives, translations, answers, blueprints, etc19:32
m4n1sh3) Question and Answers19:32
m4n1sh4) Package Management - Soyuz19:33
m4n1sh5) Translations - Rosetta19:33
gary_poster"blueprints", fwiw19:33
m4n1shI can count only 6 till now19:33
m4n1shany other?19:33
* gary_poster looks for product manager's feature list :-)19:34
m4n1shlol19:34
lifelesshmm19:34
lifelessI need some nuance explained to me with the js security model19:34
lifelesswho has a minute or two ?19:34
gary_posterm4n1sh, try https://dev.launchpad.net/FeatureChecklist19:34
gary_posterthe only thing you left out was what we call registry19:35
* m4n1sh can only understand jQuery when he hears Javascript is mentioned remotely19:35
m4n1shif the end user does not see registry, then it is useless to mention19:35
gary_posterwell...19:35
gary_posterthey see projects19:35
gary_posterand code19:35
m4n1shah yeah19:35
gary_posterI mean19:35
m4n1shand teams?19:35
gary_posteryeah teams19:35
gary_posterbut19:35
m4n1shcan I also add Mailing lists in one more feature?19:36
gary_posteryeah, that's another registry-ish thing19:36
m4n1shoh19:36
gary_posterm4n1sh, I'd only use the "code" names if it helps you in your write-up19:36
lifeless<script type="text/javascript" language="javascript" src="http://...." async=True /> - what data on the page can that loaded script access ? I assume it can read the DOM because its been explicitly loaded by the page.19:36
gary_poster(like "soyuz" and stuff)19:36
gary_posterbecause from Launchpad's perspective, we do not talk about them19:36
m4n1shi am mentioning in brackers (codenamed Soyuz)19:36
gary_postersure19:37
m4n1sh*brackets19:37
gary_posterlifeless, le looks19:37
gary_posterme19:37
m4n1shit is like a academic paper19:37
dobeygary_poster: hrmm, branch rescanning doesn't happen to be stuck now too, is it?19:37
m4n1shso details are appriciated19:37
m4n1shthanks everyone19:37
gary_posterlifeless yes, afaik.  iframes can complicate things a bit19:38
lifelessas in it might not be able to access the content of an iframe, even if the iframe is from the same site as the page, because its not part of the dom and its not same-site as the script19:38
gary_posterright lifeless19:39
lifelesshowever the script can't access the cookies, nor make new json requests to the pages site19:39
lifelessgary_poster: the cookies of the main page I mean, moving on from iframes19:40
gary_posterdobey, the only failure we had reported was merge-proposal-jobs19:40
gary_posterthat may be related; me looks at logs19:41
dobeyyeah i didn't see any rescnning issues earlier, but i'm seeing one that seems stuck now19:42
dobeylifeless: is the javascript and html hosted from the same domain?19:42
lifelessdobey: no19:42
dobeylifeless: that would be why19:42
lifelessdobey: I'm exploring the security implications of using a service that wants us to load their js remotely19:43
lifelessdobey: so there are rhetorical questions, not 'I tried and it couldn't'19:43
dobeyok19:44
dobeygary_poster: ah, there, it finally rescanned19:44
gary_posterdobey, whew I couldn't find anything wrong :-)19:44
gary_posterlifeless: https://developer.mozilla.org/En/Same_origin_policy_for_JavaScript ?19:44
dobeygary_poster: i guess it's just being slow for some reason. :)19:45
lifelessgary_poster: frustratingly they don't talk about the nuance here19:45
gary_postermore or less cool then19:45
lifelessgary_poster: that is loaded document vs included script19:46
lifelessI may be incorrectly assuming that there is a difference19:47
lifelessgary_poster: its easy to reason about the case where you have two tabs and one tab wants to access the other, or make new requests19:48
lifelessgary_poster: but this is the case where we load a script from an arbitrary site into the tab we have sensitive data on; I welcome corrections to my paranoia19:48
gary_posterlifeless, I get where you are coming from.  This is questions of the sort "if we include Google site analysis code, do they own our data and our users?"  I should know this, and I feel like I did at one point, but I've forgotten.  rockstar would know I bet.19:53
lifelessright19:53
lifelessI've replied to mrevell in the relevant thread19:53
gary_posterlifeless, since one of the standard ways of using YUI and similar libraries is to include it in the page from a source supplied by another provider (like Yahoo's CDN), I would be strongly inclined to guess that it runs, security-wise as if it were code that were written in the page19:58
gary_posterall your Dom, cookies, etc. belong to us19:58
lifelessgary_poster: I share that guess - its why I'm concerned19:58
gary_posteryeah19:58
flacostem4n1sh: malone, rosetta and soyuz are really deprecated names20:11
flacostem4n1sh: we removed all references to them from the UI20:11
flacosteso they should be called Bugs, Translations, Packages20:12
flacosteSoyuz is the only one that doesn't want to die20:12
flacostethe fact that we never put it in the UI in the first place probably makes this harder20:12
rockstargary_poster, yes, bringing third party CDN code into HTTPS means you give them access to everything you're putting behind HTTPS.20:13
lifelessrockstar: thanks20:14
gary_posterthanks rockstar!20:14
lifelessrockstar: cookies as well ?20:14
rockstarBasically, they could load some malicious javascript that reads data right off your page.20:14
rockstarlifeless, yes.20:14
lifelessrighto20:15
lifelessso we probably want to stop using analytics too :(20:15
gary_posterwell20:15
rockstarYeah, I mean, you're assuming google is reputable.20:15
rockstarAnd they probably are.20:15
gary_posteras you said for the other company "we've got no particular reason to trust them deeply"20:16
rockstarBut you give them access to things that you might not want to give them access to.20:16
gary_posterIt could be argued that we do have reason to trust Google.  It's a matter of degree20:16
rockstarUbuntu One is using Analytics, but I'm hoping to start using some better services soon.20:16
gary_poster(I'm inclined to trust them; ruining our day would not be in their best interests, AFAIK)20:17
gary_posterrockstar, with JS served by you?20:17
gary_poster("better analytics")20:18
gary_posteruh, "better services" :-P20:18
rockstargary_poster, not sure.  Most of the services want you to use their site.20:18
gary_posteryeah that's what I've seen too20:18
rockstarBut then we've got another request.20:18
rockstarThese sites would be "pay for" services, so at that point they would also not really want to ruin our day.20:19
gary_posterheh20:19
m4n1shflacoste: thanks20:29
=== almaisan-away is now known as al-maisan
lifelessrockstar: well we don't use their search appliance for lp private data because of potential data exposure20:35
lifelessrockstar: so I think you probably want to talk with ISF :)20:35
gary_posterflacoste: do you have an opinion about what LP should do if all a person's registered email addresses have been disabled due to repeated email bounces?  Email activity is so central that it might not be too crazy to disable the user, or at least put them in a state that is identical to being disabled except that leaving the state is done in a special way (simply stating that an email address is no longer disabled, for20:35
gary_posterOn the other extreme, we could simply silently stop delivering emails to this person (silently other than the bounce processor trying to contact them once a week for N=4 weeks), and continue normally if they log in.20:36
* gary_poster decides lifeless meant http://en.wikipedia.org/wiki/Information_Security_Forum20:38
rockstarlifeless, I'm much better at asking forgiveness.  :)20:38
gary_posterIraqi Security Forces were another option20:38
lifelessgary_poster: I meant elmo :)20:38
gary_posterheh20:38
lifelessIS foundations20:38
gary_posterah20:38
flacostegary_poster: yeah, if it's primary contact address that is bouncing, we might as well disabled them until they sort their email out20:41
flacostegary_poster: but it's not a strong opinion ;-)20:41
gary_postercool thanks flacoste.  yeah, fair enough :-)20:41
lifelessthat kindof implies showing them an explanation when they attempt to log in, and a way to fix20:43
lifelessFWIW I'm easy20:43
gary_poster:-)20:44
gary_posterI agree fwiw lifeless--if we were to go down the disabling road, we should provide a nice path for cleaning the situation up.20:45
* gary_poster realized about 10 minutes ago that he was writing a LEP ;-/20:45
lifelessit is a nontrivial chunk of work20:48
lifelesslong overdue though, and worth doing20:48
gary_posterbye all21:14
=== matsubara is now known as matsubara-afk
=== Ursinha is now known as Ursinha-afk
thedacstaging on asuka is down. It errors out when attempting to start: https://pastebin.canonical.com/49528/22:55
=== al-maisan is now known as almaisan-away

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